2008-03-11 08:15:28

by Andrew Morton

[permalink] [raw]
Subject: 2.6.25-rc5-mm1


ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/

- Added the kgdb tree as git-kgdb-light (Jason Wessel, Ingo Molnar)

- Added a random-security-stuff-apart-from-selinux tree as
git-security-testing (James Morris)

- suspend-to-disk is still busted on my x86_64 t61p (git-x86, iirc)



Boilerplate:

- See the `hot-fixes' directory for any important updates to this patchset.

- To fetch an -mm tree using git, use (for example)

git-fetch git://git.kernel.org/pub/scm/linux/kernel/git/smurf/linux-trees.git tag v2.6.16-rc2-mm1
git-checkout -b local-v2.6.16-rc2-mm1 v2.6.16-rc2-mm1

- -mm kernel commit activity can be reviewed by subscribing to the
mm-commits mailing list.

echo "subscribe mm-commits" | mail [email protected]

- If you hit a bug in -mm and it is not obvious which patch caused it, it is
most valuable if you can perform a bisection search to identify which patch
introduced the bug. Instructions for this process are at

http://www.zip.com.au/~akpm/linux/patches/stuff/bisecting-mm-trees.txt

But beware that this process takes some time (around ten rebuilds and
reboots), so consider reporting the bug first and if we cannot immediately
identify the faulty patch, then perform the bisection search.

- When reporting bugs, please try to Cc: the relevant maintainer and mailing
list on any email.

- When reporting bugs in this kernel via email, please also rewrite the
email Subject: in some manner to reflect the nature of the bug. Some
developers filter by Subject: when looking for messages to read.

- Occasional snapshots of the -mm lineup are uploaded to
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/ and are announced on
the mm-commits list. These probably are at least compilable.

- More-than-daily -mm snapshots may be found at
http://userweb.kernel.org/~akpm/mmotm/. These are almost certainly not
compileable.



Changes since 2.6.25-rc3-mm1:

origin.patch
git-x86.patch
git-kgdb-light.patch
git-acpi.patch
git-alsa.patch
git-arm.patch
git-arm-master.patch
git-avr32.patch
git-cifs.patch
git-cpufreq.patch
git-powerpc.patch
git-drm.patch
git-dvb.patch
git-hwmon.patch
git-gfs2-nmw.patch
git-dlm.patch
git-hid.patch
git-hrt.patch
git-ia64.patch
git-ieee1394.patch
git-infiniband.patch
git-jfs.patch
git-kvm.patch
git-leds.patch
git-libata-all.patch
git-md-accel.patch
git-mips.patch
git-mtd.patch
git-ubi.patch
git-udf.patch
git-net.patch
git-nfsd.patch
git-ocfs2.patch
git-parisc.patch
git-selinux.patch
git-security-testing.patch
git-s390.patch
git-sched.patch
git-sh.patch
git-scsi-misc.patch
git-scsi-rc-fixes.patch
git-block.patch
git-unionfs.patch
git-v9fs.patch
git-watchdog.patch
git-xfs.patch
git-cryptodev.patch
git-xtensa.patch
git-slub.patch
git-semaphore.patch
git-semaphore-git-rejects.patch

git trees

-cgroup-fix-default-notify_on_release-setting.patch
-update-checkpatchpl-to-version-015.patch
-serial-add-pnp-id-gvc0303-for-archtek-3334brv-isa-modem.patch
-cris-v10-include-mmh-instead-of-vmstath-in-kernel-timec.patch
-memory-resource-controller-use-strstrip-while-parsing-arguments.patch
-rtc-add-support-for-the-s-35390a-rtc-chip.patch
-specialixc-fix-possible-double-unlock.patch
-gpio-linux-gpioh-and-no-gpio-support-here-stubs.patch
-control-groups-add-paul-menage-a-maintainer.patch
-add-balbir-as-the-maintainer-for-memory-resource-controller.patch
-core-dump-user_regset-writeback.patch
-fix-malformed-early-option-loglevel.patch
-zlc_setup-handle-jiffies-wraparound.patch
-zlc_setup-handle-jiffies-wraparound-fix.patch
-hda_intel-needs-dma-mappingh.patch
-m68knommu-wire-up-new-timerfd-syscalls.patch
-git-alsa-build-fix.patch
-snd-hda-intel-dont-print-using-snd_printdd-on-device-open.patch
-arm-replace-remaining-__function__-occurences.patch
-at91-correct-at91sam9263ek-lcd-power-gpio-pin.patch
-omap-register-the-l4-io-bus-to-boot-omap2.patch
-cpufreq-change-cpu-freq-tables-to-per_cpu-variables.patch
-cpufreq-fix-section-mismatch-warnings.patch
-gregkh-driver-debugfs-fix-sparse-warnings.patch
-gregkh-driver-driver-core-numactl-interleave-all-doesn-t-works-on-memoryless-node.patch
-driver-core-fix-cleanup-when-failing-device_add.patch
-video-limit-stack-usage-of-ir-kbd-i2cc.patch
-time-remove-obsolete-clock_tick_adjust.patch
-time-remove-obsolete-clock_tick_adjust-update.patch
-ia64-fix-ptrace-inside-a-namespace.patch
-ia64-remove-unnecessary-nfs-includes-from-sys_ia32c.patch
-ia64-remove-remaining-__function__-occurences.patch
-hdaps-invert-the-axes-for-hdaps-on-lenovo-r61i-thinkpads.patch
-leds-add-mail-led-support-for-clevo-d400p.patch
-pata-i-do-not-think-it-means-what-you-think-it-means.patch
-pata-i-do-not-think-it-means-what-you-think-it-means-checkpatch-fixes.patch
-ide-mm-ide-fix-enabling-dma-on-it821x-in-smart-mode.patch
-ide-mm-ide-add-struct-ide_port_ops.patch
-ide-mm-ide-manage-resources-for-pci-devices-in-ide_pci_enable.patch
-bluetooth-make-hci_sock_cleanup-return-void.patch
-bluetooth-make-bnep_sock_cleanup-return-void.patch
-make-s2iocinit_tti-static.patch
-drivers-net-apnec-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
-drivers-net-appletalk-ltpcc-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
-drivers-net-arcnet-capmodec-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
-drivers-net-8390c-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
-drivers-net-ac3200c-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
-fs-ocfs2-use-bug_on.patch
-fs-ocfs2-dlm-dlmdomainc-fix-printk-warning.patch
-pci-fix-section-mismatch-warning-in-pci_scan_child_bus.patch
-pci-consolidate-duplicated-msi-enable-functions.patch
-pci-use-dev_printk-in-quirk-messages.patch
-sh-superh-keysc-platform-driver.patch
-sh-superh-keysc-keypad-data-for-migor.patch
-sh-superh-keysc-keypad-data-for-solution-engine-7722.patch
-sh-replace-remaining-__function__-occurences.patch
-sh-export-copy-page-to-modules.patch
-block-fix-shadowed-variable-warning-in-blk-mapc.patch
-block-remove-extern-on-function-definition.patch
-cciss-remove-read_ahead-define-and-use-block-layer-defaults.patch
-device-mapper-not-reporting-no-barrier-support.patch
-drivers-usb-storage-sddr55c-fix-uninitialized-var-warnings.patch
-hci_usb-another-device-with-buggy-sco-support.patch
-cypress_m8-added-ups-powercom-0d9f0002.patch
-usb-use-div_round_up.patch
-usbaudio-handle-kcalloc-failure.patch
-drivers-usb-serial-io_tic-remove-unneeded-null-tty-check.patch
-usb-remove-unnecessary-type-casting-of-urb-context.patch
-usb-remove-unnecessary-type-casting-of-urb-context-checkpatch-fixes.patch
-usb-fix-comment-of-struct-usb_interface.patch
-usb-mos7840c-add-support-for-the-mos7820-7840-based-bb-usb-rs485-converter.patch
-9p-handle-kstrdup-and-match_strdup-failure.patch
-watchdog-hpwdt-fix-declaration-of-struct-smbios_entry_point.patch
-watchdog-hpwdt-fix-return-value-warning.patch
-watchdog-hpwdt-use-dmi_walk-instead-of-own-copy.patch
-crypto-switch-to-proc_create.patch
-alloc_percpu-fails-to-allocate-percpu-data.patch
-vt-notifier-fix-for-vt-switch.patch
-documentation-atomic_add_unless-doesnt-imply-mb-on-failure-fix.patch
-kprobes-indicate-kretprobe-support-in-kconfig.patch
-kprobes-move-kprobe-examples-to-samples.patch
-memory-controller-rename-to-memory-resource-controller.patch
-tridentfb-resource-management-fixes-in-probe-function.patch
-tridentfb-resource-management-fixes-in-probe-function-fix.patch
-add-noinline_for_stack.patch
-pktcdvd-reduce-stack-consumption.patch
-mpc5200-fix-build-error-on-mpc52xx_psc_spi-device-driver.patch
-ds1wm-should-check-for-is_errclk-instead-of-null.patch
-ds1wm-report-bus-reset-error.patch
-ndelay-switch-to-c-function-to-avoid-64-bit-division.patch
-ndelay-switch-to-c-function-to-avoid-64-bit-division-fix.patch
-sm501fb-direct-color-visual-does-not-work.patch
-sm501fb-rgb-offsets-are-reversed-in-16bpp-modes.patch
-sm501fb-set-transpoffset-to-0-in-8bpp-and-16bpp-modes.patch
-sm501fb-fix-timing-limits.patch
-sm501-remove-a-duplicated-table.patch
-sm501-add-support-for-the-sm502-programmable-pll.patch
-sm501-add-support-for-the-sm502-programmable-pll-checkpatch-fixes.patch
-ipwireless-fix-potential-tty-==-null-dereference.patch
-cris-import-stringc-memcpy-from-newlib-fixes-compile-error-with-gcc-4.patch
-include-falloch-in-header-y.patch
-alpha-convert-iommu-to-use-align.patch
-alpha-iommu-had-better-access-to-the-free-space-bitmap-at-only-one-place.patch
-alpha-make-iommu-respect-the-segment-boundary-limits.patch
-alpha-remove-unused-debug_forcedac-define-in-iommu.patch
-gitignore-ignore-emacs-backup-and-temporary-files.patch
-markers-dont-risk-null-deref-in-marker.patch
-markers-dont-risk-null-deref-in-marker-checkpatch-fixes.patch
-markers-add-an-if0-to-__mark_check_format.patch
-memcg-mm_match_cgroup-not-vm_match_cgroup.patch
-memcg-move_lists-on-page-not-page_cgroup.patch
-memcg-page_cache_release-not-__free_page.patch
-memcg-when-do_swaps-do_wp_page-fails.patch
-memcg-fix-vm_bug_on-from-page-migration.patch
-memcg-bad-page-if-page_cgroup-when-free.patch
-memcg-mem_cgroup_charge-never-null.patch
-memcg-remove-mem_cgroup_uncharge.patch
-memcg-memcontrol-whitespace-cleanups.patch
-memcg-memcontrol-uninlined-and-static.patch
-memcg-remove-clear_page_cgroup-and-atomics.patch
-memcg-css_put-after-remove_list.patch
-memcg-fix-mem_cgroup_move_lists-locking.patch
-memcg-simplify-force_empty-and-move_lists.patch
-memcg-fix-oops-on-null-lru-list.patch
-drivers-char-isicomc-correct-use-of-and.patch
-drivers-isdn-correct-use-of-and.patch
-drivers-serial-m32r_sioc-correct-use-of-and.patch
-fs-reiserfs-superc-correct-use-of-and.patch
-block-fix-residual-byte-count-handling.patch
-acpi-thinkpad-acpi-fix-hotkey_get_tablet_mode.patch
-cris-correct-usage-of-__user-for-copy-to-and-from-user-space-in-lib-usercopy-and-uaccessh-try-2.patch
-cris-correct-syscall-numbers-in-unistdh-for-timerfd_settime-and-timerfd_gettime.patch
-kernel-add-clamp-and-clamp_t-macros.patch
-kernel-add-clamp-and-clamp_t-macros-checkpatch-fixes.patch
-kernel-add-clamp-and-clamp_t-macros-fix.patch
-ecryptfs-make-ecryptfs_prepare_write-decrypt-the-page.patch
-hisax_fcpcipnp-move-request_irq-later-in-probe.patch
-iommu-export-iommu_is_span_boundary-helper-function.patch
-iommu-parisc-pass-struct-device-to-iommu_alloc_range.patch
-iommu-parisc-pass-struct-device-to-iommu_alloc_range-checkpatch-fixes.patch
-iommu-parisc-make-the-iommus-respect-the-segment-boundary-limits.patch
-iommu-parisc-make-the-iommus-respect-the-segment-boundary-limits-checkpatch-fixes.patch
-md-fix-deadlock-in-md-raid1-and-md-raid10-when-handling-a-read-error.patch
-md-reduce-cpu-wastage-on-idle-md-array-with-a-write-intent-bitmap.patch
-md-guard-against-possible-bad-array-geometry-in-v1-metadata.patch
-md-clean-up-irregularity-with-raid-autodetect.patch
-md-make-sure-a-reshape-is-started-when-device-switches-to-read-write.patch
-md-lock-access-to-rdev-attributes-properly.patch
-md-dont-attempt-read-balancing-for-raid10-far-layouts.patch
-md-fix-possible-raid1-raid10-deadlock-on-read-error-during-resync.patch
-md-the-md-raid10-resync-thread-could-cause-a-md-raid10-array-deadlock.patch
-hugetlb-correct-page-count-for-surplus-huge-pages.patch
-hugetlb-close-a-difficult-to-trigger-reservation-race.patch
-hugetlb-fix-pool-shrinking-while-in-restricted-cpuset.patch
-ext3-fix-mount-option-parsing.patch
-input-add-i2c-to-config-since-the-driver-makes-several-i2c-calls.patch
-kprobes-fix-a-null-pointer-bug-in-register_kretprobe.patch
-pm-do-not-acquire-device-semaphores-upfront-during-suspend.patch
-pm-do-not-acquire-device-semaphores-upfront-during-suspend-fix.patch
-mpt-fusion-dont-oops-if-numphys==0.patch
-bluetooth-hci_core-defer-hci_unregister_sysfs.patch
-e100-do-suspend-shutdown-like-e1000.patch
-bluetooth-conwise-technology-based-adapters-with-buggy-sco-support-bugzilla-9027.patch
-i8042-use-sgi_has_i8042-to-select-sgi-i8042-handlinig.patch
-de2104x-remove-bug_on-when-changing-media-type.patch
-time-prevent-the-loop-in-timespec_add_ns-from-being-optimised-away.patch
-acpi-ec-fix-regression.patch
-drivers-media-video-em28xx-correct-use-of-and.patch
-drivers-media-video-em28xx-correct-use-of-and-fix.patch
-drivers-net-wireless-iwlwifi-iwl-4965c-correct-use-of-and.patch
-time-dont-touch-an-offlined-cpus-ts-tick_stopped-in-tick_cancel_sched_timer.patch
-scsi-arcmsr-update-driver-version.patch
-the-kernel-gets-no-ip-from-some-dhcp-servers.patch
-fixed_phy-must-depend-on-phylib=y.patch
-ntfs-fix-nommu-build.patch
-2625-rc2-mm1-warning-at-arch-x86-mm-ioremapc129.patch
-slub-fix-possible-null-pointer-dereference.patch
-slub-fix-possible-null-pointer-dereference-fix.patch
-rxrpc-fix-rxrpc_recvmsgs-returning-of-msg_name.patch
-lsm-introduce-inode_getsecid-and-ipc_getsecid-hooks.patch
-selinux-setup-new-inode-ipc-getsecid-hooks.patch
-audit-use-new-lsm-hooks-instead-of-selinux-exports.patch
-netlink-use-generic-lsm-hook.patch
-selinux-remove-redundant-exports.patch
-lsm-audit-introduce-generic-audit-lsm-hooks.patch
-audit-internally-use-the-new-lsm-audit-hooks.patch
-selinux-use-new-audit-hooks-remove-redundant-exports.patch
-audit-final-renamings-and-cleanup.patch
-cciss-procfs-updates-to-display-info-about-many-volumes.patch
-make-udf_error-static.patch
-udf-fix-anchor-point-detection.patch
-make-ext4_xattr_list-static.patch
-jbd2-fix-the-way-the-b_modified-flag-is-cleared.patch
-jbd2-fix-possible-journal-overflow-issues.patch
-ext4-fix-mount-option-parsing.patch
-nozomi-prepare-for-bkl-pushdown.patch
-modules-warn-about-suspicious-return-values-from-modules-init-hook.patch

Merged into mainline or a subsystem tree

+smackfs-do-not-trust-count-in-inodes-writes.patch
+pagemap-proper-read-error-handling.patch
+h8300-fix-recent-uaccess-breakage.patch

2.6.25 queue

-define-functions-for-page-cache-handling.patch
-use-page_cache_xxx-in-fs-splicec.patch
-use-page_cache_xxx-for-fs-xfs.patch
-use-page_cache_xxx-functions-in-mm-filemapc.patch
-use-page_cache_xxx-in-mm-page-writebackc.patch
-use-page_cache_xxx-in-mm-truncatec.patch
-use-page_cache_xxx-in-mm-rmapc.patch
-use-page_cache_xxx-in-mm-filemap_xipc.patch
-use-page_cache_xxx-in-mm-migratec.patch
-use-page_cache_xxx-in-fs-libfsc.patch
-use-page_cache_xxx-in-fs-sync.patch
-use-page_cache_xxx-in-fs-bufferc.patch
-use-page_cache_xxx-in-mm-mpagec.patch
-use-page_cache_xxx-in-mm-fadvisec.patch
-use-page_cache_xxx-in-ext2.patch
-use-page_cache_xxx-in-ext2-fix.patch
-use-page_cache_xxx-in-fs-ext3.patch
-use-page_cache_xxx-in-fs-reiserfs.patch
-use-page_cache_xxx-in-fs-ext4.patch

Dropped

+ntfs-fix-nommu-build.patch

Fix ntfs on nommu (wrongly)

+poweroff-workaround.patch

Make powerpff work on one of my test boxes (unneeded)

+x86-remove-redundant-display-of-free-swap-space-in-show_mem.patch

x86 cleanup

+acpi-replace-remaining-__function__-occurrences.patch

ACPI cleanup

+at73c213-remove-redundant-private_free-routine.patch

alsa cleanup

+arm-remove-redundant-display-of-free-swap-space-in-show_mem.patch

arm cleanup

+atmel_serial-avoid-stopping-pdc-during-transmission.patch
+atmel_serial-avoid-stopping-pdc-during-transmission-update.patch

serial driver updates

+cifs-hack-around-biuld-error.patch

Pseudo-fix git-cifs

+agk-dm-dm-crypt-add-cond_resched.patch
+agk-dm-dm-log-generalise-name-in-messages.patch
+agk-dm-dm-log-move-dirty-region-log-code-into-separate-module.patch
+agk-dm-dm-snapshot-store-pointer-to-target-instance.patch
+agk-dm-dm-io-write-error-bits-form-long-not-int.patch
+agk-dm-dm-io-rename-error-to-error_bits.patch
+agk-dm-dm-io-clean-interface.patch
+agk-dm-dm-kcopyd-clean-interface.patch
+agk-dm-dm-log-clean-interface.patch

device mapper tree updates

+git-powerpc-fix-git-rejects.patch

Fix conflicts in git-powerpc.patch

+drivers-block-viodasdc-use-field_sizeof.patch
+powerpc-8xx-fix-swap.patch
+powerpc-remove-redundant-display-of-free-swap-space-in-show_mem.patch
+ppc-remove-redundant-display-of-free-swap-space-in-show_mem.patch

powerpc stuff

-gregkh-driver-kobject-properly-initialize-ksets.patch

Dropped

+gregkh-driver-driver-core-convert-debug-functions-declared-inline-__attribute__-to-statement-expression-macros.patch
+gregkh-driver-memstick-convert-struct-class_device-to-struct-device.patch
+gregkh-driver-driver-core-replace-remaining-__function__-occurrences.patch
+gregkh-driver-ib-convert-struct-class_device-to-struct-device.patch
+gregkh-driver-ib-rename-dev-to-srp_dev-in-srp_host-structure.patch

Driver tree updates

+kobjects-mark-cleaned-up-kobjects-as-unitialized-2.patch
+fix-gregkh-driver-net-convert-the-phy_device-file-to-use-bus_find_device_by_name.patch

Driver things

-drm-i915-fix-oops-after-killing-x.patch

Unneeded

+drivers-media-video-pvrusb2-pvrusb2-sysfsc-fix-printk-warnings.patch
+drivers-media-video-tvp5150c-logical-bitwise-and-confusion.patch

v4l things

+jdelvare-i2c-i2c-fix-i2c_device_probe.patch
+jdelvare-i2c-i2c-replace-remaining-__function__-occurrences.patch

I2C tree updates

-oz99x-i2c-button-and-led-support-driver.patch
-fjkeyinf-driver-for-fsc-lifebook-laptops.patch

Dropped

+hdaps-invert-the-axes-for-hdaps-on-lenovo-r61i-thinkpads.patch
+adt746x-logical-bitwise-confusion-in-set_max_duty_at_crit.patch

hwmon things

+add-time_is_after_jiffies-and-others-which-compare-with-jiffies.patch

time handling helpers

+ia64-fix-getpid-and-set_tid_address-fast-system-calls-for-pid-namespaces.patch
+kprobes-kprobe-booster-for-ia64.patch
+kprobes-kprobe-booster-for-ia64-fix.patch
+ia64-make-iommu-respect-the-segment-boundary-limits.patch
+ia64-remove-redundant-display-of-free-swap-space-in-show_mem.patch

ia64 things

+infiniband-replace-remaining-__function__-occurrences.patch

infiniband cleanup

-maple-add-driver-for-sega-dreamcast-controller-update.patch
-maple-add-driver-for-sega-dreamcast-controller-update-checkpatch-fixes.patch

Folded into maple-add-driver-for-sega-dreamcast-controller.patch

-input-put-ledstate-in-the-keyboard-notifier-fix.patch

Folded into input-put-ledstate-in-the-keyboard-notifier.patch

-ati_remote2-autorepeat-and-loadable-keymap-support.patch

Dropped

+aiptekc-add-support-for-genius-g-pen-560-tablet.patch
+ps-2-serio-driver-for-avr32-devices.patch
+input-replace-remaining-__function__-occurrences.patch

Input things

+ata-swncq-should-be-enabled-by-default.patch

ATA work

+ide-mm-ide-add-struct-ide_port_ops-take-2.patch
+ide-mm-ide-manage-resources-for-pci-devices-in-ide_pci_enable-take-2.patch
+ide-mm-ide-replace-remaining-__function__-occurrences.patch
+ide-mm-ide-remove-extra-field-from-struct-ide_port_info.patch
+ide-mm-ide-remove-ide_dma_iobase.patch
+ide-mm-ide-remove-cds-field-from-ide_hwif_t.patch
+ide-mm-ide-dont-display-bios-settings-in-ide_setup_dma.patch
+ide-mm-pdc202xx_old-remove-init_dma_pdc202xx.patch
+ide-mm-alim15x3-skip-dma-initialization-completely-on-revs-lt-0x20.patch
+ide-mm-ide-move-ide_setup_dma-call-out-from-init_dma-method.patch
+ide-mm-ide-export-ide_allocate_dma_engine.patch
+ide-mm-ide-factor-out-setting-pci-bus-mastering-from-ide_hwif_setup_dma.patch
+ide-mm-ide-cleanup-ide_setup_dma.patch
+ide-mm-au1xxx-ide-fix-mwdma-support.patch
+ide-mm-ide-do-complete-dma-setup-in-init_dma-method.patch
+ide-mm-ide-pmac-use-init_dma-method.patch
+ide-mm-icside-use-init_dma-method.patch
+ide-mm-sgiioc4-use-init_dma-method.patch
+ide-mm-palm_bk3710-use-init_dma-method.patch
+ide-mm-au1xxx-ide-use-init_dma-method.patch
+ide-mm-sl82c105-check-bridge-revision-in-sl82c105_init_one.patch
+ide-mm-ide-add-ide_hflag_serialize_dma-host-flag.patch
+ide-mm-ide-add-struct-ide_dma_ops.patch
+ide-mm-ide-constify-struct-ide_dma_ops.patch
+ide-mm-ide-tape-remove-tape-cache_stage.patch
+ide-mm-ide-tape-remove-pipeline-specific-code-from-idetape_add_chrdev_write_request.patch
+ide-mm-ide-tape-remove-pipeline-speed_control-calculations.patch
+ide-mm-ide-tape-remove-pipeline-specific-code-from-idetape_add_chrdev_read_request.patch

IDE tree updates

+drivers-ide-idec-replace-init_modulecleanup_module-with-module_initmodule_exit.patch

IDE cleanup

+mips-remove-redundant-display-of-free-swap-space-in-show_mem.patch

MIPS cleanup

+mtd-replace-remaining-__function__-occurrences.patch

MTD cleanup

+git-net-fix-build-with-config_net=n.patch

Fix git-net

+drivers-net-3c501c-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
+drivers-net-3c505c-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
+drivers-net-3c507c-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
+drivers-net-3c515c-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
+drivers-net-3c523c-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
+drivers-net-3c527c-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
+drivers-net-82596c-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
+3c509-convert-to-isa_driver-and-pnp_driver-v6.patch
+tulip-de_stop_rxtx-polling-wrong.patch
+3c501-further-coding-style-fixes.patch

netdev things

+nfs-replace-remaining-__function__-occurrences.patch

NFS cleanup

+drivers-parisc-replace-remaining-__function__-occurrences.patch
+parisc-remove-redundant-display-of-free-swap-space-in-show_mem.patch

parisc things

+pcmcia-replace-remaining-__function__-occurrences.patch
+alchemy-semi-au1000-pcmcia-driver-convert-pcmcia_sockets_lock-in-a-mutex.patch
+drivers-pcmcia-soc_commonc-convert-soc_pcmcia_sockets_lock-into-a-mutex-and-make-it-static.patch

PCMCIA updates

+gregkh-pci-pci-add-pci-express-aspm-support.patch
+gregkh-pci-pci-add-generic-pci_enable_resources.patch
+gregkh-pci-pci-alpha-use-generic-pci_enable_resources.patch
+gregkh-pci-pci-arm-use-generic-pci_enable_resources.patch
+gregkh-pci-pci-cris-use-generic-pci_enable_resources.patch
+gregkh-pci-pci-frv-use-generic-pci_enable_resources.patch
+gregkh-pci-pci-ia64-use-generic-pci_enable_resources.patch
+gregkh-pci-pci-mips-use-generic-pci_enable_resources.patch
+gregkh-pci-pci-mn10300-use-generic-pci_enable_resources.patch
+gregkh-pci-pci-parisc-use-generic-pci_enable_resources.patch
+gregkh-pci-pci-powerpc-use-generic-pci_enable_resources.patch
+gregkh-pci-pci-ppc-use-generic-pci_enable_resources.patch
+gregkh-pci-pci-sh-use-generic-pci_enable_resources.patch
+gregkh-pci-pci-sparc64-use-generic-pci_enable_resources.patch
+gregkh-pci-pci-v850-use-generic-pci_enable_resources.patch
+gregkh-pci-pci-x86-use-generic-pci_enable_resources.patch
+gregkh-pci-pci-xtensa-use-generic-pci_enable_resources.patch
+gregkh-pci-pci-replace-remaining-__function__-occurrences.patch

PCI tree updates

+pci-iommu-iotlb-flushing-speedup.patch

PCI speedup

+s390-remove-redundant-display-of-free-swap-space-in-show_mem.patch
+drivers-s390-replace-remaining-__function__-occurrences.patch

s390 cleanups

+arcmsr-modify-the-type-of-element-of-messageunit_b.patch
+fusion-mpt-convert-inactive_list_mutex-in-a-mutex.patch
+scsi-replace-remaining-__function__-occurrences.patch
+fusion-replace-remaining-__function__-occurrences.patch
+scsi-replace-__inline-with-inline.patch
+scsi-stc-make-class-attributes-static.patch
+scsi-osstc-make-class-attributes-static.patch
+scsi-chc-fix-shadowed-variable-warnings.patch
+scsi-chc-fix-shadowed-variable-warnings-checkpatch-fixes.patch

SCSI things

+block-replace-remaining-__function__-occurrences.patch
+block-fix-memory-hotplug-and-bouncing-in-block-layer.patch
+block-blk-mergec-inverted-likeliness-in-ll_back_merge_fn.patch
+block-fix-blk_register_queue-return-value.patch

block things

+gregkh-usb-usb-ehci-carry-out-port-handover-during-each-root-hub-resume.patch
+gregkh-usb-usb-reorganize-code-in-hubc.patch
+gregkh-usb-usb-make-usb-persist-work-after-every-system-sleep.patch
+gregkh-usb-usb-remove-config_usb_persist-setting.patch
+gregkh-usb-usb-check-serial-number-string-after-device-reset.patch
+gregkh-usb-usb-enable-usb-persist-by-default.patch
+gregkh-usb-usb-convert-usbh-struct-usb_device-to-kernel-doc.patch
+gregkh-usb-usb-use-div_round_up.patch
+gregkh-usb-usb-io_tic-remove-unneeded-null-tty-check.patch
+gregkh-usb-usb-partial-usb-embedded-host-support.patch
+gregkh-usb-usb-ehci-remove-obsolete-workaround-for-bogus-irqs.patch
+gregkh-usb-usb-ipaq-fix-devices-having-more-than-one-endpoint.patch
+gregkh-usb-usb-remove-dev-powerpower_state.patch
+gregkh-usb-usb-replace-remaining-__function__-occurrences.patch
+gregkh-usb-usb-remove-unnecessary-type-casting-of-urb-context.patch
+gregkh-usb-usb-s2255drv-fix-memset.patch

USB tree updates

+usb-add-support-for-motorola-rokr-z6-cellphone-in-mass-storage-mode.patch

USB fix

+prism54-support-for-124a4025-another-version-of-iogear-gwu513-80211g.patch

wireless device support

+xfs-replace-remaining-__function__-occurrences.patch
+xfs-replace-__inline-with-inline.patch

xfs cleanups

+xtensa-remove-redundant-display-of-free-swap-space-in-show_mem.patch

xtensa cleanup

+char-riscom-fix-rc_board-indexing.patch
+alpha-use-iommu_is_span_boundary-helper-function.patch
+kernel-doc-set-verbose-mode-via-environment.patch
+block-floppy-fix-rmmod-lockup.patch

2.6.25 material

+romfs-prevent-romfs_lookup-from-always-failing.patch

Might be 2.6.25, needs update

+gdth-allocate-sense_buffer-to-prevent-null-pointer-dereference.patch
+at73c213-fix-error-checking-for-clk-api.patch
+at73c213-monaural-support.patch
+at73c213-fix-dma-size-at-the-end-of-dma-buffer.patch
+smc91x-fix-build-breakage-from-the-smc_get_mac_addr-api-upgrade.patch
+ioc3-fix-section-missmatch.patch
+forcedeth-limit-tx-to-16.patch
+drivers-net-wireless-iwlwifi-iwl-4965c-correct-use-of-and.patch
+acpi-ec-revert-208c70a45624400fafd7511b96bc426bf01f8f5e.patch
+drm-fix-for-non-coherent-dma-powerpc.patch
+#input:
+input-fix-cobalt_btns-loadable-keymap-support.patch
+keep-rd-online-and-cpu_online_map-in-sync.patch

2.6.25 material

+mm-filter-based-on-a-nodemask-as-well-as-a-gfp_mask-doc-fixes.patch
+mm-filter-based-on-a-nodemask-as-well-as-a-gfp_mask-make-dequeue_huge_page_vma-obey-mpol_bind-nodemask.patch
+mm-filter-based-on-a-nodemask-as-well-as-a-gfp_mask-make-dequeue_huge_page_vma-obey-mpol_bind-nodemask-rework.patch
+mempolicy-convert-mpol-constants-to-enum.patch
+mempolicy-support-optional-mode-flags.patch
+mempolicy-add-mpol_f_static_nodes-flag.patch
+mempolicy-add-bitmap_onto-and-bitmap_fold-operations.patch
+mempolicy-add-mpol_f_relative_nodes-flag.patch
+mempolicy-update-numa-memory-policy-documentation.patch
+mempolicy-move-rebind-functions.patch
+mempolicy-create-mempolicy_operations-structure.patch
+mempolicy-create-mempolicy_operations-structure-fix.patch
+mempolicy-small-header-file-cleanup.patch

MM updates

+capabilities-implement-per-process-securebits-fix.patch

Fix capabilities-implement-per-process-securebits.patch some more

+root_plug-use-cap_task_prctl.patch
+smack-use-cap_task_prctl.patch

USe securebits

+alpha-replace-__inline-with-inline.patch

alpha cleanup

+power-replace-remaining-__function__-occurrences.patch

PM cleanup

+m68k-remove-redundant-display-of-free-swap-space-in-show_mem.patch

m68k cleanup

+cris-remove-redundant-display-of-free-swap-space-in-show_mem.patch

cris cleanup

+kernel-add-clamp-and-clamp_t-macros.patch
+kernel-add-clamp-and-clamp_t-macros-checkpatch-fixes.patch
+kernel-add-clamp-and-clamp_t-macros-fix.patch
+firmware-replace-remaining-__function__-occurrences.patch
+drivers-misc-replace-remaining-__function__-occurrences.patch
+ioc3c-replace-remaining-__function__-occurrences.patch
+connector-convert-to-single-threaded-workqueue.patch
+sysrq-add-show-backtrace-on-all-cpus-function.patch
+sysrq-add-show-backtrace-on-all-cpus-function-checkpatch-fixes.patch
+sysrq-add-show-backtrace-on-all-cpus-function-checkpatch-fixes-cleanup.patch
+drivers-block-floppyc-replace-init_modulecleanup_module-with-module_initmodule_exit.patch

Misc

+isolate-ratelimit-from-printkc-for-other-use.patch
+isolate-ratelimit-from-printkc-for-other-use-update.patch
+add-warn_on_secs-macro.patch
+use-warn_on_secs-in-rcupreempth.patch

printk infrastructure

+synclink-drivers-bool-conversion.patch

synclink cleanup

+uart_get_baud_rate-stop-mangling-termios-fix.patch

Fix uart_get_baud_rate-stop-mangling-termios.patch

+spi-replace-remaining-__function__-occurrences.patch

SPI cleanup

+isdn-replace-remaining-__function__-occurrences.patch

I4L cleanup

+ecryptfs-replace-remaining-__function__-occurrences.patch

ecryptfs cleanup

+rtc-avoid-legacy-drivers-with-generic-framework-update.patch

Fix rtc-avoid-legacy-drivers-with-generic-framework.patch

+kerneldoc-for-linux-clkh.patch

RTC kerneldoc support

+rtc-replace-remaining-__function__-occurrences.patch

RTC cleanup

+fbmem-fix-con2fbmap-limit-check.patch
+free-when-fb-cant-be-registered-in-video-aty-atyfb_basec.patch
+drivers-video-aty-aty128fbc-fix-incorrect-usage-of-strncat-in-aty128_init.patch
+radeonfb-use-pci-device-id-in-hex-for-name-string.patch
+radeonfb-fix-debug-option.patch
+radeonfb-drop-redundant-rtrace-macro.patch
+radeonfb-speed-up-the-i2c-buses.patch
+uvesafb-dont-treat-valid-modes-returned-by-fb_find_mode-as-errors.patch
+drivers-video-imsttfbc-add-missing-curly-brackets.patch
+savagefb-speed-up-the-i2c-bus.patch
+fbdev-vt8623fb-better-resume-from-str.patch
+fbdev-framebuffer_alloc-fixes.patch
+pxafb-un-nest-pxafb_parse_options-to-cleanup-the-coding-style-issue.patch
+pxafb-fix-various-coding-style-issues-for-pxafb.patch
+pxafb-purge-unnecessary-pr_debug-and-comments-from-pxafb.patch
+pxafb-sanitize-the-usage-of-ifdef-processing-pxafb-parameters.patch
+pxafb-convert-fb-driver-to-use-ioremap-and-__raw_readl-writel.patch
+pxafb-introduce-struct-pxafb_dma_buff-for-palette-and-dma-descriptors.patch
+pxafb-introduce-register-independent-lcd-connection-type-for-pxafb.patch
+pxafb-make-lubbock-mainstone-zylonite-littleton-to-use-new-lcd-connection-type.patch
+atmel_lcdfb-dont-initialize-a-pre-allocated-framebuffer.patch
+atmel_lcdfb-suspend-resume-support.patch
+atmel_lcdfb-wiring-bgr-to-rgb-color-mode.patch
+atmel_lcdfb-adjust-fifo-size-for-at91sam9rl.patch
+video-replace-remaining-__function__-occurrences.patch

fbdev things

+md-replace-remaining-__function__-occurrences.patch

MD cleanup

+pnp-use-dev_printk-for-quirk-messages.patch

PNP work

+ext2-replace-remaining-__function__-occurrences.patch

Ext2 cleanup

+ext3-replace-remaining-__function__-occurrences.patch
+jbd-replace-remaining-__function__-occurrences.patch

ext3 cleanups

+ufs-replace-remaining-__function__-occurrences.patch
+ufs-remove-unused-fs64_add-and-fs64_sub.patch
+ufs-replace-__inline-with-inline.patch

UFS work

+reiserfs-replace-remaining-__function__-occurrences.patch

reiserfs cleanup

+cgroups-_s64-files-add-cgroups-read_s64-write_s64-file-methods.patch
+cgroups-_s64-files-use-read_s64-write_s64-in-cfs-cgroup-for-rt_runtime-file.patch
+cgroups-add-cgroup-support-for-enabling-controllers-at-boot-time.patch
+cgroup-annotate-cgroup_init_subsys-with-__init.patch
+cgroup-switch-to-proc_create.patch

cgroups updates

+memory-controller-make-memory-resource-control-aware-of-boot-options.patch

meory controller feature

+cpuset-hardwall-flag-switch-cpusets-to-use-the-bulk-cgroup_add_files-api.patch
+cpuset-hardwall-flag-add-a-mem_hardwall-flag-to-cpusets.patch

cpusets work

+signals-re-assign-cld_continued-notification-from-the-sender-to-reciever.patch
+kill_pid_info-dont-take-now-unneeded-tasklist_lock.patch
+handle_stop_signal-unify-partial-full-stop-handling.patch
+handle_stop_signal-use-the-cached-p-signal-value.patch
+get_signal_to_deliver-use-the-cached-signal-sighand-values.patch
+signals-send_sigqueue-dont-take-rcu-lock.patch
+signals-send_sigqueue-dont-forget-about-handle_stop_signal.patch
+signals-__group_complete_signal-cache-the-value-of-p-signal.patch
+signals-send_group_sigqueue-dont-take-tasklist_lock.patch
+signals-move-handle_stop_signal-into-send_signal.patch
+signals-do_tkill-dont-use-tasklist_lock.patch
+signals-do_tkill-dont-use-tasklist_lock-comment.patch
+signals-send_sig_info-dont-take-tasklist_lock.patch
+signals-microoptimize-the-usage-of-curr_target.patch
+signals-move-the-definition-of-__group_complete_signal-up.patch
+signals-change-send_signal-do_send_sigqueue-to-take-boolean-group-parameter.patch
+signals-use-__group_complete_signal-for-the-specific-signals-too.patch
+signals-fold-complete_signal-into-send_signal-do_send_sigqueue.patch
+signals-unify-send_sigqueue-send_group_sigqueue-completely.patch
+signals-join-send_sigqueue-with-send_group_sigqueue.patch
+signals-handle_stop_signal-dont-worry-about-sigkill.patch
+signals-send_signal-factor-out-signal_group_exit-checks.patch
+signals-fold-sig_ignored-into-prepare_signal.patch
+signals-document-cld_continued-notification-mechanics.patch
+signals-cleanup-the-usage-of-print_fatal_signal.patch

A few signal management changes

-ptrace-introduce-ptrace_reparented-helper.patch

Dropped (I think)

+ptrace-introduce-ptrace_reparented-helper.patch
+ptrace-__ptrace_unlink-use-the-ptrace_reparented-helper.patch

ptrace updates

+ext4-mm-ext4-make-ext4-xattr-list-static.patch
+ext4-mm-ext4-fix-mount-option-parsing.patch
+ext4-mm-jbd2-fix-the-way-the-b_modified-flag-is-cleared.patch
+ext4-mm-jbd2-fix-possible-journal-overflow-issues.patch
+ext4-mm-ext4-fix-fallocate-error-path.patch
+ext4-mm-ext4-enable-extent-format-for-symlink.patch
+ext4-mm-ext4-fallocate-full-fs-enospc-handling.patch
+ext4-mm-ext4-page-mkwrite.patch
+ext4-mm-ext4-zero-out-small-uninitlaized-extents.patch
-ext4-mm-ext4_page_mkwrite.patch
+ext4-mm-delalloc-ext4-preallocation-handling.patch

EXT4 tree updates

+jbd2-only-create-debugfs-and-stats-entries-if-cache-initialisation-is-successful.patch
+ext4-replace-remaining-__function__-occurrences.patch
+jdb2-replace-remaining-__function__-occurrences.patch

ext4 things

+ipc-consolidate-all-xxxctl_down-functions-fix.patch

Fix ipc-consolidate-all-xxxctl_down-functions.patch

+tty_io-fix-remaining-pid-struct-locking-small-cleanup.patch
+tty_ioctl-locking-for-tty_wait_until_sent.patch
+tty_ioctl-soft-carrier-handling.patch

More tty work

+drivers-char-ip2-ip2mainc-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
+istallion-tiocg-ssoftcar-handling-removal.patch

char driver work

+keys-allow-clients-to-set-key-perms-in-key_create_or_update.patch

Key management feature (needs dhowells ack)

+nbd-allow-nbd-to-be-used-locally.patch

NBD update

+remove-duplicated-unlikely-in-is_err.patch

Cleanup

+relay-reset-consumed.patch
+trace-code-and-documentation.patch
+trace-sample.patch

Simple tracing infrastructure

+drivers-replace-remaining-__function__-occurrences.patch
+afs-replace-remaining-__function__-occurrences.patch
+fs-replace-remaining-__function__-occurrences.patch
+drivers-char-replace-remaining-__function__-occurrences.patch
+serial-replace-remaining-__function__-occurrences.patch

cleanups

+reiser4-new-export_ops-fixup.patch

reiser4 fix

+profile-likely-unlikely-macros-fix.patch

Fix profile-likely-unlikely-macros.patch


3393 commits in 1196 patch files

All patches:

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/patch-list


2008-03-11 10:16:45

by Kamalesh Babulal

[permalink] [raw]
Subject: [Build Faliure] 2.6.25-rc5-mm1 build fails

Hi Andrew,

The 2.6.25-rc5-mm1 kernel build fails with allyesconfig

LD .tmp_vmlinux1
fs/built-in.o: In function `reiser4_debugtrap':
/root/kernels/linux-2.6.25-rc5/fs/reiser4/debug.c:295: undefined reference to `breakpoint'
make: *** [.tmp_vmlinux1] Error 1

This build failure has been introduced by reiser4.patch, i think the
breakpoint() have been used instead of kgdb_breakpoint().


--- linux-2.6.25-rc5/fs/reiser4/debug.c 2008-03-11 22:12:45.000000000 +0530
+++ linux-2.6.25-rc5/fs/reiser4/~debug.c 2008-03-11 23:14:54.000000000 +0530
@@ -291,8 +291,8 @@ void reiser4_debugtrap(void)
{
/* do nothing. Put break point here. */
#if defined(CONFIG_KGDB) && !defined(CONFIG_REISER4_FS_MODULE)
- extern void breakpoint(void);
- breakpoint();
+ extern void kgdb_breakpoint(void);
+ kgdb_breakpoint();
#endif
}
#endif
--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

2008-03-11 12:12:53

by Edward Shishkin

[permalink] [raw]
Subject: Re: [Build Faliure] 2.6.25-rc5-mm1 build fails

wow, kgdb is enabled again..

Thanks!
Edward

Kamalesh Babulal wrote:

>Hi Andrew,
>
>The 2.6.25-rc5-mm1 kernel build fails with allyesconfig
>
> LD .tmp_vmlinux1
>fs/built-in.o: In function `reiser4_debugtrap':
>/root/kernels/linux-2.6.25-rc5/fs/reiser4/debug.c:295: undefined reference to `breakpoint'
>make: *** [.tmp_vmlinux1] Error 1
>
>This build failure has been introduced by reiser4.patch, i think the
>breakpoint() have been used instead of kgdb_breakpoint().
>
>
>--- linux-2.6.25-rc5/fs/reiser4/debug.c 2008-03-11 22:12:45.000000000 +0530
>+++ linux-2.6.25-rc5/fs/reiser4/~debug.c 2008-03-11 23:14:54.000000000 +0530
>@@ -291,8 +291,8 @@ void reiser4_debugtrap(void)
> {
> /* do nothing. Put break point here. */
> #if defined(CONFIG_KGDB) && !defined(CONFIG_REISER4_FS_MODULE)
>- extern void breakpoint(void);
>- breakpoint();
>+ extern void kgdb_breakpoint(void);
>+ kgdb_breakpoint();
> #endif
> }
> #endif
>
>

2008-03-11 12:55:32

by Kamalesh Babulal

[permalink] [raw]
Subject: [Build Failure] 2.6.25-rc5-mm1 Build fails with allmodconfig probe_4drives undefined

Hi Andrew,

The 2.6.25-rc5-mm1 kernel build fails with allmodconfig

MODPOST 2279 modules
ERROR: "probe_4drives" [drivers/ide/ide-core.ko] undefined!

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


Attachments:
config (89.11 kB)

2008-03-11 17:11:20

by Randy Dunlap

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1 (paravirt/vsmp/no PCI)

On Tue, 11 Mar 2008 01:14:34 -0700 Andrew Morton wrote:

>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/

randconfig (x86_64) with
PCI=n
PARAVIRT=y
VSMP=n

ends with

arch/x86/kernel/built-in.o: In function `is_vsmp_box':
(.text+0x1178d): undefined reference to `early_pci_allowed'
arch/x86/kernel/built-in.o: In function `is_vsmp_box':
(.text+0x117a9): undefined reference to `read_pci_config'
arch/x86/kernel/built-in.o: In function `vsmp_init':
(.init.text+0x4fcc): undefined reference to `early_pci_allowed'
arch/x86/kernel/built-in.o: In function `vsmp_init':
(.init.text+0x501a): undefined reference to `read_pci_config'
make[1]: *** [.tmp_vmlinux1] Error 1

config attached.

---
~Randy


Attachments:
config-rand3 (29.06 kB)

2008-03-11 17:42:35

by Andrew Morton

[permalink] [raw]
Subject: Re: [Build Failure] 2.6.25-rc5-mm1 Build fails with allmodconfig probe_4drives undefined

On Tue, 11 Mar 2008 18:25:02 +0530
Kamalesh Babulal <[email protected]> wrote:

> The 2.6.25-rc5-mm1 kernel build fails with allmodconfig
>
> MODPOST 2279 modules
> ERROR: "probe_4drives" [drivers/ide/ide-core.ko] undefined!

Yes, it has been doing this for a while. But apparently it doesn't happen
for Bart with just his patch queue. <slightlypeeved>If your subssytem
fails in my tree, that doesn't automatically make it my
problem</slightlypeeved>

I'll take a look, see what went wrong.

2008-03-11 18:20:00

by Jeremy Fitzhardinge

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1 (paravirt/vsmp/no PCI)

Randy Dunlap wrote:

Added Cc:

> On Tue, 11 Mar 2008 01:14:34 -0700 Andrew Morton wrote:
>
>
>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
>>
>
> randconfig (x86_64) with
> PCI=n
> PARAVIRT=y
> VSMP=n
>
> ends with
>
> arch/x86/kernel/built-in.o: In function `is_vsmp_box':
> (.text+0x1178d): undefined reference to `early_pci_allowed'
> arch/x86/kernel/built-in.o: In function `is_vsmp_box':
> (.text+0x117a9): undefined reference to `read_pci_config'
> arch/x86/kernel/built-in.o: In function `vsmp_init':
> (.init.text+0x4fcc): undefined reference to `early_pci_allowed'
> arch/x86/kernel/built-in.o: In function `vsmp_init':
> (.init.text+0x501a): undefined reference to `read_pci_config'
> make[1]: *** [.tmp_vmlinux1] Error 1
>
> config attached.

J

2008-03-11 18:20:57

by Andrew Morton

[permalink] [raw]
Subject: Re: [Build Failure] 2.6.25-rc5-mm1 Build fails with allmodconfig probe_4drives undefined

On Tue, 11 Mar 2008 18:25:02 +0530
Kamalesh Babulal <[email protected]> wrote:

> MODPOST 2279 modules
> ERROR: "probe_4drives" [drivers/ide/ide-core.ko] undefined!

Caused by ide-mm-ide-add-ide-4drives-host-driver-take-3.patch. Applying
that patch alone to current mainline causes the above error after i386
`make allmodconfig'.

Just exporting the symbol doesn't fix it, so something funny is going on.

probe_4drives should not be initialised to zero.

probe_4drives should not be declared extern in drivers/ide/ide.c - please
declare it in a header which is included by the definition site and by all
users.

Subject: Re: [Build Failure] 2.6.25-rc5-mm1 Build fails with allmodconfig probe_4drives undefined

On Tuesday 11 March 2008, Andrew Morton wrote:
> On Tue, 11 Mar 2008 18:25:02 +0530
> Kamalesh Babulal <[email protected]> wrote:
>
> > The 2.6.25-rc5-mm1 kernel build fails with allmodconfig
> >
> > MODPOST 2279 modules
> > ERROR: "probe_4drives" [drivers/ide/ide-core.ko] undefined!
>
> Yes, it has been doing this for a while. But apparently it doesn't happen
> for Bart with just his patch queue. <slightlypeeved>If your subssytem
> fails in my tree, that doesn't automatically make it my
> problem</slightlypeeved>

No need to peeve - it is not like I forget about the problem or ignored it
after I got your _first_ mail.

I just couldn't reproduce it here so instead I has been working on making
_all_ probe_* variables static (it should make the problem vanish alongside
some other nice improvements).

Thanks,
Bart

Subject: Re: [Build Failure] 2.6.25-rc5-mm1 Build fails with allmodconfig probe_4drives undefined

On Tuesday 11 March 2008, Andrew Morton wrote:
> On Tue, 11 Mar 2008 18:25:02 +0530
> Kamalesh Babulal <[email protected]> wrote:
>
> > MODPOST 2279 modules
> > ERROR: "probe_4drives" [drivers/ide/ide-core.ko] undefined!
>
> Caused by ide-mm-ide-add-ide-4drives-host-driver-take-3.patch. Applying
> that patch alone to current mainline causes the above error after i386
> `make allmodconfig'.
>
> Just exporting the symbol doesn't fix it, so something funny is going on.

toolchain? [ standard F7 system w/ updates here ]

> probe_4drives should not be initialised to zero.
>
> probe_4drives should not be declared extern in drivers/ide/ide.c - please
> declare it in a header which is included by the definition site and by all
> users.

I was aware of the warnings and this was only temporary (it is already fixed
by to-be-posted-today patch which removes deprecated "idex=" kernel parameters
and makes _all_ probe_* variables static).

Thanks,
Bart

2008-03-11 20:26:18

by Serge E. Hallyn

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1

Quoting Andrew Morton ([email protected]):
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
>
> - Added the kgdb tree as git-kgdb-light (Jason Wessel, Ingo Molnar)
>
> - Added a random-security-stuff-apart-from-selinux tree as
> git-security-testing (James Morris)
>
> - suspend-to-disk is still busted on my x86_64 t61p (git-x86, iirc)

Compiles and boots perfectly on s390 here.

thanks,
-serge

> Boilerplate:
>
> - See the `hot-fixes' directory for any important updates to this patchset.
>
> - To fetch an -mm tree using git, use (for example)
>
> git-fetch git://git.kernel.org/pub/scm/linux/kernel/git/smurf/linux-trees.git tag v2.6.16-rc2-mm1
> git-checkout -b local-v2.6.16-rc2-mm1 v2.6.16-rc2-mm1
>
> - -mm kernel commit activity can be reviewed by subscribing to the
> mm-commits mailing list.
>
> echo "subscribe mm-commits" | mail [email protected]
>
> - If you hit a bug in -mm and it is not obvious which patch caused it, it is
> most valuable if you can perform a bisection search to identify which patch
> introduced the bug. Instructions for this process are at
>
> http://www.zip.com.au/~akpm/linux/patches/stuff/bisecting-mm-trees.txt
>
> But beware that this process takes some time (around ten rebuilds and
> reboots), so consider reporting the bug first and if we cannot immediately
> identify the faulty patch, then perform the bisection search.
>
> - When reporting bugs, please try to Cc: the relevant maintainer and mailing
> list on any email.
>
> - When reporting bugs in this kernel via email, please also rewrite the
> email Subject: in some manner to reflect the nature of the bug. Some
> developers filter by Subject: when looking for messages to read.
>
> - Occasional snapshots of the -mm lineup are uploaded to
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/ and are announced on
> the mm-commits list. These probably are at least compilable.
>
> - More-than-daily -mm snapshots may be found at
> http://userweb.kernel.org/~akpm/mmotm/. These are almost certainly not
> compileable.
>
>
>
> Changes since 2.6.25-rc3-mm1:
>
> origin.patch
> git-x86.patch
> git-kgdb-light.patch
> git-acpi.patch
> git-alsa.patch
> git-arm.patch
> git-arm-master.patch
> git-avr32.patch
> git-cifs.patch
> git-cpufreq.patch
> git-powerpc.patch
> git-drm.patch
> git-dvb.patch
> git-hwmon.patch
> git-gfs2-nmw.patch
> git-dlm.patch
> git-hid.patch
> git-hrt.patch
> git-ia64.patch
> git-ieee1394.patch
> git-infiniband.patch
> git-jfs.patch
> git-kvm.patch
> git-leds.patch
> git-libata-all.patch
> git-md-accel.patch
> git-mips.patch
> git-mtd.patch
> git-ubi.patch
> git-udf.patch
> git-net.patch
> git-nfsd.patch
> git-ocfs2.patch
> git-parisc.patch
> git-selinux.patch
> git-security-testing.patch
> git-s390.patch
> git-sched.patch
> git-sh.patch
> git-scsi-misc.patch
> git-scsi-rc-fixes.patch
> git-block.patch
> git-unionfs.patch
> git-v9fs.patch
> git-watchdog.patch
> git-xfs.patch
> git-cryptodev.patch
> git-xtensa.patch
> git-slub.patch
> git-semaphore.patch
> git-semaphore-git-rejects.patch
>
> git trees
>
> -cgroup-fix-default-notify_on_release-setting.patch
> -update-checkpatchpl-to-version-015.patch
> -serial-add-pnp-id-gvc0303-for-archtek-3334brv-isa-modem.patch
> -cris-v10-include-mmh-instead-of-vmstath-in-kernel-timec.patch
> -memory-resource-controller-use-strstrip-while-parsing-arguments.patch
> -rtc-add-support-for-the-s-35390a-rtc-chip.patch
> -specialixc-fix-possible-double-unlock.patch
> -gpio-linux-gpioh-and-no-gpio-support-here-stubs.patch
> -control-groups-add-paul-menage-a-maintainer.patch
> -add-balbir-as-the-maintainer-for-memory-resource-controller.patch
> -core-dump-user_regset-writeback.patch
> -fix-malformed-early-option-loglevel.patch
> -zlc_setup-handle-jiffies-wraparound.patch
> -zlc_setup-handle-jiffies-wraparound-fix.patch
> -hda_intel-needs-dma-mappingh.patch
> -m68knommu-wire-up-new-timerfd-syscalls.patch
> -git-alsa-build-fix.patch
> -snd-hda-intel-dont-print-using-snd_printdd-on-device-open.patch
> -arm-replace-remaining-__function__-occurences.patch
> -at91-correct-at91sam9263ek-lcd-power-gpio-pin.patch
> -omap-register-the-l4-io-bus-to-boot-omap2.patch
> -cpufreq-change-cpu-freq-tables-to-per_cpu-variables.patch
> -cpufreq-fix-section-mismatch-warnings.patch
> -gregkh-driver-debugfs-fix-sparse-warnings.patch
> -gregkh-driver-driver-core-numactl-interleave-all-doesn-t-works-on-memoryless-node.patch
> -driver-core-fix-cleanup-when-failing-device_add.patch
> -video-limit-stack-usage-of-ir-kbd-i2cc.patch
> -time-remove-obsolete-clock_tick_adjust.patch
> -time-remove-obsolete-clock_tick_adjust-update.patch
> -ia64-fix-ptrace-inside-a-namespace.patch
> -ia64-remove-unnecessary-nfs-includes-from-sys_ia32c.patch
> -ia64-remove-remaining-__function__-occurences.patch
> -hdaps-invert-the-axes-for-hdaps-on-lenovo-r61i-thinkpads.patch
> -leds-add-mail-led-support-for-clevo-d400p.patch
> -pata-i-do-not-think-it-means-what-you-think-it-means.patch
> -pata-i-do-not-think-it-means-what-you-think-it-means-checkpatch-fixes.patch
> -ide-mm-ide-fix-enabling-dma-on-it821x-in-smart-mode.patch
> -ide-mm-ide-add-struct-ide_port_ops.patch
> -ide-mm-ide-manage-resources-for-pci-devices-in-ide_pci_enable.patch
> -bluetooth-make-hci_sock_cleanup-return-void.patch
> -bluetooth-make-bnep_sock_cleanup-return-void.patch
> -make-s2iocinit_tti-static.patch
> -drivers-net-apnec-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
> -drivers-net-appletalk-ltpcc-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
> -drivers-net-arcnet-capmodec-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
> -drivers-net-8390c-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
> -drivers-net-ac3200c-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
> -fs-ocfs2-use-bug_on.patch
> -fs-ocfs2-dlm-dlmdomainc-fix-printk-warning.patch
> -pci-fix-section-mismatch-warning-in-pci_scan_child_bus.patch
> -pci-consolidate-duplicated-msi-enable-functions.patch
> -pci-use-dev_printk-in-quirk-messages.patch
> -sh-superh-keysc-platform-driver.patch
> -sh-superh-keysc-keypad-data-for-migor.patch
> -sh-superh-keysc-keypad-data-for-solution-engine-7722.patch
> -sh-replace-remaining-__function__-occurences.patch
> -sh-export-copy-page-to-modules.patch
> -block-fix-shadowed-variable-warning-in-blk-mapc.patch
> -block-remove-extern-on-function-definition.patch
> -cciss-remove-read_ahead-define-and-use-block-layer-defaults.patch
> -device-mapper-not-reporting-no-barrier-support.patch
> -drivers-usb-storage-sddr55c-fix-uninitialized-var-warnings.patch
> -hci_usb-another-device-with-buggy-sco-support.patch
> -cypress_m8-added-ups-powercom-0d9f0002.patch
> -usb-use-div_round_up.patch
> -usbaudio-handle-kcalloc-failure.patch
> -drivers-usb-serial-io_tic-remove-unneeded-null-tty-check.patch
> -usb-remove-unnecessary-type-casting-of-urb-context.patch
> -usb-remove-unnecessary-type-casting-of-urb-context-checkpatch-fixes.patch
> -usb-fix-comment-of-struct-usb_interface.patch
> -usb-mos7840c-add-support-for-the-mos7820-7840-based-bb-usb-rs485-converter.patch
> -9p-handle-kstrdup-and-match_strdup-failure.patch
> -watchdog-hpwdt-fix-declaration-of-struct-smbios_entry_point.patch
> -watchdog-hpwdt-fix-return-value-warning.patch
> -watchdog-hpwdt-use-dmi_walk-instead-of-own-copy.patch
> -crypto-switch-to-proc_create.patch
> -alloc_percpu-fails-to-allocate-percpu-data.patch
> -vt-notifier-fix-for-vt-switch.patch
> -documentation-atomic_add_unless-doesnt-imply-mb-on-failure-fix.patch
> -kprobes-indicate-kretprobe-support-in-kconfig.patch
> -kprobes-move-kprobe-examples-to-samples.patch
> -memory-controller-rename-to-memory-resource-controller.patch
> -tridentfb-resource-management-fixes-in-probe-function.patch
> -tridentfb-resource-management-fixes-in-probe-function-fix.patch
> -add-noinline_for_stack.patch
> -pktcdvd-reduce-stack-consumption.patch
> -mpc5200-fix-build-error-on-mpc52xx_psc_spi-device-driver.patch
> -ds1wm-should-check-for-is_errclk-instead-of-null.patch
> -ds1wm-report-bus-reset-error.patch
> -ndelay-switch-to-c-function-to-avoid-64-bit-division.patch
> -ndelay-switch-to-c-function-to-avoid-64-bit-division-fix.patch
> -sm501fb-direct-color-visual-does-not-work.patch
> -sm501fb-rgb-offsets-are-reversed-in-16bpp-modes.patch
> -sm501fb-set-transpoffset-to-0-in-8bpp-and-16bpp-modes.patch
> -sm501fb-fix-timing-limits.patch
> -sm501-remove-a-duplicated-table.patch
> -sm501-add-support-for-the-sm502-programmable-pll.patch
> -sm501-add-support-for-the-sm502-programmable-pll-checkpatch-fixes.patch
> -ipwireless-fix-potential-tty-==-null-dereference.patch
> -cris-import-stringc-memcpy-from-newlib-fixes-compile-error-with-gcc-4.patch
> -include-falloch-in-header-y.patch
> -alpha-convert-iommu-to-use-align.patch
> -alpha-iommu-had-better-access-to-the-free-space-bitmap-at-only-one-place.patch
> -alpha-make-iommu-respect-the-segment-boundary-limits.patch
> -alpha-remove-unused-debug_forcedac-define-in-iommu.patch
> -gitignore-ignore-emacs-backup-and-temporary-files.patch
> -markers-dont-risk-null-deref-in-marker.patch
> -markers-dont-risk-null-deref-in-marker-checkpatch-fixes.patch
> -markers-add-an-if0-to-__mark_check_format.patch
> -memcg-mm_match_cgroup-not-vm_match_cgroup.patch
> -memcg-move_lists-on-page-not-page_cgroup.patch
> -memcg-page_cache_release-not-__free_page.patch
> -memcg-when-do_swaps-do_wp_page-fails.patch
> -memcg-fix-vm_bug_on-from-page-migration.patch
> -memcg-bad-page-if-page_cgroup-when-free.patch
> -memcg-mem_cgroup_charge-never-null.patch
> -memcg-remove-mem_cgroup_uncharge.patch
> -memcg-memcontrol-whitespace-cleanups.patch
> -memcg-memcontrol-uninlined-and-static.patch
> -memcg-remove-clear_page_cgroup-and-atomics.patch
> -memcg-css_put-after-remove_list.patch
> -memcg-fix-mem_cgroup_move_lists-locking.patch
> -memcg-simplify-force_empty-and-move_lists.patch
> -memcg-fix-oops-on-null-lru-list.patch
> -drivers-char-isicomc-correct-use-of-and.patch
> -drivers-isdn-correct-use-of-and.patch
> -drivers-serial-m32r_sioc-correct-use-of-and.patch
> -fs-reiserfs-superc-correct-use-of-and.patch
> -block-fix-residual-byte-count-handling.patch
> -acpi-thinkpad-acpi-fix-hotkey_get_tablet_mode.patch
> -cris-correct-usage-of-__user-for-copy-to-and-from-user-space-in-lib-usercopy-and-uaccessh-try-2.patch
> -cris-correct-syscall-numbers-in-unistdh-for-timerfd_settime-and-timerfd_gettime.patch
> -kernel-add-clamp-and-clamp_t-macros.patch
> -kernel-add-clamp-and-clamp_t-macros-checkpatch-fixes.patch
> -kernel-add-clamp-and-clamp_t-macros-fix.patch
> -ecryptfs-make-ecryptfs_prepare_write-decrypt-the-page.patch
> -hisax_fcpcipnp-move-request_irq-later-in-probe.patch
> -iommu-export-iommu_is_span_boundary-helper-function.patch
> -iommu-parisc-pass-struct-device-to-iommu_alloc_range.patch
> -iommu-parisc-pass-struct-device-to-iommu_alloc_range-checkpatch-fixes.patch
> -iommu-parisc-make-the-iommus-respect-the-segment-boundary-limits.patch
> -iommu-parisc-make-the-iommus-respect-the-segment-boundary-limits-checkpatch-fixes.patch
> -md-fix-deadlock-in-md-raid1-and-md-raid10-when-handling-a-read-error.patch
> -md-reduce-cpu-wastage-on-idle-md-array-with-a-write-intent-bitmap.patch
> -md-guard-against-possible-bad-array-geometry-in-v1-metadata.patch
> -md-clean-up-irregularity-with-raid-autodetect.patch
> -md-make-sure-a-reshape-is-started-when-device-switches-to-read-write.patch
> -md-lock-access-to-rdev-attributes-properly.patch
> -md-dont-attempt-read-balancing-for-raid10-far-layouts.patch
> -md-fix-possible-raid1-raid10-deadlock-on-read-error-during-resync.patch
> -md-the-md-raid10-resync-thread-could-cause-a-md-raid10-array-deadlock.patch
> -hugetlb-correct-page-count-for-surplus-huge-pages.patch
> -hugetlb-close-a-difficult-to-trigger-reservation-race.patch
> -hugetlb-fix-pool-shrinking-while-in-restricted-cpuset.patch
> -ext3-fix-mount-option-parsing.patch
> -input-add-i2c-to-config-since-the-driver-makes-several-i2c-calls.patch
> -kprobes-fix-a-null-pointer-bug-in-register_kretprobe.patch
> -pm-do-not-acquire-device-semaphores-upfront-during-suspend.patch
> -pm-do-not-acquire-device-semaphores-upfront-during-suspend-fix.patch
> -mpt-fusion-dont-oops-if-numphys==0.patch
> -bluetooth-hci_core-defer-hci_unregister_sysfs.patch
> -e100-do-suspend-shutdown-like-e1000.patch
> -bluetooth-conwise-technology-based-adapters-with-buggy-sco-support-bugzilla-9027.patch
> -i8042-use-sgi_has_i8042-to-select-sgi-i8042-handlinig.patch
> -de2104x-remove-bug_on-when-changing-media-type.patch
> -time-prevent-the-loop-in-timespec_add_ns-from-being-optimised-away.patch
> -acpi-ec-fix-regression.patch
> -drivers-media-video-em28xx-correct-use-of-and.patch
> -drivers-media-video-em28xx-correct-use-of-and-fix.patch
> -drivers-net-wireless-iwlwifi-iwl-4965c-correct-use-of-and.patch
> -time-dont-touch-an-offlined-cpus-ts-tick_stopped-in-tick_cancel_sched_timer.patch
> -scsi-arcmsr-update-driver-version.patch
> -the-kernel-gets-no-ip-from-some-dhcp-servers.patch
> -fixed_phy-must-depend-on-phylib=y.patch
> -ntfs-fix-nommu-build.patch
> -2625-rc2-mm1-warning-at-arch-x86-mm-ioremapc129.patch
> -slub-fix-possible-null-pointer-dereference.patch
> -slub-fix-possible-null-pointer-dereference-fix.patch
> -rxrpc-fix-rxrpc_recvmsgs-returning-of-msg_name.patch
> -lsm-introduce-inode_getsecid-and-ipc_getsecid-hooks.patch
> -selinux-setup-new-inode-ipc-getsecid-hooks.patch
> -audit-use-new-lsm-hooks-instead-of-selinux-exports.patch
> -netlink-use-generic-lsm-hook.patch
> -selinux-remove-redundant-exports.patch
> -lsm-audit-introduce-generic-audit-lsm-hooks.patch
> -audit-internally-use-the-new-lsm-audit-hooks.patch
> -selinux-use-new-audit-hooks-remove-redundant-exports.patch
> -audit-final-renamings-and-cleanup.patch
> -cciss-procfs-updates-to-display-info-about-many-volumes.patch
> -make-udf_error-static.patch
> -udf-fix-anchor-point-detection.patch
> -make-ext4_xattr_list-static.patch
> -jbd2-fix-the-way-the-b_modified-flag-is-cleared.patch
> -jbd2-fix-possible-journal-overflow-issues.patch
> -ext4-fix-mount-option-parsing.patch
> -nozomi-prepare-for-bkl-pushdown.patch
> -modules-warn-about-suspicious-return-values-from-modules-init-hook.patch
>
> Merged into mainline or a subsystem tree
>
> +smackfs-do-not-trust-count-in-inodes-writes.patch
> +pagemap-proper-read-error-handling.patch
> +h8300-fix-recent-uaccess-breakage.patch
>
> 2.6.25 queue
>
> -define-functions-for-page-cache-handling.patch
> -use-page_cache_xxx-in-fs-splicec.patch
> -use-page_cache_xxx-for-fs-xfs.patch
> -use-page_cache_xxx-functions-in-mm-filemapc.patch
> -use-page_cache_xxx-in-mm-page-writebackc.patch
> -use-page_cache_xxx-in-mm-truncatec.patch
> -use-page_cache_xxx-in-mm-rmapc.patch
> -use-page_cache_xxx-in-mm-filemap_xipc.patch
> -use-page_cache_xxx-in-mm-migratec.patch
> -use-page_cache_xxx-in-fs-libfsc.patch
> -use-page_cache_xxx-in-fs-sync.patch
> -use-page_cache_xxx-in-fs-bufferc.patch
> -use-page_cache_xxx-in-mm-mpagec.patch
> -use-page_cache_xxx-in-mm-fadvisec.patch
> -use-page_cache_xxx-in-ext2.patch
> -use-page_cache_xxx-in-ext2-fix.patch
> -use-page_cache_xxx-in-fs-ext3.patch
> -use-page_cache_xxx-in-fs-reiserfs.patch
> -use-page_cache_xxx-in-fs-ext4.patch
>
> Dropped
>
> +ntfs-fix-nommu-build.patch
>
> Fix ntfs on nommu (wrongly)
>
> +poweroff-workaround.patch
>
> Make powerpff work on one of my test boxes (unneeded)
>
> +x86-remove-redundant-display-of-free-swap-space-in-show_mem.patch
>
> x86 cleanup
>
> +acpi-replace-remaining-__function__-occurrences.patch
>
> ACPI cleanup
>
> +at73c213-remove-redundant-private_free-routine.patch
>
> alsa cleanup
>
> +arm-remove-redundant-display-of-free-swap-space-in-show_mem.patch
>
> arm cleanup
>
> +atmel_serial-avoid-stopping-pdc-during-transmission.patch
> +atmel_serial-avoid-stopping-pdc-during-transmission-update.patch
>
> serial driver updates
>
> +cifs-hack-around-biuld-error.patch
>
> Pseudo-fix git-cifs
>
> +agk-dm-dm-crypt-add-cond_resched.patch
> +agk-dm-dm-log-generalise-name-in-messages.patch
> +agk-dm-dm-log-move-dirty-region-log-code-into-separate-module.patch
> +agk-dm-dm-snapshot-store-pointer-to-target-instance.patch
> +agk-dm-dm-io-write-error-bits-form-long-not-int.patch
> +agk-dm-dm-io-rename-error-to-error_bits.patch
> +agk-dm-dm-io-clean-interface.patch
> +agk-dm-dm-kcopyd-clean-interface.patch
> +agk-dm-dm-log-clean-interface.patch
>
> device mapper tree updates
>
> +git-powerpc-fix-git-rejects.patch
>
> Fix conflicts in git-powerpc.patch
>
> +drivers-block-viodasdc-use-field_sizeof.patch
> +powerpc-8xx-fix-swap.patch
> +powerpc-remove-redundant-display-of-free-swap-space-in-show_mem.patch
> +ppc-remove-redundant-display-of-free-swap-space-in-show_mem.patch
>
> powerpc stuff
>
> -gregkh-driver-kobject-properly-initialize-ksets.patch
>
> Dropped
>
> +gregkh-driver-driver-core-convert-debug-functions-declared-inline-__attribute__-to-statement-expression-macros.patch
> +gregkh-driver-memstick-convert-struct-class_device-to-struct-device.patch
> +gregkh-driver-driver-core-replace-remaining-__function__-occurrences.patch
> +gregkh-driver-ib-convert-struct-class_device-to-struct-device.patch
> +gregkh-driver-ib-rename-dev-to-srp_dev-in-srp_host-structure.patch
>
> Driver tree updates
>
> +kobjects-mark-cleaned-up-kobjects-as-unitialized-2.patch
> +fix-gregkh-driver-net-convert-the-phy_device-file-to-use-bus_find_device_by_name.patch
>
> Driver things
>
> -drm-i915-fix-oops-after-killing-x.patch
>
> Unneeded
>
> +drivers-media-video-pvrusb2-pvrusb2-sysfsc-fix-printk-warnings.patch
> +drivers-media-video-tvp5150c-logical-bitwise-and-confusion.patch
>
> v4l things
>
> +jdelvare-i2c-i2c-fix-i2c_device_probe.patch
> +jdelvare-i2c-i2c-replace-remaining-__function__-occurrences.patch
>
> I2C tree updates
>
> -oz99x-i2c-button-and-led-support-driver.patch
> -fjkeyinf-driver-for-fsc-lifebook-laptops.patch
>
> Dropped
>
> +hdaps-invert-the-axes-for-hdaps-on-lenovo-r61i-thinkpads.patch
> +adt746x-logical-bitwise-confusion-in-set_max_duty_at_crit.patch
>
> hwmon things
>
> +add-time_is_after_jiffies-and-others-which-compare-with-jiffies.patch
>
> time handling helpers
>
> +ia64-fix-getpid-and-set_tid_address-fast-system-calls-for-pid-namespaces.patch
> +kprobes-kprobe-booster-for-ia64.patch
> +kprobes-kprobe-booster-for-ia64-fix.patch
> +ia64-make-iommu-respect-the-segment-boundary-limits.patch
> +ia64-remove-redundant-display-of-free-swap-space-in-show_mem.patch
>
> ia64 things
>
> +infiniband-replace-remaining-__function__-occurrences.patch
>
> infiniband cleanup
>
> -maple-add-driver-for-sega-dreamcast-controller-update.patch
> -maple-add-driver-for-sega-dreamcast-controller-update-checkpatch-fixes.patch
>
> Folded into maple-add-driver-for-sega-dreamcast-controller.patch
>
> -input-put-ledstate-in-the-keyboard-notifier-fix.patch
>
> Folded into input-put-ledstate-in-the-keyboard-notifier.patch
>
> -ati_remote2-autorepeat-and-loadable-keymap-support.patch
>
> Dropped
>
> +aiptekc-add-support-for-genius-g-pen-560-tablet.patch
> +ps-2-serio-driver-for-avr32-devices.patch
> +input-replace-remaining-__function__-occurrences.patch
>
> Input things
>
> +ata-swncq-should-be-enabled-by-default.patch
>
> ATA work
>
> +ide-mm-ide-add-struct-ide_port_ops-take-2.patch
> +ide-mm-ide-manage-resources-for-pci-devices-in-ide_pci_enable-take-2.patch
> +ide-mm-ide-replace-remaining-__function__-occurrences.patch
> +ide-mm-ide-remove-extra-field-from-struct-ide_port_info.patch
> +ide-mm-ide-remove-ide_dma_iobase.patch
> +ide-mm-ide-remove-cds-field-from-ide_hwif_t.patch
> +ide-mm-ide-dont-display-bios-settings-in-ide_setup_dma.patch
> +ide-mm-pdc202xx_old-remove-init_dma_pdc202xx.patch
> +ide-mm-alim15x3-skip-dma-initialization-completely-on-revs-lt-0x20.patch
> +ide-mm-ide-move-ide_setup_dma-call-out-from-init_dma-method.patch
> +ide-mm-ide-export-ide_allocate_dma_engine.patch
> +ide-mm-ide-factor-out-setting-pci-bus-mastering-from-ide_hwif_setup_dma.patch
> +ide-mm-ide-cleanup-ide_setup_dma.patch
> +ide-mm-au1xxx-ide-fix-mwdma-support.patch
> +ide-mm-ide-do-complete-dma-setup-in-init_dma-method.patch
> +ide-mm-ide-pmac-use-init_dma-method.patch
> +ide-mm-icside-use-init_dma-method.patch
> +ide-mm-sgiioc4-use-init_dma-method.patch
> +ide-mm-palm_bk3710-use-init_dma-method.patch
> +ide-mm-au1xxx-ide-use-init_dma-method.patch
> +ide-mm-sl82c105-check-bridge-revision-in-sl82c105_init_one.patch
> +ide-mm-ide-add-ide_hflag_serialize_dma-host-flag.patch
> +ide-mm-ide-add-struct-ide_dma_ops.patch
> +ide-mm-ide-constify-struct-ide_dma_ops.patch
> +ide-mm-ide-tape-remove-tape-cache_stage.patch
> +ide-mm-ide-tape-remove-pipeline-specific-code-from-idetape_add_chrdev_write_request.patch
> +ide-mm-ide-tape-remove-pipeline-speed_control-calculations.patch
> +ide-mm-ide-tape-remove-pipeline-specific-code-from-idetape_add_chrdev_read_request.patch
>
> IDE tree updates
>
> +drivers-ide-idec-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
>
> IDE cleanup
>
> +mips-remove-redundant-display-of-free-swap-space-in-show_mem.patch
>
> MIPS cleanup
>
> +mtd-replace-remaining-__function__-occurrences.patch
>
> MTD cleanup
>
> +git-net-fix-build-with-config_net=n.patch
>
> Fix git-net
>
> +drivers-net-3c501c-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
> +drivers-net-3c505c-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
> +drivers-net-3c507c-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
> +drivers-net-3c515c-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
> +drivers-net-3c523c-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
> +drivers-net-3c527c-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
> +drivers-net-82596c-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
> +3c509-convert-to-isa_driver-and-pnp_driver-v6.patch
> +tulip-de_stop_rxtx-polling-wrong.patch
> +3c501-further-coding-style-fixes.patch
>
> netdev things
>
> +nfs-replace-remaining-__function__-occurrences.patch
>
> NFS cleanup
>
> +drivers-parisc-replace-remaining-__function__-occurrences.patch
> +parisc-remove-redundant-display-of-free-swap-space-in-show_mem.patch
>
> parisc things
>
> +pcmcia-replace-remaining-__function__-occurrences.patch
> +alchemy-semi-au1000-pcmcia-driver-convert-pcmcia_sockets_lock-in-a-mutex.patch
> +drivers-pcmcia-soc_commonc-convert-soc_pcmcia_sockets_lock-into-a-mutex-and-make-it-static.patch
>
> PCMCIA updates
>
> +gregkh-pci-pci-add-pci-express-aspm-support.patch
> +gregkh-pci-pci-add-generic-pci_enable_resources.patch
> +gregkh-pci-pci-alpha-use-generic-pci_enable_resources.patch
> +gregkh-pci-pci-arm-use-generic-pci_enable_resources.patch
> +gregkh-pci-pci-cris-use-generic-pci_enable_resources.patch
> +gregkh-pci-pci-frv-use-generic-pci_enable_resources.patch
> +gregkh-pci-pci-ia64-use-generic-pci_enable_resources.patch
> +gregkh-pci-pci-mips-use-generic-pci_enable_resources.patch
> +gregkh-pci-pci-mn10300-use-generic-pci_enable_resources.patch
> +gregkh-pci-pci-parisc-use-generic-pci_enable_resources.patch
> +gregkh-pci-pci-powerpc-use-generic-pci_enable_resources.patch
> +gregkh-pci-pci-ppc-use-generic-pci_enable_resources.patch
> +gregkh-pci-pci-sh-use-generic-pci_enable_resources.patch
> +gregkh-pci-pci-sparc64-use-generic-pci_enable_resources.patch
> +gregkh-pci-pci-v850-use-generic-pci_enable_resources.patch
> +gregkh-pci-pci-x86-use-generic-pci_enable_resources.patch
> +gregkh-pci-pci-xtensa-use-generic-pci_enable_resources.patch
> +gregkh-pci-pci-replace-remaining-__function__-occurrences.patch
>
> PCI tree updates
>
> +pci-iommu-iotlb-flushing-speedup.patch
>
> PCI speedup
>
> +s390-remove-redundant-display-of-free-swap-space-in-show_mem.patch
> +drivers-s390-replace-remaining-__function__-occurrences.patch
>
> s390 cleanups
>
> +arcmsr-modify-the-type-of-element-of-messageunit_b.patch
> +fusion-mpt-convert-inactive_list_mutex-in-a-mutex.patch
> +scsi-replace-remaining-__function__-occurrences.patch
> +fusion-replace-remaining-__function__-occurrences.patch
> +scsi-replace-__inline-with-inline.patch
> +scsi-stc-make-class-attributes-static.patch
> +scsi-osstc-make-class-attributes-static.patch
> +scsi-chc-fix-shadowed-variable-warnings.patch
> +scsi-chc-fix-shadowed-variable-warnings-checkpatch-fixes.patch
>
> SCSI things
>
> +block-replace-remaining-__function__-occurrences.patch
> +block-fix-memory-hotplug-and-bouncing-in-block-layer.patch
> +block-blk-mergec-inverted-likeliness-in-ll_back_merge_fn.patch
> +block-fix-blk_register_queue-return-value.patch
>
> block things
>
> +gregkh-usb-usb-ehci-carry-out-port-handover-during-each-root-hub-resume.patch
> +gregkh-usb-usb-reorganize-code-in-hubc.patch
> +gregkh-usb-usb-make-usb-persist-work-after-every-system-sleep.patch
> +gregkh-usb-usb-remove-config_usb_persist-setting.patch
> +gregkh-usb-usb-check-serial-number-string-after-device-reset.patch
> +gregkh-usb-usb-enable-usb-persist-by-default.patch
> +gregkh-usb-usb-convert-usbh-struct-usb_device-to-kernel-doc.patch
> +gregkh-usb-usb-use-div_round_up.patch
> +gregkh-usb-usb-io_tic-remove-unneeded-null-tty-check.patch
> +gregkh-usb-usb-partial-usb-embedded-host-support.patch
> +gregkh-usb-usb-ehci-remove-obsolete-workaround-for-bogus-irqs.patch
> +gregkh-usb-usb-ipaq-fix-devices-having-more-than-one-endpoint.patch
> +gregkh-usb-usb-remove-dev-powerpower_state.patch
> +gregkh-usb-usb-replace-remaining-__function__-occurrences.patch
> +gregkh-usb-usb-remove-unnecessary-type-casting-of-urb-context.patch
> +gregkh-usb-usb-s2255drv-fix-memset.patch
>
> USB tree updates
>
> +usb-add-support-for-motorola-rokr-z6-cellphone-in-mass-storage-mode.patch
>
> USB fix
>
> +prism54-support-for-124a4025-another-version-of-iogear-gwu513-80211g.patch
>
> wireless device support
>
> +xfs-replace-remaining-__function__-occurrences.patch
> +xfs-replace-__inline-with-inline.patch
>
> xfs cleanups
>
> +xtensa-remove-redundant-display-of-free-swap-space-in-show_mem.patch
>
> xtensa cleanup
>
> +char-riscom-fix-rc_board-indexing.patch
> +alpha-use-iommu_is_span_boundary-helper-function.patch
> +kernel-doc-set-verbose-mode-via-environment.patch
> +block-floppy-fix-rmmod-lockup.patch
>
> 2.6.25 material
>
> +romfs-prevent-romfs_lookup-from-always-failing.patch
>
> Might be 2.6.25, needs update
>
> +gdth-allocate-sense_buffer-to-prevent-null-pointer-dereference.patch
> +at73c213-fix-error-checking-for-clk-api.patch
> +at73c213-monaural-support.patch
> +at73c213-fix-dma-size-at-the-end-of-dma-buffer.patch
> +smc91x-fix-build-breakage-from-the-smc_get_mac_addr-api-upgrade.patch
> +ioc3-fix-section-missmatch.patch
> +forcedeth-limit-tx-to-16.patch
> +drivers-net-wireless-iwlwifi-iwl-4965c-correct-use-of-and.patch
> +acpi-ec-revert-208c70a45624400fafd7511b96bc426bf01f8f5e.patch
> +drm-fix-for-non-coherent-dma-powerpc.patch
> +#input:
> +input-fix-cobalt_btns-loadable-keymap-support.patch
> +keep-rd-online-and-cpu_online_map-in-sync.patch
>
> 2.6.25 material
>
> +mm-filter-based-on-a-nodemask-as-well-as-a-gfp_mask-doc-fixes.patch
> +mm-filter-based-on-a-nodemask-as-well-as-a-gfp_mask-make-dequeue_huge_page_vma-obey-mpol_bind-nodemask.patch
> +mm-filter-based-on-a-nodemask-as-well-as-a-gfp_mask-make-dequeue_huge_page_vma-obey-mpol_bind-nodemask-rework.patch
> +mempolicy-convert-mpol-constants-to-enum.patch
> +mempolicy-support-optional-mode-flags.patch
> +mempolicy-add-mpol_f_static_nodes-flag.patch
> +mempolicy-add-bitmap_onto-and-bitmap_fold-operations.patch
> +mempolicy-add-mpol_f_relative_nodes-flag.patch
> +mempolicy-update-numa-memory-policy-documentation.patch
> +mempolicy-move-rebind-functions.patch
> +mempolicy-create-mempolicy_operations-structure.patch
> +mempolicy-create-mempolicy_operations-structure-fix.patch
> +mempolicy-small-header-file-cleanup.patch
>
> MM updates
>
> +capabilities-implement-per-process-securebits-fix.patch
>
> Fix capabilities-implement-per-process-securebits.patch some more
>
> +root_plug-use-cap_task_prctl.patch
> +smack-use-cap_task_prctl.patch
>
> USe securebits
>
> +alpha-replace-__inline-with-inline.patch
>
> alpha cleanup
>
> +power-replace-remaining-__function__-occurrences.patch
>
> PM cleanup
>
> +m68k-remove-redundant-display-of-free-swap-space-in-show_mem.patch
>
> m68k cleanup
>
> +cris-remove-redundant-display-of-free-swap-space-in-show_mem.patch
>
> cris cleanup
>
> +kernel-add-clamp-and-clamp_t-macros.patch
> +kernel-add-clamp-and-clamp_t-macros-checkpatch-fixes.patch
> +kernel-add-clamp-and-clamp_t-macros-fix.patch
> +firmware-replace-remaining-__function__-occurrences.patch
> +drivers-misc-replace-remaining-__function__-occurrences.patch
> +ioc3c-replace-remaining-__function__-occurrences.patch
> +connector-convert-to-single-threaded-workqueue.patch
> +sysrq-add-show-backtrace-on-all-cpus-function.patch
> +sysrq-add-show-backtrace-on-all-cpus-function-checkpatch-fixes.patch
> +sysrq-add-show-backtrace-on-all-cpus-function-checkpatch-fixes-cleanup.patch
> +drivers-block-floppyc-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
>
> Misc
>
> +isolate-ratelimit-from-printkc-for-other-use.patch
> +isolate-ratelimit-from-printkc-for-other-use-update.patch
> +add-warn_on_secs-macro.patch
> +use-warn_on_secs-in-rcupreempth.patch
>
> printk infrastructure
>
> +synclink-drivers-bool-conversion.patch
>
> synclink cleanup
>
> +uart_get_baud_rate-stop-mangling-termios-fix.patch
>
> Fix uart_get_baud_rate-stop-mangling-termios.patch
>
> +spi-replace-remaining-__function__-occurrences.patch
>
> SPI cleanup
>
> +isdn-replace-remaining-__function__-occurrences.patch
>
> I4L cleanup
>
> +ecryptfs-replace-remaining-__function__-occurrences.patch
>
> ecryptfs cleanup
>
> +rtc-avoid-legacy-drivers-with-generic-framework-update.patch
>
> Fix rtc-avoid-legacy-drivers-with-generic-framework.patch
>
> +kerneldoc-for-linux-clkh.patch
>
> RTC kerneldoc support
>
> +rtc-replace-remaining-__function__-occurrences.patch
>
> RTC cleanup
>
> +fbmem-fix-con2fbmap-limit-check.patch
> +free-when-fb-cant-be-registered-in-video-aty-atyfb_basec.patch
> +drivers-video-aty-aty128fbc-fix-incorrect-usage-of-strncat-in-aty128_init.patch
> +radeonfb-use-pci-device-id-in-hex-for-name-string.patch
> +radeonfb-fix-debug-option.patch
> +radeonfb-drop-redundant-rtrace-macro.patch
> +radeonfb-speed-up-the-i2c-buses.patch
> +uvesafb-dont-treat-valid-modes-returned-by-fb_find_mode-as-errors.patch
> +drivers-video-imsttfbc-add-missing-curly-brackets.patch
> +savagefb-speed-up-the-i2c-bus.patch
> +fbdev-vt8623fb-better-resume-from-str.patch
> +fbdev-framebuffer_alloc-fixes.patch
> +pxafb-un-nest-pxafb_parse_options-to-cleanup-the-coding-style-issue.patch
> +pxafb-fix-various-coding-style-issues-for-pxafb.patch
> +pxafb-purge-unnecessary-pr_debug-and-comments-from-pxafb.patch
> +pxafb-sanitize-the-usage-of-ifdef-processing-pxafb-parameters.patch
> +pxafb-convert-fb-driver-to-use-ioremap-and-__raw_readl-writel.patch
> +pxafb-introduce-struct-pxafb_dma_buff-for-palette-and-dma-descriptors.patch
> +pxafb-introduce-register-independent-lcd-connection-type-for-pxafb.patch
> +pxafb-make-lubbock-mainstone-zylonite-littleton-to-use-new-lcd-connection-type.patch
> +atmel_lcdfb-dont-initialize-a-pre-allocated-framebuffer.patch
> +atmel_lcdfb-suspend-resume-support.patch
> +atmel_lcdfb-wiring-bgr-to-rgb-color-mode.patch
> +atmel_lcdfb-adjust-fifo-size-for-at91sam9rl.patch
> +video-replace-remaining-__function__-occurrences.patch
>
> fbdev things
>
> +md-replace-remaining-__function__-occurrences.patch
>
> MD cleanup
>
> +pnp-use-dev_printk-for-quirk-messages.patch
>
> PNP work
>
> +ext2-replace-remaining-__function__-occurrences.patch
>
> Ext2 cleanup
>
> +ext3-replace-remaining-__function__-occurrences.patch
> +jbd-replace-remaining-__function__-occurrences.patch
>
> ext3 cleanups
>
> +ufs-replace-remaining-__function__-occurrences.patch
> +ufs-remove-unused-fs64_add-and-fs64_sub.patch
> +ufs-replace-__inline-with-inline.patch
>
> UFS work
>
> +reiserfs-replace-remaining-__function__-occurrences.patch
>
> reiserfs cleanup
>
> +cgroups-_s64-files-add-cgroups-read_s64-write_s64-file-methods.patch
> +cgroups-_s64-files-use-read_s64-write_s64-in-cfs-cgroup-for-rt_runtime-file.patch
> +cgroups-add-cgroup-support-for-enabling-controllers-at-boot-time.patch
> +cgroup-annotate-cgroup_init_subsys-with-__init.patch
> +cgroup-switch-to-proc_create.patch
>
> cgroups updates
>
> +memory-controller-make-memory-resource-control-aware-of-boot-options.patch
>
> meory controller feature
>
> +cpuset-hardwall-flag-switch-cpusets-to-use-the-bulk-cgroup_add_files-api.patch
> +cpuset-hardwall-flag-add-a-mem_hardwall-flag-to-cpusets.patch
>
> cpusets work
>
> +signals-re-assign-cld_continued-notification-from-the-sender-to-reciever.patch
> +kill_pid_info-dont-take-now-unneeded-tasklist_lock.patch
> +handle_stop_signal-unify-partial-full-stop-handling.patch
> +handle_stop_signal-use-the-cached-p-signal-value.patch
> +get_signal_to_deliver-use-the-cached-signal-sighand-values.patch
> +signals-send_sigqueue-dont-take-rcu-lock.patch
> +signals-send_sigqueue-dont-forget-about-handle_stop_signal.patch
> +signals-__group_complete_signal-cache-the-value-of-p-signal.patch
> +signals-send_group_sigqueue-dont-take-tasklist_lock.patch
> +signals-move-handle_stop_signal-into-send_signal.patch
> +signals-do_tkill-dont-use-tasklist_lock.patch
> +signals-do_tkill-dont-use-tasklist_lock-comment.patch
> +signals-send_sig_info-dont-take-tasklist_lock.patch
> +signals-microoptimize-the-usage-of-curr_target.patch
> +signals-move-the-definition-of-__group_complete_signal-up.patch
> +signals-change-send_signal-do_send_sigqueue-to-take-boolean-group-parameter.patch
> +signals-use-__group_complete_signal-for-the-specific-signals-too.patch
> +signals-fold-complete_signal-into-send_signal-do_send_sigqueue.patch
> +signals-unify-send_sigqueue-send_group_sigqueue-completely.patch
> +signals-join-send_sigqueue-with-send_group_sigqueue.patch
> +signals-handle_stop_signal-dont-worry-about-sigkill.patch
> +signals-send_signal-factor-out-signal_group_exit-checks.patch
> +signals-fold-sig_ignored-into-prepare_signal.patch
> +signals-document-cld_continued-notification-mechanics.patch
> +signals-cleanup-the-usage-of-print_fatal_signal.patch
>
> A few signal management changes
>
> -ptrace-introduce-ptrace_reparented-helper.patch
>
> Dropped (I think)
>
> +ptrace-introduce-ptrace_reparented-helper.patch
> +ptrace-__ptrace_unlink-use-the-ptrace_reparented-helper.patch
>
> ptrace updates
>
> +ext4-mm-ext4-make-ext4-xattr-list-static.patch
> +ext4-mm-ext4-fix-mount-option-parsing.patch
> +ext4-mm-jbd2-fix-the-way-the-b_modified-flag-is-cleared.patch
> +ext4-mm-jbd2-fix-possible-journal-overflow-issues.patch
> +ext4-mm-ext4-fix-fallocate-error-path.patch
> +ext4-mm-ext4-enable-extent-format-for-symlink.patch
> +ext4-mm-ext4-fallocate-full-fs-enospc-handling.patch
> +ext4-mm-ext4-page-mkwrite.patch
> +ext4-mm-ext4-zero-out-small-uninitlaized-extents.patch
> -ext4-mm-ext4_page_mkwrite.patch
> +ext4-mm-delalloc-ext4-preallocation-handling.patch
>
> EXT4 tree updates
>
> +jbd2-only-create-debugfs-and-stats-entries-if-cache-initialisation-is-successful.patch
> +ext4-replace-remaining-__function__-occurrences.patch
> +jdb2-replace-remaining-__function__-occurrences.patch
>
> ext4 things
>
> +ipc-consolidate-all-xxxctl_down-functions-fix.patch
>
> Fix ipc-consolidate-all-xxxctl_down-functions.patch
>
> +tty_io-fix-remaining-pid-struct-locking-small-cleanup.patch
> +tty_ioctl-locking-for-tty_wait_until_sent.patch
> +tty_ioctl-soft-carrier-handling.patch
>
> More tty work
>
> +drivers-char-ip2-ip2mainc-replace-init_modulecleanup_module-with-module_initmodule_exit.patch
> +istallion-tiocg-ssoftcar-handling-removal.patch
>
> char driver work
>
> +keys-allow-clients-to-set-key-perms-in-key_create_or_update.patch
>
> Key management feature (needs dhowells ack)
>
> +nbd-allow-nbd-to-be-used-locally.patch
>
> NBD update
>
> +remove-duplicated-unlikely-in-is_err.patch
>
> Cleanup
>
> +relay-reset-consumed.patch
> +trace-code-and-documentation.patch
> +trace-sample.patch
>
> Simple tracing infrastructure
>
> +drivers-replace-remaining-__function__-occurrences.patch
> +afs-replace-remaining-__function__-occurrences.patch
> +fs-replace-remaining-__function__-occurrences.patch
> +drivers-char-replace-remaining-__function__-occurrences.patch
> +serial-replace-remaining-__function__-occurrences.patch
>
> cleanups
>
> +reiser4-new-export_ops-fixup.patch
>
> reiser4 fix
>
> +profile-likely-unlikely-macros-fix.patch
>
> Fix profile-likely-unlikely-macros.patch
>
>
> 3393 commits in 1196 patch files
>
> All patches:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/patch-list
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

2008-03-11 20:40:10

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1

On Tue, 11 Mar 2008 15:23:00 -0500 [email protected] wrote:

> Quoting Andrew Morton ([email protected]):
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
> >
> > - Added the kgdb tree as git-kgdb-light (Jason Wessel, Ingo Molnar)
> >
> > - Added a random-security-stuff-apart-from-selinux tree as
> > git-security-testing (James Morris)
> >
> > - suspend-to-disk is still busted on my x86_64 t61p (git-x86, iirc)
>
> Compiles and boots perfectly on s390 here.

whee.

Things are going much much more smoothly now than they were in 2.6.24-rcX
and 2.6.23-rcX. Tree integration problems are negligible and build errors
are far fewer and runtime problems seem to be less too. Fingers crossed.

I guess this is due to a combinaton of

a) linux-next

b) intensive whining and

c) extra care which maintainers are taking (due to a) and b))


I suspect that fewer people are testing linux-next and -mm nowadays. We
should encourage them to do so, although given the general
trainwreckishness of current mainline, this isn't really where our effort
should be expended.

2008-03-12 01:15:11

by Dave Young

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1

Hi, I got the following lockdep warning:
(add linux-acpi to cc)

[ 0.097109] ACPI: Core revision 20070126
[ 0.097282] INFO: trying to register non-static key.
[ 0.097355] the code is fine but needs lockdep annotation.
[ 0.097428] turning off the locking correctness validator.
[ 0.097503] Pid: 0, comm: swapper Not tainted 2.6.25-rc5-mm1 #3
[ 0.097578] [<c0127bf8>] ? printk+0x18/0x20
[ 0.097716] [<c014b01c>] __lock_acquire+0x40c/0x760
[ 0.097822] [<c0181ba0>] ? alloc_debug_processing+0xb0/0x140
[ 0.097959] [<c014b969>] lock_acquire+0x79/0xb0
[ 0.098063] [<c0140204>] ? down_trylock+0x14/0x40
[ 0.098197] [<c03df9e8>] _spin_lock_irqsave+0x48/0xa0
[ 0.098303] [<c0140204>] ? down_trylock+0x14/0x40
[ 0.098436] [<c0140204>] down_trylock+0x14/0x40
[ 0.098540] [<c027c7ea>] acpi_os_wait_semaphore+0x3e/0xb9
[ 0.098647] [<c029263e>] acpi_ut_acquire_mutex+0x34/0x72
[ 0.098753] [<c0289ab1>] acpi_ns_root_initialize+0x19/0x250
[ 0.098859] [<c05453e6>] acpi_initialize_subsystem+0x42/0x64
[ 0.098966] [<c0545725>] acpi_early_init+0x50/0xef
[ 0.099070] [<c052b7f6>] start_kernel+0x1e6/0x250
[ 0.099175] [<c052b1a0>] ? unknown_bootoption+0x0/0x130
[ 0.099310] [<c052b008>] __init_begin+0x8/0x10
[ 0.099414] =======================

2008-03-12 01:32:21

by Ravikiran G Thirumalai

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1 (paravirt/vsmp/no PCI)

On Tue, Mar 11, 2008 at 11:18:44AM -0700, Jeremy Fitzhardinge wrote:
>Randy Dunlap wrote:
>
>Added Cc:
>
>>On Tue, 11 Mar 2008 01:14:34 -0700 Andrew Morton wrote:
>>
>>
>>>ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
>>>
>>
>>randconfig (x86_64) with
>>PCI=n
>>PARAVIRT=y
>>VSMP=n
>>
>>ends with
>>
>>arch/x86/kernel/built-in.o: In function `is_vsmp_box':
>>(.text+0x1178d): undefined reference to `early_pci_allowed'
>>arch/x86/kernel/built-in.o: In function `is_vsmp_box':
>>(.text+0x117a9): undefined reference to `read_pci_config'
>>arch/x86/kernel/built-in.o: In function `vsmp_init':
>>(.init.text+0x4fcc): undefined reference to `early_pci_allowed'
>>arch/x86/kernel/built-in.o: In function `vsmp_init':
>>(.init.text+0x501a): undefined reference to `read_pci_config'
>>make[1]: *** [.tmp_vmlinux1] Error 1
>>
>>config attached.
>
> J


Would anyone have objection to have PARAVIRT depend on PCI, since the
vsmp paravirt bits depend on PCI cfg space to determine if the system is
vsmp? If not, this patch would suffice.

Glauber?

Thanks,
Kiran

---

Make PARAVIRT depend on PCI.

vSMP PARAVIRT ops probe the pci config space to determine if the
system is indeed a ScaleMP vSMP box. Hence, depend on PCI to enable
PARAVIRT.

Signed-off-by: Ravikiran Thirumalai <[email protected]>

Index: linux-2.6.24/arch/x86/Kconfig
===================================================================
--- linux-2.6.24.orig/arch/x86/Kconfig 2008-03-11 16:38:26.000000000 -0700
+++ linux-2.6.24/arch/x86/Kconfig 2008-03-11 16:50:52.000000000 -0700
@@ -384,7 +384,7 @@ source "arch/x86/lguest/Kconfig"

config PARAVIRT
bool "Enable paravirtualization code"
- depends on !(X86_VISWS || X86_VOYAGER)
+ depends on !(X86_VISWS || X86_VOYAGER) && PCI
help
This changes the kernel so it can modify itself when it is run
under a hypervisor, potentially improving performance significantly

2008-03-12 01:44:50

by Randy Dunlap

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1 (paravirt/vsmp/no PCI)

Ravikiran G Thirumalai wrote:
> On Tue, Mar 11, 2008 at 11:18:44AM -0700, Jeremy Fitzhardinge wrote:
>> Randy Dunlap wrote:
>>
>> Added Cc:
>>
>>> On Tue, 11 Mar 2008 01:14:34 -0700 Andrew Morton wrote:
>>>
>>>
>>>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
>>>>
>>> randconfig (x86_64) with
>>> PCI=n
>>> PARAVIRT=y
>>> VSMP=n
>>>
>>> ends with
>>>
>>> arch/x86/kernel/built-in.o: In function `is_vsmp_box':
>>> (.text+0x1178d): undefined reference to `early_pci_allowed'
>>> arch/x86/kernel/built-in.o: In function `is_vsmp_box':
>>> (.text+0x117a9): undefined reference to `read_pci_config'
>>> arch/x86/kernel/built-in.o: In function `vsmp_init':
>>> (.init.text+0x4fcc): undefined reference to `early_pci_allowed'
>>> arch/x86/kernel/built-in.o: In function `vsmp_init':
>>> (.init.text+0x501a): undefined reference to `read_pci_config'
>>> make[1]: *** [.tmp_vmlinux1] Error 1
>>>
>>> config attached.
>> J
>
>
> Would anyone have objection to have PARAVIRT depend on PCI, since the
> vsmp paravirt bits depend on PCI cfg space to determine if the system is
> vsmp? If not, this patch would suffice.

Works for me.
Acked-by: Randy Dunlap <[email protected]>

Thanks.

> Glauber?
>
> Thanks,
> Kiran
>
> ---
>
> Make PARAVIRT depend on PCI.
>
> vSMP PARAVIRT ops probe the pci config space to determine if the
> system is indeed a ScaleMP vSMP box. Hence, depend on PCI to enable
> PARAVIRT.
>
> Signed-off-by: Ravikiran Thirumalai <[email protected]>
>
> Index: linux-2.6.24/arch/x86/Kconfig
> ===================================================================
> --- linux-2.6.24.orig/arch/x86/Kconfig 2008-03-11 16:38:26.000000000 -0700
> +++ linux-2.6.24/arch/x86/Kconfig 2008-03-11 16:50:52.000000000 -0700
> @@ -384,7 +384,7 @@ source "arch/x86/lguest/Kconfig"
>
> config PARAVIRT
> bool "Enable paravirtualization code"
> - depends on !(X86_VISWS || X86_VOYAGER)
> + depends on !(X86_VISWS || X86_VOYAGER) && PCI
> help
> This changes the kernel so it can modify itself when it is run
> under a hypervisor, potentially improving performance significantly


--
~Randy

2008-03-12 01:53:00

by Jeremy Fitzhardinge

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1 (paravirt/vsmp/no PCI)

Ravikiran G Thirumalai wrote:
> Would anyone have objection to have PARAVIRT depend on PCI, since the
> vsmp paravirt bits depend on PCI cfg space to determine if the system is
> vsmp? If not, this patch would suffice.
>

NAK. Xen doesn't depend on PCI at all. Why not make VSMP depend on
PCI? Then you could put something like:

#ifdef CONFIG_X86_VSMP
extern void vsmp_init(void);
extern int is_vsmp_box(void);
#else
static inline void vsmp_init(void)
{
}

static inline int is_vsmp_box(void)
{
return 0;
}
#endif


in an appropriate header.

Hm, looks like arch/x86/kernel/Makefile should be

obj-$(CONFIG_X86_VSMP) += vsmp_64.o


rather than making it depend directly on CONFIG_PARAVIRT.

J

2008-03-12 07:15:41

by Ingo Molnar

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1 (paravirt/vsmp/no PCI)


* Ravikiran G Thirumalai <[email protected]> wrote:

> Would anyone have objection to have PARAVIRT depend on PCI, since the
> vsmp paravirt bits depend on PCI cfg space to determine if the system
> is vsmp? If not, this patch would suffice.

hm, that's not a good idea - there's nothing in lguest, Xen and even KVM
that is inherently tied to PCI.

Ingo

2008-03-12 07:21:52

by Laurent Riffard

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1: NO_HZ=Y && PREEMPT_RCU=Y fails to build

Le 11.03.2008 09:14, Andrew Morton a ?crit :
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
>

The kernel won't build if CONFIG_NO_HZ=y and CONFIG_PREEMPT_RCU=y:

$ grep -e PREEMPT -e HZ .config
CONFIG_NO_HZ=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_RCU=y
# CONFIG_HZ_100 is not set
CONFIG_HZ_250=y
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=250
CONFIG_DEBUG_PREEMPT=y
$
$ make
...
CC init/main.o
In file included from include/linux/rcupdate.h:60,
from include/linux/rculist.h:11,
from include/linux/dcache.h:9,
from include/linux/fs.h:279,
from include/linux/proc_fs.h:6,
from init/main.c:15:
include/linux/rcupreempt.h: In function 'rcu_enter_nohz':
include/linux/rcupreempt.h:91: error: 'HZ' undeclared (first use in this function)
include/linux/rcupreempt.h:91: error: (Each undeclared identifier is reported only once
include/linux/rcupreempt.h:91: error: for each function it appears in.)
include/linux/rcupreempt.h: In function 'rcu_exit_nohz':
include/linux/rcupreempt.h:99: error: 'HZ' undeclared (first use in this function)
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
$

At first glance, I would suspect these patches:
add-warn_on_secs-macro.patch
use-warn_on_secs-in-rcupreempth.patch

~~
laurent

2008-03-12 07:44:26

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1: NO_HZ=Y && PREEMPT_RCU=Y fails to build

On Wed, 12 Mar 2008 08:21:41 +0100 Laurent Riffard <[email protected]> wrote:

> Le 11.03.2008 09:14, Andrew Morton a __crit :
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
> >
>
> The kernel won't build if CONFIG_NO_HZ=y and CONFIG_PREEMPT_RCU=y:
>
> $ grep -e PREEMPT -e HZ .config
> CONFIG_NO_HZ=y
> # CONFIG_PREEMPT_NONE is not set
> # CONFIG_PREEMPT_VOLUNTARY is not set
> CONFIG_PREEMPT=y
> CONFIG_PREEMPT_RCU=y
> # CONFIG_HZ_100 is not set
> CONFIG_HZ_250=y
> # CONFIG_HZ_300 is not set
> # CONFIG_HZ_1000 is not set
> CONFIG_HZ=250
> CONFIG_DEBUG_PREEMPT=y
> $
> $ make
> ...
> CC init/main.o
> In file included from include/linux/rcupdate.h:60,
> from include/linux/rculist.h:11,
> from include/linux/dcache.h:9,
> from include/linux/fs.h:279,
> from include/linux/proc_fs.h:6,
> from init/main.c:15:
> include/linux/rcupreempt.h: In function 'rcu_enter_nohz':
> include/linux/rcupreempt.h:91: error: 'HZ' undeclared (first use in this function)
> include/linux/rcupreempt.h:91: error: (Each undeclared identifier is reported only once
> include/linux/rcupreempt.h:91: error: for each function it appears in.)
> include/linux/rcupreempt.h: In function 'rcu_exit_nohz':
> include/linux/rcupreempt.h:99: error: 'HZ' undeclared (first use in this function)

hm, it works OK for me, but I don't have your full config.

This, I guess:

--- a/include/asm-generic/bug.h~add-warn_on_secs-macro-fix-fix
+++ a/include/asm-generic/bug.h
@@ -2,7 +2,7 @@
#define _ASM_GENERIC_BUG_H

#include <linux/compiler.h>
-
+#include <linux/param.h>

#ifdef CONFIG_BUG

_

2008-03-12 09:18:00

by Kamalesh Babulal

[permalink] [raw]
Subject: [BUILD_FAILURE] 2.6.25-rc5-mm1 build fails at startup_ipi_hook() with randconfig

Hi Andrew,

The 2.6.25-rc5-mm1 kernel build fails with randconfig compile

CC arch/x86/kernel/asm-offsets.s
In file included from include/asm/irqflags.h:59,
from include/linux/irqflags.h:46,
from include/asm/system.h:11,
from include/asm/processor.h:21,
from include/asm/atomic_32.h:5,
from include/asm/atomic.h:2,
from include/linux/crypto.h:20,
from arch/x86/kernel/asm-offsets_32.c:7,
from arch/x86/kernel/asm-offsets.c:2:
include/asm/paravirt.h: In function ‘startup_ipi_hook’:
include/asm/paravirt.h:856: error: ‘struct pv_apic_ops’ has no member named ‘startup_ipi_hook’
include/asm/paravirt.h:856: error: ‘struct pv_apic_ops’ has no member named ‘startup_ipi_hook’
include/asm/paravirt.h:856: error: memory input 4 is not directly addressable
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2


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


Attachments:
config_manyata (30.12 kB)

2008-03-12 12:55:54

by Kamalesh Babulal

[permalink] [raw]
Subject: [BUG] 2.6.25-rc5-mm1 kernel panic with "Exception: 501 " on powerpc

Hi Andrew,

The 2.6.25-rc5-mm1 kernel panics while bootup on powerpc

returning from prom_init
Unable to handle kernel paging request for data at address 0x00000000
Faulting instruction address: 0xc00000000000d5dc
cpu 0x0: Vector: 300 (Data Access) at [c0000000007636e0]
pc: c00000000000d5dc: .do_IRQ+0x74/0x1f4
lr: c00000000000d5a8: .do_IRQ+0x40/0x1f4
sp: c000000000763960
msr: 8000000000001032
dar: 0
dsisr: 40000000
current = 0xc000000000688e60
paca = 0xc000000000689900
pid = 0, comm = swapper
enter ? for help
[c000000000763a00] c000000000004c24 hardware_interrupt_entry+0x24/0x28
--- Exception: 501 (Hardware Interrupt) at c0000000006021b0 .free_bootmem_core+0x94/0xcc
[link register ] c00000000060373c .free_bootmem_with_active_regions+0x78/0xb8
[c000000000763cf0] c000000000602610 .init_bootmem_core+0x5c/0xfc (unreliable)
[c000000000763d80] c0000000005eb68c .do_init_bootmem+0x964/0xaf0
[c000000000763e50] c0000000005e03b0 .setup_arch+0x1a4/0x218
[c000000000763ee0] c0000000005d76bc .start_kernel+0xe8/0x424
[c000000000763f90] c000000000008590 .start_here_common+0x60/0xd0

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

2008-03-12 17:47:44

by Andrew Morton

[permalink] [raw]
Subject: Re: [BUG] 2.6.25-rc5-mm1 kernel panic with "Exception: 501 " on powerpc

On Wed, 12 Mar 2008 18:25:37 +0530 Kamalesh Babulal <[email protected]> wrote:

> Hi Andrew,
>
> The 2.6.25-rc5-mm1 kernel panics while bootup on powerpc
>
> returning from prom_init
> Unable to handle kernel paging request for data at address 0x00000000
> Faulting instruction address: 0xc00000000000d5dc
> cpu 0x0: Vector: 300 (Data Access) at [c0000000007636e0]
> pc: c00000000000d5dc: .do_IRQ+0x74/0x1f4
> lr: c00000000000d5a8: .do_IRQ+0x40/0x1f4
> sp: c000000000763960
> msr: 8000000000001032
> dar: 0
> dsisr: 40000000
> current = 0xc000000000688e60
> paca = 0xc000000000689900
> pid = 0, comm = swapper
> enter ? for help
> [c000000000763a00] c000000000004c24 hardware_interrupt_entry+0x24/0x28
> --- Exception: 501 (Hardware Interrupt) at c0000000006021b0 .free_bootmem_core+0x94/0xcc
> [link register ] c00000000060373c .free_bootmem_with_active_regions+0x78/0xb8
> [c000000000763cf0] c000000000602610 .init_bootmem_core+0x5c/0xfc (unreliable)
> [c000000000763d80] c0000000005eb68c .do_init_bootmem+0x964/0xaf0
> [c000000000763e50] c0000000005e03b0 .setup_arch+0x1a4/0x218
> [c000000000763ee0] c0000000005d76bc .start_kernel+0xe8/0x424
> [c000000000763f90] c000000000008590 .start_here_common+0x60/0xd0
>

Beats me. Maybe we're still enabling interrupts too early. But the new
semaphore code got fixed (didn't it?)

2008-03-12 17:51:17

by Matthew Wilcox

[permalink] [raw]
Subject: Re: [BUG] 2.6.25-rc5-mm1 kernel panic with "Exception: 501 " on powerpc

On Wed, Mar 12, 2008 at 10:46:45AM -0700, Andrew Morton wrote:
> On Wed, 12 Mar 2008 18:25:37 +0530 Kamalesh Babulal <[email protected]> wrote:
> Beats me. Maybe we're still enabling interrupts too early. But the new
> semaphore code got fixed (didn't it?)

On the 7th, according to my records. Easy to check -- look in
kernel/semaphore.c and see whether down() is using spin_lock_irqsave
(good) or spin_lock_irq (bad).

--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."

2008-03-12 18:08:08

by Badari Pulavarty

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1 - x86_64 boot problem ?

On Tue, 2008-03-11 at 01:14 -0700, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
>

I am having trouble booting rc5-mm1 on my x86_64. (ppc64 boots & works
fine). Seems to be a networking issues (hangs on boot). Here are the
messages on the console (not really useful to me).

On a good kernel (rc5), the next set of messages would be ..

IP route cache hash table entries: 262144 (order: 9, 2097152 bytes)
TCP established hash table entries: 524288 (order: 11, 8388608 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 524288 bind 65536)
TCP reno registered
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
msgmni has been set to 13864 for ipc namespace ffffffff806903a0
..

Sorry for not being really useful here. But would like to
know if its a known issue ? Or should I start bisecting ?

Thanks,
Badari

Linux version 2.6.25-rc5-mm1 (root@elm3b29) (gcc version 4.1.0 (SUSE Linux)) #1 SMP Wed Mar 12 12:27:14 PDT 2008
Command line: root=/dev/hda2 vga=0x314 crashkernel=64M@16M selinux=0 console=tty0 console=ttyS0,38400 resume=/dev/hda1 resume=/dev/hda1 splash=silent showopts
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000ca000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 00000000dfef0000 (usable)
BIOS-e820: 00000000dfef0000 - 00000000dfeff000 (ACPI data)
BIOS-e820: 00000000dfeff000 - 00000000dff00000 (ACPI NVS)
BIOS-e820: 00000000dff00000 - 00000000e0000000 (usable)
BIOS-e820: 00000000fec00000 - 00000000fec00400 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
BIOS-e820: 0000000100000000 - 00000001e0000000 (usable)
end_pfn_map = 1966080
DMI 2.3 present.
ACPI: RSDP 000F6970, 0024 (r2 PTLTD )
ACPI: XSDT DFEFC625, 003C (r1 PTLTD XSDT 6040000 LTP 0)
ACPI: FACP DFEFED02, 00F4 (r3 AMD HAMMER 6040000 PTEC F4240)
ACPI: DSDT DFEFC661, 262D (r1 AMD-K8 AMDACPI 6040000 MSFT 100000D)
ACPI: FACS DFEFFFC0, 0040
ACPI: SRAT DFEFEDF6, 0160 (r1 AMD HAMMER 6040000 AMD 1)
ACPI: APIC DFEFEF56, 00AA (r1 PTLTD APIC 6040000 LTP 0)
SRAT: PXM 0 -> APIC 0 -> Node 0
SRAT: PXM 1 -> APIC 1 -> Node 1
SRAT: PXM 2 -> APIC 2 -> Node 2
SRAT: PXM 3 -> APIC 3 -> Node 3
SRAT: Node 0 PXM 0 0-a0000
SRAT: Node 0 PXM 0 0-e0000000
SRAT: Node 0 PXM 0 0-180000000
SRAT: PXM 1 (100000000-1a0000000) overlaps with PXM 0 (0-180000000)
SRAT: SRAT not used.
Scanning NUMA topology in Northbridge 24
Number of nodes 4
Node 0 MemBase 0000000000000000 Limit 0000000180000000
Node 1 MemBase 0000000180000000 Limit 00000001a0000000
Node 2 MemBase 00000001a0000000 Limit 00000001c0000000
Node 3 MemBase 00000001c0000000 Limit 00000001e0000000
Using node hash shift of 29
Bootmem setup node 0 0000000000000000-0000000180000000
NODE_DATA [0000000000011000 - 0000000000015fff]
bootmap [0000000000016000 - 0000000000045fff] pages 30
Bootmem setup node 1 0000000180000000-00000001a0000000
NODE_DATA [0000000180000000 - 0000000180004fff]
bootmap [0000000180005000 - 0000000180008fff] pages 4
Bootmem setup node 2 00000001a0000000-00000001c0000000
NODE_DATA [00000001a0000000 - 00000001a0004fff]
bootmap [00000001a0005000 - 00000001a0008fff] pages 4
Bootmem setup node 3 00000001c0000000-00000001e0000000
NODE_DATA [00000001c0000000 - 00000001c0004fff]
bootmap [00000001c0005000 - 00000001c0008fff] pages 4
early res: 0 [0-fff] BIOS data page
early res: 1 [6000-7fff] TRAMPOLINE
early res: 2 [200000-82936f] TEXT DATA BSS
early res: 3 [9f000-fffff] BIOS reserved
early res: 4 [8000-10fff] PGTABLE
Reserving 64MB of memory at 16MB for crashkernel (System RAM: 7680MB)
[ffffe20005b00000-ffffe20005bfffff] potential offnode page_structs
Zone PFN ranges:
DMA 0 -> 4096
DMA32 4096 -> 1048576
Normal 1048576 -> 1966080
Movable zone start PFN for each node
early_node_map[7] active PFN ranges
0: 0 -> 159
0: 256 -> 917232
0: 917248 -> 917504
0: 1048576 -> 1572864
1: 1572864 -> 1703936
2: 1703936 -> 1835008
3: 1835008 -> 1966080
ACPI: PM-Timer IO Port: 0x8008
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 (Bootup-CPU)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
Processor #2
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] enabled)
Processor #3
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 4, address 0xfec00000, GSI 0-23
ACPI: IOAPIC (id[0x05] address[0xfa3e0000] gsi_base[24])
IOAPIC[1]: apic_id 5, address 0xfa3e0000, GSI 24-27
ACPI: IOAPIC (id[0x06] address[0xfa3e1000] gsi_base[28])
IOAPIC[2]: apic_id 6, address 0xfa3e1000, GSI 28-31
ACPI: IOAPIC (id[0x07] address[0xfa3e2000] gsi_base[32])
IOAPIC[3]: apic_id 7, address 0xfa3e2000, GSI 32-35
ACPI: IOAPIC (id[0x08] address[0xfa3e4000] gsi_base[36])
IOAPIC[4]: apic_id 8, address 0xfa3e4000, GSI 36-39
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
Setting APIC routing to flat
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at e2000000 (gap: e0000000:1ec00000)
SMP: Allowing 4 CPUs, 0 hotplug CPUs
PERCPU: Allocating 40896 bytes of per cpu data
Built 4 zonelists in Zone order, mobility grouping on. Total pages: 1806327
Policy zone: Normal
Kernel command line: root=/dev/hda2 vga=0x314 crashkernel=64M@16M selinux=0 console=tty0 console=ttyS0,38400 resume=/dev/hda1 resume=/dev/hda1 splash=silent showopts
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Extended CMOS year: 2000
TSC calibrated against PM_TIMER
Marking TSC unstable due to TSCs unsynchronized
time.c: Detected 1398.170 MHz processor.
Console: colour dummy device 80x25
console [tty0] enabled
console [ttyS0] enabled
Checking aperture...
Node 0: aperture @ 0 size 32 MB
No AGP bridge found
Your BIOS doesn't leave a aperture memory hole
Please enable the IOMMU option in the BIOS setup
This costs you 64 MB of RAM
Mapping aperture over 65536 KB of RAM @ 10000000
Memory: 7098644k/7864320k available (3428k kernel code, 240936k reserved, 1472k data, 316k init)
Calibrating delay using timer specific routine.. 2799.22 BogoMIPS (lpj=5598441)
Security Framework initialized
Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
Mount-cache hash table entries: 256
Initializing cgroup subsys debug
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 0/0 -> Node 0
ACPI: Core revision 20070126
Using local APIC timer interrupts.
Detected 12.483 MHz APIC timer.
Booting processor 1/4 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 2796.41 BogoMIPS (lpj=5592825)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 1/1 -> Node 1
Opteron MP w/ 1MB stepping 00
Booting processor 2/4 APIC 0x2
Initializing CPU#2
Calibrating delay using timer specific routine.. 2796.42 BogoMIPS (lpj=5592842)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 2/2 -> Node 2
Opteron MP w/ 1MB stepping 00
Booting processor 3/4 APIC 0x3
Initializing CPU#3
Calibrating delay using timer specific routine.. 2796.42 BogoMIPS (lpj=5592844)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 3/3 -> Node 3
Opteron MP w/ 1MB stepping 00
Brought up 4 CPUs
net_namespace: 1016 bytes
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S3 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
ACPI: PCI Root Bridge [PCI1] (0000:08)
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 *5 10 11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 5 *10 11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 5 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 5 10 *11)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 14 devices
ACPI: ACPI bus type pnp unregistered
SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
PCI-DMA: Disabling AGP.
PCI-DMA: aperture base @ 10000000 size 65536 KB
PCI-DMA: using GART IOMMU.
PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture
system 00:05: ioport range 0x4d0-0x4d1 has been reserved
system 00:05: ioport range 0x1100-0x117f has been reserved
system 00:05: ioport range 0x1180-0x11ff has been reserved
system 00:05: ioport range 0xb78-0xb7b has been reserved
system 00:05: ioport range 0x190-0x193 has been reserved
system 00:06: iomem range 0xe0000-0xfffff could not be reserved
system 00:06: iomem range 0xc0000-0xc87ff has been reserved
system 00:06: iomem range 0xfec00000-0xfec00fff could not be reserved
system 00:06: iomem range 0xffc00000-0xfff7ffff has been reserved
system 00:06: iomem range 0xfee00000-0xfee00fff could not be reserved
system 00:06: iomem range 0xfff80000-0xffffffff could not be reserved
system 00:06: iomem range 0xfe000000-0xfe000fff has been reserved
system 00:06: iomem range 0xfe001000-0xfe001fff has been reserved
system 00:06: iomem range 0xfe002000-0xfe003fff has been reserved
system 00:06: iomem range 0xfe004000-0xfe004fff has been reserved
PCI: Bridge: 0000:00:06.0
Time: acpi_pm clocksource has been installed.
IO window: 2000-2fff
MEM window: 0xfa000000-0xfa0fffff
PREFETCH window: disabled.
PCI: Bridge: 0000:09:01.0
IO window: disabled.
MEM window: 0xfa400000-0xfaffffff
PREFETCH window: 0x00000000fc000000-0x00000000fdffffff
PCI: Bridge: 0000:08:01.0
IO window: disabled.
MEM window: 0xfa400000-0xfaffffff
PREFETCH window: 0x00000000fc000000-0x00000000fdffffff
PCI: Bridge: 0000:08:02.0
IO window: 3000-3fff
MEM window: 0xfb000000-0xfb0fffff
PREFETCH window: disabled.
PCI: Bridge: 0000:08:03.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
PCI: Bridge: 0000:08:04.0
IO window: 4000-4fff
MEM window: 0xfb100000-0xfb1fffff
PREFETCH window: disabled.
ACPI: PCI Interrupt 0000:08:04.0[A] -> GSI 36 (level, low) -> IRQ 36
NET: Registered protocol family 2


2008-03-12 18:11:22

by Badari Pulavarty

[permalink] [raw]
Subject: Re: [BUG] 2.6.25-rc5-mm1 kernel panic with "Exception: 501 " on powerpc

On Wed, 2008-03-12 at 18:25 +0530, Kamalesh Babulal wrote:
> Hi Andrew,
>
> The 2.6.25-rc5-mm1 kernel panics while bootup on powerpc
>
> returning from prom_init
> Unable to handle kernel paging request for data at address 0x00000000
> Faulting instruction address: 0xc00000000000d5dc
> cpu 0x0: Vector: 300 (Data Access) at [c0000000007636e0]
> pc: c00000000000d5dc: .do_IRQ+0x74/0x1f4
> lr: c00000000000d5a8: .do_IRQ+0x40/0x1f4
> sp: c000000000763960
> msr: 8000000000001032
> dar: 0
> dsisr: 40000000
> current = 0xc000000000688e60
> paca = 0xc000000000689900
> pid = 0, comm = swapper
> enter ? for help
> [c000000000763a00] c000000000004c24 hardware_interrupt_entry+0x24/0x28
> --- Exception: 501 (Hardware Interrupt) at c0000000006021b0 .free_bootmem_core+0x94/0xcc
> [link register ] c00000000060373c .free_bootmem_with_active_regions+0x78/0xb8
> [c000000000763cf0] c000000000602610 .init_bootmem_core+0x5c/0xfc (unreliable)
> [c000000000763d80] c0000000005eb68c .do_init_bootmem+0x964/0xaf0
> [c000000000763e50] c0000000005e03b0 .setup_arch+0x1a4/0x218
> [c000000000763ee0] c0000000005d76bc .start_kernel+0xe8/0x424
> [c000000000763f90] c000000000008590 .start_here_common+0x60/0xd0

Is this only on one machine ? happens all the time ?

I ran into similar issues on rc3-mm1. rc5-mm1 seems to be working fine
for me on ppc64.

Thanks,
Badari

2008-03-12 18:15:26

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1 - x86_64 boot problem ?

On Wed, 12 Mar 2008 10:10:50 -0800 Badari Pulavarty <[email protected]> wrote:

> On Tue, 2008-03-11 at 01:14 -0700, Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
> >
>
> I am having trouble booting rc5-mm1 on my x86_64. (ppc64 boots & works
> fine). Seems to be a networking issues (hangs on boot). Here are the
> messages on the console (not really useful to me).
>
> On a good kernel (rc5), the next set of messages would be ..
>
> IP route cache hash table entries: 262144 (order: 9, 2097152 bytes)
> TCP established hash table entries: 524288 (order: 11, 8388608 bytes)
> TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
> TCP: Hash tables configured (established 524288 bind 65536)
> TCP reno registered
> Total HugeTLB memory allocated, 0
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
> msgmni has been set to 13864 for ipc namespace ffffffff806903a0
> ..
>
> Sorry for not being really useful here. But would like to
> know if its a known issue ?

No, it's not known (to me).

> Or should I start bisecting ?

Would be good, please.

I guess here:

#
# ipc
#
ipc-use-ipc_buildid-directly-from-ipc_addid.patch
ipc-use-ipc_buildid-directly-from-ipc_addid-cleanup.patch
#
ipc-scale-msgmni-to-the-amount-of-lowmem.patch
ipc-scale-msgmni-to-the-number-of-ipc-namespaces.patch
ipc-define-the-slab_memory_callback-priority-as-a-constant.patch
ipc-recompute-msgmni-on-memory-add--remove.patch
ipc-invoke-the-ipcns-notifier-chain-as-a-work-item.patch
ipc-recompute-msgmni-on-ipc-namespace-creation-removal.patch
ipc-do-not-recompute-msgmni-anymore-if-explicitly-set-by-user.patch
ipc-re-enable-msgmni-automatic-recomputing-msgmni-if-set-to-negative.patch
#
ipc-semaphores-code-factorisation.patch
ipc-shared-memory-introduce-shmctl_down.patch
ipc-message-queues-introduce-msgctl_down.patch
ipc-semaphores-move-the-rwmutex-handling-inside-semctl_down.patch
ipc-semaphores-remove-one-unused-parameter-from-semctl_down.patch
ipc-get-rid-of-the-use-_setbuf-structure.patch
ipc-introduce-ipc_update_perm.patch
ipc-consolidate-all-xxxctl_down-functions.patch
ipc-consolidate-all-xxxctl_down-functions-fix.patch

would be the place to start looking.

2008-03-12 19:33:27

by Torsten Kaiser

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1

On Tue, Mar 11, 2008 at 9:39 PM, Andrew Morton
<[email protected]> wrote:
> > Quoting Andrew Morton ([email protected]):
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
> I suspect that fewer people are testing linux-next and -mm nowadays. We
> should encourage them to do so, although given the general
> trainwreckishness of current mainline, this isn't really where our effort
> should be expended.

2.6.25-rc3-mm1 worked nicely for me, but 2.6.25-rc5-mm1 does not boot.

dmesg:
[ 0.000000] Linux version 2.6.25-rc5-mm1 (root@treogen) (gcc
version 4.2.3 (Gentoo 4.2.3 p1.0)) #1 SMP Wed Mar 12 19:51:41 CET 2008
[ 0.000000] Command line: earlyprintk=serial,ttyS0,115200
console=ttyS0,115200 console=tty1 crypt_root=/dev/md1 sata_nv.swncq=1
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 00000000dffd0000 (usable)
[ 0.000000] BIOS-e820: 00000000dffd0000 - 00000000dffde000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000dffde000 - 00000000e0000000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
[ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
[ 0.000000] BIOS-e820: 00000000ff700000 - 0000000100000000 (reserved)
[ 0.000000] BIOS-e820: 0000000100000000 - 0000000120000000 (usable)
[ 0.000000] console [earlyser0] enabled
[ 0.000000] end_pfn_map = 1179648
[ 0.000000] DMI present.
[ 0.000000] ACPI: RSDP 000FB080, 0024 (r2 ACPIAM)
[ 0.000000] ACPI: XSDT DFFD0100, 0064 (r1 A_M_I_ OEMXSDT 4000713
MSFT 97)
[ 0.000000] ACPI: FACP DFFD0290, 00F4 (r3 A_M_I_ OEMFACP 4000713
MSFT 97)
[ 0.000000] ACPI: DSDT DFFD0450, 4FC5 (r1 S0027 S0027000 0
INTL 20051117)
[ 0.000000] ACPI: FACS DFFDE000, 0040
[ 0.000000] ACPI: APIC DFFD0390, 0080 (r1 A_M_I_ OEMAPIC 4000713
MSFT 97)
[ 0.000000] ACPI: MCFG DFFD0410, 003C (r1 A_M_I_ OEMMCFG 4000713
MSFT 97)
[ 0.000000] ACPI: OEMB DFFDE040, 0060 (r1 A_M_I_ AMI_OEM 4000713
MSFT 97)
[ 0.000000] ACPI: HPET DFFD5420, 0038 (r1 A_M_I_ OEMHPET0 4000713
MSFT 97)
[ 0.000000] ACPI: MCFG DFFD5460, 003C (r1 A_M_I_ OEMMCFG 4000713
MSFT 97)
[ 0.000000] ACPI: SRAT DFFD54A0, 0110 (r1 AMD HAMMER 1
AMD 1)
[ 0.000000] ACPI: SSDT DFFD55B0, 04F0 (r1 A_M_I_ POWERNOW 1
AMD 1)
[ 0.000000] SRAT: PXM 0 -> APIC 0 -> Node 0
[ 0.000000] SRAT: PXM 0 -> APIC 1 -> Node 0
[ 0.000000] SRAT: PXM 1 -> APIC 2 -> Node 1
[ 0.000000] SRAT: PXM 1 -> APIC 3 -> Node 1
[ 0.000000] SRAT: Node 0 PXM 0 0-a0000
[ 0.000000] SRAT: Node 0 PXM 0 0-80000000
[ 0.000000] SRAT: Node 1 PXM 1 80000000-e0000000
[ 0.000000] SRAT: Node 1 PXM 1 80000000-120000000
[ 0.000000] Bootmem setup node 0 0000000000000000-0000000080000000
[ 0.000000] NODE_DATA [0000000000001000 - 0000000000004fff]
[ 0.000000] bootmap [000000000000e000 - 000000000001dfff] pages 10
[ 0.000000] Bootmem setup node 1 0000000080000000-0000000120000000
[ 0.000000] NODE_DATA [0000000080000000 - 0000000080003fff]
[ 0.000000] bootmap [0000000080004000 - 0000000080017fff] pages 14
[ 0.000000] early res: 0 [0-fff] BIOS data page
[ 0.000000] early res: 1 [6000-7fff] TRAMPOLINE
[ 0.000000] early res: 2 [200000-8e5a9b] TEXT DATA BSS
[ 0.000000] early res: 3 [37ec8000-37fefc27] RAMDISK
[ 0.000000] early res: 4 [9fc00-fffff] BIOS reserved
[ 0.000000] early res: 5 [8000-dfff] PGTABLE
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] DMA32 4096 -> 1048576
[ 0.000000] Normal 1048576 -> 1179648
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[4] active PFN ranges
[ 0.000000] 0: 0 -> 159
[ 0.000000] 0: 256 -> 524288
[ 0.000000] 1: 524288 -> 917456
[ 0.000000] 1: 1048576 -> 1179648
[ 0.000000] Detected use of extended apic ids on hypertransport bus
[ 0.000000] Detected use of extended apic ids on hypertransport bus
[ 0.000000] ACPI: PM-Timer IO Port: 0x2008
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[ 0.000000] Processor #0 (Bootup-CPU)
[ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
[ 0.000000] Processor #1
[ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
[ 0.000000] Processor #2
[ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
[ 0.000000] Processor #3
[ 0.000000] ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 4, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 14 high edge)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 15 global_irq 15 high edge)
[ 0.000000] Setting APIC routing to flat
[ 0.000000] ACPI: HPET id: 0x10de8201 base: 0xfed00000
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] Allocating PCI resources starting at e2000000 (gap:
e0000000:1ec00000)
[ 0.000000] PERCPU: Allocating 35080 bytes of per cpu data
[ 0.000000] Built 2 zonelists in Node order, mobility grouping on.
Total pages: 1030431
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: earlyprintk=serial,ttyS0,115200
console=ttyS0,115200 console=tty1 crypt_root=/dev/md1 sata_nv.swncq=1
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes)
[ 0.000000] Extended CMOS year: 2000
[ 0.000000] TSC calibrated against PM_TIMER
[ 0.000001] Marking TSC unstable due to TSCs unsynchronized
[ 0.005534] time.c: Detected 2599.995 MHz processor.
[ 0.010000] Console: colour VGA+ 80x25
[ 0.010000] console handover: boot [earlyser0] -> real [tty1]
[ 0.010000] console [ttyS0] enabled
[ 0.010000] Checking aperture...
[ 0.010000] Node 0: aperture @ 8000000 size 32 MB
[ 0.010000] Aperture pointing to e820 RAM. Ignoring.
[ 0.010000] No AGP bridge found
[ 0.010000] Your BIOS doesn't leave a aperture memory hole
[ 0.010000] Please enable the IOMMU option in the BIOS setup
[ 0.010000] This costs you 64 MB of RAM
[ 0.010000] Mapping aperture over 65536 KB of RAM @ 8000000
[ 0.010000] Memory: 4060040k/4718592k available (3884k kernel code,
133684k reserved, 2036k data, 372k init)
[ 0.010000] SLUB: Genslabs=13, HWalign=64, Order=0-4,
MinObjects=60, CPUs=4, Nodes=2
[ 0.150001] Calibrating delay using timer specific routine..
5203.20 BogoMIPS (lpj=26016027)
[ 0.158478] Security Framework initialized
[ 0.160005] Capability LSM initialized
[ 0.164042] Dentry cache hash table entries: 524288 (order: 10,
4194304 bytes)
[ 0.172635] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.181133] Mount-cache hash table entries: 256
[ 0.185923] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 0.190003] CPU: L2 Cache: 1024K (64 bytes/line)
[ 0.200002] CPU 0/0 -> Node 0
[ 0.202979] CPU: Physical Processor ID: 0
[ 0.206990] CPU: Processor Core ID: 0
[ 0.210015] Freeing SMP alternatives: 30k freed
[ 0.214561] ACPI: Core revision 20070126
[ 0.329978] Using local APIC timer interrupts.
[ 0.340002] Detected 12.499 MHz APIC timer.
[ 0.344305] Booting processor 1/4 APIC 0x1
[ 0.350000] Initializing CPU#1
[ 0.499978] Calibrating delay using timer specific routine..
5200.06 BogoMIPS (lpj=26000325)
[ 0.499978] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 0.499978] CPU: L2 Cache: 1024K (64 bytes/line)
[ 0.499978] CPU 1/1 -> Node 0
[ 0.499978] CPU: Physical Processor ID: 0
[ 0.499978] CPU: Processor Core ID: 1
[ 0.499978] Dual-Core AMD Opteron(tm) Processor 2218 stepping 02
[ 0.500225] Booting processor 2/4 APIC 0x2
[ 0.543283] Initializing CPU#2
[ 0.693305] Calibrating delay using timer specific routine..
5200.08 BogoMIPS (lpj=26000447)
[ 0.693305] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 0.693305] CPU: L2 Cache: 1024K (64 bytes/line)
[ 0.693305] CPU 2/2 -> Node 1
[ 0.693305] CPU: Physical Processor ID: 1
[ 0.693305] CPU: Processor Core ID: 0
[ 0.703305] Dual-Core AMD Opteron(tm) Processor 2218 stepping 02
[ 0.703305] Booting processor 3/4 APIC 0x3
[ 0.753292] Initializing CPU#3
[ 0.903314] Calibrating delay using timer specific routine..
5200.09 BogoMIPS (lpj=26000470)
[ 0.903314] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 0.903314] CPU: L2 Cache: 1024K (64 bytes/line)
[ 0.903314] CPU 3/3 -> Node 1
[ 0.903314] CPU: Physical Processor ID: 1
[ 0.903314] CPU: Processor Core ID: 1
[ 0.913305] Dual-Core AMD Opteron(tm) Processor 2218 stepping 02
[ 0.913314] Brought up 4 CPUs
[ 0.953672] net_namespace: 1008 bytes
[ 0.957438] xor: automatically using best checksumming function: generic_sse
[ 1.013347] generic_sse: 8023.600 MB/sec
[ 1.023323] xor: using function: generic_sse (8023.600 MB/sec)
[ 1.033323] NET: Registered protocol family 16
[ 1.037852] ACPI: bus type pci registered
[ 1.041915] PCI: BIOS Bug: MCFG area at f0000000 is not E820-reserved
[ 1.043325] PCI: Not using MMCONFIG.
[ 1.046902] PCI: Using configuration type 1
[ 1.073324] ACPI: Interpreter enabled
[ 1.076994] ACPI: (supports S0 S5)
[ 1.083919] ACPI: Using IOAPIC for interrupt routing
[ 1.089159] ACPI: Error attaching device data
[ 1.093328] ACPI: Error attaching device data
[ 1.097693] ACPI: Error attaching device data
[ 1.104575] ACPI: Error attaching device data
[ 1.123338] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 1.134180] PCI: Transparent bridge - 0000:00:06.0
[ 1.153607] ACPI: PCI Interrupt Link [LNKA] (IRQs 16 17 18 19) *11
[ 1.165483] ACPI: PCI Interrupt Link [LNKB] (IRQs 16 17 18 19) *0, disabled.
[ 1.180555] ACPI: PCI Interrupt Link [LNKC] (IRQs 16 17 18 19) *10
[ 1.187169] ACPI: PCI Interrupt Link [LNKD] (IRQs 16 17 18 19) *0, disabled.
[ 1.193460] ACPI: PCI Interrupt Link [LNEA] (IRQs 16 17 18 19) *10
[ 1.203096] ACPI: PCI Interrupt Link [LNEB] (IRQs 16 17 18 19) *10
[ 1.209720] ACPI: PCI Interrupt Link [LNEC] (IRQs 16 17 18 19) *0, disabled.
[ 1.213986] ACPI: PCI Interrupt Link [LNED] (IRQs 16 17 18 19) *5
[ 1.224227] ACPI: PCI Interrupt Link [LUB0] (IRQs 20 21 22 23) *10
[ 1.230850] ACPI: PCI Interrupt Link [LMAD] (IRQs 20 21 22 23) *0, disabled.
[ 1.235203] ACPI: PCI Interrupt Link [LUB2] (IRQs 20 21 22 23) *11
[ 1.245440] ACPI: PCI Interrupt Link [LMAC] (IRQs 20 21 22 23) *0, disabled.
[ 1.254749] ACPI: PCI Interrupt Link [LAZA] (IRQs 20 21 22 23) *11
[ 1.261373] ACPI: PCI Interrupt Link [LSMB] (IRQs 20 21 22 23) *11
[ 1.275451] ACPI: PCI Interrupt Link [LPMU] (IRQs 20 21 22 23) *5
[ 1.286979] ACPI: PCI Interrupt Link [LSA0] (IRQs 20 21 22 23) *5
[ 1.293515] ACPI: PCI Interrupt Link [LSA1] (IRQs 20 21 22 23) *10
[ 1.297993] ACPI: PCI Interrupt Link [LATA] (IRQs 20 21 22 23) *0, disabled.
[ 1.307670] ACPI: PCI Interrupt Link [LSA2] (IRQs 20 21 22 23) *10
[ 1.314222] ACPI Warning (tbutils-0217): Incorrect checksum in
table [OEMB] - EC, should be E7 [20070126]
[ 1.329475] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 1.333563] pnp: PnP ACPI init
[ 1.336626] ACPI: bus type pnp registered
[ 1.361729] pnp: PnP ACPI: found 14 devices
[ 1.366468] ACPI: ACPI bus type pnp unregistered
[ 1.371171] SCSI subsystem initialized
[ 1.386467] usbcore: registered new interface driver usbfs
[ 1.391745] usbcore: registered new interface driver hub
[ 1.401747] usbcore: registered new device driver usb
[ 1.406887] PCI: Using ACPI for IRQ routing
[ 1.467808] NetLabel: Initializing
[ 1.467808] NetLabel: domain hash size = 128
[ 1.467808] NetLabel: protocols = UNLABELED CIPSOv4
[ 1.477819] NetLabel: unlabeled traffic allowed by default
[ 1.483441] PCI-DMA: Disabling AGP.
[ 1.488846] PCI-DMA: aperture base @ 8000000 size 65536 KB
[ 1.494336] PCI-DMA: using GART IOMMU.
[ 1.508403] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture
[ 1.515665] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 31
[ 1.519492] hpet0: 3 32-bit timers, 25000000 Hz
[ 1.525708] Time: hpet clocksource has been installed.
[ 1.621408] system 00:06: ioport range 0x4d0-0x4d1 has been reserved
[ 1.627759] system 00:06: ioport range 0x7b0-0x7df has been reserved
[ 1.641403] system 00:06: ioport range 0x800-0x80f has been reserved
[ 1.647757] system 00:06: ioport range 0xbb0-0xbdf has been reserved
[ 1.671377] system 00:06: ioport range 0x2000-0x207f has been reserved
[ 1.684811] system 00:06: ioport range 0x2080-0x20ff has been reserved
[ 1.694820] system 00:06: ioport range 0x2400-0x247f has been reserved
[ 1.701346] system 00:06: ioport range 0x2480-0x24ff has been reserved
[ 1.724752] system 00:06: ioport range 0x2800-0x287f has been reserved
[ 1.731277] system 00:06: ioport range 0x2880-0x28ff has been reserved
[ 1.741253] system 00:06: ioport range 0x2c00-0x2c7f has been reserved
[ 1.764694] system 00:06: ioport range 0x2c80-0x2cff has been reserved
[ 1.771364] system 00:06: iomem range 0x0-0x0 could not be reserved
[ 1.781197] system 00:06: iomem range 0xfee01000-0xfeefffff could
not be reserved
[ 1.803686] system 00:06: iomem range 0xefa80000-0xefabffff has been reserved
[ 1.810817] system 00:06: iomem range 0xffb00000-0xffbfffff could
not be reserved
[ 1.821138] system 00:06: iomem range 0xfff00000-0xffffffff could
not be reserved
[ 1.843635] system 00:08: iomem range 0xfec00000-0xfec00fff could
not be reserved
[ 1.863590] system 00:08: iomem range 0xfee00000-0xfee00fff could
not be reserved
[ 1.871071] system 00:0c: ioport range 0x290-0x297 has been reserved
[ 1.881056] system 00:0d: iomem range 0x0-0x9ffff could not be reserved
[ 1.904232] system 00:0d: iomem range 0xc0000-0xcffff has been reserved
[ 1.910842] system 00:0d: iomem range 0xe0000-0xfffff could not be reserved
[ 1.920992] system 00:0d: iomem range 0x100000-0xdfffffff could not
be reserved
[ 1.943656] system 00:0d: iomem range 0xfec00000-0xffffffff could
not be reserved
[ 1.961251] PCI: Bridge: 0000:00:06.0
[ 1.964921] IO window: disabled.
[ 1.968331] MEM window: 0xeff00000-0xefffffff
[ 1.980903] PREFETCH window: 0x00000000eef00000-0x00000000eeffffff
[ 1.987254] PCI: Bridge: 0000:00:0b.0
[ 2.000871] IO window: e000-efff
[ 2.004283] MEM window: 0xefe00000-0xefefffff
[ 2.022569] PREFETCH window: disabled.
[ 2.026646] PCI: Bridge: 0000:00:0c.0
[ 2.030312] IO window: disabled.
[ 2.040486] MEM window: 0xefd00000-0xefdfffff
[ 2.045020] PREFETCH window: disabled.
[ 2.050486] PCI: Bridge: 0000:00:0d.0
[ 2.062526] IO window: disabled.
[ 2.065935] MEM window: 0xefc00000-0xefcfffff
[ 2.082499] PREFETCH window: disabled.
[ 2.086432] PCI: Bridge: 0000:00:0f.0
[ 2.092499] IO window: d000-dfff
[ 2.102467] MEM window: 0xefb00000-0xefbfffff
[ 2.107000] PREFETCH window: 0x00000000e0000000-0x00000000e7ffffff
[ 2.122526] NET: Registered protocol family 2
-> System hang, no reaction to the SysRq keys.

>From 2.6.25-rc3-mm1:
[ 1.505990] PCI: Bridge: 0000:00:06.0
[ 1.509654] IO window: disabled.
[ 1.513064] MEM window: 0xeff00000-0xefffffff
[ 1.515228] PREFETCH window: 0x00000000eef00000-0x00000000eeffffff
[ 1.521579] PCI: Bridge: 0000:00:0b.0
[ 1.525226] IO window: e000-efff
[ 1.528638] MEM window: 0xefe00000-0xefefffff
[ 1.535226] PREFETCH window: disabled.
[ 1.539295] PCI: Bridge: 0000:00:0c.0
[ 1.542960] IO window: disabled.
[ 1.545226] MEM window: 0xefd00000-0xefdfffff
[ 1.549763] PREFETCH window: disabled.
[ 1.555227] PCI: Bridge: 0000:00:0d.0
[ 1.558897] IO window: disabled.
[ 1.562304] MEM window: 0xefc00000-0xefcfffff
[ 1.565226] PREFETCH window: disabled.
[ 1.569159] PCI: Bridge: 0000:00:0f.0
[ 1.575226] IO window: d000-dfff
[ 1.578632] MEM window: 0xefb00000-0xefbfffff
[ 1.583162] PREFETCH window: 0x00000000e0000000-0x00000000e7ffffff
[ 1.585317] NET: Registered protocol family 2
[ 1.695224] IP route cache hash table entries: 131072 (order: 8,
1048576 bytes)
[ 1.695224] TCP established hash table entries: 524288 (order: 11,
8388608 bytes)
[ 1.705988] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 1.713229] TCP: Hash tables configured (established 524288 bind 65536)
[ 1.715227] TCP reno registered
[ 1.755225] Unpacking initramfs... done
[ 1.782287] Freeing initrd memory: 1183k freed
[ 1.275858] Total HugeTLB memory allocated, 0
[ 1.282821] VFS: Disk quotas dquot_6.5.1
[ 1.283955] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.294007] SGI XFS with ACLs, security attributes, large
block/inode numbers, no debug enabled
[ 1.303487] SGI XFS Quota Management subsystem

Torsten

2008-03-12 19:44:36

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1

On Wed, 12 Mar 2008 20:33:02 +0100
"Torsten Kaiser" <[email protected]> wrote:

> On Tue, Mar 11, 2008 at 9:39 PM, Andrew Morton
> <[email protected]> wrote:
> > > Quoting Andrew Morton ([email protected]):
> > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
> > I suspect that fewer people are testing linux-next and -mm nowadays. We
> > should encourage them to do so, although given the general
> > trainwreckishness of current mainline, this isn't really where our effort
> > should be expended.
>
> 2.6.25-rc3-mm1 worked nicely for me, but 2.6.25-rc5-mm1 does not boot.
>
> dmesg:
> [ 0.000000] Linux version 2.6.25-rc5-mm1 (root@treogen) (gcc
> version 4.2.3 (Gentoo 4.2.3 p1.0)) #1 SMP Wed Mar 12 19:51:41 CET 2008
> [ 0.000000] Command line: earlyprintk=serial,ttyS0,115200
> console=ttyS0,115200 console=tty1 crypt_root=/dev/md1 sata_nv.swncq=1

So you aren't using netconsole. I had a series of hangs yesterday which
went away when netconsole was disabled. I think netconsole is still
busted.

> ...
>
> be reserved
> [ 1.943656] system 00:0d: iomem range 0xfec00000-0xffffffff could
> not be reserved
> [ 1.961251] PCI: Bridge: 0000:00:06.0
> [ 1.964921] IO window: disabled.
> [ 1.968331] MEM window: 0xeff00000-0xefffffff
> [ 1.980903] PREFETCH window: 0x00000000eef00000-0x00000000eeffffff
> [ 1.987254] PCI: Bridge: 0000:00:0b.0
> [ 2.000871] IO window: e000-efff
> [ 2.004283] MEM window: 0xefe00000-0xefefffff
> [ 2.022569] PREFETCH window: disabled.
> [ 2.026646] PCI: Bridge: 0000:00:0c.0
> [ 2.030312] IO window: disabled.
> [ 2.040486] MEM window: 0xefd00000-0xefdfffff
> [ 2.045020] PREFETCH window: disabled.
> [ 2.050486] PCI: Bridge: 0000:00:0d.0
> [ 2.062526] IO window: disabled.
> [ 2.065935] MEM window: 0xefc00000-0xefcfffff
> [ 2.082499] PREFETCH window: disabled.
> [ 2.086432] PCI: Bridge: 0000:00:0f.0
> [ 2.092499] IO window: d000-dfff
> [ 2.102467] MEM window: 0xefb00000-0xefbfffff
> [ 2.107000] PREFETCH window: 0x00000000e0000000-0x00000000e7ffffff
> [ 2.122526] NET: Registered protocol family 2
> -> System hang, no reaction to the SysRq keys.
>
> >From 2.6.25-rc3-mm1:
> [ 1.505990] PCI: Bridge: 0000:00:06.0
> [ 1.509654] IO window: disabled.
> [ 1.513064] MEM window: 0xeff00000-0xefffffff
> [ 1.515228] PREFETCH window: 0x00000000eef00000-0x00000000eeffffff
> [ 1.521579] PCI: Bridge: 0000:00:0b.0
> [ 1.525226] IO window: e000-efff
> [ 1.528638] MEM window: 0xefe00000-0xefefffff
> [ 1.535226] PREFETCH window: disabled.
> [ 1.539295] PCI: Bridge: 0000:00:0c.0
> [ 1.542960] IO window: disabled.
> [ 1.545226] MEM window: 0xefd00000-0xefdfffff
> [ 1.549763] PREFETCH window: disabled.
> [ 1.555227] PCI: Bridge: 0000:00:0d.0
> [ 1.558897] IO window: disabled.
> [ 1.562304] MEM window: 0xefc00000-0xefcfffff
> [ 1.565226] PREFETCH window: disabled.
> [ 1.569159] PCI: Bridge: 0000:00:0f.0
> [ 1.575226] IO window: d000-dfff
> [ 1.578632] MEM window: 0xefb00000-0xefbfffff
> [ 1.583162] PREFETCH window: 0x00000000e0000000-0x00000000e7ffffff
> [ 1.585317] NET: Registered protocol family 2
> [ 1.695224] IP route cache hash table entries: 131072 (order: 8,
> 1048576 bytes)
> [ 1.695224] TCP established hash table entries: 524288 (order: 11,
> 8388608 bytes)
> [ 1.705988] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
> [ 1.713229] TCP: Hash tables configured (established 524288 bind 65536)

OK, so it looks like it died during networking initialisation.

Could you please add initcall_debug to the boot command line so we can see
which function it is getting stuck in?

2008-03-12 20:01:51

by Torsten Kaiser

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1

On Wed, Mar 12, 2008 at 8:44 PM, Andrew Morton
<[email protected]> wrote:
> On Wed, 12 Mar 2008 20:33:02 +0100
> "Torsten Kaiser" <[email protected]> wrote:
> > dmesg:
> > [ 0.000000] Linux version 2.6.25-rc5-mm1 (root@treogen) (gcc
> > version 4.2.3 (Gentoo 4.2.3 p1.0)) #1 SMP Wed Mar 12 19:51:41 CET 2008
> > [ 0.000000] Command line: earlyprintk=serial,ttyS0,115200
> > console=ttyS0,115200 console=tty1 crypt_root=/dev/md1 sata_nv.swncq=1
>
> So you aren't using netconsole. I had a series of hangs yesterday which
> went away when netconsole was disabled. I think netconsole is still
> busted.

No, just a plain serial console.

> > be reserved
> > [ 1.943656] system 00:0d: iomem range 0xfec00000-0xffffffff could
> > not be reserved
> > [ 1.961251] PCI: Bridge: 0000:00:06.0
> > [ 1.964921] IO window: disabled.
> > [ 1.968331] MEM window: 0xeff00000-0xefffffff
> > [ 1.980903] PREFETCH window: 0x00000000eef00000-0x00000000eeffffff
> > [ 1.987254] PCI: Bridge: 0000:00:0b.0
> > [ 2.000871] IO window: e000-efff
> > [ 2.004283] MEM window: 0xefe00000-0xefefffff
> > [ 2.022569] PREFETCH window: disabled.
> > [ 2.026646] PCI: Bridge: 0000:00:0c.0
> > [ 2.030312] IO window: disabled.
> > [ 2.040486] MEM window: 0xefd00000-0xefdfffff
> > [ 2.045020] PREFETCH window: disabled.
> > [ 2.050486] PCI: Bridge: 0000:00:0d.0
> > [ 2.062526] IO window: disabled.
> > [ 2.065935] MEM window: 0xefc00000-0xefcfffff
> > [ 2.082499] PREFETCH window: disabled.
> > [ 2.086432] PCI: Bridge: 0000:00:0f.0
> > [ 2.092499] IO window: d000-dfff
> > [ 2.102467] MEM window: 0xefb00000-0xefbfffff
> > [ 2.107000] PREFETCH window: 0x00000000e0000000-0x00000000e7ffffff
> > [ 2.122526] NET: Registered protocol family 2
> > -> System hang, no reaction to the SysRq keys.
[snip]
> OK, so it looks like it died during networking initialisation.
>
> Could you please add initcall_debug to the boot command line so we can see
> which function it is getting stuck in?

Yes, here is the result:
[ 2.573979] PCI-DMA: Disabling AGP.
[ 2.577639] PCI-DMA: aperture base @ 8000000 size 65536 KB
[ 2.589504] PCI-DMA: using GART IOMMU.
[ 2.593258] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture
[ 2.600132] initcall pci_iommu_init+0x0/0x20() returned 0 after 19 msecs
[ 2.622146] calling hpet_late_init+0x0/0x140()
[ 2.626689] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 31
[ 2.633022] hpet0: 3 32-bit timers, 25000000 Hz
[ 2.638562] initcall hpet_late_init+0x0/0x140() returned 0 after 9 msecs
[ 2.654545] calling clocksource_done_booting+0x0/0x20()
[ 2.659855] initcall clocksource_done_booting+0x0/0x20()<6>Time:
hpet clocksource has been installed.
[ 2.662185] returned 0 after 0 msecs
[ 2.688448] calling init_pipe_fs+0x0/0x60()
[ 2.695423] initcall init_pipe_fs+0x0/0x60() returned 0 after 0 msecs
[ 2.705784] calling init_mnt_writers+0x0/0x70()
[ 2.711681] initcall init_mnt_writers+0x0/0x70() returned 0 after 0 msecs
[ 2.721678] calling eventpoll_init+0x0/0x90()
[ 2.731644] initcall eventpoll_init+0x0/0x90() returned 0 after 0 msecs
[ 2.738295] calling anon_inode_init+0x0/0x130()
[ 2.751614] initcall anon_inode_init+0x0/0x130() returned 0 after 0 msecs
[ 2.771585] calling pcie_aspm_init+0x0/0x30()
[ 2.779297] initcall pcie_aspm_init+0x0/0x30() returned 0 after 2 msecs
[ 2.793911] calling acpi_event_init+0x0/0x52()

-> it looked like the system this time already hung here. But just
pressing the 'Alt' key let the system continue until the network hang.
(I tried this a second time, again it paused here until I pressed a key)

[ 94.857929] initcall acpi_event_init+0x0/0x52() returned 0 after 29276 msecs
[ 94.865002] calling pnp_system_init+0x0/0x20()
[ 94.877935] system 00:06: ioport range 0x4d0-0x4d1 has been reserved
[ 94.884286] system 00:06: ioport range 0x7b0-0x7df has been reserved
[ 94.897886] system 00:06: ioport range 0x800-0x80f has been reserved
[ 94.907886] system 00:06: ioport range 0xbb0-0xbdf has been reserved
[ 94.917855] system 00:06: ioport range 0x2000-0x207f has been reserved
[ 94.937827] system 00:06: ioport range 0x2080-0x20ff has been reserved
[ 94.947827] system 00:06: ioport range 0x2400-0x247f has been reserved
[ 94.957793] system 00:06: ioport range 0x2480-0x24ff has been reserved
[ 94.977766] system 00:06: ioport range 0x2800-0x287f has been reserved
[ 94.987766] system 00:06: ioport range 0x2880-0x28ff has been reserved
[ 94.997734] system 00:06: ioport range 0x2c00-0x2c7f has been reserved
[ 95.017708] system 00:06: ioport range 0x2c80-0x2cff has been reserved
[ 95.024234] system 00:06: iomem range 0x0-0x0 could not be reserved
[ 95.037678] system 00:06: iomem range 0xfee01000-0xfeefffff could
not be reserved
[ 95.060158] system 00:06: iomem range 0xefa80000-0xefabffff has been reserved
[ 95.070158] system 00:06: iomem range 0xffb00000-0xffbfffff could
not be reserved
[ 95.077633] system 00:06: iomem range 0xfff00000-0xffffffff could
not be reserved
[ 95.097590] system 00:08: iomem range 0xfec00000-0xfec00fff could
not be reserved
[ 95.120064] system 00:08: iomem range 0xfee00000-0xfee00fff could
not be reserved
[ 95.130070] system 00:0c: ioport range 0x290-0x297 has been reserved
[ 95.137523] system 00:0d: iomem range 0x0-0x9ffff could not be reserved
[ 95.157495] system 00:0d: iomem range 0xc0000-0xcffff has been reserved
[ 95.167495] system 00:0d: iomem range 0xe0000-0xfffff could not be reserved
[ 95.177463] system 00:0d: iomem range 0x100000-0xdfffffff could not
be reserved
[ 95.197437] system 00:0d: iomem range 0xfec00000-0xffffffff could
not be reserved
[ 95.219983] initcall pnp_system_init+0x0/0x20() returned 0 after 162 msecs
[ 95.226887] calling chr_dev_init+0x0/0xd0()
[ 95.237813] initcall chr_dev_init+0x0/0xd0() returned 0 after 0 msecs
[ 95.247378] calling firmware_class_init+0x0/0x90()
[ 95.257320] initcall firmware_class_init+0x0/0x90() returned 0 after 0 msecs
[ 95.276031] calling loopback_init+0x0/0x20()
[ 95.288590] initcall loopback_init+0x0/0x20() returned 0 after 0 msecs
[ 95.296837] calling cpufreq_gov_performance_init+0x0/0x20()
[ 95.309084] initcall cpufreq_gov_performance_init+0x0/0x20()
returned 0 after 0 msecs
[ 95.317734] calling cpufreq_gov_dbs_init+0x0/0x50()
[ 95.338090] initcall cpufreq_gov_dbs_init+0x0/0x50() returned 0 after 0 msecs
[ 95.345254] calling init_acpi_pm_clocksource+0x0/0xc0()
[ 95.355293] initcall init_acpi_pm_clocksource+0x0/0xc0() returned 0
after 0 msecs
[ 95.374115] calling pcibios_assign_resources+0x0/0x90()
[ 95.379618] PCI: Bridge: 0000:00:06.0
[ 95.394087] IO window: disabled.
[ 95.397502] MEM window: 0xeff00000-0xefffffff
[ 95.402032] PREFETCH window: 0x00000000eef00000-0x00000000eeffffff
[ 95.415189] PCI: Bridge: 0000:00:0b.0
[ 95.418860] IO window: e000-efff
[ 95.438075] MEM window: 0xefe00000-0xefefffff
[ 95.442610] PREFETCH window: disabled.
[ 95.455526] PCI: Bridge: 0000:00:0c.0
[ 95.459197] IO window: disabled.
[ 95.462604] MEM window: 0xefd00000-0xefdfffff
[ 95.475513] PREFETCH window: disabled.
[ 95.479443] PCI: Bridge: 0000:00:0d.0
[ 95.485512] IO window: disabled.
[ 95.495480] MEM window: 0xefc00000-0xefcfffff
[ 95.500010] PREFETCH window: disabled.
[ 95.515455] PCI: Bridge: 0000:00:0f.0
[ 95.519124] IO window: d000-dfff
[ 95.522533] MEM window: 0xefb00000-0xefbfffff
[ 95.535423] PREFETCH window: 0x00000000e0000000-0x00000000e7ffffff
[ 95.545456] initcall pcibios_assign_resources+0x0/0x90() returned 0
after 79 msecs
[ 95.557830] calling fill_mp_bus_to_cpumask+0x0/0x100()
[ 95.575408] initcall fill_mp_bus_to_cpumask+0x0/0x100() returned 0
after 0 msecs
[ 95.593777] calling inet_init+0x0/0x380()
[ 95.597890] NET: Registered protocol family 2

-> same hang, no reaction to SysRq.

What looks suspicious: The call to pcie_aspm_init is just before the
temporary hang. When I used make oldconfig to upgrade the .config from
2.6.25-rc3-mm1 to -rc5-mm1 I activated the new option CONFIG_PCIEASPM.

I will try with CONFIG_PCIEASPM_DEBUG added and completely without this option.

Torsten

2008-03-12 20:52:45

by Benjamin Herrenschmidt

[permalink] [raw]
Subject: Re: [BUG] 2.6.25-rc5-mm1 kernel panic with "Exception: 501 " on powerpc


> Beats me. Maybe we're still enabling interrupts too early. But the new
> semaphore code got fixed (didn't it?)

Won't lockdep/irqtrace warn if that happens ? You don't yet have the
lockdep patches for ppc64 (I'm still trying to find out why they break
iSeries) but it should warn of such a spurrious IRQ enable on other
archs too... At least, from a quick look at the code, it -seems- that it
does have such a test.

Cheers,
Ben.

2008-03-12 21:32:30

by Laurent Riffard

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1: NO_HZ=Y && PREEMPT_RCU=Y fails to build



On Wed, 12 Mar 2008, Andrew Morton wrote:

> On Wed, 12 Mar 2008 08:21:41 +0100 Laurent Riffard <[email protected]> wrote:
>
>> Le 11.03.2008 09:14, Andrew Morton a __crit :
>>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
>>>
>>
>> The kernel won't build if CONFIG_NO_HZ=y and CONFIG_PREEMPT_RCU=y:
>>
>> $ grep -e PREEMPT -e HZ .config
>> CONFIG_NO_HZ=y
>> # CONFIG_PREEMPT_NONE is not set
>> # CONFIG_PREEMPT_VOLUNTARY is not set
>> CONFIG_PREEMPT=y
>> CONFIG_PREEMPT_RCU=y
>> # CONFIG_HZ_100 is not set
>> CONFIG_HZ_250=y
>> # CONFIG_HZ_300 is not set
>> # CONFIG_HZ_1000 is not set
>> CONFIG_HZ=250
>> CONFIG_DEBUG_PREEMPT=y
>> $
>> $ make
>> ...
>> CC init/main.o
>> In file included from include/linux/rcupdate.h:60,
>> from include/linux/rculist.h:11,
>> from include/linux/dcache.h:9,
>> from include/linux/fs.h:279,
>> from include/linux/proc_fs.h:6,
>> from init/main.c:15:
>> include/linux/rcupreempt.h: In function 'rcu_enter_nohz':
>> include/linux/rcupreempt.h:91: error: 'HZ' undeclared (first use in this function)
>> include/linux/rcupreempt.h:91: error: (Each undeclared identifier is reported only once
>> include/linux/rcupreempt.h:91: error: for each function it appears in.)
>> include/linux/rcupreempt.h: In function 'rcu_exit_nohz':
>> include/linux/rcupreempt.h:99: error: 'HZ' undeclared (first use in this function)
>
> hm, it works OK for me, but I don't have your full config.
>
> This, I guess:
>
> --- a/include/asm-generic/bug.h~add-warn_on_secs-macro-fix-fix
> +++ a/include/asm-generic/bug.h
> @@ -2,7 +2,7 @@
> #define _ASM_GENERIC_BUG_H
>
> #include <linux/compiler.h>
> -
> +#include <linux/param.h>
>
> #ifdef CONFIG_BUG
>
> _
>

Yes it does work, thanks.

But it does hang on boot. I'm unable to get any information with
Sysrq-keys. I'll start a bisection to narrow this problem.

I attached my .config FWIW.
~~
laurent

-------
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.25-rc5-mm1
# Wed Mar 12 08:03:47 2008
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
# CONFIG_X86_64 is not set
CONFIG_X86=y
# CONFIG_GENERIC_LOCKBREAK is not set
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_FAST_CMPXCHG_LOCAL=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
CONFIG_QUICKLIST=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_HWEIGHT=y
# CONFIG_GENERIC_GPIO is not set
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
# CONFIG_GENERIC_TIME_VSYSCALL is not set
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
# CONFIG_ZONE_DMA32 is not set
CONFIG_ARCH_POPULATES_NODE_MAP=y
# CONFIG_AUDIT_ARCH is not set
CONFIG_ARCH_SUPPORTS_AOUT=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_KTIME_SCALAR=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
# CONFIG_IKCONFIG is not set
CONFIG_LOG_BUF_SHIFT=16
# CONFIG_CGROUPS is not set
CONFIG_GROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
# CONFIG_RT_GROUP_SCHED is not set
CONFIG_USER_SCHED=y
# CONFIG_CGROUP_SCHED is not set
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
# CONFIG_RELAY is not set
# CONFIG_NAMESPACES is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
CONFIG_EMBEDDED=y
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_SYSCTL_SYSCALL_CHECK=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
# CONFIG_COMPAT_BRK is not set
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_ANON_INODES=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set
CONFIG_PROFILING=y
# CONFIG_MARKERS is not set
CONFIG_OPROFILE=m
CONFIG_HAVE_OPROFILE=y
# CONFIG_KPROBES is not set
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y
CONFIG_BLOCK=y
# CONFIG_LBD is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set
# CONFIG_BLK_DEV_BSG is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_CFQ=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_NOOP=y
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_AS is not set
# CONFIG_DEFAULT_DEADLINE is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"
# CONFIG_CLASSIC_RCU is not set

#
# Processor type and features
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ=y
# CONFIG_HIGH_RES_TIMERS is not set
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
# CONFIG_SMP is not set
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_X86_RDC321X is not set
# CONFIG_X86_VSMP is not set
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
# CONFIG_PARAVIRT_GUEST is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
CONFIG_MK7=y
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_MVIAC7 is not set
# CONFIG_MPSC is not set
# CONFIG_MCORE2 is not set
# CONFIG_GENERIC_CPU is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_XADD=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_USE_3DNOW=y
CONFIG_X86_TSC=y
CONFIG_X86_CMOV=y
CONFIG_X86_MINIMUM_CPU_FAMILY=4
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_DMI=y
# CONFIG_IOMMU_HELPER is not set
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_RCU=y
CONFIG_RCU_TRACE=y
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=m
CONFIG_X86_MCE_P4THERMAL=y
CONFIG_VM86=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
CONFIG_X86_REBOOTFIXUPS=y
# CONFIG_MICROCODE is not set
CONFIG_X86_MSR=m
# CONFIG_X86_CPUID is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
CONFIG_VMSPLIT_3G=y
# CONFIG_VMSPLIT_3G_OPT is not set
# CONFIG_VMSPLIT_2G is not set
# CONFIG_VMSPLIT_2G_OPT is not set
# CONFIG_VMSPLIT_1G is not set
CONFIG_PAGE_OFFSET=0xC0000000
# CONFIG_X86_PAE is not set
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_SPARSEMEM_STATIC=y
# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not set
CONFIG_ZONE_DMA_FLAG=1
CONFIG_BOUNCE=y
CONFIG_NR_QUICK=1
CONFIG_VIRT_TO_BUS=y
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_EFI is not set
CONFIG_SECCOMP=y
# CONFIG_HZ_100 is not set
CONFIG_HZ_250=y
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=250
# CONFIG_SCHED_HRTICK is not set
CONFIG_KEXEC=y
CONFIG_PHYSICAL_START=0x100000
# CONFIG_RELOCATABLE is not set
CONFIG_PHYSICAL_ALIGN=0x100000
# CONFIG_COMPAT_VDSO is not set

#
# Power management options
#
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
# CONFIG_PM_DEBUG is not set
CONFIG_PM_SLEEP=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_HIBERNATION=y
CONFIG_PM_STD_PARTITION="/dev/hdb6"
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS is not set
CONFIG_ACPI_PROCFS_POWER=y
CONFIG_ACPI_SYSFS_POWER=y
CONFIG_ACPI_PROC_EVENT=y
CONFIG_ACPI_AC=m
# CONFIG_ACPI_BATTERY is not set
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
# CONFIG_ACPI_DOCK is not set
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_WMI is not set
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_CUSTOM_DSDT is not set
# CONFIG_ACPI_CUSTOM_DSDT_INITRD is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
CONFIG_ACPI_DEBUG=y
# CONFIG_ACPI_DEBUG_FUNC_TRACE is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
# CONFIG_ACPI_CONTAINER is not set
# CONFIG_ACPI_SBS is not set
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set
# CONFIG_CPU_IDLE is not set

#
# Bus options (PCI etc.)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_PCI_DOMAINS=y
# CONFIG_PCIEPORTBUS is not set
CONFIG_ARCH_SUPPORTS_MSI=y
# CONFIG_PCI_MSI is not set
# CONFIG_PCI_LEGACY is not set
# CONFIG_PCI_DEBUG is not set
CONFIG_HT_IRQ=y
CONFIG_ISA_DMA_API=y
CONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
# CONFIG_PCCARD is not set
# CONFIG_HOTPLUG_PCI is not set

#
# Executable file formats / Emulations
#
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_MISC=m

#
# Networking
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=m
# CONFIG_PACKET_MMAP is not set
CONFIG_UNIX=y
CONFIG_XFRM=y
CONFIG_XFRM_USER=m
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_XFRM_STATISTICS is not set
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_ASK_IP_FIB_HASH=y
# CONFIG_IP_FIB_TRIE is not set
CONFIG_IP_FIB_HASH=y
# CONFIG_IP_MULTIPLE_TABLES is not set
# CONFIG_IP_ROUTE_MULTIPATH is not set
CONFIG_IP_ROUTE_VERBOSE=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
CONFIG_SYN_COOKIES=y
CONFIG_INET_AH=m
CONFIG_INET_ESP=m
CONFIG_INET_IPCOMP=m
CONFIG_INET_XFRM_TUNNEL=m
CONFIG_INET_TUNNEL=m
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
CONFIG_INET_XFRM_MODE_BEET=m
# CONFIG_INET_LRO is not set
CONFIG_INET_DIAG=m
CONFIG_INET_TCP_DIAG=m
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
CONFIG_IPV6=m
# CONFIG_IPV6_PRIVACY is not set
# CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_IPV6_OPTIMISTIC_DAD is not set
# CONFIG_INET6_AH is not set
# CONFIG_INET6_ESP is not set
# CONFIG_INET6_IPCOMP is not set
# CONFIG_IPV6_MIP6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
CONFIG_INET6_XFRM_MODE_TRANSPORT=m
CONFIG_INET6_XFRM_MODE_TUNNEL=m
CONFIG_INET6_XFRM_MODE_BEET=m
# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
CONFIG_IPV6_SIT=m
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_IPV6_MULTIPLE_TABLES is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETFILTER is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_TIPC is not set
CONFIG_ATM=m
CONFIG_ATM_CLIP=m
# CONFIG_ATM_CLIP_NO_ICMP is not set
# CONFIG_ATM_LANE is not set
CONFIG_ATM_BR2684=m
# CONFIG_ATM_BR2684_IPFILTER is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
CONFIG_NET_SCHED=y

#
# Queueing/Scheduling
#
CONFIG_NET_SCH_CBQ=m
CONFIG_NET_SCH_HTB=m
CONFIG_NET_SCH_HFSC=m
# CONFIG_NET_SCH_ATM is not set
CONFIG_NET_SCH_PRIO=m
# CONFIG_NET_SCH_RR is not set
CONFIG_NET_SCH_RED=m
CONFIG_NET_SCH_SFQ=m
CONFIG_NET_SCH_TEQL=m
CONFIG_NET_SCH_TBF=m
CONFIG_NET_SCH_GRED=m
CONFIG_NET_SCH_DSMARK=m
# CONFIG_NET_SCH_NETEM is not set
CONFIG_NET_SCH_INGRESS=m

#
# Classification
#
CONFIG_NET_CLS=y
CONFIG_NET_CLS_BASIC=m
CONFIG_NET_CLS_TCINDEX=m
CONFIG_NET_CLS_ROUTE4=m
CONFIG_NET_CLS_ROUTE=y
CONFIG_NET_CLS_FW=m
CONFIG_NET_CLS_U32=m
CONFIG_CLS_U32_PERF=y
CONFIG_CLS_U32_MARK=y
CONFIG_NET_CLS_RSVP=m
# CONFIG_NET_CLS_RSVP6 is not set
# CONFIG_NET_CLS_FLOW is not set
# CONFIG_NET_EMATCH is not set
CONFIG_NET_CLS_ACT=y
CONFIG_NET_ACT_POLICE=y
# CONFIG_NET_ACT_GACT is not set
# CONFIG_NET_ACT_MIRRED is not set
# CONFIG_NET_ACT_NAT is not set
# CONFIG_NET_ACT_PEDIT is not set
# CONFIG_NET_ACT_SIMP is not set
# CONFIG_NET_CLS_IND is not set
CONFIG_NET_SCH_FIFO=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set

#
# Wireless
#
# CONFIG_CFG80211 is not set
# CONFIG_WIRELESS_EXT is not set
# CONFIG_MAC80211 is not set
# CONFIG_IEEE80211 is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=m
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_CONNECTOR is not set
# CONFIG_MTD is not set
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
# CONFIG_PARPORT_PC_FIFO is not set
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_AX88796 is not set
CONFIG_PARPORT_1284=y
CONFIG_PNP=y
# CONFIG_PNP_DEBUG is not set

#
# Protocols
#
# CONFIG_ISAPNP is not set
# CONFIG_PNPBIOS is not set
CONFIG_PNPACPI=y
CONFIG_BLK_DEV=y
CONFIG_BLK_DEV_FD=m
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_CRYPTOLOOP=m
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_UB is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=4096
# CONFIG_BLK_DEV_XIP is not set
CONFIG_CDROM_PKTCDVD=m
CONFIG_CDROM_PKTCDVD_BUFFERS=8
# CONFIG_CDROM_PKTCDVD_WCACHE is not set
# CONFIG_ATA_OVER_ETH is not set
# CONFIG_MISC_DEVICES is not set
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set

#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=m
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not set
CONFIG_SCSI_NETLINK=y
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=m
CONFIG_CHR_DEV_ST=m
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=m
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=m
# CONFIG_CHR_DEV_SCH is not set

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set
CONFIG_SCSI_WAIT_SCAN=m

#
# SCSI Transports
#
CONFIG_SCSI_SPI_ATTRS=m
CONFIG_SCSI_FC_ATTRS=m
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
# CONFIG_SCSI_LOWLEVEL is not set
CONFIG_ATA=m
# CONFIG_ATA_NONSTANDARD is not set
CONFIG_ATA_ACPI=y
# CONFIG_SATA_AHCI is not set
# CONFIG_SATA_SVW is not set
# CONFIG_ATA_PIIX is not set
# CONFIG_SATA_MV is not set
# CONFIG_SATA_NV is not set
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_SX4 is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIL24 is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not set
# CONFIG_SATA_VITESSE is not set
# CONFIG_SATA_INIC162X is not set
# CONFIG_PATA_ACPI is not set
# CONFIG_PATA_ALI is not set
# CONFIG_PATA_AMD is not set
# CONFIG_PATA_ARTOP is not set
# CONFIG_PATA_ATIIXP is not set
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CS5520 is not set
# CONFIG_PATA_CS5530 is not set
# CONFIG_PATA_CS5535 is not set
# CONFIG_PATA_CS5536 is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not set
CONFIG_ATA_GENERIC=m
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_JMICRON is not set
# CONFIG_PATA_LEGACY is not set
# CONFIG_PATA_TRIFLEX is not set
# CONFIG_PATA_MARVELL is not set
# CONFIG_PATA_MPIIX is not set
# CONFIG_PATA_OLDPIIX is not set
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NINJA32 is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_NS87415 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_OPTIDMA is not set
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_QDI is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RZ1000 is not set
# CONFIG_PATA_SC1200 is not set
# CONFIG_PATA_SERVERWORKS is not set
# CONFIG_PATA_PDC2027X is not set
# CONFIG_PATA_SIL680 is not set
# CONFIG_PATA_SIS is not set
CONFIG_PATA_VIA=m
# CONFIG_PATA_WINBOND is not set
# CONFIG_PATA_WINBOND_VLB is not set
CONFIG_PATA_PLATFORM=m
CONFIG_MD=y
CONFIG_BLK_DEV_MD=m
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
CONFIG_MD_RAID10=m
CONFIG_MD_RAID456=m
CONFIG_MD_RAID5_RESHAPE=y
# CONFIG_MD_MULTIPATH is not set
# CONFIG_MD_FAULTY is not set
CONFIG_BLK_DEV_DM=m
# CONFIG_DM_DEBUG is not set
CONFIG_DM_CRYPT=m
CONFIG_DM_SNAPSHOT=m
CONFIG_DM_MIRROR=m
# CONFIG_DM_ZERO is not set
# CONFIG_DM_MULTIPATH is not set
# CONFIG_DM_DELAY is not set
CONFIG_DM_UEVENT=y
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
CONFIG_FIREWIRE=m
CONFIG_FIREWIRE_OHCI=m
# CONFIG_FIREWIRE_SBP2 is not set
CONFIG_IEEE1394=m

#
# Subsystem Options
#
# CONFIG_IEEE1394_VERBOSEDEBUG is not set

#
# Controllers
#
# CONFIG_IEEE1394_PCILYNX is not set
CONFIG_IEEE1394_OHCI1394=m

#
# Protocols
#
CONFIG_IEEE1394_VIDEO1394=m
# CONFIG_IEEE1394_SBP2 is not set
# CONFIG_IEEE1394_ETH1394_ROM_ENTRY is not set
# CONFIG_IEEE1394_ETH1394 is not set
CONFIG_IEEE1394_DV1394=m
CONFIG_IEEE1394_RAWIO=m
# CONFIG_I2O is not set
# CONFIG_MACINTOSH_DRIVERS is not set
CONFIG_NETDEVICES=y
# CONFIG_NETDEVICES_MULTIQUEUE is not set
# CONFIG_IFB is not set
CONFIG_DUMMY=m
CONFIG_BONDING=m
# CONFIG_MACVLAN is not set
# CONFIG_EQUALIZER is not set
CONFIG_TUN=m
# CONFIG_VETH is not set
# CONFIG_NET_SB1000 is not set
# CONFIG_ARCNET is not set
# CONFIG_PHYLIB is not set
CONFIG_NET_ETHERNET=y
CONFIG_MII=m
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_CASSINI is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
# CONFIG_NET_TULIP is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
# CONFIG_IBM_NEW_EMAC_ZMII is not set
# CONFIG_IBM_NEW_EMAC_RGMII is not set
# CONFIG_IBM_NEW_EMAC_TAH is not set
# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_B44 is not set
# CONFIG_FORCEDETH is not set
# CONFIG_CS89x0 is not set
# CONFIG_EEPRO100 is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
CONFIG_NE2K_PCI=m
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_R6040 is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_SC92031 is not set
# CONFIG_NET_POCKET is not set
# CONFIG_NETDEV_1000 is not set
# CONFIG_NETDEV_10000 is not set
# CONFIG_TR is not set

#
# Wireless LAN
#
# CONFIG_WLAN_PRE80211 is not set
CONFIG_WLAN_80211=y
# CONFIG_IPW2100 is not set
# CONFIG_IPW2200 is not set
# CONFIG_LIBERTAS is not set
# CONFIG_AIRO is not set
# CONFIG_HERMES is not set
# CONFIG_ATMEL is not set
# CONFIG_PRISM54 is not set
# CONFIG_USB_ZD1201 is not set
# CONFIG_USB_NET_RNDIS_WLAN is not set
# CONFIG_HOSTAP is not set

#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_WAN is not set
# CONFIG_ATM_DRIVERS is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
CONFIG_PPP=m
# CONFIG_PPP_MULTILINK is not set
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=m
CONFIG_PPP_SYNC_TTY=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
# CONFIG_PPP_MPPE is not set
CONFIG_PPPOE=m
CONFIG_PPPOATM=m
# CONFIG_PPPOL2TP is not set
# CONFIG_SLIP is not set
CONFIG_SLHC=m
# CONFIG_NET_FC is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_ISDN is not set
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=m
CONFIG_INPUT_EVDEV=m
# CONFIG_INPUT_EVBUG is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_PS2_ALPS is not set
# CONFIG_MOUSE_PS2_LOGIPS2PP is not set
# CONFIG_MOUSE_PS2_SYNAPTICS is not set
# CONFIG_MOUSE_PS2_LIFEBOOK is not set
# CONFIG_MOUSE_PS2_TRACKPOINT is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
# CONFIG_MOUSE_PS2_ELANTECH is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_INPORT is not set
# CONFIG_MOUSE_LOGIBM is not set
# CONFIG_MOUSE_PC110PAD is not set
# CONFIG_MOUSE_VSXXXAA is not set
CONFIG_INPUT_JOYSTICK=y
CONFIG_JOYSTICK_ANALOG=m
# CONFIG_JOYSTICK_A3D is not set
# CONFIG_JOYSTICK_ADI is not set
# CONFIG_JOYSTICK_COBRA is not set
# CONFIG_JOYSTICK_GF2K is not set
# CONFIG_JOYSTICK_GRIP is not set
# CONFIG_JOYSTICK_GRIP_MP is not set
# CONFIG_JOYSTICK_GUILLEMOT is not set
# CONFIG_JOYSTICK_INTERACT is not set
# CONFIG_JOYSTICK_SIDEWINDER is not set
# CONFIG_JOYSTICK_TMDC is not set
# CONFIG_JOYSTICK_IFORCE is not set
# CONFIG_JOYSTICK_WARRIOR is not set
# CONFIG_JOYSTICK_MAGELLAN is not set
# CONFIG_JOYSTICK_SPACEORB is not set
# CONFIG_JOYSTICK_SPACEBALL is not set
# CONFIG_JOYSTICK_STINGER is not set
# CONFIG_JOYSTICK_TWIDJOY is not set
# CONFIG_JOYSTICK_DB9 is not set
# CONFIG_JOYSTICK_GAMECON is not set
# CONFIG_JOYSTICK_TURBOGRAFX is not set
# CONFIG_JOYSTICK_JOYDUMP is not set
# CONFIG_JOYSTICK_XPAD is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=m
# CONFIG_INPUT_WISTRON_BTNS is not set
# CONFIG_INPUT_ATLAS_BTNS is not set
# CONFIG_INPUT_ATI_REMOTE is not set
# CONFIG_INPUT_ATI_REMOTE2 is not set
# CONFIG_INPUT_KEYSPAN_REMOTE is not set
# CONFIG_INPUT_POWERMATE is not set
# CONFIG_INPUT_YEALINK is not set
CONFIG_INPUT_UINPUT=m

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
CONFIG_GAMEPORT=m
# CONFIG_GAMEPORT_NS558 is not set
# CONFIG_GAMEPORT_L4 is not set
# CONFIG_GAMEPORT_EMU10K1 is not set
# CONFIG_GAMEPORT_FM801 is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
CONFIG_VT_HW_CONSOLE_BINDING=y
CONFIG_DEVKMEM=y
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_NOZOMI is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=m
CONFIG_FIX_EARLYCON_MEM=y
# CONFIG_SERIAL_8250_PCI is not set
CONFIG_SERIAL_8250_PNP=m
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=m
# CONFIG_SERIAL_JSM is not set
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set
CONFIG_PRINTER=m
# CONFIG_LP_CONSOLE is not set
# CONFIG_PPDEV is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
CONFIG_RTC=m
# CONFIG_GEN_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set
# CONFIG_MWAVE is not set
# CONFIG_PC8736x_GPIO is not set
# CONFIG_NSC_GPIO is not set
# CONFIG_CS5535_GPIO is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HPET is not set
# CONFIG_HANGCHECK_TIMER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not set
CONFIG_DEVPORT=y
CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_CHARDEV=m
CONFIG_I2C_ALGOBIT=y

#
# I2C Hardware Bus support
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_ELEKTOR is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_I810 is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PARPORT is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_SCx200_ACB is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_TAOS_EVM is not set
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_TINY_USB is not set
CONFIG_I2C_VIA=m
CONFIG_I2C_VIAPRO=m
# CONFIG_I2C_VOODOO3 is not set
# CONFIG_I2C_PCA_ISA is not set

#
# Miscellaneous I2C Chip support
#
# CONFIG_DS1682 is not set
CONFIG_SENSORS_EEPROM=m
# CONFIG_SENSORS_PCF8574 is not set
# CONFIG_PCF8575 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_TPS65010 is not set
# CONFIG_SENSORS_MAX6875 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_CHIP is not set
# CONFIG_SPI is not set
# CONFIG_W1 is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_BATTERY_DS2760 is not set
CONFIG_HWMON=y
CONFIG_HWMON_VID=m
# CONFIG_SENSORS_ABITUGURU is not set
# CONFIG_SENSORS_ABITUGURU3 is not set
# CONFIG_SENSORS_AD7418 is not set
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1029 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_ADT7470 is not set
# CONFIG_SENSORS_ADT7473 is not set
# CONFIG_SENSORS_K8TEMP is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_I5K_AMB is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_F71882FG is not set
# CONFIG_SENSORS_F75375S is not set
# CONFIG_SENSORS_FSCHER is not set
# CONFIG_SENSORS_FSCPOS is not set
# CONFIG_SENSORS_FSCHMD is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_CORETEMP is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
CONFIG_SENSORS_LM80=m
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_LM93 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_MAX6650 is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_DME1737 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
# CONFIG_SENSORS_ADS7828 is not set
# CONFIG_SENSORS_THMC50 is not set
CONFIG_SENSORS_VIA686A=m
# CONFIG_SENSORS_VT1211 is not set
# CONFIG_SENSORS_VT8231 is not set
CONFIG_SENSORS_W83781D=m
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83L786NG is not set
# CONFIG_SENSORS_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_SENSORS_APPLESMC is not set
# CONFIG_HWMON_DEBUG_CHIP is not set
CONFIG_THERMAL=y
# CONFIG_WATCHDOG is not set

#
# Sonics Silicon Backplane
#
CONFIG_SSB_POSSIBLE=y
# CONFIG_SSB is not set

#
# Multifunction device drivers
#
# CONFIG_MFD_SM501 is not set

#
# Multimedia devices
#
CONFIG_VIDEO_DEV=m
CONFIG_VIDEO_V4L2_COMMON=m
CONFIG_VIDEO_V4L1=y
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_V4L2=y
CONFIG_VIDEO_CAPTURE_DRIVERS=y
# CONFIG_VIDEO_ADV_DEBUG is not set
CONFIG_VIDEO_HELPER_CHIPS_AUTO=y
# CONFIG_VIDEO_VIVI is not set
# CONFIG_VIDEO_BT848 is not set
# CONFIG_VIDEO_PMS is not set
# CONFIG_VIDEO_BWQCAM is not set
# CONFIG_VIDEO_CQCAM is not set
# CONFIG_VIDEO_W9966 is not set
# CONFIG_VIDEO_CPIA is not set
# CONFIG_VIDEO_CPIA2 is not set
# CONFIG_VIDEO_SAA5246A is not set
# CONFIG_VIDEO_SAA5249 is not set
# CONFIG_TUNER_3036 is not set
# CONFIG_VIDEO_STRADIS is not set
# CONFIG_VIDEO_ZORAN is not set
# CONFIG_VIDEO_SAA7134 is not set
# CONFIG_VIDEO_MXB is not set
# CONFIG_VIDEO_DPC is not set
# CONFIG_VIDEO_HEXIUM_ORION is not set
# CONFIG_VIDEO_HEXIUM_GEMINI is not set
# CONFIG_VIDEO_CX88 is not set
# CONFIG_VIDEO_IVTV is not set
# CONFIG_VIDEO_CAFE_CCIC is not set
CONFIG_V4L_USB_DRIVERS=y
# CONFIG_VIDEO_PVRUSB2 is not set
# CONFIG_VIDEO_EM28XX is not set
# CONFIG_VIDEO_USBVISION is not set
# CONFIG_USB_VICAM is not set
# CONFIG_USB_IBMCAM is not set
# CONFIG_USB_KONICAWC is not set
# CONFIG_USB_QUICKCAM_MESSENGER is not set
# CONFIG_USB_ET61X251 is not set
# CONFIG_VIDEO_OVCAMCHIP is not set
# CONFIG_USB_W9968CF is not set
# CONFIG_USB_OV511 is not set
# CONFIG_USB_SE401 is not set
# CONFIG_USB_SN9C102 is not set
# CONFIG_USB_STV680 is not set
# CONFIG_USB_ZC0301 is not set
# CONFIG_USB_PWC is not set
# CONFIG_USB_ZR364XX is not set
# CONFIG_USB_STKWEBCAM is not set
# CONFIG_SOC_CAMERA is not set
# CONFIG_RADIO_ADAPTERS is not set
# CONFIG_DVB_CORE is not set
# CONFIG_DAB is not set

#
# Graphics support
#
CONFIG_AGP=m
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
CONFIG_AGP_VIA=m
# CONFIG_AGP_EFFICEON is not set
CONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=m
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
CONFIG_FB=y
CONFIG_FIRMWARE_EDID=y
CONFIG_FB_DDC=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
CONFIG_FB_FOREIGN_ENDIAN=y
CONFIG_FB_BOTH_ENDIAN=y
# CONFIG_FB_BIG_ENDIAN is not set
# CONFIG_FB_LITTLE_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
CONFIG_FB_DEFERRED_IO=y
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
# CONFIG_FB_TILEBLITTING is not set

#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
# CONFIG_FB_EFI is not set
# CONFIG_FB_HECUBA is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I810 is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_INTEL is not set
# CONFIG_FB_MATROX is not set
CONFIG_FB_RADEON=y
CONFIG_FB_RADEON_I2C=y
# CONFIG_FB_RADEON_BACKLIGHT is not set
# CONFIG_FB_RADEON_DEBUG is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_CYBLA is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_VGACON_SOFT_SCROLLBACK is not set
CONFIG_VIDEO_SELECT=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y

#
# Sound
#
CONFIG_SOUND=m

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
CONFIG_SND_DYNAMIC_MINORS=y
# CONFIG_SND_SUPPORT_OLD_API is not set
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
CONFIG_SND_AC97_CODEC=m
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_MTS64 is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_PORTMAN2X4 is not set

#
# ISA devices
#
# CONFIG_SND_ADLIB is not set
# CONFIG_SND_AD1816A is not set
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_ALS100 is not set
# CONFIG_SND_AZT2320 is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_DT019X is not set
# CONFIG_SND_ES968 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_SC6000 is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_MIRO is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set
# CONFIG_SND_WAVEFRONT is not set

#
# PCI devices
#
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AW2 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_OXYGEN is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS5530 is not set
# CONFIG_SND_CS5535AUDIO is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
CONFIG_SND_ENS1371=m
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDA_INTEL is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_HIFIER is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SIS7019 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set
CONFIG_SND_AC97_POWER_SAVE=y
CONFIG_SND_AC97_POWER_SAVE_DEFAULT=0

#
# USB devices
#
CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_USX2Y is not set
# CONFIG_SND_USB_CAIAQ is not set

#
# System on Chip audio support
#
# CONFIG_SND_SOC is not set

#
# ALSA SoC audio for Freescale SOCs
#

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set
CONFIG_AC97_BUS=m
CONFIG_HID_SUPPORT=y
CONFIG_HID=m
# CONFIG_HID_DEBUG is not set
# CONFIG_HIDRAW is not set

#
# USB Input Devices
#
CONFIG_USB_HID=m
# CONFIG_USB_HIDINPUT_POWERBOOK is not set
# CONFIG_HID_FF is not set
# CONFIG_USB_HIDDEV is not set

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set
# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
CONFIG_USB_DEVICE_CLASS=y
CONFIG_USB_DYNAMIC_MINORS=y
CONFIG_USB_SUSPEND=y
# CONFIG_USB_OTG is not set
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_OTG_BLACKLIST_HUB is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_EHCI_ROOT_HUB_TT=y
# CONFIG_USB_EHCI_TT_NEWSCHED is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=m
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set

#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=m

#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
#

#
# may also be needed; see USB_STORAGE Help for more information
#
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_STORAGE_ALAUDA is not set
# CONFIG_USB_STORAGE_ONETOUCH is not set
# CONFIG_USB_STORAGE_KARMA is not set
# CONFIG_USB_LIBUSUAL is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_S2255 is not set
# CONFIG_USB_MON is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_BERRY_CHARGE is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGET is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_GOTEMP is not set
CONFIG_USB_ATM=m
# CONFIG_USB_SPEEDTOUCH is not set
# CONFIG_USB_CXACRU is not set
CONFIG_USB_UEAGLEATM=m
# CONFIG_USB_XUSBATM is not set
# CONFIG_USB_GADGET is not set
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_INFINIBAND is not set
CONFIG_EDAC=y

#
# Reporting subsystems
#
# CONFIG_EDAC_DEBUG is not set
CONFIG_EDAC_MM_EDAC=m
CONFIG_EDAC_AMD76X=m
# CONFIG_EDAC_E7XXX is not set
# CONFIG_EDAC_E752X is not set
# CONFIG_EDAC_I82875P is not set
# CONFIG_EDAC_I82975X is not set
# CONFIG_EDAC_I3000 is not set
# CONFIG_EDAC_I82860 is not set
# CONFIG_EDAC_R82600 is not set
# CONFIG_EDAC_I5000 is not set
# CONFIG_RTC_CLASS is not set
# CONFIG_DMADEVICES is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_UIO is not set

#
# Firmware Drivers
#
CONFIG_EDD=y
# CONFIG_EDD_OFF is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
CONFIG_DMIID=y

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
# CONFIG_EXT2_FS_POSIX_ACL is not set
# CONFIG_EXT2_FS_SECURITY is not set
CONFIG_EXT2_FS_XIP=y
CONFIG_FS_XIP=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISER4_FS=m
# CONFIG_REISER4_DEBUG is not set
CONFIG_REISERFS_FS=m
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
CONFIG_REISERFS_FS_XATTR=y
# CONFIG_REISERFS_FS_POSIX_ACL is not set
# CONFIG_REISERFS_FS_SECURITY is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
# CONFIG_OCFS2_FS is not set
CONFIG_DNOTIFY=y
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=m
# CONFIG_FUSE_FS is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
CONFIG_UDF_FS=m
CONFIG_UDF_NLS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=850
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_SYSCTL=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_CONFIGFS_FS=m

#
# Layered filesystems
#
CONFIG_ECRYPT_FS=m
# CONFIG_UNION_FS is not set

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
# CONFIG_NFS_FS is not set
# CONFIG_NFSD is not set
# CONFIG_SMB_FS is not set
CONFIG_CIFS=m
CONFIG_CIFS_STATS=y
# CONFIG_CIFS_STATS2 is not set
# CONFIG_CIFS_WEAK_PW_HASH is not set
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_EXPERIMENTAL is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
# CONFIG_EFI_PARTITION is not set
# CONFIG_SYSV68_PARTITION is not set
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=m
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=m
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ASCII=m
CONFIG_NLS_ISO8859_1=m
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=m
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=m
# CONFIG_DLM is not set

#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_PRINTK_TIME=y
CONFIG_ENABLE_WARN_DEPRECATED=y
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_MAGIC_SYSRQ=y
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_PAGE_OWNER is not set
CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not set
# CONFIG_DETECT_SOFTLOCKUP is not set
# CONFIG_SCHED_DEBUG is not set
# CONFIG_SCHEDSTATS is not set
# CONFIG_TIMER_STATS is not set
CONFIG_DEBUG_SLAB=y
CONFIG_DEBUG_SLAB_LEAK=y
CONFIG_DEBUG_PREEMPT=y
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_PROVE_LOCKING=y
CONFIG_LOCKDEP=y
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_LOCKDEP is not set
CONFIG_TRACE_IRQFLAGS=y
CONFIG_DEBUG_SPINLOCK_SLEEP=y
CONFIG_DEBUG_LOCKING_API_SELFTESTS=y
CONFIG_STACKTRACE=y
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_WRITECOUNT is not set
# CONFIG_DEBUG_LIST is not set
# CONFIG_DEBUG_SG is not set
CONFIG_FRAME_POINTER=y
# CONFIG_PROFILE_LIKELY is not set
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_DEBUG_SYNCHRO_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP is not set
# CONFIG_FIREWIRE_OHCI_REMOTE_DMA is not set
# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set
# CONFIG_SAMPLES is not set
# CONFIG_KGDB is not set
CONFIG_HAVE_ARCH_KGDB=y
CONFIG_EARLY_PRINTK=y
CONFIG_DEBUG_STACKOVERFLOW=y
CONFIG_DEBUG_STACK_USAGE=y
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_X86_PTDUMP is not set
CONFIG_DEBUG_RODATA=y
# CONFIG_DEBUG_RODATA_TEST is not set
# CONFIG_DEBUG_NX_TEST is not set
CONFIG_4KSTACKS=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y
CONFIG_DOUBLEFAULT=y
CONFIG_IO_DELAY_TYPE_0X80=0
CONFIG_IO_DELAY_TYPE_0XED=1
CONFIG_IO_DELAY_TYPE_UDELAY=2
CONFIG_IO_DELAY_TYPE_NONE=3
# CONFIG_IO_DELAY_0X80 is not set
CONFIG_IO_DELAY_0XED=y
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not set
CONFIG_DEFAULT_IO_DELAY_TYPE=1
# CONFIG_DEBUG_BOOT_PARAMS is not set
# CONFIG_CPA_DEBUG is not set

#
# Security options
#
CONFIG_KEYS=y
# CONFIG_KEYS_DEBUG_PROC_KEYS is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITY_FILE_CAPABILITIES is not set
CONFIG_XOR_BLOCKS=m
CONFIG_ASYNC_CORE=m
CONFIG_ASYNC_MEMCPY=m
CONFIG_ASYNC_XOR=m
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_AEAD=m
CONFIG_CRYPTO_BLKCIPHER=m
# CONFIG_CRYPTO_SEQIV is not set
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not set
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=m
CONFIG_CRYPTO_SHA256=m
CONFIG_CRYPTO_SHA512=m
# CONFIG_CRYPTO_WP512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_GF128MUL is not set
CONFIG_CRYPTO_ECB=m
CONFIG_CRYPTO_CBC=m
CONFIG_CRYPTO_PCBC=m
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_XTS is not set
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_CRYPTD is not set
CONFIG_CRYPTO_DES=m
# CONFIG_CRYPTO_FCRYPT is not set
CONFIG_CRYPTO_BLOWFISH=m
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_TWOFISH_586 is not set
# CONFIG_CRYPTO_SERPENT is not set
CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_AES_586=m
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_TEA is not set
CONFIG_CRYPTO_ARC4=m
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_ANUBIS is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SALSA20_586 is not set
CONFIG_CRYPTO_DEFLATE=m
CONFIG_CRYPTO_MICHAEL_MIC=m
CONFIG_CRYPTO_CRC32C=m
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_TEST is not set
CONFIG_CRYPTO_AUTHENC=m
CONFIG_CRYPTO_LZO=m
# CONFIG_CRYPTO_HW is not set
CONFIG_HAVE_KVM=y
# CONFIG_VIRTUALIZATION is not set

#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_CRC_CCITT=m
# CONFIG_CRC16 is not set
CONFIG_CRC_ITU_T=m
CONFIG_CRC32=y
# CONFIG_CRC7 is not set
CONFIG_LIBCRC32C=m
CONFIG_ZLIB_INFLATE=m
CONFIG_ZLIB_DEFLATE=m
CONFIG_LZO_COMPRESS=m
CONFIG_LZO_DECOMPRESS=m
CONFIG_PLIST=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y

2008-03-12 22:26:25

by Michael Ellerman

[permalink] [raw]
Subject: Re: [BUG] 2.6.25-rc5-mm1 kernel panic with "Exception: 501 " on powerpc

On Wed, 2008-03-12 at 11:51 -0600, Matthew Wilcox wrote:
> On Wed, Mar 12, 2008 at 10:46:45AM -0700, Andrew Morton wrote:
> > On Wed, 12 Mar 2008 18:25:37 +0530 Kamalesh Babulal <[email protected]> wrote:
> > Beats me. Maybe we're still enabling interrupts too early. But the new
> > semaphore code got fixed (didn't it?)
>
> On the 7th, according to my records. Easy to check -- look in
> kernel/semaphore.c and see whether down() is using spin_lock_irqsave
> (good) or spin_lock_irq (bad).

down() looks OK, but there's still a spin_lock_irq() in __down_common(),
although I don't know if it makes sense for us to be in __down() at that
stage.

cheers

--
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part

2008-03-12 22:33:27

by Matthew Wilcox

[permalink] [raw]
Subject: Re: [BUG] 2.6.25-rc5-mm1 kernel panic with "Exception: 501 " on powerpc

On Thu, Mar 13, 2008 at 09:26:09AM +1100, Michael Ellerman wrote:
> down() looks OK, but there's still a spin_lock_irq() in __down_common(),
> although I don't know if it makes sense for us to be in __down() at that
> stage.

The spin_lock_irq in __down_common is correct. We're going to schedule(),
so we spin_unlock_irq() to save us passing the flags into the helper
function. If we had interrupts disabled on entry, there's an Aieee
for that.

--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."

2008-03-12 23:43:55

by Tilman Schmidt

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1: NO_HZ=Y && PREEMPT_RCU=Y fails to build

Am 12.03.2008 08:21 schrieb Laurent Riffard:
> Le 11.03.2008 09:14, Andrew Morton a ?crit :
>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
>
> The kernel won't build if CONFIG_NO_HZ=y and CONFIG_PREEMPT_RCU=y:

Works fine here with those very same settings, except for a BUG message
and a warning I'll report separately and which don't seem to have any
serious consequences. This is a 32 bit build on a rather ordinary
Pentium D/Intel motherboard/openSUSE 10.3 workstation.

--
Tilman Schmidt E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Unge?ffnet mindestens haltbar bis: (siehe R?ckseite)


Attachments:
signature.asc (253.00 B)
OpenPGP digital signature

2008-03-12 23:54:56

by Tilman Schmidt

[permalink] [raw]
Subject: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

Am 11.03.2008 09:14 schrieb Andrew Morton:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/

This still complains during startup:

<6>[ 0.063442] Checking 'hlt' instruction... OK.
<0>[ 0.068233] BUG: spinlock bad magic on CPU#0, swapper/0
<0>[ 0.068996] lock: c2c19380, .magic: 00000000, .owner: swapper/0, .owner_cpu: 0
<4>[ 0.069227] Pid: 0, comm: swapper Not tainted 2.6.25-rc5-mm1-testing #1
<4>[ 0.069369] [spin_bug+124/135] spin_bug+0x7c/0x87
<4>[ 0.069563] [_raw_spin_unlock+25/113] _raw_spin_unlock+0x19/0x71
<4>[ 0.069752] [_spin_unlock+29/60] _spin_unlock+0x1d/0x3c
<4>[ 0.069941] [mnt_want_write+98/136] mnt_want_write+0x62/0x88
<4>[ 0.070131] [sys_mkdirat+134/214] sys_mkdirat+0x86/0xd6
<4>[ 0.070322] [clean_path+22/74] ? clean_path+0x16/0x4a
<4>[ 0.070558] [kfree+216/236] ? kfree+0xd8/0xec
<4>[ 0.070793] [sys_mkdir+16/18] sys_mkdir+0x10/0x12
<4>[ 0.070995] [do_name+274/435] do_name+0x112/0x1b3
<4>[ 0.071184] [write_buffer+29/44] write_buffer+0x1d/0x2c
<4>[ 0.071371] [flush_window+100/179] flush_window+0x64/0xb3
<4>[ 0.071558] [unpack_to_rootfs+1580/2233] unpack_to_rootfs+0x62c/0x8b9
<4>[ 0.071747] [populate_rootfs+32/265] populate_rootfs+0x20/0x109
<4>[ 0.071995] [alternative_instructions+339/344] ? alternative_instructions+0x153/0x158
<4>[ 0.072235] [start_kernel+835/853] start_kernel+0x343/0x355
<4>[ 0.072422] [i386_start_kernel+8/10] i386_start_kernel+0x8/0xa
<4>[ 0.072610] =======================
<6>[ 0.072808] Unpacking initramfs... done

System comes up fine, though. Not sure whom to CC.
Machine's a dual-core Pentium D running a 32 bit kernel.
Let me know if you want me to provide more information or test anything.

HTH
T.

--
Tilman Schmidt E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Unge?ffnet mindestens haltbar bis: (siehe R?ckseite)


Attachments:
signature.asc (253.00 B)
OpenPGP digital signature

2008-03-13 00:05:28

by Andrew Morton

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

On Thu, 13 Mar 2008 00:54:43 +0100
Tilman Schmidt <[email protected]> wrote:

> Am 11.03.2008 09:14 schrieb Andrew Morton:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
>
> This still complains during startup:
>
> <6>[ 0.063442] Checking 'hlt' instruction... OK.
> <0>[ 0.068233] BUG: spinlock bad magic on CPU#0, swapper/0
> <0>[ 0.068996] lock: c2c19380, .magic: 00000000, .owner: swapper/0, .owner_cpu: 0
> <4>[ 0.069227] Pid: 0, comm: swapper Not tainted 2.6.25-rc5-mm1-testing #1
> <4>[ 0.069369] [spin_bug+124/135] spin_bug+0x7c/0x87
> <4>[ 0.069563] [_raw_spin_unlock+25/113] _raw_spin_unlock+0x19/0x71
> <4>[ 0.069752] [_spin_unlock+29/60] _spin_unlock+0x1d/0x3c
> <4>[ 0.069941] [mnt_want_write+98/136] mnt_want_write+0x62/0x88
> <4>[ 0.070131] [sys_mkdirat+134/214] sys_mkdirat+0x86/0xd6
> <4>[ 0.070322] [clean_path+22/74] ? clean_path+0x16/0x4a
> <4>[ 0.070558] [kfree+216/236] ? kfree+0xd8/0xec
> <4>[ 0.070793] [sys_mkdir+16/18] sys_mkdir+0x10/0x12
> <4>[ 0.070995] [do_name+274/435] do_name+0x112/0x1b3
> <4>[ 0.071184] [write_buffer+29/44] write_buffer+0x1d/0x2c
> <4>[ 0.071371] [flush_window+100/179] flush_window+0x64/0xb3
> <4>[ 0.071558] [unpack_to_rootfs+1580/2233] unpack_to_rootfs+0x62c/0x8b9
> <4>[ 0.071747] [populate_rootfs+32/265] populate_rootfs+0x20/0x109
> <4>[ 0.071995] [alternative_instructions+339/344] ? alternative_instructions+0x153/0x158
> <4>[ 0.072235] [start_kernel+835/853] start_kernel+0x343/0x355
> <4>[ 0.072422] [i386_start_kernel+8/10] i386_start_kernel+0x8/0xa
> <4>[ 0.072610] =======================
> <6>[ 0.072808] Unpacking initramfs... done
>
> System comes up fine, though. Not sure whom to CC.

Dave, methinks.

> Machine's a dual-core Pentium D running a 32 bit kernel.
> Let me know if you want me to provide more information or test anything.

I thought we already fixed this, actually. Maybe we just talked about it
a bit?

2008-03-13 00:16:09

by Tilman Schmidt

[permalink] [raw]
Subject: [2.6.25-rc5-mm1] WARNING: at drivers/base/sys.c:173

Am 11.03.2008 09:14 schrieb Andrew Morton:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/

Late during boot, this issues the following warning on my Pentium D,
apparently when trying to load an appropriate CPU frequency driver:

[ 56.759128] ------------[ cut here ]------------
[ 56.765058] WARNING: at drivers/base/sys.c:173 sysdev_driver_register+0x34/0xce()
[ 56.776027] Modules linked in: acpi_cpufreq(+) speedstep_lib ip6table_filter ip6_tables x_tables ipv6 microcode firmware_class loop osst st sr_mod cdrom pata_acpi bas_gigaset snd_hda_intel gigaset isdn snd_pcm ata_generic<6>ip_tables: (C) 2000-2006 Netfilter Core Team
[ 56.785293] snd_timer aic7xxx slhc snd ohci1394 rtc_cmos ieee1394 shpchp crc_ccitt iTCO_wdt e1000e rtc_core iTCO_vendor_support soundcore scsi_transport_spi watchdog_core pci_hotplug intel_agp button thermal agpgart rtc_lib processor i2c_i801 watchdog_dev parport_pc i2c_core snd_page_alloc parport pata_marvell sg ext3 jbd mbcache linear sd_mod usbhid hid ff_memless ahci libata scsi_mod ehci_hcd uhci_hcd usbcore dm_snapshot dm_mod
[ 56.805358] Pid: 2856, comm: modprobe Not tainted 2.6.25-rc5-mm1-testing #1
[ 56.810766] [<c01272e9>] warn_on_slowpath+0x41/0x6d
[ 56.820628] [<c0230065>] ? acpi_ns_lookup+0x2b5/0x497
[ 56.830455] [<c0230e25>] ? acpi_evaluate_object+0x23e/0x249
[ 56.840414] [<c02ff809>] ? mutex_unlock+0x8/0xa
[ 56.848380] [<fa9fec1d>] ? acpi_processor_preregister_performance+0x4e6/0x4f1 [processor]
[ 56.858297] [<c0286438>] ? cpufreq_register_driver+0x42/0xfc
[ 56.868263] [<c026423d>] sysdev_driver_register+0x34/0xce
[ 56.877974] [<c0286476>] cpufreq_register_driver+0x80/0xfc
[ 56.887327] [<facde034>] acpi_cpufreq_init+0x34/0x3a [acpi_cpufreq]
[ 56.897290] [<c014ad7a>] sys_init_module+0x1816/0x1943
[ 56.907304] [<facb5000>] ? icmp_checkentry+0x0/0x14 [ip_tables]
[ 56.917255] [<c0183cd2>] ? sys_read+0x3b/0x60
[ 56.925094] [<c0106aec>] sysenter_past_esp+0x6d/0xc5
[ 56.935071] =======================
[ 56.945016] ---[ end trace 9ade9adb26b6da0a ]---

Looking back, -rc3-mm1 did that too.
Mainline (-rc3 through -rc5) never did.
Let me know if you need more information.
CCing Dave Jones for cpufreq and Greg KH for sysdev.

HTH
T.

--
Tilman Schmidt E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Unge?ffnet mindestens haltbar bis: (siehe R?ckseite)


Attachments:
signature.asc (253.00 B)
OpenPGP digital signature

2008-03-13 13:02:30

by Kamalesh Babulal

[permalink] [raw]
Subject: Re: [BUG] 2.6.25-rc5-mm1 kernel panic with "Exception: 501 " on powerpc

Matthew Wilcox wrote:
> On Thu, Mar 13, 2008 at 09:26:09AM +1100, Michael Ellerman wrote:
>> down() looks OK, but there's still a spin_lock_irq() in __down_common(),
>> although I don't know if it makes sense for us to be in __down() at that
>> stage.
>
> The spin_lock_irq in __down_common is correct. We're going to schedule(),
> so we spin_unlock_irq() to save us passing the flags into the helper
> function. If we had interrupts disabled on entry, there's an Aieee
> for that.
>

Hi All,

Sorry for all the noise made :-(, something wrong in the test setup from my end,
the kernel was 2.6.25-rc3-mm1 not 2.6.25-rc5-mm1. This bug is not seen in the
2.6.25-rc5-mm1 kernel.

--
Thanks & Regards,
Kamalesh Babulal,

2008-03-13 14:17:16

by Helge Hafting

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1 shutdown crash

This kernel hangs during shutdown, and that prevents automatic poweroff.
I have one small patch that improves the iwl3945 wireless driver a little.
Dell D830 laptop, 64-bit smp


It looks like this:
*** Last service has quit. ***
Your system will now POWER OFF!
Goodbye
Bug: unable to handle kernel paging request at ffffffff8020a7ad
IP: [<ffffffff80211b5a>] text_poke+0xe/0x15
PGD 203067 PUD 2+7+63 PMD 7f3ba163 PTE 20a161
Oops: 0003 [1] SMP
last sysfs file:
/sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC/online
CPU 0
Modules linked in: tun pcmcia dock piix iTCO_wdt ata_piix watchdog_core
watchdog_dev intel_agp ata_generic hci_usb

Pid: 7606, comm: initng Not tainted 2.6.25-rc5-mm1

RIP: 0010:[<ffffffff80211b5a>] [<ffffffff80211b5a>]text_poke+0xe/0x15
RSP: 0000:ffff81007e559cb8 EFLAGS: 00010083

(register dump omitted, but I can reproduce anytime if it matters)
Process initng (pid 7606, threadinfo...)
call trace:
alternatives_smp_unlock
alternatives_smp_switch
? schedule_timeout
__cpu_die
_cpu_down
disable_nonboot_cpus
kernel_power_off
sys_reboot
? handle_mm_fault
? __up_read
? do_page_fault
? __put_user
? error_exit
system_call_after_swapgs

(rest omitted)

sysrq still works at this point
sysrq+P gives:

CPU 0:
Modules linked in (same as before)
Pid: 0, comm: swapper Tainted: G D 2.6.25-rc5-mm1
RIP ... acpi_idle_enter
(register dump omitted)
acpi_idle_enter_bm
menu_select
cpuidle_idle_call
cpuidle_idle_call
default_idle
cpu_idle
rest_init


sysrq+O fails to deactivate a mouse, complains that the disk
may not be spun down properly, prepares for sleep state S5,
but don't power off. sysrq doesn't work after this.

Helge Hafting

2008-03-13 16:14:11

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1 shutdown crash

On Thu, 13 Mar 2008 15:03:33 +0100 Helge Hafting <[email protected]> wrote:

> This kernel hangs during shutdown, and that prevents automatic poweroff.
> I have one small patch that improves the iwl3945 wireless driver a little.
> Dell D830 laptop, 64-bit smp
>
>
> It looks like this:
> *** Last service has quit. ***
> Your system will now POWER OFF!
> Goodbye
> Bug: unable to handle kernel paging request at ffffffff8020a7ad
> IP: [<ffffffff80211b5a>] text_poke+0xe/0x15
> PGD 203067 PUD 2+7+63 PMD 7f3ba163 PTE 20a161
> Oops: 0003 [1] SMP
> last sysfs file:
> /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC/online
> CPU 0
> Modules linked in: tun pcmcia dock piix iTCO_wdt ata_piix watchdog_core
> watchdog_dev intel_agp ata_generic hci_usb
>
> Pid: 7606, comm: initng Not tainted 2.6.25-rc5-mm1
>
> RIP: 0010:[<ffffffff80211b5a>] [<ffffffff80211b5a>]text_poke+0xe/0x15
> RSP: 0000:ffff81007e559cb8 EFLAGS: 00010083
>
> (register dump omitted, but I can reproduce anytime if it matters)
> Process initng (pid 7606, threadinfo...)
> call trace:
> alternatives_smp_unlock
> alternatives_smp_switch
> ? schedule_timeout
> __cpu_die
> _cpu_down
> disable_nonboot_cpus
> kernel_power_off
> sys_reboot
> ? handle_mm_fault
> ? __up_read
> ? do_page_fault
> ? __put_user
> ? error_exit
> system_call_after_swapgs

Yes, I was hitting the text_poke() oops with 2.6.25-rc3-mm1 but not with
2.6.25-rc5-mm1.

This _might_ have been due to a snafu in git-x86: it had a [patch 2/2] from
Mathieu but was missing the needed [patch 1/2]. But I don't know if this
was the cause and I don't know whether 2.6.25-rc3-mm1's git-x86 had the
same problem.

2008-03-13 17:06:33

by Badari Pulavarty

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1 - x86_64 boot problem with git-sched.patch

On Wed, 2008-03-12 at 11:15 -0700, Andrew Morton wrote:
> On Wed, 12 Mar 2008 10:10:50 -0800 Badari Pulavarty <[email protected]> wrote:
>
> > On Tue, 2008-03-11 at 01:14 -0700, Andrew Morton wrote:
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
> > >
> >
> > I am having trouble booting rc5-mm1 on my x86_64. (ppc64 boots & works
> > fine). Seems to be a networking issues (hangs on boot). Here are the
> > messages on the console (not really useful to me).


Hi Andrew,

Finally narrowed down the problem to git-sched.patch in rc5-mm1.
I am going to try which individual patch in that git caused my
amd64 boot hang.

Peter, Ingo - here are the boot messages on the console. Any ideas ?
config file attached.

Thanks,
Badari

Linux version 2.6.25-rc5 (root@elm3b29) (gcc version 4.1.0 (SUSE Linux)) #11 SMP Thu Mar 13 12:28:17 PDT 2008
Command line: root=/dev/hda2 vga=0x314 crashkernel=64M@16M selinux=0 console=tty0 console=ttyS0,38400 resume=/dev/hda1 resume=/dev/hda1 splash=silent showopts
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000ca000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 00000000dfef0000 (usable)
BIOS-e820: 00000000dfef0000 - 00000000dfeff000 (ACPI data)
BIOS-e820: 00000000dfeff000 - 00000000dff00000 (ACPI NVS)
BIOS-e820: 00000000dff00000 - 00000000e0000000 (usable)
BIOS-e820: 00000000fec00000 - 00000000fec00400 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
BIOS-e820: 0000000100000000 - 00000001e0000000 (usable)
end_pfn_map = 1966080
DMI 2.3 present.
ACPI: RSDP 000F6970, 0024 (r2 PTLTD )
ACPI: XSDT DFEFC625, 003C (r1 PTLTD XSDT 6040000 LTP 0)
ACPI: FACP DFEFED02, 00F4 (r3 AMD HAMMER 6040000 PTEC F4240)
ACPI: DSDT DFEFC661, 262D (r1 AMD-K8 AMDACPI 6040000 MSFT 100000D)
ACPI: FACS DFEFFFC0, 0040
ACPI: SRAT DFEFEDF6, 0160 (r1 AMD HAMMER 6040000 AMD 1)
ACPI: APIC DFEFEF56, 00AA (r1 PTLTD APIC 6040000 LTP 0)
SRAT: PXM 0 -> APIC 0 -> Node 0
SRAT: PXM 1 -> APIC 1 -> Node 1
SRAT: PXM 2 -> APIC 2 -> Node 2
SRAT: PXM 3 -> APIC 3 -> Node 3
SRAT: Node 0 PXM 0 0-a0000
SRAT: Node 0 PXM 0 0-e0000000
SRAT: Node 0 PXM 0 0-180000000
SRAT: PXM 1 (100000000-1a0000000) overlaps with PXM 0 (0-180000000)
SRAT: SRAT not used.
Scanning NUMA topology in Northbridge 24
Number of nodes 4
Node 0 MemBase 0000000000000000 Limit 0000000180000000
Node 1 MemBase 0000000180000000 Limit 00000001a0000000
Node 2 MemBase 00000001a0000000 Limit 00000001c0000000
Node 3 MemBase 00000001c0000000 Limit 00000001e0000000
Using node hash shift of 29
Bootmem setup node 0 0000000000000000-0000000180000000
NODE_DATA [0000000000011000 - 0000000000018fff]
bootmap [0000000000019000 - 0000000000048fff] pages 30
Bootmem setup node 1 0000000180000000-00000001a0000000
NODE_DATA [0000000180000000 - 0000000180007fff]
bootmap [0000000180008000 - 000000018000bfff] pages 4
Bootmem setup node 2 00000001a0000000-00000001c0000000
NODE_DATA [00000001a0000000 - 00000001a0007fff]
bootmap [00000001a0008000 - 00000001a000bfff] pages 4
Bootmem setup node 3 00000001c0000000-00000001e0000000
NODE_DATA [00000001c0000000 - 00000001c0007fff]
bootmap [00000001c0008000 - 00000001c000bfff] pages 4
early res: 0 [0-fff] BIOS data page
early res: 1 [6000-7fff] TRAMPOLINE
early res: 2 [200000-8572ef] TEXT DATA BSS
early res: 3 [9f000-fffff] BIOS reserved
early res: 4 [8000-10fff] PGTABLE
Reserving 64MB of memory at 16MB for crashkernel (System RAM: 7680MB)
[ffffe20005b00000-ffffe20005bfffff] potential offnode page_structs
Zone PFN ranges:
DMA 0 -> 4096
DMA32 4096 -> 1048576
Normal 1048576 -> 1966080
Movable zone start PFN for each node
early_node_map[7] active PFN ranges
0: 0 -> 159
0: 256 -> 917232
0: 917248 -> 917504
0: 1048576 -> 1572864
1: 1572864 -> 1703936
2: 1703936 -> 1835008
3: 1835008 -> 1966080
ACPI: PM-Timer IO Port: 0x8008
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 (Bootup-CPU)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
Processor #2
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] enabled)
Processor #3
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 4, address 0xfec00000, GSI 0-23
ACPI: IOAPIC (id[0x05] address[0xfa3e0000] gsi_base[24])
IOAPIC[1]: apic_id 5, address 0xfa3e0000, GSI 24-27
ACPI: IOAPIC (id[0x06] address[0xfa3e1000] gsi_base[28])
IOAPIC[2]: apic_id 6, address 0xfa3e1000, GSI 28-31
ACPI: IOAPIC (id[0x07] address[0xfa3e2000] gsi_base[32])
IOAPIC[3]: apic_id 7, address 0xfa3e2000, GSI 32-35
ACPI: IOAPIC (id[0x08] address[0xfa3e4000] gsi_base[36])
IOAPIC[4]: apic_id 8, address 0xfa3e4000, GSI 36-39
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
Setting APIC routing to flat
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at e2000000 (gap: e0000000:1ec00000)
SMP: Allowing 4 CPUs, 0 hotplug CPUs
PERCPU: Allocating 40512 bytes of per cpu data
Built 4 zonelists in Zone order, mobility grouping on. Total pages: 1806281
Policy zone: Normal
Kernel command line: root=/dev/hda2 vga=0x314 crashkernel=64M@16M selinux=0 console=tty0 console=ttyS0,38400 resume=/dev/hda1 resume=/dev/hda1 splash=silent showopts
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Extended CMOS year: 2000
TSC calibrated against PM_TIMER
Marking TSC unstable due to TSCs unsynchronized
time.c: Detected 1398.173 MHz processor.
Console: colour dummy device 80x25
console [tty0] enabled
console [ttyS0] enabled
Checking aperture...
Node 0: aperture @ 0 size 32 MB
No AGP bridge found
Your BIOS doesn't leave a aperture memory hole
Please enable the IOMMU option in the BIOS setup
This costs you 64 MB of RAM
Mapping aperture over 65536 KB of RAM @ 10000000
Memory: 7098412k/7864320k available (3585k kernel code, 241168k reserved, 1500k data, 316k init)
Calibrating delay using timer specific routine.. 2799.21 BogoMIPS (lpj=5598428)
Security Framework initialized
Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
Mount-cache hash table entries: 256
Initializing cgroup subsys debug
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 0/0 -> Node 0
ACPI: Core revision 20070126
Using local APIC timer interrupts.
Detected 12.483 MHz APIC timer.
Booting processor 1/4 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 2796.41 BogoMIPS (lpj=5592830)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 1/1 -> Node 1
Opteron MP w/ 1MB stepping 00
Booting processor 2/4 APIC 0x2
Initializing CPU#2
Calibrating delay using timer specific routine.. 2796.42 BogoMIPS (lpj=5592853)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 2/2 -> Node 2
Opteron MP w/ 1MB stepping 00
Booting processor 3/4 APIC 0x3
Initializing CPU#3
Calibrating delay using timer specific routine.. 2796.39 BogoMIPS (lpj=5592792)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 3/3 -> Node 3
Opteron MP w/ 1MB stepping 00
Brought up 4 CPUs
net_namespace: 1016 bytes
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S3 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
ACPI: PCI Root Bridge [PCI1] (0000:08)
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 *5 10 11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 5 *10 11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 5 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 5 10 *11)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 14 devices
ACPI: ACPI bus type pnp unregistered
SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
PCI-DMA: Disabling AGP.
PCI-DMA: aperture base @ 10000000 size 65536 KB
PCI-DMA: using GART IOMMU.
PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture
system 00:05: ioport range 0x4d0-0x4d1 has been reserved
system 00:05: ioport range 0x1100-0x117f has been reserved
system 00:05: ioport range 0x1180-0x11ff has been reserved
system 00:05: ioport range 0xb78-0xb7b has been reserved
system 00:05: ioport range 0x190-0x193 has been reserved
system 00:06: iomem range 0xe0000-0xfffff could not be reserved
system 00:06: iomem range 0xc0000-0xc87ff has been reserved
system 00:06: iomem range 0xfec00000-0xfec00fff could not be reserved
system 00:06: iomem range 0xffc00000-0xfff7ffff has been reserved
system 00:06: iomem range 0xfee00000-0xfee00fff could not be reserved
system 00:06: iomem range 0xfff80000-0xffffffff could not be reserved
system 00:06: iomem range 0xfe000000-0xfe000fff has been reserved
system 00:06: iomem range 0xfe001000-0xfe001fff has been reserved
system 00:06: iomem range 0xfe002000-0xfe003fff has been reserved
system 00:06: iomem range 0xfe004000-0xfe004fff has been reserved
PCI: Bridge: 0000:00:06.0
Time: acpi_pm clocksource has been installed.
IO window: 2000-2fff
MEM window: 0xfa000000-0xfa0fffff
PREFETCH window: disabled.
PCI: Bridge: 0000:09:01.0
IO window: disabled.
MEM window: 0xfa400000-0xfaffffff
PREFETCH window: 0x00000000fc000000-0x00000000fdffffff
PCI: Bridge: 0000:08:01.0
IO window: disabled.
MEM window: 0xfa400000-0xfaffffff
PREFETCH window: 0x00000000fc000000-0x00000000fdffffff
PCI: Bridge: 0000:08:02.0
IO window: 3000-3fff
MEM window: 0xfb000000-0xfb0fffff
PREFETCH window: disabled.
PCI: Bridge: 0000:08:03.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
PCI: Bridge: 0000:08:04.0
IO window: 4000-4fff
MEM window: 0xfb100000-0xfb1fffff
PREFETCH window: disabled.
ACPI: PCI Interrupt 0000:08:04.0[A] -> GSI 36 (level, low) -> IRQ 36
NET: Registered protocol family 2




Attachments:
config (66.17 kB)

2008-03-13 17:37:26

by Badari Pulavarty

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1 - x86_64 boot problem with git-sched.patch

On Thu, 2008-03-13 at 09:09 -0800, Badari Pulavarty wrote:
> On Wed, 2008-03-12 at 11:15 -0700, Andrew Morton wrote:
> > On Wed, 12 Mar 2008 10:10:50 -0800 Badari Pulavarty <[email protected]> wrote:
> >
> > > On Tue, 2008-03-11 at 01:14 -0700, Andrew Morton wrote:
> > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
> > > >
> > >
> > > I am having trouble booting rc5-mm1 on my x86_64. (ppc64 boots & works
> > > fine). Seems to be a networking issues (hangs on boot). Here are the
> > > messages on the console (not really useful to me).
>
>
> Hi Andrew,
>
> Finally narrowed down the problem to git-sched.patch in rc5-mm1.
> I am going to try which individual patch in that git caused my
> amd64 boot hang.
>

Further narrowed it down to following patch in git-sched.patch.
When I back out this patch from rc5-mm1, my amd64 box boots fine.

commit 60befbc1c0b6d141c9c26e61ddd303aedd1e7396
Author: Guillaume Chazarain <[email protected]>
Date: Mon Mar 10 08:16:41 2008 +0100

sched: make sure jiffies is up to date before calling
__update_rq_clock()

Now that __update_rq_clock() uses jiffies to detect clock overflows,
make sure jiffies are up to date before touch_softlockup_watchdog().

Removed a touch_softlockup_watchdog() call becoming redundant with
the
added tick_nohz_update_jiffies().

Signed-off-by: Guillaume Chazarain <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>

diff --git a/kernel/sched.c b/kernel/sched.c
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -66,6 +66,7 @@
#include <linux/unistd.h>
#include <linux/pagemap.h>
#include <linux/hrtimer.h>
+#include <linux/tick.h>

#include <asm/tlb.h>
#include <asm/irq_regs.h>
@@ -913,7 +914,7 @@ void sched_clock_idle_wakeup_event(u64 delta_ns)
rq->prev_clock_raw = now;
rq->clock += delta_ns;
spin_unlock(&rq->lock);
- touch_softlockup_watchdog();
+ tick_nohz_update_jiffies();
}
EXPORT_SYMBOL_GPL(sched_clock_idle_wakeup_event);


Thanks,
Badari

2008-03-13 17:55:29

by Guillaume Chazarain

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1 - x86_64 boot problem with git-sched.patch

On Thu, Mar 13, 2008 at 6:40 PM, Badari Pulavarty <[email protected]> wrote:
> commit 60befbc1c0b6d141c9c26e61ddd303aedd1e7396
> Author: Guillaume Chazarain <[email protected]>
> Date: Mon Mar 10 08:16:41 2008 +0100
>
> sched: make sure jiffies is up to date before calling
> __update_rq_clock()

I didn't know this patch could prevent booting, but anyway it should
have been removed a long time ago:
http://lkml.org/lkml/2008/1/25/408

Thanks.

--
Guillaume

2008-03-13 18:17:18

by Badari Pulavarty

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1 - x86_64 boot problem with git-sched.patch

On Thu, 2008-03-13 at 18:55 +0100, Guillaume Chazarain wrote:
> On Thu, Mar 13, 2008 at 6:40 PM, Badari Pulavarty <[email protected]> wrote:
> > commit 60befbc1c0b6d141c9c26e61ddd303aedd1e7396
> > Author: Guillaume Chazarain <[email protected]>
> > Date: Mon Mar 10 08:16:41 2008 +0100
> >
> > sched: make sure jiffies is up to date before calling
> > __update_rq_clock()
>
> I didn't know this patch could prevent booting, but anyway it should
> have been removed a long time ago:
> http://lkml.org/lkml/2008/1/25/408
>

I don't know whats happening either, but my debug shows that
tick_nohz_update_jiffies() always returns due to following
check without calling touch_softlockup_watchdog().

if (!ts->tick_stopped)
return;

BTW, I have CONFIG_DETECT_SOFTLOCKUP=y in my config.


Thanks,
Badari

2008-03-13 19:34:59

by Greg KH

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] WARNING: at drivers/base/sys.c:173

On Thu, Mar 13, 2008 at 01:15:52AM +0100, Tilman Schmidt wrote:
> Am 11.03.2008 09:14 schrieb Andrew Morton:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
>
> Late during boot, this issues the following warning on my Pentium D,
> apparently when trying to load an appropriate CPU frequency driver:
>
> [ 56.759128] ------------[ cut here ]------------
> [ 56.765058] WARNING: at drivers/base/sys.c:173 sysdev_driver_register+0x34/0xce()
> [ 56.776027] Modules linked in: acpi_cpufreq(+) speedstep_lib ip6table_filter ip6_tables x_tables ipv6 microcode firmware_class loop osst st sr_mod cdrom pata_acpi bas_gigaset snd_hda_intel gigaset isdn snd_pcm ata_generic<6>ip_tables: (C) 2000-2006 Netfilter Core Team
> [ 56.785293] snd_timer aic7xxx slhc snd ohci1394 rtc_cmos ieee1394 shpchp crc_ccitt iTCO_wdt e1000e rtc_core iTCO_vendor_support soundcore scsi_transport_spi watchdog_core pci_hotplug intel_agp button thermal agpgart rtc_lib processor i2c_i801 watchdog_dev parport_pc i2c_core snd_page_alloc parport pata_marvell sg ext3 jbd mbcache linear sd_mod usbhid hid ff_memless ahci libata scsi_mod ehci_hcd uhci_hcd usbcore dm_snapshot dm_mod
> [ 56.805358] Pid: 2856, comm: modprobe Not tainted 2.6.25-rc5-mm1-testing #1
> [ 56.810766] [<c01272e9>] warn_on_slowpath+0x41/0x6d
> [ 56.820628] [<c0230065>] ? acpi_ns_lookup+0x2b5/0x497
> [ 56.830455] [<c0230e25>] ? acpi_evaluate_object+0x23e/0x249
> [ 56.840414] [<c02ff809>] ? mutex_unlock+0x8/0xa
> [ 56.848380] [<fa9fec1d>] ? acpi_processor_preregister_performance+0x4e6/0x4f1 [processor]
> [ 56.858297] [<c0286438>] ? cpufreq_register_driver+0x42/0xfc
> [ 56.868263] [<c026423d>] sysdev_driver_register+0x34/0xce
> [ 56.877974] [<c0286476>] cpufreq_register_driver+0x80/0xfc
> [ 56.887327] [<facde034>] acpi_cpufreq_init+0x34/0x3a [acpi_cpufreq]
> [ 56.897290] [<c014ad7a>] sys_init_module+0x1816/0x1943
> [ 56.907304] [<facb5000>] ? icmp_checkentry+0x0/0x14 [ip_tables]
> [ 56.917255] [<c0183cd2>] ? sys_read+0x3b/0x60
> [ 56.925094] [<c0106aec>] sysenter_past_esp+0x6d/0xc5
> [ 56.935071] =======================
> [ 56.945016] ---[ end trace 9ade9adb26b6da0a ]---
>
> Looking back, -rc3-mm1 did that too.
> Mainline (-rc3 through -rc5) never did.
> Let me know if you need more information.
> CCing Dave Jones for cpufreq and Greg KH for sysdev.

This implys that a cpufreq module is getting registered twice in the
sysdev code :(

thanks,

greg k-h

2008-03-13 19:57:21

by Dave Jones

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] WARNING: at drivers/base/sys.c:173

On Thu, Mar 13, 2008 at 01:15:52AM +0100, Tilman Schmidt wrote:
> Am 11.03.2008 09:14 schrieb Andrew Morton:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
>
> Late during boot, this issues the following warning on my Pentium D,
> apparently when trying to load an appropriate CPU frequency driver:
>
> [ 56.759128] ------------[ cut here ]------------
> [ 56.765058] WARNING: at drivers/base/sys.c:173 sysdev_driver_register+0x34/0xce()
> [ 56.776027] Modules linked in: acpi_cpufreq(+) speedstep_lib ip6table_filter ip6_tables x_tables ipv6 microcode firmware_class loop osst st sr_mod cdrom pata_acpi bas_gigaset snd_hda_intel gigaset isdn snd_pcm ata_generic<6>ip_tables: (C) 2000-2006 Netfilter Core Team
> [ 56.785293] snd_timer aic7xxx slhc snd ohci1394 rtc_cmos ieee1394 shpchp crc_ccitt iTCO_wdt e1000e rtc_core iTCO_vendor_support soundcore scsi_transport_spi watchdog_core pci_hotplug intel_agp button thermal agpgart rtc_lib processor i2c_i801 watchdog_dev parport_pc i2c_core snd_page_alloc parport pata_marvell sg ext3 jbd mbcache linear sd_mod usbhid hid ff_memless ahci libata scsi_mod ehci_hcd uhci_hcd usbcore dm_snapshot dm_mod
> [ 56.805358] Pid: 2856, comm: modprobe Not tainted 2.6.25-rc5-mm1-testing #1
> [ 56.810766] [<c01272e9>] warn_on_slowpath+0x41/0x6d
> [ 56.820628] [<c0230065>] ? acpi_ns_lookup+0x2b5/0x497
> [ 56.830455] [<c0230e25>] ? acpi_evaluate_object+0x23e/0x249
> [ 56.840414] [<c02ff809>] ? mutex_unlock+0x8/0xa
> [ 56.848380] [<fa9fec1d>] ? acpi_processor_preregister_performance+0x4e6/0x4f1 [processor]
> [ 56.858297] [<c0286438>] ? cpufreq_register_driver+0x42/0xfc
> [ 56.868263] [<c026423d>] sysdev_driver_register+0x34/0xce
> [ 56.877974] [<c0286476>] cpufreq_register_driver+0x80/0xfc
> [ 56.887327] [<facde034>] acpi_cpufreq_init+0x34/0x3a [acpi_cpufreq]
> [ 56.897290] [<c014ad7a>] sys_init_module+0x1816/0x1943
> [ 56.907304] [<facb5000>] ? icmp_checkentry+0x0/0x14 [ip_tables]
> [ 56.917255] [<c0183cd2>] ? sys_read+0x3b/0x60
> [ 56.925094] [<c0106aec>] sysenter_past_esp+0x6d/0xc5
> [ 56.935071] =======================
> [ 56.945016] ---[ end trace 9ade9adb26b6da0a ]---
>
> Looking back, -rc3-mm1 did that too.
> Mainline (-rc3 through -rc5) never did.
> Let me know if you need more information.
> CCing Dave Jones for cpufreq and Greg KH for sysdev.

Full dmesg please, with CPU_FREQ_DEBUG=y, and boot with cpufreq.debug=7
Greg, could that warning be enhanced to print the object->name ?

Dave

--
http://www.codemonkey.org.uk

2008-03-13 19:58:17

by Dave Jones

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] WARNING: at drivers/base/sys.c:173

On Thu, Mar 13, 2008 at 11:34:39AM -0700, Greg KH wrote:
> On Thu, Mar 13, 2008 at 01:15:52AM +0100, Tilman Schmidt wrote:
> > Am 11.03.2008 09:14 schrieb Andrew Morton:
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
> >
> > Late during boot, this issues the following warning on my Pentium D,
> > apparently when trying to load an appropriate CPU frequency driver:
> >
> > [ 56.759128] ------------[ cut here ]------------
> > [ 56.765058] WARNING: at drivers/base/sys.c:173 sysdev_driver_register+0x34/0xce()
> > [ 56.776027] Modules linked in: acpi_cpufreq(+) speedstep_lib ip6table_filter ip6_tables x_tables ipv6 microcode firmware_class loop osst st sr_mod cdrom pata_acpi bas_gigaset snd_hda_intel gigaset isdn snd_pcm ata_generic<6>ip_tables: (C) 2000-2006 Netfilter Core Team
> > [ 56.785293] snd_timer aic7xxx slhc snd ohci1394 rtc_cmos ieee1394 shpchp crc_ccitt iTCO_wdt e1000e rtc_core iTCO_vendor_support soundcore scsi_transport_spi watchdog_core pci_hotplug intel_agp button thermal agpgart rtc_lib processor i2c_i801 watchdog_dev parport_pc i2c_core snd_page_alloc parport pata_marvell sg ext3 jbd mbcache linear sd_mod usbhid hid ff_memless ahci libata scsi_mod ehci_hcd uhci_hcd usbcore dm_snapshot dm_mod
> > [ 56.805358] Pid: 2856, comm: modprobe Not tainted 2.6.25-rc5-mm1-testing #1
> > [ 56.810766] [<c01272e9>] warn_on_slowpath+0x41/0x6d
> > [ 56.820628] [<c0230065>] ? acpi_ns_lookup+0x2b5/0x497
> > [ 56.830455] [<c0230e25>] ? acpi_evaluate_object+0x23e/0x249
> > [ 56.840414] [<c02ff809>] ? mutex_unlock+0x8/0xa
> > [ 56.848380] [<fa9fec1d>] ? acpi_processor_preregister_performance+0x4e6/0x4f1 [processor]
> > [ 56.858297] [<c0286438>] ? cpufreq_register_driver+0x42/0xfc
> > [ 56.868263] [<c026423d>] sysdev_driver_register+0x34/0xce
> > [ 56.877974] [<c0286476>] cpufreq_register_driver+0x80/0xfc
> > [ 56.887327] [<facde034>] acpi_cpufreq_init+0x34/0x3a [acpi_cpufreq]
> > [ 56.897290] [<c014ad7a>] sys_init_module+0x1816/0x1943
> > [ 56.907304] [<facb5000>] ? icmp_checkentry+0x0/0x14 [ip_tables]
> > [ 56.917255] [<c0183cd2>] ? sys_read+0x3b/0x60
> > [ 56.925094] [<c0106aec>] sysenter_past_esp+0x6d/0xc5
> > [ 56.935071] =======================
> > [ 56.945016] ---[ end trace 9ade9adb26b6da0a ]---
> >
> > Looking back, -rc3-mm1 did that too.
> > Mainline (-rc3 through -rc5) never did.
> > Let me know if you need more information.
> > CCing Dave Jones for cpufreq and Greg KH for sysdev.
>
> This implys that a cpufreq module is getting registered twice in the
> sysdev code :(

I'm wondering if the processor driver has registered something
that acpi_cpufreq is also trying to do. Cc'ing linux-acpi

Dave

--
http://www.codemonkey.org.uk

2008-03-13 20:14:30

by Tilman Schmidt

[permalink] [raw]
Subject: [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root

Am 11.03.2008 09:14 schrieb Andrew Morton:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/

I'm noticing a strange effect with this:

On my openSUSE 10.3 development machine with SUSEs default MTA
Postfix installed, I occasionally send a pre-formatted mail by
feeding it directly into "/usr/sbin/sendmail -t". If I try that
while running a 2.6.25-rc5-mm1 kernel, I get:

ts@xenon:~/kernel> /usr/sbin/sendmail -t < patch-usb-reduce-syslog-clutter-v3
postdrop: warning: can't open /proc/net/if_inet6 (Permission denied) - skipping IPv6 configuration
postdrop: fatal: parameter inet_interfaces: no local interface found for ::1
sendmail: warning: command "/usr/sbin/postdrop -r" exited with status 1
sendmail: fatal: ts(1000): unable to execute /usr/sbin/postdrop -r: Success
ts@xenon:~/kernel>

and unsurprisingly, the mail is not sent. If I do the same as root,
everything works as usual, there is no console output from the
sendmail command, and the mail goes out as it should. All other
networking applications appear to be running normally.

On a 2.6.25-rc5 (non-mm) kernel I do not need to run the sendmail
command as root. It works just as well if I run it as myself.

IPv6 is not in use on that machine. The Ethernet interface has
just the link local IPv6 address. Possibly relevant information:

ts@xenon:~> /sbin/ifconfig -a
eth0 Protokoll:Ethernet Hardware Adresse 00:19:D1:03:D8:FF
inet Adresse:192.168.59.102 Bcast:192.168.59.255 Maske:255.255.255.0
inet6 Adresse: fe80::219:d1ff:fe03:d8ff/64 G?ltigkeitsbereich:Verbindung
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:78 errors:0 dropped:0 overruns:0 frame:0
TX packets:145 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenl?nge:100
RX bytes:9547 (9.3 Kb) TX bytes:17952 (17.5 Kb)
Speicher:92c00000-92c20000

lo Protokoll:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6 Adresse: ::1/128 G?ltigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenl?nge:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

ts@xenon:~/kernel> ls -l /proc/net/if_inet6
-r--r--r-- 1 root root 0 13. M?r 19:26 /proc/net/if_inet6
ts@xenon:~> cat /proc/net/if_inet6
fe800000000000000219d1fffe03d8ff 02 40 20 80 eth0
00000000000000000000000000000001 01 80 10 80 lo
ts@xenon:~> uname -a
Linux xenon 2.6.25-rc5-mm1-testing #1 SMP PREEMPT Tue Mar 11 14:34:49 CET 2008 i686 i686 i386 GNU/Linux

As you see, I can cat /proc/net/if_inet6 as regular (non-root) user
just fine, even though Postfix complains it cannot access it.
The content of /proc/net/if_inet6 is identical if I cat it on
kernel 2.6.25-rc5 mainline.

CCing a selection of IPv6 networking related maintainer addresses.
If you need more information or want me to test something, let me
know.

HTH
T.

--
Tilman Schmidt E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Unge?ffnet mindestens haltbar bis: (siehe R?ckseite)


Attachments:
signature.asc (253.00 B)
OpenPGP digital signature

2008-03-13 20:36:26

by Greg KH

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] WARNING: at drivers/base/sys.c:173

On Thu, Mar 13, 2008 at 03:56:56PM -0400, Dave Jones wrote:
> On Thu, Mar 13, 2008 at 01:15:52AM +0100, Tilman Schmidt wrote:
> > Am 11.03.2008 09:14 schrieb Andrew Morton:
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
> >
> > Late during boot, this issues the following warning on my Pentium D,
> > apparently when trying to load an appropriate CPU frequency driver:
> >
> > [ 56.759128] ------------[ cut here ]------------
> > [ 56.765058] WARNING: at drivers/base/sys.c:173 sysdev_driver_register+0x34/0xce()
> > [ 56.776027] Modules linked in: acpi_cpufreq(+) speedstep_lib ip6table_filter ip6_tables x_tables ipv6 microcode firmware_class loop osst st sr_mod cdrom pata_acpi bas_gigaset snd_hda_intel gigaset isdn snd_pcm ata_generic<6>ip_tables: (C) 2000-2006 Netfilter Core Team
> > [ 56.785293] snd_timer aic7xxx slhc snd ohci1394 rtc_cmos ieee1394 shpchp crc_ccitt iTCO_wdt e1000e rtc_core iTCO_vendor_support soundcore scsi_transport_spi watchdog_core pci_hotplug intel_agp button thermal agpgart rtc_lib processor i2c_i801 watchdog_dev parport_pc i2c_core snd_page_alloc parport pata_marvell sg ext3 jbd mbcache linear sd_mod usbhid hid ff_memless ahci libata scsi_mod ehci_hcd uhci_hcd usbcore dm_snapshot dm_mod
> > [ 56.805358] Pid: 2856, comm: modprobe Not tainted 2.6.25-rc5-mm1-testing #1
> > [ 56.810766] [<c01272e9>] warn_on_slowpath+0x41/0x6d
> > [ 56.820628] [<c0230065>] ? acpi_ns_lookup+0x2b5/0x497
> > [ 56.830455] [<c0230e25>] ? acpi_evaluate_object+0x23e/0x249
> > [ 56.840414] [<c02ff809>] ? mutex_unlock+0x8/0xa
> > [ 56.848380] [<fa9fec1d>] ? acpi_processor_preregister_performance+0x4e6/0x4f1 [processor]
> > [ 56.858297] [<c0286438>] ? cpufreq_register_driver+0x42/0xfc
> > [ 56.868263] [<c026423d>] sysdev_driver_register+0x34/0xce
> > [ 56.877974] [<c0286476>] cpufreq_register_driver+0x80/0xfc
> > [ 56.887327] [<facde034>] acpi_cpufreq_init+0x34/0x3a [acpi_cpufreq]
> > [ 56.897290] [<c014ad7a>] sys_init_module+0x1816/0x1943
> > [ 56.907304] [<facb5000>] ? icmp_checkentry+0x0/0x14 [ip_tables]
> > [ 56.917255] [<c0183cd2>] ? sys_read+0x3b/0x60
> > [ 56.925094] [<c0106aec>] sysenter_past_esp+0x6d/0xc5
> > [ 56.935071] =======================
> > [ 56.945016] ---[ end trace 9ade9adb26b6da0a ]---
> >
> > Looking back, -rc3-mm1 did that too.
> > Mainline (-rc3 through -rc5) never did.
> > Let me know if you need more information.
> > CCing Dave Jones for cpufreq and Greg KH for sysdev.
>
> Full dmesg please, with CPU_FREQ_DEBUG=y, and boot with cpufreq.debug=7
> Greg, could that warning be enhanced to print the object->name ?

Sure, that would be simple to do. Will change it now, and should show
up in the next -mm.

thanks,

greg k-h

2008-03-13 20:47:14

by Dave Hansen

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot


On Thu, 2008-03-13 at 00:54 +0100, Tilman Schmidt wrote:
> Am 11.03.2008 09:14 schrieb Andrew Morton:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
>
> This still complains during startup:
>
> <6>[ 0.063442] Checking 'hlt' instruction... OK.
> <0>[ 0.068233] BUG: spinlock bad magic on CPU#0, swapper/0
> <0>[ 0.068996] lock: c2c19380, .magic: 00000000, .owner: swapper/0, .owner_cpu: 0
> <4>[ 0.069227] Pid: 0, comm: swapper Not tainted 2.6.25-rc5-mm1-testing #1
> <4>[ 0.069369] [spin_bug+124/135] spin_bug+0x7c/0x87
> <4>[ 0.069563] [_raw_spin_unlock+25/113] _raw_spin_unlock+0x19/0x71
> <4>[ 0.069752] [_spin_unlock+29/60] _spin_unlock+0x1d/0x3c
> <4>[ 0.069941] [mnt_want_write+98/136] mnt_want_write+0x62/0x88
> <4>[ 0.070131] [sys_mkdirat+134/214] sys_mkdirat+0x86/0xd6
> <4>[ 0.070322] [clean_path+22/74] ? clean_path+0x16/0x4a
> <4>[ 0.070558] [kfree+216/236] ? kfree+0xd8/0xec
> <4>[ 0.070793] [sys_mkdir+16/18] sys_mkdir+0x10/0x12
> <4>[ 0.070995] [do_name+274/435] do_name+0x112/0x1b3
> <4>[ 0.071184] [write_buffer+29/44] write_buffer+0x1d/0x2c
> <4>[ 0.071371] [flush_window+100/179] flush_window+0x64/0xb3
> <4>[ 0.071558] [unpack_to_rootfs+1580/2233] unpack_to_rootfs+0x62c/0x8b9
> <4>[ 0.071747] [populate_rootfs+32/265] populate_rootfs+0x20/0x109
> <4>[ 0.071995] [alternative_instructions+339/344] ? alternative_instructions+0x153/0x158
> <4>[ 0.072235] [start_kernel+835/853] start_kernel+0x343/0x355
> <4>[ 0.072422] [i386_start_kernel+8/10] i386_start_kernel+0x8/0xa
> <4>[ 0.072610] =======================
> <6>[ 0.072808] Unpacking initramfs... done
>
> System comes up fine, though. Not sure whom to CC.
> Machine's a dual-core Pentium D running a 32 bit kernel.
> Let me know if you want me to provide more information or test anything.

Hi Tim,

Could you send me your full dmesg along with your kernel .config? i
think this is an ordering issue in bootup, but I'd like to be sure.
Bonus points if I can also have your initrd. :)

-- Dave

2008-03-13 21:48:29

by Dave Hansen

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot


On Wed, 2008-03-12 at 17:04 -0700, Andrew Morton wrote:
> On Thu, 13 Mar 2008 00:54:43 +0100
> Tilman Schmidt <[email protected]> wrote:
>
> > Am 11.03.2008 09:14 schrieb Andrew Morton:
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
> >
> > This still complains during startup:
> >
> > <6>[ 0.063442] Checking 'hlt' instruction... OK.
> > <0>[ 0.068233] BUG: spinlock bad magic on CPU#0, swapper/0
> > <0>[ 0.068996] lock: c2c19380, .magic: 00000000, .owner: swapper/0, .owner_cpu: 0
> > <4>[ 0.069227] Pid: 0, comm: swapper Not tainted 2.6.25-rc5-mm1-testing #1
> > <4>[ 0.069369] [spin_bug+124/135] spin_bug+0x7c/0x87
> > <4>[ 0.069563] [_raw_spin_unlock+25/113] _raw_spin_unlock+0x19/0x71
> > <4>[ 0.069752] [_spin_unlock+29/60] _spin_unlock+0x1d/0x3c
> > <4>[ 0.069941] [mnt_want_write+98/136] mnt_want_write+0x62/0x88
> > <4>[ 0.070131] [sys_mkdirat+134/214] sys_mkdirat+0x86/0xd6
> > <4>[ 0.070322] [clean_path+22/74] ? clean_path+0x16/0x4a
> > <4>[ 0.070558] [kfree+216/236] ? kfree+0xd8/0xec
> > <4>[ 0.070793] [sys_mkdir+16/18] sys_mkdir+0x10/0x12
> > <4>[ 0.070995] [do_name+274/435] do_name+0x112/0x1b3
> > <4>[ 0.071184] [write_buffer+29/44] write_buffer+0x1d/0x2c
> > <4>[ 0.071371] [flush_window+100/179] flush_window+0x64/0xb3
> > <4>[ 0.071558] [unpack_to_rootfs+1580/2233] unpack_to_rootfs+0x62c/0x8b9
> > <4>[ 0.071747] [populate_rootfs+32/265] populate_rootfs+0x20/0x109
> > <4>[ 0.071995] [alternative_instructions+339/344] ? alternative_instructions+0x153/0x158
> > <4>[ 0.072235] [start_kernel+835/853] start_kernel+0x343/0x355
> > <4>[ 0.072422] [i386_start_kernel+8/10] i386_start_kernel+0x8/0xa
> > <4>[ 0.072610] =======================
> > <6>[ 0.072808] Unpacking initramfs... done
> >
> > System comes up fine, though. Not sure whom to CC.
>
> Dave, methinks.
>
> > Machine's a dual-core Pentium D running a 32 bit kernel.
> > Let me know if you want me to provide more information or test anything.

I'm really confused by this one. It looks to me like the initcalls got
all out of whack in their ordering. There's no way in hell that the
populate_rootfs() call should be happening right next to cpu
initialization:

> > <6>[ 0.063442] Checking 'hlt' instruction... OK.

If you can send me your vmlinux (not vmlinuz), I'll see how the
initcalls are laid out in it. What distro and compiler are you on?

-- Dave

2008-03-13 22:05:52

by Torsten Kaiser

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1

On Wed, Mar 12, 2008 at 9:01 PM, Torsten Kaiser
<[email protected]> wrote:
> On Wed, Mar 12, 2008 at 8:44 PM, Andrew Morton
> <[email protected]> wrote:
> > OK, so it looks like it died during networking initialisation.
> >
> > Could you please add initcall_debug to the boot command line so we can see
> > which function it is getting stuck in?
>
> Yes, here is the result:
> [ 2.573979] PCI-DMA: Disabling AGP.
> [ 2.577639] PCI-DMA: aperture base @ 8000000 size 65536 KB
> [ 2.589504] PCI-DMA: using GART IOMMU.
> [ 2.593258] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture
> [ 2.600132] initcall pci_iommu_init+0x0/0x20() returned 0 after 19 msecs
> [ 2.622146] calling hpet_late_init+0x0/0x140()
> [ 2.626689] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 31
> [ 2.633022] hpet0: 3 32-bit timers, 25000000 Hz
> [ 2.638562] initcall hpet_late_init+0x0/0x140() returned 0 after 9 msecs
> [ 2.654545] calling clocksource_done_booting+0x0/0x20()
> [ 2.659855] initcall clocksource_done_booting+0x0/0x20()<6>Time:
>
> hpet clocksource has been installed.
> [ 2.662185] returned 0 after 0 msecs
> [ 2.688448] calling init_pipe_fs+0x0/0x60()
> [ 2.695423] initcall init_pipe_fs+0x0/0x60() returned 0 after 0 msecs
> [ 2.705784] calling init_mnt_writers+0x0/0x70()
> [ 2.711681] initcall init_mnt_writers+0x0/0x70() returned 0 after 0 msecs
> [ 2.721678] calling eventpoll_init+0x0/0x90()
> [ 2.731644] initcall eventpoll_init+0x0/0x90() returned 0 after 0 msecs
> [ 2.738295] calling anon_inode_init+0x0/0x130()
> [ 2.751614] initcall anon_inode_init+0x0/0x130() returned 0 after 0 msecs
> [ 2.771585] calling pcie_aspm_init+0x0/0x30()
> [ 2.779297] initcall pcie_aspm_init+0x0/0x30() returned 0 after 2 msecs
> [ 2.793911] calling acpi_event_init+0x0/0x52()
>
> -> it looked like the system this time already hung here. But just
> pressing the 'Alt' key let the system continue until the network hang.
> (I tried this a second time, again it paused here until I pressed a key)
>
> [ 94.857929] initcall acpi_event_init+0x0/0x52() returned 0 after 29276 msecs
> [ 94.865002] calling pnp_system_init+0x0/0x20()
> [ 94.877935] system 00:06: ioport range 0x4d0-0x4d1 has been reserved
> [ 94.884286] system 00:06: ioport range 0x7b0-0x7df has been reserved
> [ 94.897886] system 00:06: ioport range 0x800-0x80f has been reserved
> [ 94.907886] system 00:06: ioport range 0xbb0-0xbdf has been reserved
> [ 94.917855] system 00:06: ioport range 0x2000-0x207f has been reserved
> [ 94.937827] system 00:06: ioport range 0x2080-0x20ff has been reserved
> [ 94.947827] system 00:06: ioport range 0x2400-0x247f has been reserved
> [ 94.957793] system 00:06: ioport range 0x2480-0x24ff has been reserved
> [ 94.977766] system 00:06: ioport range 0x2800-0x287f has been reserved
> [ 94.987766] system 00:06: ioport range 0x2880-0x28ff has been reserved
> [ 94.997734] system 00:06: ioport range 0x2c00-0x2c7f has been reserved
> [ 95.017708] system 00:06: ioport range 0x2c80-0x2cff has been reserved
> [ 95.024234] system 00:06: iomem range 0x0-0x0 could not be reserved
> [ 95.037678] system 00:06: iomem range 0xfee01000-0xfeefffff could
> not be reserved
> [ 95.060158] system 00:06: iomem range 0xefa80000-0xefabffff has been reserved
> [ 95.070158] system 00:06: iomem range 0xffb00000-0xffbfffff could
> not be reserved
> [ 95.077633] system 00:06: iomem range 0xfff00000-0xffffffff could
> not be reserved
> [ 95.097590] system 00:08: iomem range 0xfec00000-0xfec00fff could
> not be reserved
> [ 95.120064] system 00:08: iomem range 0xfee00000-0xfee00fff could
> not be reserved
> [ 95.130070] system 00:0c: ioport range 0x290-0x297 has been reserved
> [ 95.137523] system 00:0d: iomem range 0x0-0x9ffff could not be reserved
> [ 95.157495] system 00:0d: iomem range 0xc0000-0xcffff has been reserved
> [ 95.167495] system 00:0d: iomem range 0xe0000-0xfffff could not be reserved
> [ 95.177463] system 00:0d: iomem range 0x100000-0xdfffffff could not
> be reserved
> [ 95.197437] system 00:0d: iomem range 0xfec00000-0xffffffff could
> not be reserved
> [ 95.219983] initcall pnp_system_init+0x0/0x20() returned 0 after 162 msecs
> [ 95.226887] calling chr_dev_init+0x0/0xd0()
> [ 95.237813] initcall chr_dev_init+0x0/0xd0() returned 0 after 0 msecs
> [ 95.247378] calling firmware_class_init+0x0/0x90()
> [ 95.257320] initcall firmware_class_init+0x0/0x90() returned 0 after 0 msecs
> [ 95.276031] calling loopback_init+0x0/0x20()
> [ 95.288590] initcall loopback_init+0x0/0x20() returned 0 after 0 msecs
> [ 95.296837] calling cpufreq_gov_performance_init+0x0/0x20()
> [ 95.309084] initcall cpufreq_gov_performance_init+0x0/0x20()
> returned 0 after 0 msecs
> [ 95.317734] calling cpufreq_gov_dbs_init+0x0/0x50()
> [ 95.338090] initcall cpufreq_gov_dbs_init+0x0/0x50() returned 0 after 0 msecs
> [ 95.345254] calling init_acpi_pm_clocksource+0x0/0xc0()
> [ 95.355293] initcall init_acpi_pm_clocksource+0x0/0xc0() returned 0
> after 0 msecs
> [ 95.374115] calling pcibios_assign_resources+0x0/0x90()
> [ 95.379618] PCI: Bridge: 0000:00:06.0
> [ 95.394087] IO window: disabled.
> [ 95.397502] MEM window: 0xeff00000-0xefffffff
> [ 95.402032] PREFETCH window: 0x00000000eef00000-0x00000000eeffffff
> [ 95.415189] PCI: Bridge: 0000:00:0b.0
> [ 95.418860] IO window: e000-efff
> [ 95.438075] MEM window: 0xefe00000-0xefefffff
> [ 95.442610] PREFETCH window: disabled.
> [ 95.455526] PCI: Bridge: 0000:00:0c.0
> [ 95.459197] IO window: disabled.
> [ 95.462604] MEM window: 0xefd00000-0xefdfffff
> [ 95.475513] PREFETCH window: disabled.
> [ 95.479443] PCI: Bridge: 0000:00:0d.0
> [ 95.485512] IO window: disabled.
> [ 95.495480] MEM window: 0xefc00000-0xefcfffff
> [ 95.500010] PREFETCH window: disabled.
> [ 95.515455] PCI: Bridge: 0000:00:0f.0
> [ 95.519124] IO window: d000-dfff
> [ 95.522533] MEM window: 0xefb00000-0xefbfffff
> [ 95.535423] PREFETCH window: 0x00000000e0000000-0x00000000e7ffffff
> [ 95.545456] initcall pcibios_assign_resources+0x0/0x90() returned 0
> after 79 msecs
> [ 95.557830] calling fill_mp_bus_to_cpumask+0x0/0x100()
> [ 95.575408] initcall fill_mp_bus_to_cpumask+0x0/0x100() returned 0
> after 0 msecs
> [ 95.593777] calling inet_init+0x0/0x380()
> [ 95.597890] NET: Registered protocol family 2
>
> -> same hang, no reaction to SysRq.
>
> What looks suspicious: The call to pcie_aspm_init is just before the
> temporary hang. When I used make oldconfig to upgrade the .config from
> 2.6.25-rc3-mm1 to -rc5-mm1 I activated the new option CONFIG_PCIEASPM.
>
> I will try with CONFIG_PCIEASPM_DEBUG added and completely without this option.

CONFIG_PCIEASPM does not change anything.
Also testing the range of ipc patches you suggested to Badari did not fix it.

I did a bisect, these patches are currently remaining, but I dod not
have the time for more bisect steps until tomorrow:

git-scsi-misc
git-sh
execute-tasklets-in-the-same-order-they-were-queued
git-sched
sched: work around hrtick related lockup
sched: make sure jiffies is up to date before calling __update_rq_clock()
sched: fix rq->clock overflows detection with CONFIG_NO_HZ
sched: make cpu_clock() globally synchronous
sched: remove isolcpus
ftrace: make the task state char-string visible to all
sched: add latency tracer callbacks to the scheduler
latencytop: optimize LT_BACKTRACEDEPTH loops a bit
sched: cleanup old and rarely used 'debug' features.
[SCSI] zfcp: convert zfcp to use target reset and device reset handler
[SCSI] qla4xxx: Add target reset functionality
[SCSI] scsi_error: add target reset handler
[SCSI] ps3rom: Simplify fill_from_dev_buffer()
[SCSI] scsi_debug: use shost_priv macro
[SCSI] scsi_debug: remove unnecessary checking
[SCSI] scsi_debug: remove scsi_debug.h
[SCSI] scsi_debug: stop including drivers/scsi/scsi.h
[SCSI] Remove random noop unchecked_isa_dma users
[SCSI] aacraid: READ_CAPACITY_16 shouldn't trust allocation length in cdb
[SCSI] st: show options currently set in sysfs
[SCSI] st: add option to use SILI in variable block reads
[SCSI] gdth: remove command accessors
[SCSI] aic94xx: Use sas_request_addr() to provide SAS WWN if the
adapter lacks one
[SCSI] libsas: Provide a transport-level facility to request SAS addrs
[SCSI] ips: sg chaining support to the path to non I/O commands
[SCSI] gdth: convert to PCI hotplug API
[SCSI] gdth: PCI probe cleanups, prep for PCI hotplug API conversion
rtc: rtc-sh: Add support for periodic IRQs.
sh: SuperH KEYSC keypad data for Solution Engine 7722
sh: SuperH KEYSC keypad data for MigoR
sh: SuperH KEYSC platform driver

Torsten

2008-03-13 22:10:43

by Laurent Riffard

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1: "consolechars" hangs on boot

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.25-rc5-mm1
# Wed Mar 12 08:03:47 2008
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
# CONFIG_X86_64 is not set
CONFIG_X86=y
# CONFIG_GENERIC_LOCKBREAK is not set
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_FAST_CMPXCHG_LOCAL=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
CONFIG_QUICKLIST=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_HWEIGHT=y
# CONFIG_GENERIC_GPIO is not set
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
# CONFIG_GENERIC_TIME_VSYSCALL is not set
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
# CONFIG_ZONE_DMA32 is not set
CONFIG_ARCH_POPULATES_NODE_MAP=y
# CONFIG_AUDIT_ARCH is not set
CONFIG_ARCH_SUPPORTS_AOUT=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_KTIME_SCALAR=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
# CONFIG_IKCONFIG is not set
CONFIG_LOG_BUF_SHIFT=16
# CONFIG_CGROUPS is not set
CONFIG_GROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
# CONFIG_RT_GROUP_SCHED is not set
CONFIG_USER_SCHED=y
# CONFIG_CGROUP_SCHED is not set
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
# CONFIG_RELAY is not set
# CONFIG_NAMESPACES is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
CONFIG_EMBEDDED=y
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_SYSCTL_SYSCALL_CHECK=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
# CONFIG_COMPAT_BRK is not set
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_ANON_INODES=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set
CONFIG_PROFILING=y
# CONFIG_MARKERS is not set
CONFIG_OPROFILE=m
CONFIG_HAVE_OPROFILE=y
# CONFIG_KPROBES is not set
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y
CONFIG_BLOCK=y
# CONFIG_LBD is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set
# CONFIG_BLK_DEV_BSG is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_CFQ=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_NOOP=y
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_AS is not set
# CONFIG_DEFAULT_DEADLINE is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"
# CONFIG_CLASSIC_RCU is not set

#
# Processor type and features
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ=y
# CONFIG_HIGH_RES_TIMERS is not set
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
# CONFIG_SMP is not set
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_X86_RDC321X is not set
# CONFIG_X86_VSMP is not set
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
# CONFIG_PARAVIRT_GUEST is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
CONFIG_MK7=y
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_MVIAC7 is not set
# CONFIG_MPSC is not set
# CONFIG_MCORE2 is not set
# CONFIG_GENERIC_CPU is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_XADD=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_USE_3DNOW=y
CONFIG_X86_TSC=y
CONFIG_X86_CMOV=y
CONFIG_X86_MINIMUM_CPU_FAMILY=4
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_DMI=y
# CONFIG_IOMMU_HELPER is not set
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_RCU=y
CONFIG_RCU_TRACE=y
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=m
CONFIG_X86_MCE_P4THERMAL=y
CONFIG_VM86=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
CONFIG_X86_REBOOTFIXUPS=y
# CONFIG_MICROCODE is not set
CONFIG_X86_MSR=m
# CONFIG_X86_CPUID is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
CONFIG_VMSPLIT_3G=y
# CONFIG_VMSPLIT_3G_OPT is not set
# CONFIG_VMSPLIT_2G is not set
# CONFIG_VMSPLIT_2G_OPT is not set
# CONFIG_VMSPLIT_1G is not set
CONFIG_PAGE_OFFSET=0xC0000000
# CONFIG_X86_PAE is not set
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_SPARSEMEM_STATIC=y
# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not set
CONFIG_ZONE_DMA_FLAG=1
CONFIG_BOUNCE=y
CONFIG_NR_QUICK=1
CONFIG_VIRT_TO_BUS=y
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_EFI is not set
CONFIG_SECCOMP=y
# CONFIG_HZ_100 is not set
CONFIG_HZ_250=y
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=250
# CONFIG_SCHED_HRTICK is not set
CONFIG_KEXEC=y
CONFIG_PHYSICAL_START=0x100000
# CONFIG_RELOCATABLE is not set
CONFIG_PHYSICAL_ALIGN=0x100000
# CONFIG_COMPAT_VDSO is not set

#
# Power management options
#
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
# CONFIG_PM_DEBUG is not set
CONFIG_PM_SLEEP=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_HIBERNATION=y
CONFIG_PM_STD_PARTITION="/dev/hdb6"
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS is not set
CONFIG_ACPI_PROCFS_POWER=y
CONFIG_ACPI_SYSFS_POWER=y
CONFIG_ACPI_PROC_EVENT=y
CONFIG_ACPI_AC=m
# CONFIG_ACPI_BATTERY is not set
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
# CONFIG_ACPI_DOCK is not set
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_WMI is not set
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_CUSTOM_DSDT is not set
# CONFIG_ACPI_CUSTOM_DSDT_INITRD is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
CONFIG_ACPI_DEBUG=y
# CONFIG_ACPI_DEBUG_FUNC_TRACE is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
# CONFIG_ACPI_CONTAINER is not set
# CONFIG_ACPI_SBS is not set
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set
# CONFIG_CPU_IDLE is not set

#
# Bus options (PCI etc.)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_PCI_DOMAINS=y
# CONFIG_PCIEPORTBUS is not set
CONFIG_ARCH_SUPPORTS_MSI=y
# CONFIG_PCI_MSI is not set
# CONFIG_PCI_LEGACY is not set
# CONFIG_PCI_DEBUG is not set
CONFIG_HT_IRQ=y
CONFIG_ISA_DMA_API=y
CONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
# CONFIG_PCCARD is not set
# CONFIG_HOTPLUG_PCI is not set

#
# Executable file formats / Emulations
#
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_MISC=m

#
# Networking
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=m
# CONFIG_PACKET_MMAP is not set
CONFIG_UNIX=y
CONFIG_XFRM=y
CONFIG_XFRM_USER=m
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_XFRM_STATISTICS is not set
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_ASK_IP_FIB_HASH=y
# CONFIG_IP_FIB_TRIE is not set
CONFIG_IP_FIB_HASH=y
# CONFIG_IP_MULTIPLE_TABLES is not set
# CONFIG_IP_ROUTE_MULTIPATH is not set
CONFIG_IP_ROUTE_VERBOSE=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
CONFIG_SYN_COOKIES=y
CONFIG_INET_AH=m
CONFIG_INET_ESP=m
CONFIG_INET_IPCOMP=m
CONFIG_INET_XFRM_TUNNEL=m
CONFIG_INET_TUNNEL=m
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
CONFIG_INET_XFRM_MODE_BEET=m
# CONFIG_INET_LRO is not set
CONFIG_INET_DIAG=m
CONFIG_INET_TCP_DIAG=m
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
CONFIG_IPV6=m
# CONFIG_IPV6_PRIVACY is not set
# CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_IPV6_OPTIMISTIC_DAD is not set
# CONFIG_INET6_AH is not set
# CONFIG_INET6_ESP is not set
# CONFIG_INET6_IPCOMP is not set
# CONFIG_IPV6_MIP6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
CONFIG_INET6_XFRM_MODE_TRANSPORT=m
CONFIG_INET6_XFRM_MODE_TUNNEL=m
CONFIG_INET6_XFRM_MODE_BEET=m
# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
CONFIG_IPV6_SIT=m
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_IPV6_MULTIPLE_TABLES is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETFILTER is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_TIPC is not set
CONFIG_ATM=m
CONFIG_ATM_CLIP=m
# CONFIG_ATM_CLIP_NO_ICMP is not set
# CONFIG_ATM_LANE is not set
CONFIG_ATM_BR2684=m
# CONFIG_ATM_BR2684_IPFILTER is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
CONFIG_NET_SCHED=y

#
# Queueing/Scheduling
#
CONFIG_NET_SCH_CBQ=m
CONFIG_NET_SCH_HTB=m
CONFIG_NET_SCH_HFSC=m
# CONFIG_NET_SCH_ATM is not set
CONFIG_NET_SCH_PRIO=m
# CONFIG_NET_SCH_RR is not set
CONFIG_NET_SCH_RED=m
CONFIG_NET_SCH_SFQ=m
CONFIG_NET_SCH_TEQL=m
CONFIG_NET_SCH_TBF=m
CONFIG_NET_SCH_GRED=m
CONFIG_NET_SCH_DSMARK=m
# CONFIG_NET_SCH_NETEM is not set
CONFIG_NET_SCH_INGRESS=m

#
# Classification
#
CONFIG_NET_CLS=y
CONFIG_NET_CLS_BASIC=m
CONFIG_NET_CLS_TCINDEX=m
CONFIG_NET_CLS_ROUTE4=m
CONFIG_NET_CLS_ROUTE=y
CONFIG_NET_CLS_FW=m
CONFIG_NET_CLS_U32=m
CONFIG_CLS_U32_PERF=y
CONFIG_CLS_U32_MARK=y
CONFIG_NET_CLS_RSVP=m
# CONFIG_NET_CLS_RSVP6 is not set
# CONFIG_NET_CLS_FLOW is not set
# CONFIG_NET_EMATCH is not set
CONFIG_NET_CLS_ACT=y
CONFIG_NET_ACT_POLICE=y
# CONFIG_NET_ACT_GACT is not set
# CONFIG_NET_ACT_MIRRED is not set
# CONFIG_NET_ACT_NAT is not set
# CONFIG_NET_ACT_PEDIT is not set
# CONFIG_NET_ACT_SIMP is not set
# CONFIG_NET_CLS_IND is not set
CONFIG_NET_SCH_FIFO=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set

#
# Wireless
#
# CONFIG_CFG80211 is not set
# CONFIG_WIRELESS_EXT is not set
# CONFIG_MAC80211 is not set
# CONFIG_IEEE80211 is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=m
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_CONNECTOR is not set
# CONFIG_MTD is not set
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
# CONFIG_PARPORT_PC_FIFO is not set
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_AX88796 is not set
CONFIG_PARPORT_1284=y
CONFIG_PNP=y
# CONFIG_PNP_DEBUG is not set

#
# Protocols
#
# CONFIG_ISAPNP is not set
# CONFIG_PNPBIOS is not set
CONFIG_PNPACPI=y
CONFIG_BLK_DEV=y
CONFIG_BLK_DEV_FD=m
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_CRYPTOLOOP=m
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_UB is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=4096
# CONFIG_BLK_DEV_XIP is not set
CONFIG_CDROM_PKTCDVD=m
CONFIG_CDROM_PKTCDVD_BUFFERS=8
# CONFIG_CDROM_PKTCDVD_WCACHE is not set
# CONFIG_ATA_OVER_ETH is not set
# CONFIG_MISC_DEVICES is not set
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set

#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=m
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not set
CONFIG_SCSI_NETLINK=y
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=m
CONFIG_CHR_DEV_ST=m
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=m
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=m
# CONFIG_CHR_DEV_SCH is not set

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set
CONFIG_SCSI_WAIT_SCAN=m

#
# SCSI Transports
#
CONFIG_SCSI_SPI_ATTRS=m
CONFIG_SCSI_FC_ATTRS=m
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
# CONFIG_SCSI_LOWLEVEL is not set
CONFIG_ATA=m
# CONFIG_ATA_NONSTANDARD is not set
CONFIG_ATA_ACPI=y
# CONFIG_SATA_AHCI is not set
# CONFIG_SATA_SVW is not set
# CONFIG_ATA_PIIX is not set
# CONFIG_SATA_MV is not set
# CONFIG_SATA_NV is not set
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_SX4 is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIL24 is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not set
# CONFIG_SATA_VITESSE is not set
# CONFIG_SATA_INIC162X is not set
# CONFIG_PATA_ACPI is not set
# CONFIG_PATA_ALI is not set
# CONFIG_PATA_AMD is not set
# CONFIG_PATA_ARTOP is not set
# CONFIG_PATA_ATIIXP is not set
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CS5520 is not set
# CONFIG_PATA_CS5530 is not set
# CONFIG_PATA_CS5535 is not set
# CONFIG_PATA_CS5536 is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not set
CONFIG_ATA_GENERIC=m
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_JMICRON is not set
# CONFIG_PATA_LEGACY is not set
# CONFIG_PATA_TRIFLEX is not set
# CONFIG_PATA_MARVELL is not set
# CONFIG_PATA_MPIIX is not set
# CONFIG_PATA_OLDPIIX is not set
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NINJA32 is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_NS87415 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_OPTIDMA is not set
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_QDI is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RZ1000 is not set
# CONFIG_PATA_SC1200 is not set
# CONFIG_PATA_SERVERWORKS is not set
# CONFIG_PATA_PDC2027X is not set
# CONFIG_PATA_SIL680 is not set
# CONFIG_PATA_SIS is not set
CONFIG_PATA_VIA=m
# CONFIG_PATA_WINBOND is not set
# CONFIG_PATA_WINBOND_VLB is not set
CONFIG_PATA_PLATFORM=m
CONFIG_MD=y
CONFIG_BLK_DEV_MD=m
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
CONFIG_MD_RAID10=m
CONFIG_MD_RAID456=m
CONFIG_MD_RAID5_RESHAPE=y
# CONFIG_MD_MULTIPATH is not set
# CONFIG_MD_FAULTY is not set
CONFIG_BLK_DEV_DM=m
# CONFIG_DM_DEBUG is not set
CONFIG_DM_CRYPT=m
CONFIG_DM_SNAPSHOT=m
CONFIG_DM_MIRROR=m
# CONFIG_DM_ZERO is not set
# CONFIG_DM_MULTIPATH is not set
# CONFIG_DM_DELAY is not set
CONFIG_DM_UEVENT=y
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
CONFIG_FIREWIRE=m
CONFIG_FIREWIRE_OHCI=m
# CONFIG_FIREWIRE_SBP2 is not set
CONFIG_IEEE1394=m

#
# Subsystem Options
#
# CONFIG_IEEE1394_VERBOSEDEBUG is not set

#
# Controllers
#
# CONFIG_IEEE1394_PCILYNX is not set
CONFIG_IEEE1394_OHCI1394=m

#
# Protocols
#
CONFIG_IEEE1394_VIDEO1394=m
# CONFIG_IEEE1394_SBP2 is not set
# CONFIG_IEEE1394_ETH1394_ROM_ENTRY is not set
# CONFIG_IEEE1394_ETH1394 is not set
CONFIG_IEEE1394_DV1394=m
CONFIG_IEEE1394_RAWIO=m
# CONFIG_I2O is not set
# CONFIG_MACINTOSH_DRIVERS is not set
CONFIG_NETDEVICES=y
# CONFIG_NETDEVICES_MULTIQUEUE is not set
# CONFIG_IFB is not set
CONFIG_DUMMY=m
CONFIG_BONDING=m
# CONFIG_MACVLAN is not set
# CONFIG_EQUALIZER is not set
CONFIG_TUN=m
# CONFIG_VETH is not set
# CONFIG_NET_SB1000 is not set
# CONFIG_ARCNET is not set
# CONFIG_PHYLIB is not set
CONFIG_NET_ETHERNET=y
CONFIG_MII=m
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_CASSINI is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
# CONFIG_NET_TULIP is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
# CONFIG_IBM_NEW_EMAC_ZMII is not set
# CONFIG_IBM_NEW_EMAC_RGMII is not set
# CONFIG_IBM_NEW_EMAC_TAH is not set
# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_B44 is not set
# CONFIG_FORCEDETH is not set
# CONFIG_CS89x0 is not set
# CONFIG_EEPRO100 is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
CONFIG_NE2K_PCI=m
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_R6040 is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_SC92031 is not set
# CONFIG_NET_POCKET is not set
# CONFIG_NETDEV_1000 is not set
# CONFIG_NETDEV_10000 is not set
# CONFIG_TR is not set

#
# Wireless LAN
#
# CONFIG_WLAN_PRE80211 is not set
CONFIG_WLAN_80211=y
# CONFIG_IPW2100 is not set
# CONFIG_IPW2200 is not set
# CONFIG_LIBERTAS is not set
# CONFIG_AIRO is not set
# CONFIG_HERMES is not set
# CONFIG_ATMEL is not set
# CONFIG_PRISM54 is not set
# CONFIG_USB_ZD1201 is not set
# CONFIG_USB_NET_RNDIS_WLAN is not set
# CONFIG_HOSTAP is not set

#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_WAN is not set
# CONFIG_ATM_DRIVERS is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
CONFIG_PPP=m
# CONFIG_PPP_MULTILINK is not set
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=m
CONFIG_PPP_SYNC_TTY=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
# CONFIG_PPP_MPPE is not set
CONFIG_PPPOE=m
CONFIG_PPPOATM=m
# CONFIG_PPPOL2TP is not set
# CONFIG_SLIP is not set
CONFIG_SLHC=m
# CONFIG_NET_FC is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_ISDN is not set
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=m
CONFIG_INPUT_EVDEV=m
# CONFIG_INPUT_EVBUG is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_PS2_ALPS is not set
# CONFIG_MOUSE_PS2_LOGIPS2PP is not set
# CONFIG_MOUSE_PS2_SYNAPTICS is not set
# CONFIG_MOUSE_PS2_LIFEBOOK is not set
# CONFIG_MOUSE_PS2_TRACKPOINT is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
# CONFIG_MOUSE_PS2_ELANTECH is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_INPORT is not set
# CONFIG_MOUSE_LOGIBM is not set
# CONFIG_MOUSE_PC110PAD is not set
# CONFIG_MOUSE_VSXXXAA is not set
CONFIG_INPUT_JOYSTICK=y
CONFIG_JOYSTICK_ANALOG=m
# CONFIG_JOYSTICK_A3D is not set
# CONFIG_JOYSTICK_ADI is not set
# CONFIG_JOYSTICK_COBRA is not set
# CONFIG_JOYSTICK_GF2K is not set
# CONFIG_JOYSTICK_GRIP is not set
# CONFIG_JOYSTICK_GRIP_MP is not set
# CONFIG_JOYSTICK_GUILLEMOT is not set
# CONFIG_JOYSTICK_INTERACT is not set
# CONFIG_JOYSTICK_SIDEWINDER is not set
# CONFIG_JOYSTICK_TMDC is not set
# CONFIG_JOYSTICK_IFORCE is not set
# CONFIG_JOYSTICK_WARRIOR is not set
# CONFIG_JOYSTICK_MAGELLAN is not set
# CONFIG_JOYSTICK_SPACEORB is not set
# CONFIG_JOYSTICK_SPACEBALL is not set
# CONFIG_JOYSTICK_STINGER is not set
# CONFIG_JOYSTICK_TWIDJOY is not set
# CONFIG_JOYSTICK_DB9 is not set
# CONFIG_JOYSTICK_GAMECON is not set
# CONFIG_JOYSTICK_TURBOGRAFX is not set
# CONFIG_JOYSTICK_JOYDUMP is not set
# CONFIG_JOYSTICK_XPAD is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=m
# CONFIG_INPUT_WISTRON_BTNS is not set
# CONFIG_INPUT_ATLAS_BTNS is not set
# CONFIG_INPUT_ATI_REMOTE is not set
# CONFIG_INPUT_ATI_REMOTE2 is not set
# CONFIG_INPUT_KEYSPAN_REMOTE is not set
# CONFIG_INPUT_POWERMATE is not set
# CONFIG_INPUT_YEALINK is not set
CONFIG_INPUT_UINPUT=m

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
CONFIG_GAMEPORT=m
# CONFIG_GAMEPORT_NS558 is not set
# CONFIG_GAMEPORT_L4 is not set
# CONFIG_GAMEPORT_EMU10K1 is not set
# CONFIG_GAMEPORT_FM801 is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
CONFIG_VT_HW_CONSOLE_BINDING=y
CONFIG_DEVKMEM=y
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_NOZOMI is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=m
CONFIG_FIX_EARLYCON_MEM=y
# CONFIG_SERIAL_8250_PCI is not set
CONFIG_SERIAL_8250_PNP=m
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=m
# CONFIG_SERIAL_JSM is not set
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set
CONFIG_PRINTER=m
# CONFIG_LP_CONSOLE is not set
# CONFIG_PPDEV is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
CONFIG_RTC=m
# CONFIG_GEN_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set
# CONFIG_MWAVE is not set
# CONFIG_PC8736x_GPIO is not set
# CONFIG_NSC_GPIO is not set
# CONFIG_CS5535_GPIO is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HPET is not set
# CONFIG_HANGCHECK_TIMER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not set
CONFIG_DEVPORT=y
CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_CHARDEV=m
CONFIG_I2C_ALGOBIT=y

#
# I2C Hardware Bus support
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_ELEKTOR is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_I810 is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PARPORT is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_SCx200_ACB is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_TAOS_EVM is not set
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_TINY_USB is not set
CONFIG_I2C_VIA=m
CONFIG_I2C_VIAPRO=m
# CONFIG_I2C_VOODOO3 is not set
# CONFIG_I2C_PCA_ISA is not set

#
# Miscellaneous I2C Chip support
#
# CONFIG_DS1682 is not set
CONFIG_SENSORS_EEPROM=m
# CONFIG_SENSORS_PCF8574 is not set
# CONFIG_PCF8575 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_TPS65010 is not set
# CONFIG_SENSORS_MAX6875 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_CHIP is not set
# CONFIG_SPI is not set
# CONFIG_W1 is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_BATTERY_DS2760 is not set
CONFIG_HWMON=y
CONFIG_HWMON_VID=m
# CONFIG_SENSORS_ABITUGURU is not set
# CONFIG_SENSORS_ABITUGURU3 is not set
# CONFIG_SENSORS_AD7418 is not set
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1029 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_ADT7470 is not set
# CONFIG_SENSORS_ADT7473 is not set
# CONFIG_SENSORS_K8TEMP is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_I5K_AMB is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_F71882FG is not set
# CONFIG_SENSORS_F75375S is not set
# CONFIG_SENSORS_FSCHER is not set
# CONFIG_SENSORS_FSCPOS is not set
# CONFIG_SENSORS_FSCHMD is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_CORETEMP is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
CONFIG_SENSORS_LM80=m
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_LM93 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_MAX6650 is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_DME1737 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
# CONFIG_SENSORS_ADS7828 is not set
# CONFIG_SENSORS_THMC50 is not set
CONFIG_SENSORS_VIA686A=m
# CONFIG_SENSORS_VT1211 is not set
# CONFIG_SENSORS_VT8231 is not set
CONFIG_SENSORS_W83781D=m
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83L786NG is not set
# CONFIG_SENSORS_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_SENSORS_APPLESMC is not set
# CONFIG_HWMON_DEBUG_CHIP is not set
CONFIG_THERMAL=y
# CONFIG_WATCHDOG is not set

#
# Sonics Silicon Backplane
#
CONFIG_SSB_POSSIBLE=y
# CONFIG_SSB is not set

#
# Multifunction device drivers
#
# CONFIG_MFD_SM501 is not set

#
# Multimedia devices
#
CONFIG_VIDEO_DEV=m
CONFIG_VIDEO_V4L2_COMMON=m
CONFIG_VIDEO_V4L1=y
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_V4L2=y
CONFIG_VIDEO_CAPTURE_DRIVERS=y
# CONFIG_VIDEO_ADV_DEBUG is not set
CONFIG_VIDEO_HELPER_CHIPS_AUTO=y
# CONFIG_VIDEO_VIVI is not set
# CONFIG_VIDEO_BT848 is not set
# CONFIG_VIDEO_PMS is not set
# CONFIG_VIDEO_BWQCAM is not set
# CONFIG_VIDEO_CQCAM is not set
# CONFIG_VIDEO_W9966 is not set
# CONFIG_VIDEO_CPIA is not set
# CONFIG_VIDEO_CPIA2 is not set
# CONFIG_VIDEO_SAA5246A is not set
# CONFIG_VIDEO_SAA5249 is not set
# CONFIG_TUNER_3036 is not set
# CONFIG_VIDEO_STRADIS is not set
# CONFIG_VIDEO_ZORAN is not set
# CONFIG_VIDEO_SAA7134 is not set
# CONFIG_VIDEO_MXB is not set
# CONFIG_VIDEO_DPC is not set
# CONFIG_VIDEO_HEXIUM_ORION is not set
# CONFIG_VIDEO_HEXIUM_GEMINI is not set
# CONFIG_VIDEO_CX88 is not set
# CONFIG_VIDEO_IVTV is not set
# CONFIG_VIDEO_CAFE_CCIC is not set
CONFIG_V4L_USB_DRIVERS=y
# CONFIG_VIDEO_PVRUSB2 is not set
# CONFIG_VIDEO_EM28XX is not set
# CONFIG_VIDEO_USBVISION is not set
# CONFIG_USB_VICAM is not set
# CONFIG_USB_IBMCAM is not set
# CONFIG_USB_KONICAWC is not set
# CONFIG_USB_QUICKCAM_MESSENGER is not set
# CONFIG_USB_ET61X251 is not set
# CONFIG_VIDEO_OVCAMCHIP is not set
# CONFIG_USB_W9968CF is not set
# CONFIG_USB_OV511 is not set
# CONFIG_USB_SE401 is not set
# CONFIG_USB_SN9C102 is not set
# CONFIG_USB_STV680 is not set
# CONFIG_USB_ZC0301 is not set
# CONFIG_USB_PWC is not set
# CONFIG_USB_ZR364XX is not set
# CONFIG_USB_STKWEBCAM is not set
# CONFIG_SOC_CAMERA is not set
# CONFIG_RADIO_ADAPTERS is not set
# CONFIG_DVB_CORE is not set
# CONFIG_DAB is not set

#
# Graphics support
#
CONFIG_AGP=m
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
CONFIG_AGP_VIA=m
# CONFIG_AGP_EFFICEON is not set
CONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=m
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
CONFIG_FB=y
CONFIG_FIRMWARE_EDID=y
CONFIG_FB_DDC=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
CONFIG_FB_FOREIGN_ENDIAN=y
CONFIG_FB_BOTH_ENDIAN=y
# CONFIG_FB_BIG_ENDIAN is not set
# CONFIG_FB_LITTLE_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
CONFIG_FB_DEFERRED_IO=y
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
# CONFIG_FB_TILEBLITTING is not set

#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
# CONFIG_FB_EFI is not set
# CONFIG_FB_HECUBA is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I810 is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_INTEL is not set
# CONFIG_FB_MATROX is not set
CONFIG_FB_RADEON=y
CONFIG_FB_RADEON_I2C=y
# CONFIG_FB_RADEON_BACKLIGHT is not set
# CONFIG_FB_RADEON_DEBUG is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_CYBLA is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_VGACON_SOFT_SCROLLBACK is not set
CONFIG_VIDEO_SELECT=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y

#
# Sound
#
CONFIG_SOUND=m

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
CONFIG_SND_DYNAMIC_MINORS=y
# CONFIG_SND_SUPPORT_OLD_API is not set
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
CONFIG_SND_AC97_CODEC=m
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_MTS64 is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_PORTMAN2X4 is not set

#
# ISA devices
#
# CONFIG_SND_ADLIB is not set
# CONFIG_SND_AD1816A is not set
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_ALS100 is not set
# CONFIG_SND_AZT2320 is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_DT019X is not set
# CONFIG_SND_ES968 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_SC6000 is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_MIRO is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set
# CONFIG_SND_WAVEFRONT is not set

#
# PCI devices
#
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AW2 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_OXYGEN is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS5530 is not set
# CONFIG_SND_CS5535AUDIO is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
CONFIG_SND_ENS1371=m
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDA_INTEL is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_HIFIER is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SIS7019 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set
CONFIG_SND_AC97_POWER_SAVE=y
CONFIG_SND_AC97_POWER_SAVE_DEFAULT=0

#
# USB devices
#
CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_USX2Y is not set
# CONFIG_SND_USB_CAIAQ is not set

#
# System on Chip audio support
#
# CONFIG_SND_SOC is not set

#
# ALSA SoC audio for Freescale SOCs
#

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set
CONFIG_AC97_BUS=m
CONFIG_HID_SUPPORT=y
CONFIG_HID=m
# CONFIG_HID_DEBUG is not set
# CONFIG_HIDRAW is not set

#
# USB Input Devices
#
CONFIG_USB_HID=m
# CONFIG_USB_HIDINPUT_POWERBOOK is not set
# CONFIG_HID_FF is not set
# CONFIG_USB_HIDDEV is not set

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set
# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
CONFIG_USB_DEVICE_CLASS=y
CONFIG_USB_DYNAMIC_MINORS=y
CONFIG_USB_SUSPEND=y
# CONFIG_USB_OTG is not set
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_OTG_BLACKLIST_HUB is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_EHCI_ROOT_HUB_TT=y
# CONFIG_USB_EHCI_TT_NEWSCHED is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=m
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set

#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=m

#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
#

#
# may also be needed; see USB_STORAGE Help for more information
#
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_STORAGE_ALAUDA is not set
# CONFIG_USB_STORAGE_ONETOUCH is not set
# CONFIG_USB_STORAGE_KARMA is not set
# CONFIG_USB_LIBUSUAL is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_S2255 is not set
# CONFIG_USB_MON is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_BERRY_CHARGE is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGET is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_GOTEMP is not set
CONFIG_USB_ATM=m
# CONFIG_USB_SPEEDTOUCH is not set
# CONFIG_USB_CXACRU is not set
CONFIG_USB_UEAGLEATM=m
# CONFIG_USB_XUSBATM is not set
# CONFIG_USB_GADGET is not set
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_INFINIBAND is not set
CONFIG_EDAC=y

#
# Reporting subsystems
#
# CONFIG_EDAC_DEBUG is not set
CONFIG_EDAC_MM_EDAC=m
CONFIG_EDAC_AMD76X=m
# CONFIG_EDAC_E7XXX is not set
# CONFIG_EDAC_E752X is not set
# CONFIG_EDAC_I82875P is not set
# CONFIG_EDAC_I82975X is not set
# CONFIG_EDAC_I3000 is not set
# CONFIG_EDAC_I82860 is not set
# CONFIG_EDAC_R82600 is not set
# CONFIG_EDAC_I5000 is not set
# CONFIG_RTC_CLASS is not set
# CONFIG_DMADEVICES is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_UIO is not set

#
# Firmware Drivers
#
CONFIG_EDD=y
# CONFIG_EDD_OFF is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
CONFIG_DMIID=y

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
# CONFIG_EXT2_FS_POSIX_ACL is not set
# CONFIG_EXT2_FS_SECURITY is not set
CONFIG_EXT2_FS_XIP=y
CONFIG_FS_XIP=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISER4_FS=m
# CONFIG_REISER4_DEBUG is not set
CONFIG_REISERFS_FS=m
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
CONFIG_REISERFS_FS_XATTR=y
# CONFIG_REISERFS_FS_POSIX_ACL is not set
# CONFIG_REISERFS_FS_SECURITY is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
# CONFIG_OCFS2_FS is not set
CONFIG_DNOTIFY=y
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=m
# CONFIG_FUSE_FS is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
CONFIG_UDF_FS=m
CONFIG_UDF_NLS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=850
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_SYSCTL=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_CONFIGFS_FS=m

#
# Layered filesystems
#
CONFIG_ECRYPT_FS=m
# CONFIG_UNION_FS is not set

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
# CONFIG_NFS_FS is not set
# CONFIG_NFSD is not set
# CONFIG_SMB_FS is not set
CONFIG_CIFS=m
CONFIG_CIFS_STATS=y
# CONFIG_CIFS_STATS2 is not set
# CONFIG_CIFS_WEAK_PW_HASH is not set
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_EXPERIMENTAL is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
# CONFIG_EFI_PARTITION is not set
# CONFIG_SYSV68_PARTITION is not set
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=m
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=m
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ASCII=m
CONFIG_NLS_ISO8859_1=m
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=m
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=m
# CONFIG_DLM is not set

#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_PRINTK_TIME=y
CONFIG_ENABLE_WARN_DEPRECATED=y
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_MAGIC_SYSRQ=y
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_PAGE_OWNER is not set
CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not set
# CONFIG_DETECT_SOFTLOCKUP is not set
# CONFIG_SCHED_DEBUG is not set
# CONFIG_SCHEDSTATS is not set
# CONFIG_TIMER_STATS is not set
CONFIG_DEBUG_SLAB=y
CONFIG_DEBUG_SLAB_LEAK=y
CONFIG_DEBUG_PREEMPT=y
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_PROVE_LOCKING=y
CONFIG_LOCKDEP=y
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_LOCKDEP is not set
CONFIG_TRACE_IRQFLAGS=y
CONFIG_DEBUG_SPINLOCK_SLEEP=y
CONFIG_DEBUG_LOCKING_API_SELFTESTS=y
CONFIG_STACKTRACE=y
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_WRITECOUNT is not set
# CONFIG_DEBUG_LIST is not set
# CONFIG_DEBUG_SG is not set
CONFIG_FRAME_POINTER=y
# CONFIG_PROFILE_LIKELY is not set
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_DEBUG_SYNCHRO_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP is not set
# CONFIG_FIREWIRE_OHCI_REMOTE_DMA is not set
# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set
# CONFIG_SAMPLES is not set
# CONFIG_KGDB is not set
CONFIG_HAVE_ARCH_KGDB=y
CONFIG_EARLY_PRINTK=y
CONFIG_DEBUG_STACKOVERFLOW=y
CONFIG_DEBUG_STACK_USAGE=y
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_X86_PTDUMP is not set
CONFIG_DEBUG_RODATA=y
# CONFIG_DEBUG_RODATA_TEST is not set
# CONFIG_DEBUG_NX_TEST is not set
CONFIG_4KSTACKS=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y
CONFIG_DOUBLEFAULT=y
CONFIG_IO_DELAY_TYPE_0X80=0
CONFIG_IO_DELAY_TYPE_0XED=1
CONFIG_IO_DELAY_TYPE_UDELAY=2
CONFIG_IO_DELAY_TYPE_NONE=3
# CONFIG_IO_DELAY_0X80 is not set
CONFIG_IO_DELAY_0XED=y
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not set
CONFIG_DEFAULT_IO_DELAY_TYPE=1
# CONFIG_DEBUG_BOOT_PARAMS is not set
# CONFIG_CPA_DEBUG is not set

#
# Security options
#
CONFIG_KEYS=y
# CONFIG_KEYS_DEBUG_PROC_KEYS is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITY_FILE_CAPABILITIES is not set
CONFIG_XOR_BLOCKS=m
CONFIG_ASYNC_CORE=m
CONFIG_ASYNC_MEMCPY=m
CONFIG_ASYNC_XOR=m
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_AEAD=m
CONFIG_CRYPTO_BLKCIPHER=m
# CONFIG_CRYPTO_SEQIV is not set
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not set
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=m
CONFIG_CRYPTO_SHA256=m
CONFIG_CRYPTO_SHA512=m
# CONFIG_CRYPTO_WP512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_GF128MUL is not set
CONFIG_CRYPTO_ECB=m
CONFIG_CRYPTO_CBC=m
CONFIG_CRYPTO_PCBC=m
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_XTS is not set
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_CRYPTD is not set
CONFIG_CRYPTO_DES=m
# CONFIG_CRYPTO_FCRYPT is not set
CONFIG_CRYPTO_BLOWFISH=m
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_TWOFISH_586 is not set
# CONFIG_CRYPTO_SERPENT is not set
CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_AES_586=m
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_TEA is not set
CONFIG_CRYPTO_ARC4=m
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_ANUBIS is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SALSA20_586 is not set
CONFIG_CRYPTO_DEFLATE=m
CONFIG_CRYPTO_MICHAEL_MIC=m
CONFIG_CRYPTO_CRC32C=m
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_TEST is not set
CONFIG_CRYPTO_AUTHENC=m
CONFIG_CRYPTO_LZO=m
# CONFIG_CRYPTO_HW is not set
CONFIG_HAVE_KVM=y
# CONFIG_VIRTUALIZATION is not set

#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_CRC_CCITT=m
# CONFIG_CRC16 is not set
CONFIG_CRC_ITU_T=m
CONFIG_CRC32=y
# CONFIG_CRC7 is not set
CONFIG_LIBCRC32C=m
CONFIG_ZLIB_INFLATE=m
CONFIG_ZLIB_DEFLATE=m
CONFIG_LZO_COMPRESS=m
CONFIG_LZO_DECOMPRESS=m
CONFIG_PLIST=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y


Attachments:
config-2.6.25-rc5-mm1 (47.95 kB)

2008-03-13 22:23:33

by Daniel Lezcano

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root

Tilman Schmidt wrote:
> Am 11.03.2008 09:14 schrieb Andrew Morton:
>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
>
> I'm noticing a strange effect with this:
>
> On my openSUSE 10.3 development machine with SUSEs default MTA
> Postfix installed, I occasionally send a pre-formatted mail by
> feeding it directly into "/usr/sbin/sendmail -t". If I try that
> while running a 2.6.25-rc5-mm1 kernel, I get:
>
> ts@xenon:~/kernel> /usr/sbin/sendmail -t < patch-usb-reduce-syslog-clutter-v3
> postdrop: warning: can't open /proc/net/if_inet6 (Permission denied) - skipping IPv6 configuration
> postdrop: fatal: parameter inet_interfaces: no local interface found for ::1
> sendmail: warning: command "/usr/sbin/postdrop -r" exited with status 1
> sendmail: fatal: ts(1000): unable to execute /usr/sbin/postdrop -r: Success
> ts@xenon:~/kernel>
>
> and unsurprisingly, the mail is not sent. If I do the same as root,
> everything works as usual, there is no console output from the
> sendmail command, and the mail goes out as it should. All other
> networking applications appear to be running normally.
>
> On a 2.6.25-rc5 (non-mm) kernel I do not need to run the sendmail
> command as root. It works just as well if I run it as myself.
>
> IPv6 is not in use on that machine. The Ethernet interface has
> just the link local IPv6 address. Possibly relevant information:
>
> ts@xenon:~> /sbin/ifconfig -a
> eth0 Protokoll:Ethernet Hardware Adresse 00:19:D1:03:D8:FF
> inet Adresse:192.168.59.102 Bcast:192.168.59.255 Maske:255.255.255.0
> inet6 Adresse: fe80::219:d1ff:fe03:d8ff/64 G?ltigkeitsbereich:Verbindung
> UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:78 errors:0 dropped:0 overruns:0 frame:0
> TX packets:145 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 Sendewarteschlangenl?nge:100
> RX bytes:9547 (9.3 Kb) TX bytes:17952 (17.5 Kb)
> Speicher:92c00000-92c20000
>
> lo Protokoll:Lokale Schleife
> inet Adresse:127.0.0.1 Maske:255.0.0.0
> inet6 Adresse: ::1/128 G?ltigkeitsbereich:Maschine
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:2 errors:0 dropped:0 overruns:0 frame:0
> TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 Sendewarteschlangenl?nge:0
> RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)
>
> ts@xenon:~/kernel> ls -l /proc/net/if_inet6
> -r--r--r-- 1 root root 0 13. M?r 19:26 /proc/net/if_inet6
> ts@xenon:~> cat /proc/net/if_inet6
> fe800000000000000219d1fffe03d8ff 02 40 20 80 eth0
> 00000000000000000000000000000001 01 80 10 80 lo
> ts@xenon:~> uname -a
> Linux xenon 2.6.25-rc5-mm1-testing #1 SMP PREEMPT Tue Mar 11 14:34:49 CET 2008 i686 i686 i386 GNU/Linux
>
> As you see, I can cat /proc/net/if_inet6 as regular (non-root) user
> just fine, even though Postfix complains it cannot access it.
> The content of /proc/net/if_inet6 is identical if I cat it on
> kernel 2.6.25-rc5 mainline.
>
> CCing a selection of IPv6 networking related maintainer addresses.
> If you need more information or want me to test something, let me
> know.

Hi Tilman,

Is it possible to have your config file used to compile the kernel ?

2008-03-13 22:36:19

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1

On Thu, 13 Mar 2008 23:05:11 +0100
"Torsten Kaiser" <[email protected]> wrote:

> On Wed, Mar 12, 2008 at 9:01 PM, Torsten Kaiser
> <[email protected]> wrote:
> > On Wed, Mar 12, 2008 at 8:44 PM, Andrew Morton
> > <[email protected]> wrote:
> > > OK, so it looks like it died during networking initialisation.
> > >
> > > Could you please add initcall_debug to the boot command line so we can see
> > > which function it is getting stuck in?
> >
> > Yes, here is the result:
> > [ 2.573979] PCI-DMA: Disabling AGP.
> > [ 2.577639] PCI-DMA: aperture base @ 8000000 size 65536 KB
> > [ 2.589504] PCI-DMA: using GART IOMMU.
> > [ 2.593258] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture
> > [ 2.600132] initcall pci_iommu_init+0x0/0x20() returned 0 after 19 msecs
> > [ 2.622146] calling hpet_late_init+0x0/0x140()
> > [ 2.626689] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 31
> > [ 2.633022] hpet0: 3 32-bit timers, 25000000 Hz
> > [ 2.638562] initcall hpet_late_init+0x0/0x140() returned 0 after 9 msecs
> > [ 2.654545] calling clocksource_done_booting+0x0/0x20()
> > [ 2.659855] initcall clocksource_done_booting+0x0/0x20()<6>Time:
> >
> > hpet clocksource has been installed.
> > [ 2.662185] returned 0 after 0 msecs
> > [ 2.688448] calling init_pipe_fs+0x0/0x60()
> > [ 2.695423] initcall init_pipe_fs+0x0/0x60() returned 0 after 0 msecs
> > [ 2.705784] calling init_mnt_writers+0x0/0x70()
> > [ 2.711681] initcall init_mnt_writers+0x0/0x70() returned 0 after 0 msecs
> > [ 2.721678] calling eventpoll_init+0x0/0x90()
> > [ 2.731644] initcall eventpoll_init+0x0/0x90() returned 0 after 0 msecs
> > [ 2.738295] calling anon_inode_init+0x0/0x130()
> > [ 2.751614] initcall anon_inode_init+0x0/0x130() returned 0 after 0 msecs
> > [ 2.771585] calling pcie_aspm_init+0x0/0x30()
> > [ 2.779297] initcall pcie_aspm_init+0x0/0x30() returned 0 after 2 msecs
> > [ 2.793911] calling acpi_event_init+0x0/0x52()
> >
> > -> it looked like the system this time already hung here. But just
> > pressing the 'Alt' key let the system continue until the network hang.
> > (I tried this a second time, again it paused here until I pressed a key)
> >
> > [ 94.857929] initcall acpi_event_init+0x0/0x52() returned 0 after 29276 msecs
> > [ 94.865002] calling pnp_system_init+0x0/0x20()
> > [ 94.877935] system 00:06: ioport range 0x4d0-0x4d1 has been reserved
> > [ 94.884286] system 00:06: ioport range 0x7b0-0x7df has been reserved
> > [ 94.897886] system 00:06: ioport range 0x800-0x80f has been reserved
> > [ 94.907886] system 00:06: ioport range 0xbb0-0xbdf has been reserved
> > [ 94.917855] system 00:06: ioport range 0x2000-0x207f has been reserved
> > [ 94.937827] system 00:06: ioport range 0x2080-0x20ff has been reserved
> > [ 94.947827] system 00:06: ioport range 0x2400-0x247f has been reserved
> > [ 94.957793] system 00:06: ioport range 0x2480-0x24ff has been reserved
> > [ 94.977766] system 00:06: ioport range 0x2800-0x287f has been reserved
> > [ 94.987766] system 00:06: ioport range 0x2880-0x28ff has been reserved
> > [ 94.997734] system 00:06: ioport range 0x2c00-0x2c7f has been reserved
> > [ 95.017708] system 00:06: ioport range 0x2c80-0x2cff has been reserved
> > [ 95.024234] system 00:06: iomem range 0x0-0x0 could not be reserved
> > [ 95.037678] system 00:06: iomem range 0xfee01000-0xfeefffff could
> > not be reserved
> > [ 95.060158] system 00:06: iomem range 0xefa80000-0xefabffff has been reserved
> > [ 95.070158] system 00:06: iomem range 0xffb00000-0xffbfffff could
> > not be reserved
> > [ 95.077633] system 00:06: iomem range 0xfff00000-0xffffffff could
> > not be reserved
> > [ 95.097590] system 00:08: iomem range 0xfec00000-0xfec00fff could
> > not be reserved
> > [ 95.120064] system 00:08: iomem range 0xfee00000-0xfee00fff could
> > not be reserved
> > [ 95.130070] system 00:0c: ioport range 0x290-0x297 has been reserved
> > [ 95.137523] system 00:0d: iomem range 0x0-0x9ffff could not be reserved
> > [ 95.157495] system 00:0d: iomem range 0xc0000-0xcffff has been reserved
> > [ 95.167495] system 00:0d: iomem range 0xe0000-0xfffff could not be reserved
> > [ 95.177463] system 00:0d: iomem range 0x100000-0xdfffffff could not
> > be reserved
> > [ 95.197437] system 00:0d: iomem range 0xfec00000-0xffffffff could
> > not be reserved
> > [ 95.219983] initcall pnp_system_init+0x0/0x20() returned 0 after 162 msecs
> > [ 95.226887] calling chr_dev_init+0x0/0xd0()
> > [ 95.237813] initcall chr_dev_init+0x0/0xd0() returned 0 after 0 msecs
> > [ 95.247378] calling firmware_class_init+0x0/0x90()
> > [ 95.257320] initcall firmware_class_init+0x0/0x90() returned 0 after 0 msecs
> > [ 95.276031] calling loopback_init+0x0/0x20()
> > [ 95.288590] initcall loopback_init+0x0/0x20() returned 0 after 0 msecs
> > [ 95.296837] calling cpufreq_gov_performance_init+0x0/0x20()
> > [ 95.309084] initcall cpufreq_gov_performance_init+0x0/0x20()
> > returned 0 after 0 msecs
> > [ 95.317734] calling cpufreq_gov_dbs_init+0x0/0x50()
> > [ 95.338090] initcall cpufreq_gov_dbs_init+0x0/0x50() returned 0 after 0 msecs
> > [ 95.345254] calling init_acpi_pm_clocksource+0x0/0xc0()
> > [ 95.355293] initcall init_acpi_pm_clocksource+0x0/0xc0() returned 0
> > after 0 msecs
> > [ 95.374115] calling pcibios_assign_resources+0x0/0x90()
> > [ 95.379618] PCI: Bridge: 0000:00:06.0
> > [ 95.394087] IO window: disabled.
> > [ 95.397502] MEM window: 0xeff00000-0xefffffff
> > [ 95.402032] PREFETCH window: 0x00000000eef00000-0x00000000eeffffff
> > [ 95.415189] PCI: Bridge: 0000:00:0b.0
> > [ 95.418860] IO window: e000-efff
> > [ 95.438075] MEM window: 0xefe00000-0xefefffff
> > [ 95.442610] PREFETCH window: disabled.
> > [ 95.455526] PCI: Bridge: 0000:00:0c.0
> > [ 95.459197] IO window: disabled.
> > [ 95.462604] MEM window: 0xefd00000-0xefdfffff
> > [ 95.475513] PREFETCH window: disabled.
> > [ 95.479443] PCI: Bridge: 0000:00:0d.0
> > [ 95.485512] IO window: disabled.
> > [ 95.495480] MEM window: 0xefc00000-0xefcfffff
> > [ 95.500010] PREFETCH window: disabled.
> > [ 95.515455] PCI: Bridge: 0000:00:0f.0
> > [ 95.519124] IO window: d000-dfff
> > [ 95.522533] MEM window: 0xefb00000-0xefbfffff
> > [ 95.535423] PREFETCH window: 0x00000000e0000000-0x00000000e7ffffff
> > [ 95.545456] initcall pcibios_assign_resources+0x0/0x90() returned 0
> > after 79 msecs
> > [ 95.557830] calling fill_mp_bus_to_cpumask+0x0/0x100()
> > [ 95.575408] initcall fill_mp_bus_to_cpumask+0x0/0x100() returned 0
> > after 0 msecs
> > [ 95.593777] calling inet_init+0x0/0x380()
> > [ 95.597890] NET: Registered protocol family 2
> >
> > -> same hang, no reaction to SysRq.
> >
> > What looks suspicious: The call to pcie_aspm_init is just before the
> > temporary hang. When I used make oldconfig to upgrade the .config from
> > 2.6.25-rc3-mm1 to -rc5-mm1 I activated the new option CONFIG_PCIEASPM.
> >
> > I will try with CONFIG_PCIEASPM_DEBUG added and completely without this option.
>
> CONFIG_PCIEASPM does not change anything.
> Also testing the range of ipc patches you suggested to Badari did not fix it.
>
> I did a bisect, these patches are currently remaining, but I dod not
> have the time for more bisect steps until tomorrow:

OK, thanks for persisting.

> git-scsi-misc
> git-sh
> execute-tasklets-in-the-same-order-they-were-queued
> git-sched
> sched: work around hrtick related lockup
> sched: make sure jiffies is up to date before calling __update_rq_clock()
> sched: fix rq->clock overflows detection with CONFIG_NO_HZ
> sched: make cpu_clock() globally synchronous
> sched: remove isolcpus
> ftrace: make the task state char-string visible to all
> sched: add latency tracer callbacks to the scheduler

the sched patches, perhaps..

> latencytop: optimize LT_BACKTRACEDEPTH loops a bit
> sched: cleanup old and rarely used 'debug' features.
> [SCSI] zfcp: convert zfcp to use target reset and device reset handler
> [SCSI] qla4xxx: Add target reset functionality
> [SCSI] scsi_error: add target reset handler
> [SCSI] ps3rom: Simplify fill_from_dev_buffer()
> [SCSI] scsi_debug: use shost_priv macro
> [SCSI] scsi_debug: remove unnecessary checking
> [SCSI] scsi_debug: remove scsi_debug.h
> [SCSI] scsi_debug: stop including drivers/scsi/scsi.h
> [SCSI] Remove random noop unchecked_isa_dma users
> [SCSI] aacraid: READ_CAPACITY_16 shouldn't trust allocation length in cdb
> [SCSI] st: show options currently set in sysfs
> [SCSI] st: add option to use SILI in variable block reads
> [SCSI] gdth: remove command accessors
> [SCSI] aic94xx: Use sas_request_addr() to provide SAS WWN if the
> adapter lacks one
> [SCSI] libsas: Provide a transport-level facility to request SAS addrs
> [SCSI] ips: sg chaining support to the path to non I/O commands
> [SCSI] gdth: convert to PCI hotplug API
> [SCSI] gdth: PCI probe cleanups, prep for PCI hotplug API conversion
> rtc: rtc-sh: Add support for periodic IRQs.
> sh: SuperH KEYSC keypad data for Solution Engine 7722
> sh: SuperH KEYSC keypad data for MigoR
> sh: SuperH KEYSC platform driver
>

2008-03-13 22:40:38

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1: "consolechars" hangs on boot

On Thu, 13 Mar 2008 23:07:30 +0100
Laurent Riffard <[email protected]> wrote:

> Le 11.03.2008 09:14, Andrew Morton a __crit :
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
> >
>
> With 2.6.25-rc5-mm1, my system (Ubuntu 7.10/Gutsy) reliably hangs on
> boot. Sysrq-T shows 12 "consolechars" processes stuck in do_exit call.
>
> The bisection said "Sucker is
> patches/signals-send_signal-factor-out-signal_group_exit-checks.patch"
>
> Actually, it's 2.6.25-rc5-mm1 + add-warn_on_secs-macro-fix-fix.patch,
> I guess this patch is innocent.
>

Actually I later dropped
signals-send_signal-factor-out-signal_group_exit-checks.patch at Oleg's
request.

But I don't think we did that because it was known to be buggy, so perhaps
the same bug crept back in in another form..

2008-03-13 23:07:34

by Badari Pulavarty

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1

On Thu, 2008-03-13 at 15:35 -0700, Andrew Morton wrote:
> On Thu, 13 Mar 2008 23:05:11 +0100
> "Torsten Kaiser" <[email protected]> wrote:
>
> > On Wed, Mar 12, 2008 at 9:01 PM, Torsten Kaiser
> > <[email protected]> wrote:
> > > On Wed, Mar 12, 2008 at 8:44 PM, Andrew Morton
> > > <[email protected]> wrote:
> > > > OK, so it looks like it died during networking initialisation.
> > > >
> > > > Could you please add initcall_debug to the boot command line so we can see
> > > > which function it is getting stuck in?
> > >
> > > Yes, here is the result:
> > > [ 2.573979] PCI-DMA: Disabling AGP.
> > > [ 2.577639] PCI-DMA: aperture base @ 8000000 size 65536 KB
> > > [ 2.589504] PCI-DMA: using GART IOMMU.
> > > [ 2.593258] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture
> > > [ 2.600132] initcall pci_iommu_init+0x0/0x20() returned 0 after 19 msecs
> > > [ 2.622146] calling hpet_late_init+0x0/0x140()
> > > [ 2.626689] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 31
> > > [ 2.633022] hpet0: 3 32-bit timers, 25000000 Hz
> > > [ 2.638562] initcall hpet_late_init+0x0/0x140() returned 0 after 9 msecs
> > > [ 2.654545] calling clocksource_done_booting+0x0/0x20()
> > > [ 2.659855] initcall clocksource_done_booting+0x0/0x20()<6>Time:
> > >
> > > hpet clocksource has been installed.
> > > [ 2.662185] returned 0 after 0 msecs
> > > [ 2.688448] calling init_pipe_fs+0x0/0x60()
> > > [ 2.695423] initcall init_pipe_fs+0x0/0x60() returned 0 after 0 msecs
> > > [ 2.705784] calling init_mnt_writers+0x0/0x70()
> > > [ 2.711681] initcall init_mnt_writers+0x0/0x70() returned 0 after 0 msecs
> > > [ 2.721678] calling eventpoll_init+0x0/0x90()
> > > [ 2.731644] initcall eventpoll_init+0x0/0x90() returned 0 after 0 msecs
> > > [ 2.738295] calling anon_inode_init+0x0/0x130()
> > > [ 2.751614] initcall anon_inode_init+0x0/0x130() returned 0 after 0 msecs
> > > [ 2.771585] calling pcie_aspm_init+0x0/0x30()
> > > [ 2.779297] initcall pcie_aspm_init+0x0/0x30() returned 0 after 2 msecs
> > > [ 2.793911] calling acpi_event_init+0x0/0x52()
> > >
> > > -> it looked like the system this time already hung here. But just
> > > pressing the 'Alt' key let the system continue until the network hang.
> > > (I tried this a second time, again it paused here until I pressed a key)
> > >
> > > [ 94.857929] initcall acpi_event_init+0x0/0x52() returned 0 after 29276 msecs
> > > [ 94.865002] calling pnp_system_init+0x0/0x20()
> > > [ 94.877935] system 00:06: ioport range 0x4d0-0x4d1 has been reserved
> > > [ 94.884286] system 00:06: ioport range 0x7b0-0x7df has been reserved
> > > [ 94.897886] system 00:06: ioport range 0x800-0x80f has been reserved
> > > [ 94.907886] system 00:06: ioport range 0xbb0-0xbdf has been reserved
> > > [ 94.917855] system 00:06: ioport range 0x2000-0x207f has been reserved
> > > [ 94.937827] system 00:06: ioport range 0x2080-0x20ff has been reserved
> > > [ 94.947827] system 00:06: ioport range 0x2400-0x247f has been reserved
> > > [ 94.957793] system 00:06: ioport range 0x2480-0x24ff has been reserved
> > > [ 94.977766] system 00:06: ioport range 0x2800-0x287f has been reserved
> > > [ 94.987766] system 00:06: ioport range 0x2880-0x28ff has been reserved
> > > [ 94.997734] system 00:06: ioport range 0x2c00-0x2c7f has been reserved
> > > [ 95.017708] system 00:06: ioport range 0x2c80-0x2cff has been reserved
> > > [ 95.024234] system 00:06: iomem range 0x0-0x0 could not be reserved
> > > [ 95.037678] system 00:06: iomem range 0xfee01000-0xfeefffff could
> > > not be reserved
> > > [ 95.060158] system 00:06: iomem range 0xefa80000-0xefabffff has been reserved
> > > [ 95.070158] system 00:06: iomem range 0xffb00000-0xffbfffff could
> > > not be reserved
> > > [ 95.077633] system 00:06: iomem range 0xfff00000-0xffffffff could
> > > not be reserved
> > > [ 95.097590] system 00:08: iomem range 0xfec00000-0xfec00fff could
> > > not be reserved
> > > [ 95.120064] system 00:08: iomem range 0xfee00000-0xfee00fff could
> > > not be reserved
> > > [ 95.130070] system 00:0c: ioport range 0x290-0x297 has been reserved
> > > [ 95.137523] system 00:0d: iomem range 0x0-0x9ffff could not be reserved
> > > [ 95.157495] system 00:0d: iomem range 0xc0000-0xcffff has been reserved
> > > [ 95.167495] system 00:0d: iomem range 0xe0000-0xfffff could not be reserved
> > > [ 95.177463] system 00:0d: iomem range 0x100000-0xdfffffff could not
> > > be reserved
> > > [ 95.197437] system 00:0d: iomem range 0xfec00000-0xffffffff could
> > > not be reserved
> > > [ 95.219983] initcall pnp_system_init+0x0/0x20() returned 0 after 162 msecs
> > > [ 95.226887] calling chr_dev_init+0x0/0xd0()
> > > [ 95.237813] initcall chr_dev_init+0x0/0xd0() returned 0 after 0 msecs
> > > [ 95.247378] calling firmware_class_init+0x0/0x90()
> > > [ 95.257320] initcall firmware_class_init+0x0/0x90() returned 0 after 0 msecs
> > > [ 95.276031] calling loopback_init+0x0/0x20()
> > > [ 95.288590] initcall loopback_init+0x0/0x20() returned 0 after 0 msecs
> > > [ 95.296837] calling cpufreq_gov_performance_init+0x0/0x20()
> > > [ 95.309084] initcall cpufreq_gov_performance_init+0x0/0x20()
> > > returned 0 after 0 msecs
> > > [ 95.317734] calling cpufreq_gov_dbs_init+0x0/0x50()
> > > [ 95.338090] initcall cpufreq_gov_dbs_init+0x0/0x50() returned 0 after 0 msecs
> > > [ 95.345254] calling init_acpi_pm_clocksource+0x0/0xc0()
> > > [ 95.355293] initcall init_acpi_pm_clocksource+0x0/0xc0() returned 0
> > > after 0 msecs
> > > [ 95.374115] calling pcibios_assign_resources+0x0/0x90()
> > > [ 95.379618] PCI: Bridge: 0000:00:06.0
> > > [ 95.394087] IO window: disabled.
> > > [ 95.397502] MEM window: 0xeff00000-0xefffffff
> > > [ 95.402032] PREFETCH window: 0x00000000eef00000-0x00000000eeffffff
> > > [ 95.415189] PCI: Bridge: 0000:00:0b.0
> > > [ 95.418860] IO window: e000-efff
> > > [ 95.438075] MEM window: 0xefe00000-0xefefffff
> > > [ 95.442610] PREFETCH window: disabled.
> > > [ 95.455526] PCI: Bridge: 0000:00:0c.0
> > > [ 95.459197] IO window: disabled.
> > > [ 95.462604] MEM window: 0xefd00000-0xefdfffff
> > > [ 95.475513] PREFETCH window: disabled.
> > > [ 95.479443] PCI: Bridge: 0000:00:0d.0
> > > [ 95.485512] IO window: disabled.
> > > [ 95.495480] MEM window: 0xefc00000-0xefcfffff
> > > [ 95.500010] PREFETCH window: disabled.
> > > [ 95.515455] PCI: Bridge: 0000:00:0f.0
> > > [ 95.519124] IO window: d000-dfff
> > > [ 95.522533] MEM window: 0xefb00000-0xefbfffff
> > > [ 95.535423] PREFETCH window: 0x00000000e0000000-0x00000000e7ffffff
> > > [ 95.545456] initcall pcibios_assign_resources+0x0/0x90() returned 0
> > > after 79 msecs
> > > [ 95.557830] calling fill_mp_bus_to_cpumask+0x0/0x100()
> > > [ 95.575408] initcall fill_mp_bus_to_cpumask+0x0/0x100() returned 0
> > > after 0 msecs
> > > [ 95.593777] calling inet_init+0x0/0x380()
> > > [ 95.597890] NET: Registered protocol family 2
> > >
> > > -> same hang, no reaction to SysRq.
> > >
> > > What looks suspicious: The call to pcie_aspm_init is just before the
> > > temporary hang. When I used make oldconfig to upgrade the .config from
> > > 2.6.25-rc3-mm1 to -rc5-mm1 I activated the new option CONFIG_PCIEASPM.
> > >
> > > I will try with CONFIG_PCIEASPM_DEBUG added and completely without this option.
> >
> > CONFIG_PCIEASPM does not change anything.
> > Also testing the range of ipc patches you suggested to Badari did not fix it.
> >
> > I did a bisect, these patches are currently remaining, but I dod not
> > have the time for more bisect steps until tomorrow:
>
> OK, thanks for persisting.
>
> > git-scsi-misc
> > git-sh
> > execute-tasklets-in-the-same-order-they-were-queued
> > git-sched
> > sched: work around hrtick related lockup
> > sched: make sure jiffies is up to date before calling __update_rq_clock()
> > sched: fix rq->clock overflows detection with CONFIG_NO_HZ
> > sched: make cpu_clock() globally synchronous
> > sched: remove isolcpus
> > ftrace: make the task state char-string visible to all
> > sched: add latency tracer callbacks to the scheduler

Yes. I found the following patch to be the culprit.

sched: make sure jiffies is up to date before calling __update_rq_clock
()

Torsten, looking at your output, it looks like it hung at the same
place. Backing out this patch should help. Try it out. I am sure
you also have CONFIG_DETECT_SOFTLOCKUP=y in your config ?


commit 60befbc1c0b6d141c9c26e61ddd303aedd1e7396
Author: Guillaume Chazarain <[email protected]>
Date: Mon Mar 10 08:16:41 2008 +0100

sched: make sure jiffies is up to date before calling
__update_rq_clock()

Now that __update_rq_clock() uses jiffies to detect clock overflows,
make sure jiffies are up to date before touch_softlockup_watchdog().

Removed a touch_softlockup_watchdog() call becoming redundant with
the
added tick_nohz_update_jiffies().

Signed-off-by: Guillaume Chazarain <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>

diff --git a/kernel/sched.c b/kernel/sched.c
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -66,6 +66,7 @@
#include <linux/unistd.h>
#include <linux/pagemap.h>
#include <linux/hrtimer.h>
+#include <linux/tick.h>

#include <asm/tlb.h>
#include <asm/irq_regs.h>
@@ -913,7 +914,7 @@ void sched_clock_idle_wakeup_event(u64 delta_ns)
rq->prev_clock_raw = now;
rq->clock += delta_ns;
spin_unlock(&rq->lock);
- touch_softlockup_watchdog();
+ tick_nohz_update_jiffies();
}
EXPORT_SYMBOL_GPL(sched_clock_idle_wakeup_event);

Thanks,
Badari

2008-03-14 00:01:39

by Tilman Schmidt

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] WARNING: at drivers/base/sys.c:173

Am 13.03.2008 20:56 schrieb Dave Jones:

> > [ 56.759128] ------------[ cut here ]------------
> > [ 56.765058] WARNING: at drivers/base/sys.c:173 sysdev_driver_register+0x34/0xce()
> > [ 56.776027] Modules linked in: acpi_cpufreq(+) speedstep_lib ip6table_filter ip6_tables x_tables ipv6 microcode firmware_class loop osst st sr_mod cdrom pata_acpi bas_gigaset snd_hda_intel gigaset isdn snd_pcm ata_generic<6>ip_tables: (C) 2000-2006 Netfilter Core Team
> > [ 56.785293] snd_timer aic7xxx slhc snd ohci1394 rtc_cmos ieee1394 shpchp crc_ccitt iTCO_wdt e1000e rtc_core iTCO_vendor_support soundcore scsi_transport_spi watchdog_core pci_hotplug intel_agp button thermal agpgart rtc_lib processor i2c_i801 watchdog_dev parport_pc i2c_core snd_page_alloc parport pata_marvell sg ext3 jbd mbcache linear sd_mod usbhid hid ff_memless ahci libata scsi_mod ehci_hcd uhci_hcd usbcore dm_snapshot dm_mod
> > [ 56.805358] Pid: 2856, comm: modprobe Not tainted 2.6.25-rc5-mm1-testing #1
> > [ 56.810766] [<c01272e9>] warn_on_slowpath+0x41/0x6d
> > [ 56.820628] [<c0230065>] ? acpi_ns_lookup+0x2b5/0x497
> > [ 56.830455] [<c0230e25>] ? acpi_evaluate_object+0x23e/0x249
> > [ 56.840414] [<c02ff809>] ? mutex_unlock+0x8/0xa
> > [ 56.848380] [<fa9fec1d>] ? acpi_processor_preregister_performance+0x4e6/0x4f1 [processor]
> > [ 56.858297] [<c0286438>] ? cpufreq_register_driver+0x42/0xfc
> > [ 56.868263] [<c026423d>] sysdev_driver_register+0x34/0xce
> > [ 56.877974] [<c0286476>] cpufreq_register_driver+0x80/0xfc
> > [ 56.887327] [<facde034>] acpi_cpufreq_init+0x34/0x3a [acpi_cpufreq]
> > [ 56.897290] [<c014ad7a>] sys_init_module+0x1816/0x1943
> > [ 56.907304] [<facb5000>] ? icmp_checkentry+0x0/0x14 [ip_tables]
> > [ 56.917255] [<c0183cd2>] ? sys_read+0x3b/0x60
> > [ 56.925094] [<c0106aec>] sysenter_past_esp+0x6d/0xc5
> > [ 56.935071] =======================
> > [ 56.945016] ---[ end trace 9ade9adb26b6da0a ]---

> Full dmesg please, with CPU_FREQ_DEBUG=y, and boot with cpufreq.debug=7

You can find it at
http://gollum.phnxsoft.com/~ts/linux/dmesg.out
and the corresponding .config right beside it at
http://gollum.phnxsoft.com/~ts/linux/config-2.6.25-rc5-mm1

CCing linux-acpi as you did in your other mail.

HTH
T.

--
Tilman Schmidt E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Unge?ffnet mindestens haltbar bis: (siehe R?ckseite)


Attachments:
signature.asc (253.00 B)
OpenPGP digital signature

2008-03-14 00:08:32

by Tilman Schmidt

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root

Am 13.03.2008 23:21 schrieb Daniel Lezcano:
> Tilman Schmidt wrote:

>> ts@xenon:~/kernel> /usr/sbin/sendmail -t < patch-usb-reduce-syslog-clutter-v3
>> postdrop: warning: can't open /proc/net/if_inet6 (Permission denied) - skipping IPv6 configuration
>> postdrop: fatal: parameter inet_interfaces: no local interface found for ::1
>> sendmail: warning: command "/usr/sbin/postdrop -r" exited with status 1
>> sendmail: fatal: ts(1000): unable to execute /usr/sbin/postdrop -r: Success
>> ts@xenon:~/kernel>
>>
>> and unsurprisingly, the mail is not sent. If I do the same as root,
>> everything works as usual, there is no console output from the
>> sendmail command, and the mail goes out as it should. All other
>> networking applications appear to be running normally.

> Is it possible to have your config file used to compile the kernel ?

Sure. You can find it at
http://gollum.phnxsoft.com/~ts/linux/config-2.6.25-rc5-mm1

HTH
T.

--
Tilman Schmidt E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Unge?ffnet mindestens haltbar bis: (siehe R?ckseite)


Attachments:
signature.asc (253.00 B)
OpenPGP digital signature

2008-03-14 00:35:43

by Tilman Schmidt

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

Dave,

On 13.03.2008 21:46 you wrote:
> Could you send me your full dmesg along with your kernel .config? i
> think this is an ordering issue in bootup, but I'd like to be sure.
> Bonus points if I can also have your initrd. :)

And later:

> If you can send me your vmlinux (not vmlinuz), I'll see how the
> initcalls are laid out in it.

Ok, you asked for it. Find the lot at:

http://gollum.phnxsoft.com/~ts/linux/

I guess you know what to expect, sizewise. :-)

(Don't worry about the cpufreq.debug note, that's for a different issue.)

> What distro and compiler are you on?

openSUSE 10.3 and the toolchain it brought along, including GCC 4.2.1.

HTH
T.

--
Tilman Schmidt E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Unge?ffnet mindestens haltbar bis: (siehe R?ckseite)


Attachments:
signature.asc (253.00 B)
OpenPGP digital signature

2008-03-14 00:45:17

by Dave Jones

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] WARNING: at drivers/base/sys.c:173

On Fri, Mar 14, 2008 at 01:01:18AM +0100, Tilman Schmidt wrote:

> > Full dmesg please, with CPU_FREQ_DEBUG=y, and boot with cpufreq.debug=7
>
> You can find it at
> http://gollum.phnxsoft.com/~ts/linux/dmesg.out
> and the corresponding .config right beside it at
> http://gollum.phnxsoft.com/~ts/linux/config-2.6.25-rc5-mm1
>
> CCing linux-acpi as you did in your other mail.

The interesting bits..

[ 46.075145] cpufreq-core: trying to register driver centrino

here we've done sysdev_driver_register(&cpu_sysdev_class,&cpufreq_sysdev_driver);
(see cpufreq_register_driver in drivers/cpufreq/cpufreq.c)
This is the only place we register sysdev entries.

[ 46.075155] cpufreq-core: adding CPU 0
[ 46.075163] speedstep-centrino: found unsupported CPU with Enhanced SpeedStep: send /proc/cpuinfo to [email protected]
[ 46.075167] cpufreq-core: initialization failed

this ENODEVs

[ 46.075173] cpufreq-core: adding CPU 1
[ 46.075176] cpufreq-core: initialization failed

Same for the 2nd CPU.

[ 46.075180] cpufreq-core: no CPU initialized for driver centrino

here we hit this part of cpufreq_register_driver

/* if all ->init() calls failed, unregister */
if (ret) {
dprintk("no CPU initialized for driver %s\n",
driver_data->name);
sysdev_driver_unregister(&cpu_sysdev_class,
&cpufreq_sysdev_driver);


So we release all the refs.


[ 46.075185] cpufreq-core: unregistering CPU 0
[ 46.075190] cpufreq-core: unregistering CPU 1

These are the sysdev callbacks.

[ 46.429147] powernow: This module only works with AMD K7 CPUs
[ 47.081642] speedstep-lib: x86: f, model: 6
[ 47.081649] speedstep-ich: Intel(R) SpeedStep(TM) capable processor not found

These drivers don't even get as far as calling cpufreq_register_driver,
they ENODEV way before things get that far along.

[ 47.262236] acpi-cpufreq: acpi_cpufreq_init
[ 47.262242] acpi-cpufreq: acpi_cpufreq_early_init
[ 47.262262] cpufreq-core: trying to register driver acpi-cpufreq
[ 47.262272] ------------[ cut here ]------------
[ 47.267635] WARNING: at drivers/base/sys.c:173 sysdev_driver_register+0x34/0xce()

Boom. I'm really puzzled. At this point, we shouldn't have any leaked refs
on the objects. Needs more thinking.

Dave

--
http://www.codemonkey.org.uk

2008-03-14 01:06:11

by Zhao, Yakui

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] WARNING: at drivers/base/sys.c:173

On Fri, 2008-03-14 at 01:01 +0100, Tilman Schmidt wrote:
> Am 13.03.2008 20:56 schrieb Dave Jones:
>
> > > [ 56.759128] ------------[ cut here ]------------
> > > [ 56.765058] WARNING: at drivers/base/sys.c:173 sysdev_driver_register+0x34/0xce()
> > > [ 56.776027] Modules linked in: acpi_cpufreq(+) speedstep_lib ip6table_filter ip6_tables x_tables ipv6 microcode firmware_class loop osst st sr_mod cdrom pata_acpi bas_gigaset snd_hda_intel gigaset isdn snd_pcm ata_generic<6>ip_tables: (C) 2000-2006 Netfilter Core Team
> > > [ 56.785293] snd_timer aic7xxx slhc snd ohci1394 rtc_cmos ieee1394 shpchp crc_ccitt iTCO_wdt e1000e rtc_core iTCO_vendor_support soundcore scsi_transport_spi watchdog_core pci_hotplug intel_agp button thermal agpgart rtc_lib processor i2c_i801 watchdog_dev parport_pc i2c_core snd_page_alloc parport pata_marvell sg ext3 jbd mbcache linear sd_mod usbhid hid ff_memless ahci libata scsi_mod ehci_hcd uhci_hcd usbcore dm_snapshot dm_mod
> > > [ 56.805358] Pid: 2856, comm: modprobe Not tainted 2.6.25-rc5-mm1-testing #1
> > > [ 56.810766] [<c01272e9>] warn_on_slowpath+0x41/0x6d
> > > [ 56.820628] [<c0230065>] ? acpi_ns_lookup+0x2b5/0x497
> > > [ 56.830455] [<c0230e25>] ? acpi_evaluate_object+0x23e/0x249
> > > [ 56.840414] [<c02ff809>] ? mutex_unlock+0x8/0xa
> > > [ 56.848380] [<fa9fec1d>] ? acpi_processor_preregister_performance+0x4e6/0x4f1 [processor]
> > > [ 56.858297] [<c0286438>] ? cpufreq_register_driver+0x42/0xfc
> > > [ 56.868263] [<c026423d>] sysdev_driver_register+0x34/0xce
> > > [ 56.877974] [<c0286476>] cpufreq_register_driver+0x80/0xfc
> > > [ 56.887327] [<facde034>] acpi_cpufreq_init+0x34/0x3a [acpi_cpufreq]
> > > [ 56.897290] [<c014ad7a>] sys_init_module+0x1816/0x1943
> > > [ 56.907304] [<facb5000>] ? icmp_checkentry+0x0/0x14 [ip_tables]
> > > [ 56.917255] [<c0183cd2>] ? sys_read+0x3b/0x60
> > > [ 56.925094] [<c0106aec>] sysenter_past_esp+0x6d/0xc5
> > > [ 56.935071] =======================
> > > [ 56.945016] ---[ end trace 9ade9adb26b6da0a ]---
>
> > Full dmesg please, with CPU_FREQ_DEBUG=y, and boot with cpufreq.debug=7
>
> You can find it at
> http://gollum.phnxsoft.com/~ts/linux/dmesg.out
> and the corresponding .config right beside it at
> http://gollum.phnxsoft.com/~ts/linux/config-2.6.25-rc5-mm1
>
> CCing linux-acpi as you did in your other mail.

Please set CONFIG_ACPI_DEBUG and boot the system with the option of
"acpi.debug_layer=0x01010000 acpi.debug_level=0x1f".

It will be great if the acpidump output is attached.

Thanks.

> HTH
> T.
>

2008-03-14 05:26:36

by Oleg Nesterov

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1: "consolechars" hangs on boot

On 03/13, Andrew Morton wrote:
>
> On Thu, 13 Mar 2008 23:07:30 +0100
> Laurent Riffard <[email protected]> wrote:
>
> > Le 11.03.2008 09:14, Andrew Morton a __crit :
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
> > >
> >
> > With 2.6.25-rc5-mm1, my system (Ubuntu 7.10/Gutsy) reliably hangs on
> > boot. Sysrq-T shows 12 "consolechars" processes stuck in do_exit call.
> >
> > The bisection said "Sucker is
> > patches/signals-send_signal-factor-out-signal_group_exit-checks.patch"
> >
> > Actually, it's 2.6.25-rc5-mm1 + add-warn_on_secs-macro-fix-fix.patch,
> > I guess this patch is innocent.

Laurent, thanks a lot!

What was the state of consolechars? Where exactly did it hang? do_exit+??

> Actually I later dropped
> signals-send_signal-factor-out-signal_group_exit-checks.patch at Oleg's
> request.
>
> But I don't think we did that because it was known to be buggy, so perhaps
> the same bug crept back in in another form..

Yes, currently I suspect we have another bug.

And. While doing this patch I forgot we should fix the bugs with init first!
(will try to make the patch soon).

Laurent, any chance you can try 2.6.25-rc5-mm1 + the patch below?
Unlikely it can help, but would be great to be sure.

Oleg.

--- MM/kernel/signal.c~ 2008-03-14 08:08:07.000000000 +0300
+++ MM/kernel/signal.c 2008-03-14 08:08:17.000000000 +0300
@@ -719,6 +719,10 @@ static void complete_signal(int sig, str
/*
* This signal will be fatal to the whole group.
*/
+if (is_global_init(p)) {
+ printk(KERN_CRIT "ERR!! init is killed by %d\n", sig);
+ WARN_ON_ONCE(1);
+} else
if (!sig_kernel_coredump(sig)) {
/*
* Start a group exit and wake everybody up.

2008-03-14 09:59:16

by Tilman Schmidt

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] WARNING: at drivers/base/sys.c:173

On Fri, 14 Mar 2008 08:57:11 +0800, Zhao Yakui wrote:
> Please set CONFIG_ACPI_DEBUG and boot the system with the option of
> "acpi.debug_layer=0x01010000 acpi.debug_level=0x1f".

CONFIG_ACPI_DEBUG is already set, but I cannot reboot the machine
right now. I'll probably get a chance for that in about 12 hours.

> It will be great if the acpidump output is attached.

Available now at
http://gollum.phnxsoft.com/~ts/linux/acpidump.out

HTH
T.

--
Tilman Schmidt E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Unge?ffnet mindestens haltbar bis: (siehe R?ckseite)


Attachments:
signature.asc (250.00 B)
OpenPGP digital signature

2008-03-14 18:03:33

by Dave Hansen

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

On Fri, 2008-03-14 at 01:35 +0100, Tilman Schmidt wrote:
> On 13.03.2008 21:46 you wrote:
> > Could you send me your full dmesg along with your kernel .config? i
> > think this is an ordering issue in bootup, but I'd like to be sure.
> > Bonus points if I can also have your initrd. :)
>
> And later:
>
> > If you can send me your vmlinux (not vmlinuz), I'll see how the
> > initcalls are laid out in it.
>
> Ok, you asked for it. Find the lot at:
>
> http://gollum.phnxsoft.com/~ts/linux/
>
> I guess you know what to expect, sizewise. :-)
>
> (Don't worry about the cpufreq.debug note, that's for a different issue.)
>
> > What distro and compiler are you on?
>
> openSUSE 10.3 and the toolchain it brought along, including GCC 4.2.1.

Tim, thanks for the excellent debugging info. It's making this much
easier. I actually booted your vmlinux in a kvm image and I got the
same error. However, it is in a *completely* bogus place. Certainly
before initcalls get run and before the lock you saw the BUG_ON() for
got initialized.

I'm going to go try and find a gcc-4.2 and compile on that.

Andrew, I don't think this is an actual bug in the r/o bind mount code,
but a random, way early call to populate_rootfs(), somehow. I'll keep
looking into it, though.

Notice in the dmesg that this all happens even before the first initcall
is made? It isn't the SMP alternates freeing, at least. I booted this
on SMP, too, with the same results.

[ 0.074025] Intel machine check architecture supported.
[ 0.075013] Intel machine check reporting enabled on CPU#0.
[ 0.076010] Compat vDSO mapped to ffffe000.
[ 0.078030] Checking 'hlt' instruction... OK.
[ 0.083987] SMP alternatives: switching to UP code
[ 0.084023] Freeing SMP alternatives: 9k freed
[ 0.086006] BUG: spinlock bad magic on CPU#0, swapper/0
[ 0.087002] lock: c1754380, .magic: 00000000, .owner: swapper/0, .owner_cpu: 0
[ 0.088003] Pid: 0, comm: swapper Not tainted 2.6.25-rc5-mm1-testing #2
[ 0.089001] [<c01f728c>] spin_bug+0x7c/0x87
[ 0.091002] [<c01f72b0>] _raw_spin_unlock+0x19/0x71
[ 0.093001] [<c0301922>] _spin_unlock+0x1d/0x3c
[ 0.095001] [<c01981aa>] mnt_want_write+0x62/0x88
[ 0.097000] [<c018c382>] sys_mkdirat+0x86/0xd6
[ 0.098695] [<c04260ab>] ? clean_path+0x16/0x4a
[ 0.100000] [<c017fd6f>] ? kfree+0xd8/0xec
[ 0.101999] [<c018c3e2>] sys_mkdir+0x10/0x12
[ 0.103999] [<c0426353>] do_name+0x112/0x1b3
[ 0.104999] [<c042558b>] write_buffer+0x1d/0x2c
[ 0.106999] [<c04255fe>] flush_window+0x64/0xb3
[ 0.108998] [<c04272f5>] unpack_to_rootfs+0x62c/0x8b9
[ 0.111000] [<c0127d76>] ? printk+0x15/0x17
[ 0.112671] [<c0118982>] ? free_init_pages+0x82/0x8d
[ 0.113998] [<c04275a2>] populate_rootfs+0x20/0x109
[ 0.115997] [<c0429ed2>] ? alternative_instructions+0x153/0x158
[ 0.117997] [<c04248f5>] start_kernel+0x343/0x355
[ 0.119997] [<c0424019>] i386_start_kernel+0x8/0xa
[ 0.121996] =======================
[ 0.124073] Unpacking initramfs... done
[ 0.732294] Freeing initrd memory: 8767k freed
[ 0.732921] ACPI: Core revision 20070126
[ 0.734193] ACPI: Checking initramfs for custom DSDT
[ 0.736621] Parsing all Control Methods:
[ 0.737060] Table [DSDT](id 0001) - 170 Objects with 14 Devices 75 Methods 5 Regions
[ 0.737904] tbxface-0598 [00] tb_load_namespace : ACPI Tables successfully acquired
[ 0.740962] evxfevnt-0091 [00] enable : Transition to ACPI mode successful
[ 0.744478] CPU0: Intel QEMU Virtual CPU version 0.9.1 stepping 03
[ 0.750695] Total of 1 processors activated (5393.60 BogoMIPS).
[ 0.755342] ENABLING IO-APIC IRQs
[ 0.757878] ..TIMER: vector=0x31 apic1=0 pin1=0 apic2=-1 pin2=-1
[ 0.768883] Brought up 1 CPUs
[ 0.788092] CPU0 attaching sched-domain:
[ 0.788887] domain 0: span 01
[ 0.790183] groups: 01
[ 0.791974] PM: Adding info for No Bus:platform
[ 0.793050] khelper used greatest stack depth: 3236 bytes left
[ 0.796000] calling init_cpufreq_transition_notifier_list+0x0/0x18()
[ 0.797889] initcall init_cpufreq_transition_notifier_list+0x0/0x18() returned 0 after 0 msecs
[ 0.800889] calling net_ns_init+0x0/0xdc()
[ 0.801884] net_namespace: 620 bytes
[ 0.803889] initcall net_ns_init+0x0/0xdc() returned 0 after 1 msecs
[ 0.805896] calling cpufreq_tsc+0x0/0x11()


-- Dave

2008-03-14 20:06:39

by Dave Hansen

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

For those of you new to this thread, here's the initial report:

http://marc.info/?t=120536629300001&r=1&w=2

I'm pretty sure the root cause of this bug is this commit:

ACPI: basic initramfs DSDT override support
71fc47a9adf8ee89e5c96a47222915c5485ac437

Which did this hunk:

@@ -648,6 +654,7 @@ asmlinkage void __init start_kernel(void)

check_bugs();

+ populate_rootfs(); /* For DSDT override from initramfs
*/
acpi_early_init(); /* before LAPIC and SMP init */

/* Do the rest non-__init'ed, we're now alive */
rest_init();
...

Well, the fs initcalls aren't actually done until during rest_init(),
including initializing my mnt_writer[] spinlocks. I guess I could
statically initialize them, but that's not the root of the problem, it's
just the canary in the coal mine.

I think the populate_rootfs() call is completely bogus and certainly
can't be done before the initcalls. But, I don't immediately have any
better suggestions for you. Can you delay the ACPI init until after the
fs initcalls are made?

-- Dave

2008-03-14 20:22:02

by Linus Torvalds

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot



On Fri, 14 Mar 2008, Dave Hansen wrote:
>
> For those of you new to this thread, here's the initial report:
>
> http://marc.info/?t=120536629300001&r=1&w=2
>
> I'm pretty sure the root cause of this bug is this commit:
>
> ACPI: basic initramfs DSDT override support
> 71fc47a9adf8ee89e5c96a47222915c5485ac437

Time to just revert that one? It caused some other issues too, iirc.

Len?

Linus

2008-03-14 20:51:58

by Éric Piel

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

Dave Hansen wrote:
> For those of you new to this thread, here's the initial report:
>
> http://marc.info/?t=120536629300001&r=1&w=2
>
> I'm pretty sure the root cause of this bug is this commit:
>
> ACPI: basic initramfs DSDT override support
> 71fc47a9adf8ee89e5c96a47222915c5485ac437
>
> Which did this hunk:
>
> @@ -648,6 +654,7 @@ asmlinkage void __init start_kernel(void)
>
> check_bugs();
>
> + populate_rootfs(); /* For DSDT override from initramfs
> */
> acpi_early_init(); /* before LAPIC and SMP init */
>
> /* Do the rest non-__init'ed, we're now alive */
> rest_init();
> ...
>
> Well, the fs initcalls aren't actually done until during rest_init(),
> including initializing my mnt_writer[] spinlocks. I guess I could
> statically initialize them, but that's not the root of the problem, it's
> just the canary in the coal mine.
>
> I think the populate_rootfs() call is completely bogus and certainly
> can't be done before the initcalls. But, I don't immediately have any
> better suggestions for you. Can you delay the ACPI init until after the
> fs initcalls are made?
Hi,

I have made a patch to fix problems with regards to early userspace
calls (http://lkml.org/lkml/2008/2/23/306) but I don't think it will
solve this bug. So far I had not heard of problems with filesystem
initialization.

I'm not sure it would be possible to delay acpi_early_init() until after
the fs initcalls. Maybe Len knows. How about trying the opposite: what
is the barely minimum to initialize so that the rootfs can be populated
and read? Would it be possible to have a kind of
early_mnt_writer_initialize() that would do that?

See you,
Eric

2008-03-14 21:06:54

by Laurent Riffard

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1: "consolechars" hangs on boot

[ 0.000000] Linux version 2.6.25-rc5-mm1 (laurent@calimero) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #18 PREEMPT Fri Mar 14 21:41:35 CET 2008
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000001ffec000 (usable)
[ 0.000000] BIOS-e820: 000000001ffec000 - 000000001ffef000 (ACPI data)
[ 0.000000] BIOS-e820: 000000001ffef000 - 000000001ffff000 (reserved)
[ 0.000000] BIOS-e820: 000000001ffff000 - 0000000020000000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
[ 0.000000] 511MB LOWMEM available.
[ 0.000000] Scan SMP from c0000000 for 1024 bytes.
[ 0.000000] Scan SMP from c009fc00 for 1024 bytes.
[ 0.000000] Scan SMP from c00f0000 for 65536 bytes.
[ 0.000000] Scan SMP from c009fc00 for 1024 bytes.
[ 0.000000] Entering add_active_range(0, 0, 131052) 0 entries of 256 used
[ 0.000000] sizeof(struct page) = 32
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] Normal 4096 -> 131052
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0 -> 131052
[ 0.000000] On node 0 totalpages: 131052
[ 0.000000] Node 0 memmap at 0xc1000000 size 4194304 first pfn 0xc1000000
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 4064 pages, LIFO batch:0
[ 0.000000] Normal zone: 991 pages used for memmap
[ 0.000000] Normal zone: 125965 pages, LIFO batch:31
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] DMI 2.3 present.
[ 0.000000] ACPI: RSDP 000F6A80, 0014 (r0 ASUS )
[ 0.000000] ACPI: RSDT 1FFEC000, 002C (r1 ASUS A7V133-C 30303031 MSFT 31313031)
[ 0.000000] ACPI: FACP 1FFEC080, 0074 (r1 ASUS A7V133-C 30303031 MSFT 31313031)
[ 0.000000] ACPI: DSDT 1FFEC100, 2CE1 (r1 ASUS A7V133-C 1000 MSFT 100000B)
[ 0.000000] ACPI: FACS 1FFFF000, 0040
[ 0.000000] ACPI: BOOT 1FFEC040, 0028 (r1 ASUS A7V133-C 30303031 MSFT 31313031)
[ 0.000000] ACPI: PM-Timer IO Port: 0xe408
[ 0.000000] Allocating PCI resources starting at 30000000 (gap: 20000000:dfff0000)
[ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
[ 0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130029
[ 0.000000] Kernel command line: root=/dev/mapper/vglinux1-lv_ubuntu2 ro locale=fr_FR video=radeonfb:1280x1024@60 resume=/dev/mapper/vglinux1-lvswap
[ 0.000000] Local APIC disabled by BIOS -- you can enable it with "lapic"
[ 0.000000] mapped APIC to ffffb000 (01406000)
[ 0.000000] Enabling fast FPU save and restore... done.
[ 0.000000] Enabling unmasked SIMD FPU exception support... done.
[ 0.000000] Initializing CPU#0
[ 0.000000] Preemptible RCU implementation.
[ 0.000000] CPU 0 irqstacks, hard=c03c4000 soft=c03c3000
[ 0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes)
[ 0.000000] Detected 1410.227 MHz processor.
[ 0.004000] Console: colour VGA+ 80x25
[ 0.004000] console [tty0] enabled
[ 0.004000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 0.004000] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.004000] ... MAX_LOCK_DEPTH: 48
[ 0.004000] ... MAX_LOCKDEP_KEYS: 2048
[ 0.004000] ... CLASSHASH_SIZE: 1024
[ 0.004000] ... MAX_LOCKDEP_ENTRIES: 8192
[ 0.004000] ... MAX_LOCKDEP_CHAINS: 16384
[ 0.004000] ... CHAINHASH_SIZE: 8192
[ 0.004000] memory used by lock dependency info: 992 kB
[ 0.004000] per task-struct memory footprint: 1920 bytes
[ 0.004000] ------------------------
[ 0.004000] | Locking API testsuite:
[ 0.004000] ----------------------------------------------------------------------------
[ 0.004000] | spin |wlock |rlock |mutex | wsem | rsem |
[ 0.004000] --------------------------------------------------------------------------
[ 0.004000] A-A deadlock: ok | ok | ok | ok | ok | ok |
[ 0.004000] A-B-B-A deadlock: ok | ok | ok | ok | ok | ok |
[ 0.004000] A-B-B-C-C-A deadlock: ok | ok | ok | ok | ok | ok |
[ 0.004000] A-B-C-A-B-C deadlock: ok | ok | ok | ok | ok | ok |
[ 0.004000] A-B-B-C-C-D-D-A deadlock: ok | ok | ok | ok | ok | ok |
[ 0.004000] A-B-C-D-B-D-D-A deadlock: ok | ok | ok | ok | ok | ok |
[ 0.004000] A-B-C-D-B-C-D-A deadlock: ok | ok | ok | ok | ok | ok |
[ 0.004000] double unlock: ok | ok | ok | ok | ok | ok |
[ 0.004000] initialize held: ok | ok | ok | ok | ok | ok |
[ 0.004000] bad unlock order: ok | ok | ok | ok | ok | ok |
[ 0.004000] --------------------------------------------------------------------------
[ 0.004000] recursive read-lock: | ok | | ok |
[ 0.004000] recursive read-lock #2: | ok | | ok |
[ 0.004000] mixed read-write-lock: | ok | | ok |
[ 0.004000] mixed write-read-lock: | ok | | ok |
[ 0.004000] --------------------------------------------------------------------------
[ 0.004000] hard-irqs-on + irq-safe-A/12: ok | ok | ok |
[ 0.004000] soft-irqs-on + irq-safe-A/12: ok | ok | ok |
[ 0.004000] hard-irqs-on + irq-safe-A/21: ok | ok | ok |
[ 0.004000] soft-irqs-on + irq-safe-A/21: ok | ok | ok |
[ 0.004000] sirq-safe-A => hirqs-on/12: ok | ok | ok |
[ 0.004000] sirq-safe-A => hirqs-on/21: ok | ok | ok |
[ 0.004000] hard-safe-A + irqs-on/12: ok | ok | ok |
[ 0.004000] soft-safe-A + irqs-on/12: ok | ok | ok |
[ 0.004000] hard-safe-A + irqs-on/21: ok | ok | ok |
[ 0.004000] soft-safe-A + irqs-on/21: ok | ok | ok |
[ 0.004000] hard-safe-A + unsafe-B #1/123: ok | ok | ok |
[ 0.004000] soft-safe-A + unsafe-B #1/123: ok | ok | ok |
[ 0.004000] hard-safe-A + unsafe-B #1/132: ok | ok | ok |
[ 0.004000] soft-safe-A + unsafe-B #1/132: ok | ok | ok |
[ 0.004000] hard-safe-A + unsafe-B #1/213: ok | ok | ok |
[ 0.004000] soft-safe-A + unsafe-B #1/213: ok | ok | ok |
[ 0.004000] hard-safe-A + unsafe-B #1/231: ok | ok | ok |
[ 0.004000] soft-safe-A + unsafe-B #1/231: ok | ok | ok |
[ 0.004000] hard-safe-A + unsafe-B #1/312: ok | ok | ok |
[ 0.004000] soft-safe-A + unsafe-B #1/312: ok | ok | ok |
[ 0.004000] hard-safe-A + unsafe-B #1/321: ok | ok | ok |
[ 0.004000] soft-safe-A + unsafe-B #1/321: ok | ok | ok |
[ 0.004000] hard-safe-A + unsafe-B #2/123: ok | ok | ok |
[ 0.004000] soft-safe-A + unsafe-B #2/123: ok | ok | ok |
[ 0.004000] hard-safe-A + unsafe-B #2/132: ok | ok | ok |
[ 0.004000] soft-safe-A + unsafe-B #2/132: ok | ok | ok |
[ 0.004000] hard-safe-A + unsafe-B #2/213: ok | ok | ok |
[ 0.004000] soft-safe-A + unsafe-B #2/213: ok | ok | ok |
[ 0.004000] hard-safe-A + unsafe-B #2/231: ok | ok | ok |
[ 0.004000] soft-safe-A + unsafe-B #2/231: ok | ok | ok |
[ 0.004000] hard-safe-A + unsafe-B #2/312: ok | ok | ok |
[ 0.004000] soft-safe-A + unsafe-B #2/312: ok | ok | ok |
[ 0.004000] hard-safe-A + unsafe-B #2/321: ok | ok | ok |
[ 0.004000] soft-safe-A + unsafe-B #2/321: ok | ok | ok |
[ 0.004000] hard-irq lock-inversion/123: ok | ok | ok |
[ 0.004000] soft-irq lock-inversion/123: ok | ok | ok |
[ 0.004000] hard-irq lock-inversion/132: ok | ok | ok |
[ 0.004000] soft-irq lock-inversion/132: ok | ok | ok |
[ 0.004000] hard-irq lock-inversion/213: ok | ok | ok |
[ 0.004000] soft-irq lock-inversion/213: ok | ok | ok |
[ 0.004000] hard-irq lock-inversion/231: ok | ok | ok |
[ 0.004000] soft-irq lock-inversion/231: ok | ok | ok |
[ 0.004000] hard-irq lock-inversion/312: ok | ok | ok |
[ 0.004000] soft-irq lock-inversion/312: ok | ok | ok |
[ 0.004000] hard-irq lock-inversion/321: ok | ok | ok |
[ 0.004000] soft-irq lock-inversion/321: ok | ok | ok |
[ 0.004000] hard-irq read-recursion/123: ok |
[ 0.004000] soft-irq read-recursion/123: ok |
[ 0.004000] hard-irq read-recursion/132: ok |
[ 0.004000] soft-irq read-recursion/132: ok |
[ 0.004000] hard-irq read-recursion/213: ok |
[ 0.004000] soft-irq read-recursion/213: ok |
[ 0.004000] hard-irq read-recursion/231: ok |
[ 0.004000] soft-irq read-recursion/231: ok |
[ 0.004000] hard-irq read-recursion/312: ok |
[ 0.004000] soft-irq read-recursion/312: ok |
[ 0.004000] hard-irq read-recursion/321: ok |
[ 0.004000] soft-irq read-recursion/321: ok |
[ 0.004000] -------------------------------------------------------
[ 0.004000] Good, all 218 testcases passed! |
[ 0.004000] ---------------------------------
[ 0.004000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.004000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.004000] Memory: 510720k/524208k available (1723k kernel code, 12920k reserved, 895k data, 192k init, 0k highmem)
[ 0.004000] virtual kernel memory layout:
[ 0.004000] fixmap : 0xfffb5000 - 0xfffff000 ( 296 kB)
[ 0.004000] vmalloc : 0xe0800000 - 0xfffb3000 ( 503 MB)
[ 0.004000] lowmem : 0xc0000000 - 0xdffec000 ( 511 MB)
[ 0.004000] .init : 0xc0390000 - 0xc03c0000 ( 192 kB)
[ 0.004000] .data : 0xc02aee60 - 0xc038eca0 ( 895 kB)
[ 0.004000] .text : 0xc0100000 - 0xc02aee60 (1723 kB)
[ 0.004000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 0.004000] CPA: page pool initialized 1 of 1 pages preallocated
[ 0.084010] Calibrating delay using timer specific routine.. 2824.51 BogoMIPS (lpj=5649035)
[ 0.084406] Mount-cache hash table entries: 512
[ 0.085740] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 0.085808] CPU: L2 Cache: 256K (64 bytes/line)
[ 0.085867] Intel machine check architecture supported.
[ 0.085927] Intel machine check reporting enabled on CPU#0.
[ 0.085993] Compat vDSO mapped to ffffe000.
[ 0.086056] CPU: AMD Athlon(TM) XP 1600+ stepping 02
[ 0.086189] Checking 'hlt' instruction... OK.
[ 0.100255] Freeing SMP alternatives: 0k freed
[ 0.100313] ACPI: Core revision 20070126
[ 0.100435] INFO: trying to register non-static key.
[ 0.100494] the code is fine but needs lockdep annotation.
[ 0.100554] turning off the locking correctness validator.
[ 0.100616] Pid: 0, comm: swapper Not tainted 2.6.25-rc5-mm1 #18
[ 0.100680] [<c0132021>] __lock_acquire+0x13d/0xac0
[ 0.100783] [<c01d9c47>] ? __spin_lock_init+0x27/0x51
[ 0.100920] [<c0158b5c>] ? cache_alloc_debugcheck_after+0xe9/0x165
[ 0.101061] [<c0159e1b>] ? kmem_cache_alloc+0x81/0xcf
[ 0.101537] [<c0132d04>] lock_acquire+0x4c/0x67
[ 0.101631] [<c012b378>] ? down_trylock+0xc/0x27
[ 0.101764] [<c02adc7f>] _spin_lock_irqsave+0x2c/0x3c
[ 0.101866] [<c012b378>] ? down_trylock+0xc/0x27
[ 0.101995] [<c012b378>] down_trylock+0xc/0x27
[ 0.102089] [<c01fdd69>] acpi_os_wait_semaphore+0x70/0x14b
[ 0.102190] [<c0218b0f>] acpi_ut_acquire_mutex+0x64/0xd1
[ 0.102292] [<c020e7f9>] acpi_ns_root_initialize+0x1a/0x279
[ 0.102393] [<c0218aa4>] ? acpi_ut_mutex_initialize+0x75/0x7c
[ 0.102527] [<c03a3dea>] acpi_initialize_subsystem+0x47/0x6a
[ 0.102625] [<c03a4079>] acpi_early_init+0x57/0xf8
[ 0.102719] [<c03909a4>] start_kernel+0x254/0x25e
[ 0.102816] [<c039029d>] i386_start_kernel+0x8/0xa
[ 0.102916] =======================
[ 0.112671] Parsing all Control Methods:
[ 0.112976] Table [DSDT](id 0001) - 356 Objects with 38 Devices 115 Methods 24 Regions
[ 0.113092] tbxface-0598 [00] tb_load_namespace : ACPI Tables successfully acquired
[ 0.113243] ACPI: setting ELCR to 0200 (from 0820)
[ 0.113399] evxfevnt-0091 [00] enable : Transition to ACPI mode successful
[ 0.114291] khelper used greatest stack depth: 3252 bytes left
[ 0.114739] net_namespace: 300 bytes
[ 0.115389] NET: Registered protocol family 16
[ 0.116689] ACPI: bus type pci registered
[ 0.116912] khelper used greatest stack depth: 3156 bytes left
[ 0.119498] PCI: PCI BIOS revision 2.10 entry at 0xf1180, last bus=1
[ 0.119562] PCI: Using configuration type 1
[ 0.119618] Setting up standard PCI resources
[ 0.129006] khelper used greatest stack depth: 3124 bytes left
[ 0.133951] evgpeblk-0956 [00] ev_create_gpe_block : GPE 00 to 0F [_GPE] 2 regs on int 0x9
[ 0.136703] evgpeblk-1052 [00] ev_initialize_gpe_bloc: Found 4 Wake, Enabled 0 Runtime GPEs in this block
[ 0.136863] ACPI: EC: Look up EC in DSDT
[ 0.141645] Completing Region/Field/Buffer/Package initialization:................................................
[ 0.149429] Initialized 16/24 Regions 2/2 Fields 19/19 Buffers 11/14 Packages (365 nodes)
[ 0.149545] Initializing Device/Processor/Thermal objects by executing _INI methods:
[ 0.149647] Executed 0 _INI methods requiring 0 _STA executions (examined 41 objects)
[ 0.149840] ACPI: Interpreter enabled
[ 0.149895] ACPI: (supports S0 S1 S3 S4 S5)
[ 0.150200] ACPI: Using PIC for interrupt routing
[ 0.176842] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 0.177611] pci 0000:00:04.4: quirk: region e200-e27f claimed by vt82c686 HW-mon
[ 0.177688] pci 0000:00:04.4: quirk: region e800-e80f claimed by vt82c686 SMB
[ 0.178189] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 0.322052] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
[ 0.322837] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
[ 0.323679] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
[ 0.324579] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
[ 0.325666] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 0.325911] pnp: PnP ACPI init
[ 0.326004] ACPI: bus type pnp registered
[ 0.335951] pnp: PnP ACPI: found 14 devices
[ 0.336031] ACPI: ACPI bus type pnp unregistered
[ 0.337705] PCI: Using ACPI for IRQ routing
[ 0.356375] Time: tsc clocksource has been installed.
[ 0.380461] system 00:00: iomem range 0x0-0x9ffff could not be reserved
[ 0.380461] system 00:00: iomem range 0xf0000-0xfffff could not be reserved
[ 0.380461] system 00:00: iomem range 0x100000-0x1fffffff could not be reserved
[ 0.380461] system 00:00: iomem range 0xfffe0000-0xffffffff could not be reserved
[ 0.380461] system 00:02: ioport range 0x3f0-0x3f1 has been reserved
[ 0.380461] system 00:02: ioport range 0x4d0-0x4d1 has been reserved
[ 0.380461] system 00:03: ioport range 0xe400-0xe47f has been reserved
[ 0.380461] system 00:03: ioport range 0xe800-0xe80f has been reserved
[ 0.409540] PCI: Bridge: 0000:00:01.0
[ 0.409600] IO window: d000-dfff
[ 0.409658] MEM window: 0xb7000000-0xb7ffffff
[ 0.409718] PREFETCH window: 0x00000000b8000000-0x00000000cfffffff
[ 0.409806] PCI: Setting latency timer of device 0000:00:01.0 to 64
[ 0.409950] NET: Registered protocol family 2
[ 0.484570] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.484570] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.484570] TCP bind hash table entries: 16384 (order: 7, 524288 bytes)
[ 0.484570] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.484570] TCP reno registered
[ 0.508580] checking if image is initramfs... it is
[ 0.912640] Switched to NOHz mode on CPU #0
[ 1.010956] Freeing initrd memory: 3283k freed
[ 1.011609] Simple Boot Flag at 0x3a set to 0x1
[ 1.014941] msgmni has been set to 1004 for ipc namespace c0379000
[ 1.015151] io scheduler noop registered
[ 1.015208] io scheduler anticipatory registered
[ 1.015266] io scheduler deadline registered
[ 1.015343] io scheduler cfq registered (default)
[ 1.015421] pci 0000:00:00.0: Applying VIA southbridge workaround
[ 1.015488] PCI: VIA PCI bridge detected. Disabling DAC.
[ 1.015552] pci 0000:00:04.0: Disabling VIA external APIC routing
[ 1.015666] pci 0000:01:00.0: Boot video device
[ 1.017331] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
[ 1.017396] PCI: setting IRQ 11 as level-triggered
[ 1.017458] ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[ 1.018346] radeonfb: Found Intel x86 BIOS ROM Image
[ 1.018410] radeonfb: Retrieved PLL infos from BIOS
[ 1.018469] radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=250.00 Mhz, System=166.00 MHz
[ 1.018544] radeonfb: PLL min 20000 max 40000
[ 1.177376] i2c-adapter i2c-1: unable to read EDID block.
[ 1.394439] i2c-adapter i2c-1: unable to read EDID block.
[ 1.634350] i2c-adapter i2c-1: unable to read EDID block.
[ 1.874262] i2c-adapter i2c-3: unable to read EDID block.
[ 2.102195] i2c-adapter i2c-3: unable to read EDID block.
[ 2.342091] i2c-adapter i2c-3: unable to read EDID block.
[ 2.684899] radeonfb: Monitor 1 type CRT found
[ 2.684910] radeonfb: EDID probed
[ 2.684963] radeonfb: Monitor 2 type no found
[ 2.747641] Console: switching to colour frame buffer device 160x64
[ 2.786206] radeonfb (0000:01:00.0): ATI Radeon 5961 "Ya"
[ 2.787714] input: Power Button (FF) as /class/input/input0
[ 2.788009] ACPI: Power Button (FF) [PWRF]
[ 2.788579] input: Power Button (CM) as /class/input/input1
[ 2.788876] ACPI: Power Button (CM) [PWRB]
[ 2.789965] ACPI: CPU0 (power states: C1[C1] C2[C2])
[ 2.790514] ACPI: ACPI0007:00 is registered as cooling_device0
[ 2.790825] ACPI: Processor [CPU0] (supports 16 throttling states)
[ 2.799218] khelper used greatest stack depth: 3116 bytes left
[ 2.847070] Marking TSC unstable due to: possible TSC halt in C2.
[ 2.851055] Time: acpi_pm clocksource has been installed.
[ 2.859787] brd: module loaded
[ 2.860437] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[ 2.861580] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 2.861852] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 2.862813] mice: PS/2 mouse device common for all mice
[ 2.884324] input: AT Translated Set 2 keyboard as /class/input/input2
[ 2.912025] TCP cubic registered
[ 2.912237] NET: Registered protocol family 1
[ 2.912507] Using IPI Shortcut mode
[ 2.913688] BIOS EDD facility v0.16 2004-Jun-25, 6 devices found
[ 2.915592] Freeing unused kernel memory: 192k freed
[ 2.915896] Write protecting the kernel text: 1724k
[ 2.916164] Write protecting the kernel read-only data: 736k
[ 2.918840] busybox used greatest stack depth: 2908 bytes left
[ 2.933385] exe used greatest stack depth: 2896 bytes left
[ 3.103442] input: ImExPS/2 Generic Explorer Mouse as /class/input/input3
[ 3.120152] consolechars used greatest stack depth: 2460 bytes left
[ 3.324518] device-mapper: uevent: version 1.0.3
[ 3.325101] device-mapper: ioctl: 4.13.0-ioctl (2007-10-18) initialised: [email protected]
[ 3.348866] SCSI subsystem initialized
[ 3.361212] libata version 3.00 loaded.
[ 3.364405] pata_via 0000:00:04.1: version 0.3.3
[ 3.365150] scsi0 : pata_via
[ 3.365667] scsi1 : pata_via
[ 3.368214] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xb800 irq 14
[ 3.368576] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xb808 irq 15
[ 3.551419] ata1.00: ATA-5: ST340016A, 3.75, max UDMA/100
[ 3.552279] ata1.00: 78165360 sectors, multi 16: LBA
[ 3.553326] ata1.01: ATA-7: Maxtor 6Y080L0, YAR41BW0, max UDMA/133
[ 3.554241] ata1.01: 160086528 sectors, multi 16: LBA
[ 3.579144] ata1.00: configured for UDMA/100
[ 3.602850] ata1.01: configured for UDMA/100
[ 4.109645] ata2.00: ATAPI: HL-DT-ST DVDRAM GSA-4165B, DL05, max UDMA/33
[ 4.110649] ata2.01: ATAPI: CD-950E/AKU, A4Q, max MWDMA2, CDB intr
[ 4.289087] ata2.00: configured for UDMA/33
[ 4.464807] ata2.01: configured for MWDMA2
[ 4.484559] scsi 0:0:0:0: Direct-Access ATA ST340016A 3.75 PQ: 0 ANSI: 5
[ 4.486403] scsi 0:0:1:0: Direct-Access ATA Maxtor 6Y080L0 YAR4 PQ: 0 ANSI: 5
[ 4.491762] scsi 1:0:0:0: CD-ROM HL-DT-ST DVDRAM GSA-4165B DL05 PQ: 0 ANSI: 5
[ 4.493905] scsi 1:0:1:0: CD-ROM E-IDE CD-950E/AKU A4Q PQ: 0 ANSI: 5
[ 4.496087] modprobe used greatest stack depth: 2128 bytes left
[ 4.509243] Driver 'sd' needs updating - please use bus_type methods
[ 4.510791] sd 0:0:0:0: [sda] 78165360 512-byte hardware sectors (40021 MB)
[ 4.511976] sd 0:0:0:0: [sda] Write Protect is off
[ 4.513020] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 4.514222] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4.515673] sd 0:0:0:0: [sda] 78165360 512-byte hardware sectors (40021 MB)
[ 4.516894] sd 0:0:0:0: [sda] Write Protect is off
[ 4.518104] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 4.519273] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4.520600] sda: sda1 sda2 sda3 < sda5 sda6 sda7 > sda4
[ 4.575675] sd 0:0:0:0: [sda] Attached SCSI disk
[ 4.577205] sd 0:0:1:0: [sdb] 160086528 512-byte hardware sectors (81964 MB)
[ 4.578522] sd 0:0:1:0: [sdb] Write Protect is off
[ 4.579655] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00
[ 4.580852] sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4.582644] sd 0:0:1:0: [sdb] 160086528 512-byte hardware sectors (81964 MB)
[ 4.583938] sd 0:0:1:0: [sdb] Write Protect is off
[ 4.585096] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00
[ 4.586318] sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4.587735] sdb: sdb1 sdb2 < sdb5 sdb6 sdb7 >
[ 4.633294] sd 0:0:1:0: [sdb] Attached SCSI disk
[ 4.634908] modprobe used greatest stack depth: 1824 bytes left
[ 4.653883] Loading Reiser4. See http://www.namesys.com for a description of Reiser4.
[ 7.483006] PM: Starting manual resume from disk
[ 7.678628] kjournald starting. Commit interval 5 seconds
[ 7.680220] EXT3-fs: mounted filesystem with ordered data mode.
[ 14.869482] Linux agpgart interface v0.103
[ 14.887631] agpgart: Detected VIA Twister-K/KT133x/KM133 chipset
[ 14.985698] agpgart: AGP aperture is 256M @ 0xd0000000
[ 15.294566] parport_pc: VIA 686A/8231 detected
[ 15.295704] parport_pc: probing current configuration
[ 15.296840] parport_pc: Current parallel port base: 0x378
[ 15.298104] parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
[ 15.362723] <3>ACPI: I/O resource vt596_smbus [0xe800-0xe807] conflicts with ACPI region SM00 [0xe800-0xe806]
[ 15.364105] ACPI: Device needs an ACPI driver
[ 15.365204] vt596_smbus: probe of 0000:00:04.4 failed with error -16
[ 15.386243] usbcore: registered new interface driver usbfs
[ 15.387761] usbcore: registered new interface driver hub
[ 15.391634] parport_pc: VIA parallel port: io=0x378, irq=7
[ 15.416757] ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
[ 15.418002] ne2k-pci 0000:00:0b.0: enabling device (0000 -> 0001)
[ 15.420362] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
[ 15.421501] ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
[ 15.424021] usbcore: registered new device driver usb
[ 15.453345] eth0: RealTek RTL-8029 found at 0x9400, IRQ 11, 00:40:95:46:6e:2d.
[ 15.454664] via686a 0000:00:04.4: Forcing ISA address 0xe200
[ 15.455850] via686a 0000:00:04.4: Enabling sensors
[ 15.474374] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 15.475643] sd 0:0:1:0: Attached scsi generic sg1 type 0
[ 15.477033] scsi 1:0:0:0: Attached scsi generic sg2 type 5
[ 15.478253] scsi 1:0:1:0: Attached scsi generic sg3 type 5
[ 15.491339] ohci1394 0000:00:09.0: enabling device (0014 -> 0016)
[ 15.493413] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5
[ 15.494510] PCI: setting IRQ 5 as level-triggered
[ 15.495553] ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKD] -> GSI 5 (level, low) -> IRQ 5
[ 15.548299] USB Universal Host Controller Interface driver v3.0
[ 15.557542] Driver 'sr' needs updating - please use bus_type methods
[ 15.578224] sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[ 15.579460] Uniform CD-ROM driver Revision: 3.20
[ 15.581018] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 15.589475] sr1: scsi3-mmc drive: 0x/48x cd/rw xa/form2 cdda tray
[ 15.600304] sr 1:0:1:0: Attached scsi CD-ROM sr1
[ 15.664086] input: PC Speaker as /class/input/input4
[ 15.880138] Real Time Clock Driver v1.12ac
[ 15.900335] ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[5] MMIO=[b6800000-b68007ff] Max Packet=[2048] IR/IT contexts=[8/8]
[ 15.972889] Floppy drive(s): fd0 is 1.44M
[ 16.008178] FDC 0 is a post-1991 82077
[ 16.023321] ACPI: PCI Interrupt 0000:00:04.2[D] -> Link [LNKD] -> GSI 5 (level, low) -> IRQ 5
[ 16.024698] uhci_hcd 0000:00:04.2: UHCI Host Controller
[ 16.026809] uhci_hcd 0000:00:04.2: new USB bus registered, assigned bus number 1
[ 16.028116] uhci_hcd 0000:00:04.2: irq 5, io base 0x0000b400
[ 16.029874] usb usb1: configuration #1 chosen from 1 choice
[ 16.031290] hub 1-0:1.0: USB hub found
[ 16.032388] hub 1-0:1.0: 2 ports detected
[ 16.098646] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
[ 16.116179] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 16.124625] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 16.136700] ACPI: PCI Interrupt 0000:00:04.3[D] -> Link [LNKD] -> GSI 5 (level, low) -> IRQ 5
[ 16.138122] uhci_hcd 0000:00:04.3: UHCI Host Controller
[ 16.139414] uhci_hcd 0000:00:04.3: new USB bus registered, assigned bus number 2
[ 16.140902] uhci_hcd 0000:00:04.3: irq 5, io base 0x0000b000
[ 16.142623] usb usb2: configuration #1 chosen from 1 choice
[ 16.143959] hub 2-0:1.0: USB hub found
[ 16.145183] hub 2-0:1.0: 2 ports detected
[ 16.377409] usb 1-1: new full speed USB device using uhci_hcd and address 2
[ 16.475002] 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 16.476602] 00:0b: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 16.544039] usb 1-1: configuration #1 chosen from 1 choice
[ 16.548978] hub 1-1:1.0: USB hub found
[ 16.551753] hub 1-1:1.0: 4 ports detected
[ 16.911471] ENS1371 0000:00:0d.0: enabling device (0004 -> 0005)
[ 16.912808] ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 5 (level, low) -> IRQ 5
[ 17.299209] ieee1394: Host added: ID:BUS[0-00:1023] GUID[00308d0120e085ca]
[ 17.591475] NET: Registered protocol family 10
[ 24.933074] EXT3 FS on dm-10, internal journal
[ 25.809923] ReiserFS: dm-0: found reiserfs format "3.6" with standard journal
[ 25.809956] ReiserFS: dm-0: using ordered data mode
[ 25.814985] ReiserFS: dm-0: journal params: device dm-0, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
[ 25.818453] ReiserFS: dm-0: checking transaction log (dm-0)
[ 25.884446] ReiserFS: dm-0: Using r5 hash to sort names
[ 25.961670] reiser4: dm-5: found disk format 4.0.0.
[ 26.203312] reiser4: dm-4: found disk format 4.0.0.
[ 26.396289] kjournald starting. Commit interval 5 seconds
[ 26.396317] EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
[ 26.396638] EXT3 FS on sda5, internal journal
[ 26.396652] EXT3-fs: mounted filesystem with ordered data mode.
[ 26.500551] ReiserFS: sda7: found reiserfs format "3.6" with standard journal
[ 26.500592] ReiserFS: sda7: using ordered data mode
[ 26.506362] ReiserFS: sda7: journal params: device sda7, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
[ 26.510054] ReiserFS: sda7: checking transaction log (sda7)
[ 26.536458] ReiserFS: sda7: Using r5 hash to sort names
[ 26.780261] ERR!! init is killed by 10
[ 26.781486] ------------[ cut here ]------------
[ 26.781492] WARNING: at kernel/signal.c:724 complete_signal+0x163/0x1eb()
[ 26.781497] Modules linked in: nls_iso8859_1 nls_cp850 vfat fat reiserfs eeprom w83781d hwmon_vid ipv6 snd_ens1371 firewire_ohci firewire_core gameport crc_itu_t snd_ac97_codec 8250_pnp ac97_bus snd_pcm_oss snd_mixer_oss 8250 serial_core snd_pcm snd_seq_oss floppy snd_seq_midi snd_rawmidi rtc snd_seq_midi_event snd_seq snd_timer snd_seq_device pcspkr snd uhci_hcd sr_mod cdrom soundcore snd_page_alloc ohci1394 sg via686a ne2k_pci 8390 ieee1394 i2c_viapro usbcore ata_generic parport_pc parport via_agp agpgart evdev dm_snapshot reiser4 lzo_decompress lzo_compress sd_mod pata_via libata scsi_mod dm_mirror dm_log dm_mod
[ 26.781609] Pid: 2590, comm: sh Not tainted 2.6.25-rc5-mm1 #18
[ 26.781619] [<c01188bd>] warn_on_slowpath+0x41/0x6d
[ 26.781640] [<c0119200>] ? vprintk+0x289/0x3b6
[ 26.781650] [<c01cc3a8>] ? number+0x10d/0x1cd
[ 26.781671] [<c0158db9>] ? cache_free_debugcheck+0x1e1/0x1ec
[ 26.781699] [<c0119342>] ? printk+0x15/0x17
[ 26.781709] [<c0120fa9>] complete_signal+0x163/0x1eb
[ 26.781719] [<c01211d4>] send_signal+0x1a3/0x1cf
[ 26.781729] [<c0121216>] __group_send_sig_info+0xa/0xc
[ 26.781737] [<c01217cc>] group_send_sig_info+0x44/0x62
[ 26.781747] [<c0121de4>] kill_pid_info+0x33/0x47
[ 26.781757] [<c0122443>] sys_kill+0x73/0x145
[ 26.781767] [<c014c655>] ? handle_mm_fault+0x21d/0x4f6
[ 26.781791] [<c012af3c>] ? up_read+0x16/0x2a
[ 26.781803] [<c011214c>] ? do_page_fault+0x25a/0x4da
[ 26.781815] [<c0103906>] sysenter_past_esp+0x5f/0xa5
[ 26.781834] =======================
[ 26.781838] ---[ end trace c053f6e3c5b0fb23 ]---
[ 26.827206] Adding 1048568k swap on /dev/mapper/vglinux1-lvswap. Priority:-1 extents:1 across:1048568k
[ 27.762345] eth0: no IPv6 routers present
[ 32.522353] lp0: using parport0 (interrupt-driven).
[ 32.840715] [drm] Initialized drm 1.1.0 20060810
[ 32.892406] [drm] Initialized radeon 1.28.0 20060524 on minor 0
[ 34.604435] agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
[ 34.604475] agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
[ 34.604604] agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
[ 36.796991] [drm] Setting GART location based on new memory map
[ 36.797011] [drm] Loading R200 Microcode
[ 36.797055] [drm] writeback test succeeded in 1 usecs
[ 37.919570] warning: `avahi-daemon' uses 32-bit capabilities (legacy support in use)
[ 53.671327] gpg-agent used greatest stack depth: 1692 bytes left
[ 65.797323] ed used greatest stack depth: 1600 bytes left
[ 237.574866] reiser4[pdflush(139)]: disable_write_barrier (fs/reiser4/wander.c:234)[zam-1055]:
[ 237.574872] NOTICE: dm-4 does not support write barriers, using synchronous write instead.


Attachments:
dmesg-2.6.25-rc5-mm1 (31.43 kB)

2008-03-14 21:36:12

by Dave Hansen

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

On Fri, 2008-03-14 at 21:51 +0100, Eric Piel wrote:
> I'm not sure it would be possible to delay acpi_early_init() until after
> the fs initcalls. Maybe Len knows. How about trying the opposite: what
> is the barely minimum to initialize so that the rootfs can be populated
> and read? Would it be possible to have a kind of
> early_mnt_writer_initialize() that would do that?

I *can* probably do it earlier, maybe even statically, but I think
you're missing the point a bit here. We've just been super lucky so far
that populate_rootfs() doesn't depend on any other initcalls (or at
least BUG_ON() because of them). There may be some more buglets hiding
around.

It'd be a shame to have to have "super_early_fs_initcall()" logic for
every part of the VFS or any other initcall for that matter that you
might need. How do we tell all future VFS hackers that they have to do
this so that the next guy doesn't break it? I certainly missed it. :)

We could separate out the initcalls and just have the fs ones run before
the rest do. But, I'm not sure what interactions *THAT* might have.
There are arch-specific initcalls, and I have no idea if the fs init
code depends on *those*. That's a lot of code to check.

It is nailed when you the patch says:

+ /*
+ * Never do this at home, only the user-space is allowed to open a file.
+ * The clean way would be to use the firmware loader. But this code must be run
+ * before there is any userspace available. So we need a static/init firmware
+ * infrastructure, which doesn't exist yet...
+ */

I think requiring FS access this early in the boot processes is just
broken. It seems like the author of the patch knew a better way and
tried to get away with a hack. I think it backfired. :)

-- Dave

2008-03-14 22:51:22

by Éric Piel

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

Dave Hansen wrote:
> On Fri, 2008-03-14 at 21:51 +0100, Eric Piel wrote:
>> I'm not sure it would be possible to delay acpi_early_init() until after
>> the fs initcalls. Maybe Len knows. How about trying the opposite: what
>> is the barely minimum to initialize so that the rootfs can be populated
>> and read? Would it be possible to have a kind of
>> early_mnt_writer_initialize() that would do that?
>
> I *can* probably do it earlier, maybe even statically, but I think
> you're missing the point a bit here. We've just been super lucky so far
> that populate_rootfs() doesn't depend on any other initcalls (or at
> least BUG_ON() because of them). There may be some more buglets hiding
> around.
Actually, each time I look at init/main.c I feel like we are super lucky
that Linux boots ;-)

>
> It'd be a shame to have to have "super_early_fs_initcall()" logic for
> every part of the VFS or any other initcall for that matter that you
> might need. How do we tell all future VFS hackers that they have to do
> this so that the next guy doesn't break it? I certainly missed it. :)
Well, my point was that actually populate_rootfs() does _very_ little
with regard to FS manipulation, acpi_find_dsdt_initrd() even less. The
task of checking that everything needed is available beforehand is
certainly not the same magnitude as the one of the Danaides as you
seemed to implied ;-)

The fact is, this patch has been tested a lot, because it's been used by
several distributions for a long time. I expect that the only potential
problems are corner cases that are possible to work around.

>
> We could separate out the initcalls and just have the fs ones run before
> the rest do. But, I'm not sure what interactions *THAT* might have.
> There are arch-specific initcalls, and I have no idea if the fs init
> code depends on *those*. That's a lot of code to check.
Yes, we agree on this. That would be crazy :-)

>
> It is nailed when you the patch says:
>
> + /*
> + * Never do this at home, only the user-space is allowed to open a file.
> + * The clean way would be to use the firmware loader. But this code must be run
> + * before there is any userspace available. So we need a static/init firmware
> + * infrastructure, which doesn't exist yet...
> + */
>
> I think requiring FS access this early in the boot processes is just
> broken. It seems like the author of the patch knew a better way and
> tried to get away with a hack. I think it backfired. :)
I'm actually the author of this comment... The static/init firmware
infrastructure that I mentioned was more just about a way to hide the fs
access in a special part of the kernel, not avoiding it. We used to have
a different way but it was even uglier: append the DSDT after the
initramfs, and then access it _directly_. This implies teaching
populate_rootfs() to not panic when seeing DSDTs and loosing the benefit
of the compression.

That said, I'm really not against any complete different approach. All
that is needed is being able to read a file early at boot (the DSDT)
without having to recompile the kernel each time the file is modified.
For instance someone had once mentioned modifying the in-kernel DSDT by
unlinking and relinking the bzimage. If one can show me how to do that
I'd be happy to implement it...

Eric

2008-03-14 23:30:17

by Dave Hansen

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

On Fri, 2008-03-14 at 23:50 +0100, Eric Piel wrote:
> > It'd be a shame to have to have "super_early_fs_initcall()" logic for
> > every part of the VFS or any other initcall for that matter that you
> > might need. How do we tell all future VFS hackers that they have to do
> > this so that the next guy doesn't break it? I certainly missed it. :)
> Well, my point was that actually populate_rootfs() does _very_ little
> with regard to FS manipulation, acpi_find_dsdt_initrd() even less. The
> task of checking that everything needed is available beforehand is
> certainly not the same magnitude as the one of the Danaides as you
> seemed to implied ;-)

The problem is defining how much "very little" is, and making sure that
all the other kernel developers agree with you on it.

Anyway, I'm sick of too much bitching and too little coding. Andrew,
here's a patch for -mm that will at least shut up the spinlock warnings.
Al, you'll also need something similar to this for when you get Linus to
pull your git tree that has the r/o bind mount patches.
It's a hack, but I don't know any better way to do it until the ACPI
mess gets cleaned up.

Arjan, is there a way to statically set lockdep classes for a spinlock
that I'm missing?

I'll leave it to everyone else to describe the evils of calling into
*any* fs code before the fs initcalls have been made.

-- Dave


I'm not happy with this patch, but I don't see an easier way
to do it. We can't statically initialize the lockdep classes
as far as I can see.

---

linux-2.6.git-dave/fs/namespace.c | 3 +--
linux-2.6.git-dave/include/linux/mount.h | 1 +
linux-2.6.git-dave/init/main.c | 8 ++++++++
3 files changed, 10 insertions(+), 2 deletions(-)

diff -puN fs/namei.c~robind-statically-initialize-locks fs/namei.c
diff -puN fs/namespace.c~robind-statically-initialize-locks fs/namespace.c
--- linux-2.6.git/fs/namespace.c~robind-statically-initialize-locks 2008-03-14 16:12:44.000000000 -0700
+++ linux-2.6.git-dave/fs/namespace.c 2008-03-14 16:16:43.000000000 -0700
@@ -158,7 +158,7 @@ struct mnt_writer {
} ____cacheline_aligned_in_smp;
static DEFINE_PER_CPU(struct mnt_writer, mnt_writers);

-static int __init init_mnt_writers(void)
+int __init init_mnt_writers(void)
{
int cpu;
for_each_possible_cpu(cpu) {
@@ -169,7 +169,6 @@ static int __init init_mnt_writers(void)
}
return 0;
}
-fs_initcall(init_mnt_writers);

static void unlock_mnt_writers(void)
{
diff -puN init/main.c~robind-statically-initialize-locks init/main.c
--- linux-2.6.git/init/main.c~robind-statically-initialize-locks 2008-03-14 16:13:02.000000000 -0700
+++ linux-2.6.git-dave/init/main.c 2008-03-14 16:17:33.000000000 -0700
@@ -58,6 +58,7 @@
#include <linux/kthread.h>
#include <linux/sched.h>
#include <linux/signal.h>
+#include <linux/mount.h>

#include <asm/io.h>
#include <asm/bugs.h>
@@ -650,6 +651,13 @@ asmlinkage void __init start_kernel(void

check_bugs();

+ /*
+ * This is a horrible hack. The ACPI code needs
+ * to learn how to do "DSDT override" without fs
+ * access or do it later in boot - Dave Hansen
+ */
+ init_mnt_writers();
+
populate_rootfs(); /* For DSDT override from initramfs */
acpi_early_init(); /* before LAPIC and SMP init */

diff -puN include/linux/mount.h~robind-statically-initialize-locks include/linux/mount.h
--- linux-2.6.git/include/linux/mount.h~robind-statically-initialize-locks 2008-03-14 16:16:04.000000000 -0700
+++ linux-2.6.git-dave/include/linux/mount.h 2008-03-14 16:16:34.000000000 -0700
@@ -79,6 +79,7 @@ static inline struct vfsmount *mntget(st
return mnt;
}

+extern int init_mnt_writers(void);
extern int mnt_want_write(struct vfsmount *mnt);
extern void mnt_drop_write(struct vfsmount *mnt);
extern void mntput_no_expire(struct vfsmount *mnt);
_

2008-03-15 11:58:50

by Oleg Nesterov

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1: "consolechars" hangs on boot

On 03/14, Laurent Riffard wrote:
>
> >>>With 2.6.25-rc5-mm1, my system (Ubuntu 7.10/Gutsy) reliably hangs on
> >>>boot. Sysrq-T shows 12 "consolechars" processes stuck in do_exit call.
> >>>
> >>>The bisection said "Sucker is
> >>>patches/signals-send_signal-factor-out-signal_group_exit-checks.patch"
> >>>
> consolechars ? de8925bc 3432 2795 1
> .
> .
> .
> Call Trace:
> do_exit+0x5dd/0x5e1
> do_group_exit+0x5e/0x86
> sys_exit_group+0xf/0x11
> sysenter_past_esp+0x5f/0xa5

Aha, the task doesn't hang, it has exited (as expected), please see below...

> >And. While doing this patch I forgot we should fix the bugs with init
> >first!
> >(will try to make the patch soon).
> >
> >Laurent, any chance you can try 2.6.25-rc5-mm1 + the patch below?
> >Unlikely it can help, but would be great to be sure.
>
> Yes it does help ! Thanks.
>
> Despite a big ERR in dmesg, the system now runs fine.
>
> [ 26.780261] ERR!! init is killed by 10

Great. Thanks a lot Laurent!

So what happens is:

We have the very old bug (bugs, actually) with the global init && signals
which I tried to fix many times but can't find a simple solution. The fatal
signal sent to init doesn't really kill it (we have the check in
get_signal_to_deliver) but it sets SIGNAL_GROUP_EXIT. This is wrong, now
init can't exec, this has other bad implications, and this is just insane.

With the signals-send_signal-factor-out-signal_group_exit-checks.patch the
task with SIGNAL_GROUP_EXIT doesn't recieve the signals. While this change
itself is (I hope) correct, the "killed" /sbin/init now can't see SIGCHLD
and the system hangs on boot.

> [ 26.781709] [<c0120fa9>] complete_signal+0x163/0x1eb
> [ 26.781719] [<c01211d4>] send_signal+0x1a3/0x1cf
> [ 26.781729] [<c0121216>] __group_send_sig_info+0xa/0xc
> [ 26.781737] [<c01217cc>] group_send_sig_info+0x44/0x62
> [ 26.781747] [<c0121de4>] kill_pid_info+0x33/0x47
> [ 26.781757] [<c0122443>] sys_kill+0x73/0x145
> [ 26.781767] [<c014c655>] ? handle_mm_fault+0x21d/0x4f6
> [ 26.781791] [<c012af3c>] ? up_read+0x16/0x2a
> [ 26.781803] [<c011214c>] ? do_page_fault+0x25a/0x4da
> [ 26.781815] [<c0103906>] sysenter_past_esp+0x5f/0xa5

Not a kernel problem, but this looks a bit strange to me.

init has SIG_DFL for SIGUSR1, and someone does kill(1, SIGUSR1).
Note that init was explicitly targeted, the signal was not sent
to prgp or -1.

Most likely Ubuntu knows what it does, and I can't find any email
at ubuntu.com to cc...

Oleg.

2008-03-15 12:17:11

by Tilman Schmidt

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] WARNING: at drivers/base/sys.c:173

Am 14.03.2008 01:57 schrieb Zhao Yakui:
>
> Please set CONFIG_ACPI_DEBUG and boot the system with the option of
> "acpi.debug_layer=0x01010000 acpi.debug_level=0x1f".
>
> It will be great if the acpidump output is attached.

Ok, that took a bit longer than I hoped, but the result is now
finally available at:

http://gollum.phnxsoft.com/~ts/linux/dmesg-acpidebug.out

Note that I doctored this a bit: the dmesg buffer had already
overflowed by the time I ran the dmesg command, so I manually
prepended the missing part from the file /var/log/boot.msg into
which SUSE saves the early kernel messages. The border between
the two is marked off by the string "~~~~~~~~splice~~~~~~~~",
and I left a line of overlap to make it very clear.

The output of acpidump is unchanged wrt what I already posted.
(Unsurprisingly, but nevertheless I checked. Call me paranoid. ;-)

HTH
T.

--
Tilman Schmidt E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Unge?ffnet mindestens haltbar bis: (siehe R?ckseite)


Attachments:
signature.asc (253.00 B)
OpenPGP digital signature

2008-03-15 12:48:16

by Tilman Schmidt

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

Am 15.03.2008 00:29 schrieb Dave Hansen:
> Anyway, I'm sick of too much bitching and too little coding. Andrew,
> here's a patch for -mm that will at least shut up the spinlock warnings.

Sorry to say, it doesn't. That is, it does shut up the warning I
reported, but there's a new one appearing now instead, three lines
later. Here's the dmesg diff:

@@ -216,29 +216,30 @@
CPU0: Thermal monitoring enabled
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
-BUG: spinlock bad magic on CPU#0, swapper/0
- lock: c2c19380, .magic: 00000000, .owner: swapper/0, .owner_cpu: 0
-Pid: 0, comm: swapper Not tainted 2.6.25-rc5-mm1-testing #2
- [<c01f728c>] spin_bug+0x7c/0x87
- [<c01f72b0>] _raw_spin_unlock+0x19/0x71
- [<c0301922>] _spin_unlock+0x1d/0x3c
- [<c01981aa>] mnt_want_write+0x62/0x88
- [<c018c382>] sys_mkdirat+0x86/0xd6
- [<c04260ab>] ? clean_path+0x16/0x4a
- [<c017fd6f>] ? kfree+0xd8/0xec
- [<c018c3e2>] sys_mkdir+0x10/0x12
- [<c0426353>] do_name+0x112/0x1b3
- [<c042558b>] write_buffer+0x1d/0x2c
- [<c04255fe>] flush_window+0x64/0xb3
- [<c04272f5>] unpack_to_rootfs+0x62c/0x8b9
- [<c04275a2>] populate_rootfs+0x20/0x109
- [<c0429ed2>] ? alternative_instructions+0x153/0x158
- [<c04248f5>] start_kernel+0x343/0x355
- [<c0424019>] i386_start_kernel+0x8/0xa
- =======================
Unpacking initramfs... done
-Freeing initrd memory: 8767k freed
+Freeing initrd memory: 8834k freed
ACPI: Core revision 20070126
+INFO: trying to register non-static key.
+the code is fine but needs lockdep annotation.
+turning off the locking correctness validator.
+Pid: 0, comm: swapper Not tainted 2.6.25-rc5-mm1-testing #3
+ [<c014321e>] __lock_acquire+0x144/0xb6e
+ [<c010b1a2>] ? native_sched_clock+0xe0/0xff
+ [<c017fc57>] ? kmem_cache_alloc+0x89/0xc9
+ [<c0142ce0>] ? trace_hardirqs_on+0xe8/0x11d
+ [<c014404f>] lock_acquire+0x6a/0x90
+ [<c013b460>] ? down_trylock+0xc/0x27
+ [<c03016cb>] _spin_lock_irqsave+0x42/0x72
+ [<c013b460>] ? down_trylock+0xc/0x27
+ [<c013b460>] down_trylock+0xc/0x27
+ [<c021fa65>] acpi_os_wait_semaphore+0x67/0x13d
+ [<c023a39e>] acpi_ut_acquire_mutex+0x65/0xcf
+ [<c0230261>] acpi_ns_root_initialize+0x1a/0x289
+ [<c043ad54>] acpi_initialize_subsystem+0x47/0x6a
+ [<c043afd4>] acpi_early_init+0x57/0xf8
+ [<c04248ff>] start_kernel+0x34d/0x35a
+ [<c0424019>] i386_start_kernel+0x8/0xa
+ =======================
ACPI: Checking initramfs for custom DSDT
Parsing all Control Methods:
Table [DSDT](id 0001) - 637 Objects with 63 Devices 160 Methods 41 Regions

HTH
T.

--
Tilman Schmidt E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Unge?ffnet mindestens haltbar bis: (siehe R?ckseite)


Attachments:
signature.asc (253.00 B)
OpenPGP digital signature

2008-03-15 19:23:07

by Linus Torvalds

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot



On Sat, 15 Mar 2008, Tilman Schmidt wrote:
>
> Sorry to say, it doesn't. That is, it does shut up the warning I
> reported, but there's a new one appearing now instead, three lines
> later.

I've reverted the whole thing. Or rather, since there were various small
fixup commits over time, and a simple revert doesn't really work, I ended
up just removing the option and the code that was conditional on it - that
way, if we really want to fight this out some time (after 2.6.25 is out)
or some vendor wants to use a known-broken option anyway, there's a simple
and fairly clean commit to revert the revert.

It's commit 9a9e0d685553af76cb6ae2af93cca4913e7fcd47, see

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=9a9e0d685553af76cb6ae2af93cca4913e7fcd47

for details if you aren't a git person.

But quite frankly I don't think that we even want to re-introduce this in
that form. If we really want to have a dynamic custom DSDT, I think we
should do the whole DSDT replacement *much* later by ACPI (like just
before driver loading or something like that).

If the BIOS-provided DSDT is _so_ broken that we cannot even get core
stuff like the CPU's going, I think it has more serious issues than any
custom DSDT will ever fix, but letting ACPI actually switch DSDT's at
run-time (instead of just replacing it when looking for it very very early
in the boot sequence) in order to work around some device issues sounds
reasonably sane.

So how about aiming to make that DSDT-replacement something you can do
from any kernel module, _after_ the original DSDT has already been parsed?
And then the whole "load it from initrd" turns into a regular thing that
we can do pretty early, but that we don't have to do quite _this_ early!

Linus

2008-03-15 19:43:21

by Éric Piel

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

>From a0e8247f5f0dd5f332639b5635258a35c3648159 Mon Sep 17 00:00:00 2001
From: Eric Piel <eric@circle.(none)>
Date: Sat, 15 Mar 2008 19:49:05 +0100
Subject: [PATCH 1/1] DSDT in initramfs: directly access the initramfs

The current method for reading the DSDT in the initramfs uses the filesystem. Not only this is bad because such functions should normally not used in the kernel, but in addition it brings the requirement that the filesystem infrastructure is already initialised before initialising ACPI. This is quite unlikely to ever happen. (cf http://marc.info/?t=120536629300001&r=1&w=2)

This patch changes the method of access to initramfs. It uses directly unpack_to_rootfs(). This is build over the "check_only" mode: the initramfs is just read... but if we find a file matching the one we are looking for we copy it to memory.

Signed-off-by: Eric Piel <[email protected]>
---
drivers/acpi/osl.c | 62 +----------------------------------------
init/initramfs.c | 79 ++++++++++++++++++++++++++++++++++++++++++++++++----
init/main.c | 7 ----
3 files changed, 74 insertions(+), 74 deletions(-)

diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 065819b..8fa630f 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -93,6 +93,7 @@ static char osi_additional_string[OSI_STRING_LENGTH_MAX];

#ifdef CONFIG_ACPI_CUSTOM_DSDT_INITRD
static int acpi_no_initrd_override;
+extern struct acpi_table_header *acpi_find_dsdt_initrd(void);
#endif

/*
@@ -324,67 +325,6 @@ acpi_os_predefined_override(const struct acpi_predefined_names *init_val,
return AE_OK;
}

-#ifdef CONFIG_ACPI_CUSTOM_DSDT_INITRD
-static struct acpi_table_header *acpi_find_dsdt_initrd(void)
-{
- struct file *firmware_file;
- mm_segment_t oldfs;
- unsigned long len, len2;
- struct acpi_table_header *dsdt_buffer, *ret = NULL;
- struct kstat stat;
- char *ramfs_dsdt_name = "/DSDT.aml";
-
- printk(KERN_INFO PREFIX "Checking initramfs for custom DSDT\n");
-
- /*
- * Never do this at home, only the user-space is allowed to open a file.
- * The clean way would be to use the firmware loader.
- * But this code must be run before there is any userspace available.
- * A static/init firmware infrastructure doesn't exist yet...
- */
- if (vfs_stat(ramfs_dsdt_name, &stat) < 0)
- return ret;
-
- len = stat.size;
- /* check especially against empty files */
- if (len <= 4) {
- printk(KERN_ERR PREFIX "Failed: DSDT only %lu bytes.\n", len);
- return ret;
- }
-
- firmware_file = filp_open(ramfs_dsdt_name, O_RDONLY, 0);
- if (IS_ERR(firmware_file)) {
- printk(KERN_ERR PREFIX "Failed to open %s.\n", ramfs_dsdt_name);
- return ret;
- }
-
- dsdt_buffer = kmalloc(len, GFP_ATOMIC);
- if (!dsdt_buffer) {
- printk(KERN_ERR PREFIX "Failed to allocate %lu bytes.\n", len);
- goto err;
- }
-
- oldfs = get_fs();
- set_fs(KERNEL_DS);
- len2 = vfs_read(firmware_file, (char __user *)dsdt_buffer, len,
- &firmware_file->f_pos);
- set_fs(oldfs);
- if (len2 < len) {
- printk(KERN_ERR PREFIX "Failed to read %lu bytes from %s.\n",
- len, ramfs_dsdt_name);
- ACPI_FREE(dsdt_buffer);
- goto err;
- }
-
- printk(KERN_INFO PREFIX "Found %lu byte DSDT in %s.\n",
- len, ramfs_dsdt_name);
- ret = dsdt_buffer;
-err:
- filp_close(firmware_file, NULL);
- return ret;
-}
-#endif
-
acpi_status
acpi_os_table_override(struct acpi_table_header * existing_table,
struct acpi_table_header ** new_table)
diff --git a/init/initramfs.c b/init/initramfs.c
index c0b1e05..224bf48 100644
--- a/init/initramfs.c
+++ b/init/initramfs.c
@@ -6,8 +6,15 @@
#include <linux/delay.h>
#include <linux/string.h>
#include <linux/syscalls.h>
+#include <acpi/acpi.h>

static __initdata char *message;
+#ifdef CONFIG_ACPI_CUSTOM_DSDT_INITRD
+static __initdata char *file_looked_for;
+static __initdata void *file_mem;
+#else
+#define file_looked_for 0
+#endif
static void __init error(char *x)
{
if (!message)
@@ -123,6 +130,7 @@ static __initdata enum state {
SkipIt,
GotName,
CopyFile,
+ CopyFileMem,
GotSymlink,
Reset
} state, next_state;
@@ -267,6 +275,11 @@ static int __init do_name(void)
free_hash();
return 0;
}
+ if (file_looked_for) {
+ if (S_ISREG(mode) && (strcmp(collected, file_looked_for) == 0))
+ state = CopyFileMem;
+ return 0;
+ }
if (dry_run)
return 0;
clean_path(collected, mode);
@@ -299,6 +312,37 @@ static int __init do_name(void)
return 0;
}

+#ifdef CONFIG_ACPI_CUSTOM_DSDT_INITRD
+static int __init do_copy_mem(void)
+{
+ static void *file_current; /* current position in the file */
+ if (file_mem == NULL) {
+ if (body_len < 4) { /* check especially against empty files */
+ error("file is less than 4 bytes");
+ return 1;
+ }
+ file_mem = kmalloc(body_len, GFP_ATOMIC);
+ if (!file_mem) {
+ error("failed to allocate enough memory");
+ return 1;
+ }
+ file_current = file_mem;
+ }
+ if (count >= body_len) {
+ memcpy(file_current, victim, body_len);
+ eat(body_len);
+ } else {
+ memcpy(file_current, victim, count);
+ body_len -= count;
+ file_current += count;
+ eat(count);
+ }
+ return 1;
+}
+#else
+#define do_copy_mem NULL
+#endif
+
static int __init do_copy(void)
{
if (count >= body_len) {
@@ -333,6 +377,7 @@ static __initdata int (*actions[])(void) = {
[SkipIt] = do_skip,
[GotName] = do_name,
[CopyFile] = do_copy,
+ [CopyFileMem] = do_copy_mem,
[GotSymlink] = do_symlink,
[Reset] = do_reset,
};
@@ -538,7 +583,7 @@ skip:
initrd_end = 0;
}

-int __init populate_rootfs(void)
+static int __init populate_rootfs(void)
{
char *err = unpack_to_rootfs(__initramfs_start,
__initramfs_end - __initramfs_start, 0);
@@ -577,10 +622,32 @@ int __init populate_rootfs(void)
}
return 0;
}
-#ifndef CONFIG_ACPI_CUSTOM_DSDT_INITRD
-/*
- * if this option is enabled, populate_rootfs() is called _earlier_ in the
- * boot sequence. This insures that the ACPI initialisation can find the file.
- */
rootfs_initcall(populate_rootfs);
+
+#ifdef CONFIG_ACPI_CUSTOM_DSDT_INITRD
+struct acpi_table_header *acpi_find_dsdt_initrd(void)
+{
+ char *err, *ramfs_dsdt_name = "DSDT.aml";
+
+ printk(KERN_INFO "ACPI: Checking initramfs for custom DSDT\n");
+ file_mem = NULL;
+ file_looked_for = ramfs_dsdt_name;
+ err = unpack_to_rootfs((char *)initrd_start,
+ initrd_end - initrd_start, 1);
+ file_looked_for = NULL;
+
+ if (err) {
+ /*
+ * Even if reading the DSDT file was successful,
+ * we give up if the initramfs cannot be entirely read.
+ */
+ kfree(file_mem);
+ printk(KERN_ERR "ACPI: Aborded because %s.\n", err);
+ return NULL;
+ }
+ if (file_mem)
+ printk(KERN_INFO "ACPI: Found DSDT in %s.\n", ramfs_dsdt_name);
+
+ return file_mem;
+}
#endif
diff --git a/init/main.c b/init/main.c
index fbb0167..99ce949 100644
--- a/init/main.c
+++ b/init/main.c
@@ -102,12 +102,6 @@ static inline void mark_rodata_ro(void) { }
extern void tc_init(void);
#endif

-#ifdef CONFIG_ACPI_CUSTOM_DSDT_INITRD
-extern int populate_rootfs(void);
-#else
-static inline void populate_rootfs(void) {}
-#endif
-
enum system_states system_state;
EXPORT_SYMBOL(system_state);

@@ -650,7 +644,6 @@ asmlinkage void __init start_kernel(void)

check_bugs();

- populate_rootfs(); /* For DSDT override from initramfs */
acpi_early_init(); /* before LAPIC and SMP init */

/* Do the rest non-__init'ed, we're now alive */
--
1.5.4.3


Attachments:
0001-DSDT-in-initramfs-directly-access-the-initramfs.patch (7.18 kB)

2008-03-15 20:20:35

by Linus Torvalds

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot



On Sat, 15 Mar 2008, ?ric Piel wrote:
>
> It's a pity, I had just nearly finished a new approach. Instead of
> relying on populate_rootfs() and the filesystem infrastructure, the new
> approach directly finds the file in the initramfs.

So that avoids the VFS layer issues, but it's still strictly much worse
than just having a run-time loading.

What's the problem with just loading a new DSDT later? Potentially as in
*much* later: including when user-space is all up-and-running?

For things like DVD install images, you'd quite possibly want to have a
few known-workaround DSDT images with the installer, and just say "ok, we
want to fix up this ACPI crap in order to get working suspend/resume" kind
of thing.

So what's the reason for pushing for this insanely-early workaround in the
first place, instead of letting user-space do something like

cat my-dsdt-image > /proc/sys/acpi/DSDT

or whatever at runtime?

Linus

2008-03-16 00:15:52

by Éric Piel

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

15/03/08 21:19, Linus Torvalds wrote/a ?crit:
> What's the problem with just loading a new DSDT later? Potentially as in
> *much* later: including when user-space is all up-and-running?
>
:
> So what's the reason for pushing for this insanely-early workaround in the
> first place, instead of letting user-space do something like
>
> cat my-dsdt-image > /proc/sys/acpi/DSDT
>
> or whatever at runtime?
Yeah, or probably more something like this nowadays ;-)
cat my-dsdt-image > /sys/firmware/acpi/tables/DSDT

As I said in my previous email, I'm already convinced that late-override
of ACPI table approach would be very interesting to investigate.
However, this cannot be taken lightly. A _lot_ of places in the kernel
depend on the ACPI and nothing has ever been done in the direction of
dynamic modification of the APCI tables. The implementation is likely to
be much bigger than the current 100 lines of patch.

That said, it should be possible to draw some assumptions without
restraining much the functionality. Such as:
* every object present in the original table is still present is the
new table
* they keep the same name

Len, do you think it would be feasible? How do you think the
implementation could be done?

Eric

2008-03-16 20:11:43

by Dave Hansen

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

On Sat, 2008-03-15 at 13:47 +0100, Tilman Schmidt wrote:
> > Anyway, I'm sick of too much bitching and too little coding.
> Andrew,
> > here's a patch for -mm that will at least shut up the spinlock
> warnings.
>
> Sorry to say, it doesn't. That is, it does shut up the warning I
> reported, but there's a new one appearing now instead, three lines
> later. Here's the dmesg diff:
>
> @@ -216,29 +216,30 @@
> CPU0: Thermal monitoring enabled
> Compat vDSO mapped to ffffe000.
> Checking 'hlt' instruction... OK.
> -BUG: spinlock bad magic on CPU#0, swapper/0
> - lock: c2c19380, .magic: 00000000, .owner: swapper/0, .owner_cpu: 0
> -Pid: 0, comm: swapper Not tainted 2.6.25-rc5-mm1-testing #2
> - [<c01f728c>] spin_bug+0x7c/0x87
> - [<c01f72b0>] _raw_spin_unlock+0x19/0x71
> - [<c0301922>] _spin_unlock+0x1d/0x3c
> - [<c01981aa>] mnt_want_write+0x62/0x88
> - [<c018c382>] sys_mkdirat+0x86/0xd6
> - [<c04260ab>] ? clean_path+0x16/0x4a
> - [<c017fd6f>] ? kfree+0xd8/0xec
> - [<c018c3e2>] sys_mkdir+0x10/0x12
> - [<c0426353>] do_name+0x112/0x1b3
> - [<c042558b>] write_buffer+0x1d/0x2c
> - [<c04255fe>] flush_window+0x64/0xb3
> - [<c04272f5>] unpack_to_rootfs+0x62c/0x8b9
> - [<c04275a2>] populate_rootfs+0x20/0x109
> - [<c0429ed2>] ? alternative_instructions+0x153/0x158
> - [<c04248f5>] start_kernel+0x343/0x355
> - [<c0424019>] i386_start_kernel+0x8/0xa
> - =======================
> Unpacking initramfs... done
> -Freeing initrd memory: 8767k freed
> +Freeing initrd memory: 8834k freed
> ACPI: Core revision 20070126
> +INFO: trying to register non-static key.
> +the code is fine but needs lockdep annotation.
> +turning off the locking correctness validator.
> +Pid: 0, comm: swapper Not tainted 2.6.25-rc5-mm1-testing #3
> + [<c014321e>] __lock_acquire+0x144/0xb6e
> + [<c010b1a2>] ? native_sched_clock+0xe0/0xff
> + [<c017fc57>] ? kmem_cache_alloc+0x89/0xc9
> + [<c0142ce0>] ? trace_hardirqs_on+0xe8/0x11d
> + [<c014404f>] lock_acquire+0x6a/0x90
> + [<c013b460>] ? down_trylock+0xc/0x27
> + [<c03016cb>] _spin_lock_irqsave+0x42/0x72
> + [<c013b460>] ? down_trylock+0xc/0x27
> + [<c013b460>] down_trylock+0xc/0x27
> + [<c021fa65>] acpi_os_wait_semaphore+0x67/0x13d
> + [<c023a39e>] acpi_ut_acquire_mutex+0x65/0xcf
> + [<c0230261>] acpi_ns_root_initialize+0x1a/0x289
> + [<c043ad54>] acpi_initialize_subsystem+0x47/0x6a
> + [<c043afd4>] acpi_early_init+0x57/0xf8
> + [<c04248ff>] start_kernel+0x34d/0x35a
> + [<c0424019>] i386_start_kernel+0x8/0xa
> + =======================
> ACPI: Checking initramfs for custom DSDT
> Parsing all Control Methods:
> Table [DSDT](id 0001) - 637 Objects with 63 Devices 160 Methods 41
> Regions

Hi Tim,

Again, thanks for the excellent bug reporting.

This is actually a different problem (and not my code again, thank
goodness). I think a few of these got fixed in current -mm. According
to Peter Z, these mean:

> It means the lock_class_key ended up in non-static storage.
>
> In practise it often means you initialized a on-stack structure
> incorrectly. DECLARE_WAIT_QUEUE_HEAD() vs
> DECLARE_WAIT_QUEUE_HEAD_ONSTACK() for example.

So, this looks like an on-stack ACPI structure that got initialized
wrongly. At least we already have those dudes on the cc. :)

But, this might also get fixed by reverting the patch as Linus just did.
It might just be best to wait for another -mm release and see how it
settles out.

-- Dave

2008-03-16 21:39:21

by Mariusz Kozlowski

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1 build failure of pcsp.c

Hello,

The build on my laptop (32bit x86) fails.

sound/drivers/pcsp/pcsp.c: In function 'snd_pcsp_create':
sound/drivers/pcsp/pcsp.c:54: error: 'loops_per_jiffy' undeclared (first use in this function)
sound/drivers/pcsp/pcsp.c:54: error: (Each undeclared identifier is reported only once
sound/drivers/pcsp/pcsp.c:54: error: for each function it appears in.)

Seems like the patch below is needed.

Mariusz

Signed-off-by: Mariusz Kozlowski <[email protected]>

--- linux-2.6.25-rc5-mm1-a/sound/drivers/pcsp/pcsp.c 2008-03-16 21:34:28.000000000 +0100
+++ linux-2.6.25-rc5-mm1-b/sound/drivers/pcsp/pcsp.c 2008-03-16 21:58:58.000000000 +0100
@@ -12,6 +12,7 @@
#include <sound/initval.h>
#include <sound/pcm.h>
#include <linux/input.h>
+#include <linux/delay.h>
#include <asm/bitops.h>
#include "pcsp_input.h"
#include "pcsp.h"

2008-03-17 10:47:17

by Daniel Lezcano

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root

Tilman Schmidt wrote:
> Am 13.03.2008 23:21 schrieb Daniel Lezcano:
>> Tilman Schmidt wrote:
>
>>> ts@xenon:~/kernel> /usr/sbin/sendmail -t < patch-usb-reduce-syslog-clutter-v3
>>> postdrop: warning: can't open /proc/net/if_inet6 (Permission denied) - skipping IPv6 configuration
>>> postdrop: fatal: parameter inet_interfaces: no local interface found for ::1
>>> sendmail: warning: command "/usr/sbin/postdrop -r" exited with status 1
>>> sendmail: fatal: ts(1000): unable to execute /usr/sbin/postdrop -r: Success
>>> ts@xenon:~/kernel>
>>>
>>> and unsurprisingly, the mail is not sent. If I do the same as root,
>>> everything works as usual, there is no console output from the
>>> sendmail command, and the mail goes out as it should. All other
>>> networking applications appear to be running normally.
>
>> Is it possible to have your config file used to compile the kernel ?
>
> Sure. You can find it at
> http://gollum.phnxsoft.com/~ts/linux/config-2.6.25-rc5-mm1

Thanks,

I was not able to reproduce it, but I think I didn't configured postfix
as I should had. What version do you use ?
If I may ask you, can you put your postfix configuration file and a
strace -f of your failing command ? on your website, that will help me a
lot to investigate.

-- Daniel

2008-03-17 12:23:56

by Peter Zijlstra

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

On Sun, 2008-03-16 at 13:11 -0700, Dave Hansen wrote:

> > ACPI: Core revision 20070126
> > +INFO: trying to register non-static key.
> > +the code is fine but needs lockdep annotation.
> > +turning off the locking correctness validator.
> > +Pid: 0, comm: swapper Not tainted 2.6.25-rc5-mm1-testing #3
> > + [<c014321e>] __lock_acquire+0x144/0xb6e
> > + [<c010b1a2>] ? native_sched_clock+0xe0/0xff
> > + [<c017fc57>] ? kmem_cache_alloc+0x89/0xc9
> > + [<c0142ce0>] ? trace_hardirqs_on+0xe8/0x11d
> > + [<c014404f>] lock_acquire+0x6a/0x90
> > + [<c013b460>] ? down_trylock+0xc/0x27
> > + [<c03016cb>] _spin_lock_irqsave+0x42/0x72
> > + [<c013b460>] ? down_trylock+0xc/0x27
> > + [<c013b460>] down_trylock+0xc/0x27
> > + [<c021fa65>] acpi_os_wait_semaphore+0x67/0x13d
> > + [<c023a39e>] acpi_ut_acquire_mutex+0x65/0xcf
> > + [<c0230261>] acpi_ns_root_initialize+0x1a/0x289
> > + [<c043ad54>] acpi_initialize_subsystem+0x47/0x6a
> > + [<c043afd4>] acpi_early_init+0x57/0xf8
> > + [<c04248ff>] start_kernel+0x34d/0x35a
> > + [<c0424019>] i386_start_kernel+0x8/0xa
> > + =======================
> > ACPI: Checking initramfs for custom DSDT
> > Parsing all Control Methods:
> > Table [DSDT](id 0001) - 637 Objects with 63 Devices 160 Methods 41
> > Regions
>
> Hi Tim,
>
> Again, thanks for the excellent bug reporting.
>
> This is actually a different problem (and not my code again, thank
> goodness). I think a few of these got fixed in current -mm. According
> to Peter Z, these mean:
>
> > It means the lock_class_key ended up in non-static storage.
> >
> > In practise it often means you initialized a on-stack structure
> > incorrectly. DECLARE_WAIT_QUEUE_HEAD() vs
> > DECLARE_WAIT_QUEUE_HEAD_ONSTACK() for example.
>
> So, this looks like an on-stack ACPI structure that got initialized
> wrongly. At least we already have those dudes on the cc. :)

Actually looks like the semaphore thing again, its a spinlock inside of
down_tylock().

> But, this might also get fixed by reverting the patch as Linus just did.
> It might just be best to wait for another -mm release and see how it
> settles out.

Looks like another of the semaphore thingies.. Does this go away once
you apply the semaphore lockdep fixup from here:

http://lkml.org/lkml/2008/3/12/63

2008-03-17 12:50:45

by Benjamin Thery

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root

I also tried to reproduce your problem with Postfix (on a Debian
distro) but failed to
obtain the error message.

While googling for the error string, I found this link which report
the same kind of
error when Postfix is used with grsecurity (in 2006):

http://blog.jensthebrain.de/archives/2006/12/11/IPv6-Probleme-mit-Postfix-und-grsecurity

I barely understand German so I'm not sure it is related to your problem.

Benjamin


On Mon, Mar 17, 2008 at 11:44 AM, Daniel Lezcano <[email protected]> wrote:
> Tilman Schmidt wrote:
> > Am 13.03.2008 23:21 schrieb Daniel Lezcano:
> >> Tilman Schmidt wrote:
> >
> >>> ts@xenon:~/kernel> /usr/sbin/sendmail -t < patch-usb-reduce-syslog-clutter-v3
> >>> postdrop: warning: can't open /proc/net/if_inet6 (Permission denied) - skipping IPv6 configuration
> >>> postdrop: fatal: parameter inet_interfaces: no local interface found for ::1
> >>> sendmail: warning: command "/usr/sbin/postdrop -r" exited with status 1
> >>> sendmail: fatal: ts(1000): unable to execute /usr/sbin/postdrop -r: Success
> >>> ts@xenon:~/kernel>
> >>>
> >>> and unsurprisingly, the mail is not sent. If I do the same as root,
> >>> everything works as usual, there is no console output from the
> >>> sendmail command, and the mail goes out as it should. All other
> >>> networking applications appear to be running normally.
> >
> >> Is it possible to have your config file used to compile the kernel ?
> >
> > Sure. You can find it at
> > http://gollum.phnxsoft.com/~ts/linux/config-2.6.25-rc5-mm1
>
> Thanks,
>
> I was not able to reproduce it, but I think I didn't configured postfix
> as I should had. What version do you use ?
> If I may ask you, can you put your postfix configuration file and a
> strace -f of your failing command ? on your website, that will help me a
> lot to investigate.
>
> -- Daniel
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

2008-03-17 13:07:37

by Tilman Schmidt

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root

Daniel Lezcano schrieb:

> I was not able to reproduce it, but I think I didn't configured postfix
> as I should had. What version do you use ?

It's the one that comes with openSUSE 10.3:

ts@xenon:~> rpm -q postfix
postfix-2.4.5-20.2

> If I may ask you, can you put your postfix configuration file and a
> strace -f of your failing command ? on your website, that will help me a
> lot to investigate.

Sure, no problem. You may find them at

http://gollum.phnxsoft.com/~ts/linux/main.cf
http://gollum.phnxsoft.com/~ts/linux/strace.log

HTH
T.

--
Tilman Schmidt E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Unge?ffnet mindestens haltbar bis: (siehe R?ckseite)


Attachments:
signature.asc (250.00 B)
OpenPGP digital signature

2008-03-17 13:20:28

by Daniel Lezcano

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root

Tilman Schmidt wrote:
> Daniel Lezcano schrieb:
>
>> I was not able to reproduce it, but I think I didn't configured
>> postfix as I should had. What version do you use ?
>
> It's the one that comes with openSUSE 10.3:
>
> ts@xenon:~> rpm -q postfix
> postfix-2.4.5-20.2
>
>> If I may ask you, can you put your postfix configuration file and a
>> strace -f of your failing command ? on your website, that will help me
>> a lot to investigate.
>
> Sure, no problem. You may find them at
>
> http://gollum.phnxsoft.com/~ts/linux/main.cf
> http://gollum.phnxsoft.com/~ts/linux/strace.log

Thank you very much, I will try to reproduce it with a simple program.

2008-03-17 13:36:46

by Tilman Schmidt

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root

Benjamin Thery schrieb:
> While googling for the error string, I found this link which report
> the same kind of
> error when Postfix is used with grsecurity (in 2006):
>
> http://blog.jensthebrain.de/archives/2006/12/11/IPv6-Probleme-mit-Postfix-und-grsecurity
>
> I barely understand German so I'm not sure it is related to your problem.

The userspace failure described there is indeed the same as mine:
Postfix' sendmail command tries to open "/proc/net/if_inet6"
which fails with EACCES.

But I have never installed grsecurity on this machine, and the
problem appeared for me only with kernel 2.6.25-rc5-mm1, not when
running kernel 2.6.25-rc5 on the same machine, so I guess the
cause must be something different.

What's also strange is that I can "cat /proc/net/if_inet6" from
the command line as the same non-root user with no problem at all.
strace of "cat /proc/net/if_inet6" has:

open("/proc/net/if_inet6", O_RDONLY|O_LARGEFILE) = 3

strace of "/usr/sbin/sendmail", however:

open("/proc/net/if_inet6", O_RDONLY) = -1 EACCES (Permission denied)

Both run as

ts@xenon:~> id
uid=1000(ts) gid=100(users) groups=0(root),14(uucp),16(dialout),33(video),100(users),112(bacula)

HTH
T.

--
Tilman Schmidt E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Unge?ffnet mindestens haltbar bis: (siehe R?ckseite)


Attachments:
signature.asc (250.00 B)
OpenPGP digital signature

2008-03-17 17:29:55

by Len Brown

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

I agree with Linus' decision to revert/disable this feature.
I think it is appropriate to muck with this in -mm, but not in -rc6
Kudos to Christoph, who recommended we revert it back at -rc2.

> > What's the problem with just loading a new DSDT later? Potentially as in
> > *much* later: including when user-space is all up-and-running?

I don't think re-loading the DSDT at run-time would be practical.

First, booting with the OEM DSDT may nullify the benefit
of overriding the OEM DSDT -- the damage may have already been done.

Secondly, unwinding everything that depends on the DSDT is on the
order of kexec or suspend/resume. We're talking about all the stuff
that PNP does at boot time, plus device discovery and driver binding.

The feature on the table here is an initrd DSDT override.
We already have the ability to statically compile a DSDT
override into the kernel image. That capability is sufficient
for kernel developers.

The initrd version of the DSDT override is really for one scenario.
Somebody who has a BIOS that even Windows can't deal with -- so
no amount of "Windows bug compatbility" will help Linux with it.
They must be capable eough to generate or acquire a modified DSDT.
They must be unwilling/unable to re-build their kenrel from scratch
each time they update it. Eg. following debian unstable updates etc.

I think that customer deserves support, particularly because they get
bragging rights that Linux works better on a box build for Windows
than Windows does:-)
However, I don't think there are enough customers like this to
justify a huge effort that would add risk to Linux.

-Len

2008-03-17 18:00:46

by Len Brown

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot


> For things like DVD install images, you'd quite possibly want to have a
> few known-workaround DSDT images with the installer, and just say "ok, we
> want to fix up this ACPI crap in order to get working suspend/resume" kind
> of thing.

For a Linux distro to ship DSDT override images, they'd have to
have some licensing & support arrangement with the OEM
who actually owns that BIOS code.

While this wouldn't defy any laws of physics, it doesn't
look compatible with current industry business practices.

OEMs are more likely to simply ship a BIOS update ISO.

-Len

2008-03-17 18:04:48

by Len Brown

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

> We used to have
> a different way but it was even uglier: append the DSDT after the
> initramfs, and then access it _directly_. This implies teaching
> populate_rootfs() to not panic when seeing DSDTs and loosing the benefit
> of the compression.

DSDT's are generally 4KB to 64KB, so I don't think compression
for a DSDT override is important.

-Len

2008-03-17 19:53:51

by Len Brown

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

On Saturday 15 March 2008, Éric Piel wrote:
> 15/03/08 20:21, Linus Torvalds wrote/a écrit:
> >
> > I've reverted the whole thing. Or rather, since there were various small
> > fixup commits over time, and a simple revert doesn't really work, I ended
> > up just removing the option and the code that was conditional on it - that
> > way, if we really want to fight this out some time (after 2.6.25 is out)
> > or some vendor wants to use a known-broken option anyway, there's a simple
> > and fairly clean commit to revert the revert.
> >
> > It's commit 9a9e0d685553af76cb6ae2af93cca4913e7fcd47, see
> >
> > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=9a9e0d685553af76cb6ae2af93cca4913e7fcd47
> >
> > for details if you aren't a git person.

> It's a pity, I had just nearly finished a new approach. Instead of
> relying on populate_rootfs() and the filesystem infrastructure, the new
> approach directly finds the file in the initramfs. With
> unpack_to_rootfs(), it turned out to be rather straightforward. Attached
> is a half-tested version of the patch (it boots and works but I haven't
> compiled without the option yet). Just in case you would like to change
> your mind ;-)

I recommend that you make a new proposal for 2.6.26
that applies on top of Linus' top-of-tree and that we
include lkml in hashing it out rather than just linux-acpi.

thanks,
-Len

2008-03-19 20:50:39

by Benjamin Thery

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root

Tilman,

I've finally managed to reproduce your problem with Postfix on one of
my victims.

Earlier, in the afternoon, I wrote a piece of code that triggered a
similar behaviour,
but I wasn't sure it was exactly the problem you found. So, I've
rebuilt Postfix, added
some traces and, voila, same issue as yours.
(The version of Postfix originally installed on my machine seems to
have IPv6 disabled)

I bisected the problem to the commit "[NET]: Make /proc/net a symlink
on /proc/self/net (v3)"

Here is what happens:

- Recently /proc/net has been moved to /proc/self/net, and
/proc/self/net is a symlink
on this directory.
- Before that everybody could access /proc/net and read /proc/net/if_inet6:
dr-xr-xr-x 6 root root 0 2008-03-05 15:23 /proc/net

- Now, /proc/self/net has a more restrictive access mode and ony the
owner of the
process can enter the directory:
dr-xr--r-- 5 toto toto 0 Mar 19 17:30 net

This is not a problem in most of the cases, but it becomes annoying
when a process
decides to change its UID or GID. It may loose access to its own
/proc/self/net entries.

- What happens in the Postfix case is the 'sendmail' process executes the
'/usr/sbin/postdrop' binary to enqueue the message, but unfortunately
'/usr/bin/postdrop' has the setgid bit set:
-rwxr-sr-x 1 root postdrop 479475 Mar 19 17:14 /usr/sbin/postdrop

The process egid changes and this seems to be problematic to access
/proc/self/net/if_inet6. :)

I've attached a tiny test program that can be used to reproduce the problem
without Postfix.
- Either execute it as root and give it an unprivileged uid in argument
./test-proc_net_if_inet6 1001

- Or change its ownership and access mode to: -rwxr-sr-x root postdrop
and execute it as a lambda user.
chown root:postdrop test-proc_net_if_inet6; chmod 2755 test-proc_net_if_inet6
./test-proc_net_if_inet6

I've found the cause but not the fix. :)
(Adding Pavel in cc:)

Regards,
Benjamin


On Thu, Mar 13, 2008 at 8:48 PM, Tilman Schmidt <[email protected]> wrote:
> Am 11.03.2008 09:14 schrieb Andrew Morton:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
>
> I'm noticing a strange effect with this:
>
> On my openSUSE 10.3 development machine with SUSEs default MTA
> Postfix installed, I occasionally send a pre-formatted mail by
> feeding it directly into "/usr/sbin/sendmail -t". If I try that
> while running a 2.6.25-rc5-mm1 kernel, I get:
>
> ts@xenon:~/kernel> /usr/sbin/sendmail -t < patch-usb-reduce-syslog-clutter-v3
> postdrop: warning: can't open /proc/net/if_inet6 (Permission denied) - skipping IPv6 configuration
> postdrop: fatal: parameter inet_interfaces: no local interface found for ::1
> sendmail: warning: command "/usr/sbin/postdrop -r" exited with status 1
> sendmail: fatal: ts(1000): unable to execute /usr/sbin/postdrop -r: Success
> ts@xenon:~/kernel>
>
> and unsurprisingly, the mail is not sent. If I do the same as root,
> everything works as usual, there is no console output from the
> sendmail command, and the mail goes out as it should. All other
> networking applications appear to be running normally.
>
> On a 2.6.25-rc5 (non-mm) kernel I do not need to run the sendmail
> command as root. It works just as well if I run it as myself.
>
> IPv6 is not in use on that machine. The Ethernet interface has
> just the link local IPv6 address. Possibly relevant information:
>
> ts@xenon:~> /sbin/ifconfig -a
> eth0 Protokoll:Ethernet Hardware Adresse 00:19:D1:03:D8:FF
> inet Adresse:192.168.59.102 Bcast:192.168.59.255 Maske:255.255.255.0
> inet6 Adresse: fe80::219:d1ff:fe03:d8ff/64 G?ltigkeitsbereich:Verbindung
> UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:78 errors:0 dropped:0 overruns:0 frame:0
> TX packets:145 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 Sendewarteschlangenl?nge:100
> RX bytes:9547 (9.3 Kb) TX bytes:17952 (17.5 Kb)
> Speicher:92c00000-92c20000
>
> lo Protokoll:Lokale Schleife
> inet Adresse:127.0.0.1 Maske:255.0.0.0
> inet6 Adresse: ::1/128 G?ltigkeitsbereich:Maschine
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:2 errors:0 dropped:0 overruns:0 frame:0
> TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 Sendewarteschlangenl?nge:0
> RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)
>
> ts@xenon:~/kernel> ls -l /proc/net/if_inet6
> -r--r--r-- 1 root root 0 13. M?r 19:26 /proc/net/if_inet6
> ts@xenon:~> cat /proc/net/if_inet6
> fe800000000000000219d1fffe03d8ff 02 40 20 80 eth0
> 00000000000000000000000000000001 01 80 10 80 lo
> ts@xenon:~> uname -a
> Linux xenon 2.6.25-rc5-mm1-testing #1 SMP PREEMPT Tue Mar 11 14:34:49 CET 2008 i686 i686 i386 GNU/Linux
>
> As you see, I can cat /proc/net/if_inet6 as regular (non-root) user
> just fine, even though Postfix complains it cannot access it.
> The content of /proc/net/if_inet6 is identical if I cat it on
> kernel 2.6.25-rc5 mainline.
>
> CCing a selection of IPv6 networking related maintainer addresses.
> If you need more information or want me to test something, let me
> know.
>
> HTH
> T.
>
> --
> Tilman Schmidt E-Mail: [email protected]
> Bonn, Germany
> Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
> Unge?ffnet mindestens haltbar bis: (siehe R?ckseite)
>
>


Attachments:
(No filename) (5.42 kB)
test-proc_net_if_inet6.c (497.00 B)
Download all attachments

2008-03-19 22:47:43

by Andrew Morton

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root

On Wed, 19 Mar 2008 18:52:41 +0100
"Benjamin Thery" <[email protected]> wrote:

> Tilman,
>
> I've finally managed to reproduce your problem with Postfix on one of
> my victims.
>
> Earlier, in the afternoon, I wrote a piece of code that triggered a
> similar behaviour,
> but I wasn't sure it was exactly the problem you found. So, I've
> rebuilt Postfix, added
> some traces and, voila, same issue as yours.
> (The version of Postfix originally installed on my machine seems to
> have IPv6 disabled)
>
> I bisected the problem to the commit "[NET]: Make /proc/net a symlink
> on /proc/self/net (v3)"
>
> Here is what happens:
>
> - Recently /proc/net has been moved to /proc/self/net, and
> /proc/self/net is a symlink
> on this directory.
> - Before that everybody could access /proc/net and read /proc/net/if_inet6:
> dr-xr-xr-x 6 root root 0 2008-03-05 15:23 /proc/net
>
> - Now, /proc/self/net has a more restrictive access mode and ony the
> owner of the
> process can enter the directory:
> dr-xr--r-- 5 toto toto 0 Mar 19 17:30 net
>
> This is not a problem in most of the cases, but it becomes annoying
> when a process
> decides to change its UID or GID. It may loose access to its own
> /proc/self/net entries.
>
> - What happens in the Postfix case is the 'sendmail' process executes the
> '/usr/sbin/postdrop' binary to enqueue the message, but unfortunately
> '/usr/bin/postdrop' has the setgid bit set:
> -rwxr-sr-x 1 root postdrop 479475 Mar 19 17:14 /usr/sbin/postdrop
>
> The process egid changes and this seems to be problematic to access
> /proc/self/net/if_inet6. :)
>
> I've attached a tiny test program that can be used to reproduce the problem
> without Postfix.
> - Either execute it as root and give it an unprivileged uid in argument
> ./test-proc_net_if_inet6 1001
>
> - Or change its ownership and access mode to: -rwxr-sr-x root postdrop
> and execute it as a lambda user.
> chown root:postdrop test-proc_net_if_inet6; chmod 2755 test-proc_net_if_inet6
> ./test-proc_net_if_inet6
>
> I've found the cause but not the fix. :)
> (Adding Pavel in cc:)
>

Thanks for that - most useful.

Although this is advertised as a 2.6.25-rc5-mm1 problem, I assume the
regression is also in mainline? 2.6.25-rc6?

2008-03-19 23:46:49

by Benjamin Thery

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root

On Wed, Mar 19, 2008 at 10:16 PM, Andrew Morton
<[email protected]> wrote:
>
> On Wed, 19 Mar 2008 18:52:41 +0100
> "Benjamin Thery" <[email protected]> wrote:
>
> > Tilman,
> >
> > I've finally managed to reproduce your problem with Postfix on one of
> > my victims.
> >
> > Earlier, in the afternoon, I wrote a piece of code that triggered a
> > similar behaviour,
> > but I wasn't sure it was exactly the problem you found. So, I've
> > rebuilt Postfix, added
> > some traces and, voila, same issue as yours.
> > (The version of Postfix originally installed on my machine seems to
> > have IPv6 disabled)
> >
> > I bisected the problem to the commit "[NET]: Make /proc/net a symlink
> > on /proc/self/net (v3)"
> >
> > Here is what happens:
> >
> > - Recently /proc/net has been moved to /proc/self/net, and
> > /proc/self/net is a symlink
> > on this directory.
> > - Before that everybody could access /proc/net and read /proc/net/if_inet6:
> > dr-xr-xr-x 6 root root 0 2008-03-05 15:23 /proc/net
> >
> > - Now, /proc/self/net has a more restrictive access mode and ony the
> > owner of the
> > process can enter the directory:
> > dr-xr--r-- 5 toto toto 0 Mar 19 17:30 net
> >
> > This is not a problem in most of the cases, but it becomes annoying
> > when a process
> > decides to change its UID or GID. It may loose access to its own
> > /proc/self/net entries.
> >
> > - What happens in the Postfix case is the 'sendmail' process executes the
> > '/usr/sbin/postdrop' binary to enqueue the message, but unfortunately
> > '/usr/bin/postdrop' has the setgid bit set:
> > -rwxr-sr-x 1 root postdrop 479475 Mar 19 17:14 /usr/sbin/postdrop
> >
> > The process egid changes and this seems to be problematic to access
> > /proc/self/net/if_inet6. :)
> >
> > I've attached a tiny test program that can be used to reproduce the problem
> > without Postfix.
> > - Either execute it as root and give it an unprivileged uid in argument
> > ./test-proc_net_if_inet6 1001
> >
> > - Or change its ownership and access mode to: -rwxr-sr-x root postdrop
> > and execute it as a lambda user.
> > chown root:postdrop test-proc_net_if_inet6; chmod 2755 test-proc_net_if_inet6
> > ./test-proc_net_if_inet6
> >
> > I've found the cause but not the fix. :)
> > (Adding Pavel in cc:)
> >
>
> Thanks for that - most useful.
>
> Although this is advertised as a 2.6.25-rc5-mm1 problem, I assume the
> regression is also in mainline? 2.6.25-rc6?

Yes, it is in mainline. I reproduced it on 2.6.25-rc5.

Benjamin

2008-03-20 00:02:40

by David Miller

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root

From: Andrew Morton <[email protected]>
Date: Wed, 19 Mar 2008 14:16:08 -0700

> Although this is advertised as a 2.6.25-rc5-mm1 problem, I assume the
> regression is also in mainline? 2.6.25-rc6?

It is in 2.6.25-rc6, correct.

If Pavel or someone else doesn't produce a good fix soon
I'll revert the guilty change as this bug is worse than
the problem that changeset fixes.

2008-03-20 00:14:41

by Tilman Schmidt

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root

Am 19.03.2008 22:16 schrieb Andrew Morton:
> On Wed, 19 Mar 2008 18:52:41 +0100
> "Benjamin Thery" <[email protected]> wrote:
>
>> I bisected the problem to the commit "[NET]: Make /proc/net a symlink
>> on /proc/self/net (v3)"
[...]
>> I've attached a tiny test program that can be used to reproduce the problem
>> without Postfix.

Thanks. Works great.

> Although this is advertised as a 2.6.25-rc5-mm1 problem, I assume the
> regression is also in mainline? 2.6.25-rc6?

My results:

up to 2.6.25-rc5 -- good
2.6.25-rc5-mm1 -- bad
2.6.25-rc6 -- bad

HTH
T.

--
Tilman Schmidt E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Unge?ffnet mindestens haltbar bis: (siehe R?ckseite)


Attachments:
signature.asc (253.00 B)
OpenPGP digital signature

2008-03-20 00:28:36

by Tilman Schmidt

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

Am 17.03.2008 13:23 schrieb Peter Zijlstra:
> On Sun, 2008-03-16 at 13:11 -0700, Dave Hansen wrote:
>
>>> ACPI: Core revision 20070126
>>> +INFO: trying to register non-static key.
>>> +the code is fine but needs lockdep annotation.
>>> +turning off the locking correctness validator.
>>> +Pid: 0, comm: swapper Not tainted 2.6.25-rc5-mm1-testing #3
>>> + [<c014321e>] __lock_acquire+0x144/0xb6e
>>> + [<c010b1a2>] ? native_sched_clock+0xe0/0xff
>>> + [<c017fc57>] ? kmem_cache_alloc+0x89/0xc9
>>> + [<c0142ce0>] ? trace_hardirqs_on+0xe8/0x11d
>>> + [<c014404f>] lock_acquire+0x6a/0x90
>>> + [<c013b460>] ? down_trylock+0xc/0x27
>>> + [<c03016cb>] _spin_lock_irqsave+0x42/0x72
>>> + [<c013b460>] ? down_trylock+0xc/0x27
>>> + [<c013b460>] down_trylock+0xc/0x27
>>> + [<c021fa65>] acpi_os_wait_semaphore+0x67/0x13d
>>> + [<c023a39e>] acpi_ut_acquire_mutex+0x65/0xcf
>>> + [<c0230261>] acpi_ns_root_initialize+0x1a/0x289
>>> + [<c043ad54>] acpi_initialize_subsystem+0x47/0x6a
>>> + [<c043afd4>] acpi_early_init+0x57/0xf8
>>> + [<c04248ff>] start_kernel+0x34d/0x35a
>>> + [<c0424019>] i386_start_kernel+0x8/0xa
>>> + =======================
>>> ACPI: Checking initramfs for custom DSDT
[...]
> Looks like another of the semaphore thingies.. Does this go away once
> you apply the semaphore lockdep fixup from here:
>
> http://lkml.org/lkml/2008/3/12/63

Yes, it does. With that patch on top of Dave's, I see no stack
backtraces in dmesg anymore.

HTH
T.

--
Tilman Schmidt E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Unge?ffnet mindestens haltbar bis: (siehe R?ckseite)


Attachments:
signature.asc (253.00 B)
OpenPGP digital signature

2008-03-20 02:17:34

by Len Brown

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot


> > The initrd version of the DSDT override is really for one scenario.
> > Somebody who has a BIOS that even Windows can't deal with -- so
> > no amount of "Windows bug compatbility" will help Linux with it.

> No, this is for people getting involved in ACPI.
> Everybody thinks ACPI is that complicated..., but it's not.
> It's amazing how far people can debug ACPI bugs (yes, even people who
> "do not even know" how to compile a kernel) by simply analyzing the ASL
> BIOS code.

Thomas,
The justification above is what convinced me
that we should try to integrate this feature.
Further, although we failed in 2.6.25,
I think we should continue to try to get this capability integrated.

If you think it will be useful for additional purposes, that's great.
As you know, I'm somewhat skeptical, as I've seen huge mistakes such
as a database of modified BIOS images created and used when the users
have absolutely no idea what they're doing. But we don't have to
agree on this to move forward.

thanks,
-Len

2008-03-20 08:26:52

by Benjamin Thery

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root

On Wed, Mar 19, 2008 at 11:49 PM, David Miller <[email protected]> wrote:
> From: Andrew Morton <[email protected]>
> Date: Wed, 19 Mar 2008 14:16:08 -0700
>
>
> > Although this is advertised as a 2.6.25-rc5-mm1 problem, I assume the
> > regression is also in mainline? 2.6.25-rc6?
>
> It is in 2.6.25-rc6, correct.
>
> If Pavel or someone else doesn't produce a good fix soon
> I'll revert the guilty change as this bug is worse than
> the problem that changeset fixes.

Andre Noll sent a patch to LKML, acked by Pavel:

"Fix permissions of /proc/net"
http://thread.gmane.org/gmane.linux.kernel/655148

Benjamin

2008-03-20 10:21:52

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root

On Thursday, 20 of March 2008, Benjamin Thery wrote:
> On Wed, Mar 19, 2008 at 11:49 PM, David Miller <[email protected]> wrote:
> > From: Andrew Morton <[email protected]>
> > Date: Wed, 19 Mar 2008 14:16:08 -0700
> >
> >
> > > Although this is advertised as a 2.6.25-rc5-mm1 problem, I assume the
> > > regression is also in mainline? 2.6.25-rc6?
> >
> > It is in 2.6.25-rc6, correct.
> >
> > If Pavel or someone else doesn't produce a good fix soon
> > I'll revert the guilty change as this bug is worse than
> > the problem that changeset fixes.
>
> Andre Noll sent a patch to LKML, acked by Pavel:
>
> "Fix permissions of /proc/net"
> http://thread.gmane.org/gmane.linux.kernel/655148

Have you tested that patch?

Rafael

2008-03-20 12:53:19

by Pavel Emelyanov

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root

Rafael J. Wysocki wrote:
> On Thursday, 20 of March 2008, Benjamin Thery wrote:
>> On Wed, Mar 19, 2008 at 11:49 PM, David Miller <[email protected]> wrote:
>>> From: Andrew Morton <[email protected]>
>>> Date: Wed, 19 Mar 2008 14:16:08 -0700
>>>
>>>
>>> > Although this is advertised as a 2.6.25-rc5-mm1 problem, I assume the
>>> > regression is also in mainline? 2.6.25-rc6?
>>>
>>> It is in 2.6.25-rc6, correct.
>>>
>>> If Pavel or someone else doesn't produce a good fix soon
>>> I'll revert the guilty change as this bug is worse than
>>> the problem that changeset fixes.
>> Andre Noll sent a patch to LKML, acked by Pavel:
>>
>> "Fix permissions of /proc/net"
>> http://thread.gmane.org/gmane.linux.kernel/655148
>
> Have you tested that patch?

I did - works OK, that's why I Acked it.

> Rafael
>

2008-03-20 13:48:47

by Benjamin Thery

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root

On Thu, Mar 20, 2008 at 1:52 PM, Pavel Emelyanov <[email protected]> wrote:
>
> Rafael J. Wysocki wrote:
> > On Thursday, 20 of March 2008, Benjamin Thery wrote:
> >> On Wed, Mar 19, 2008 at 11:49 PM, David Miller <[email protected]> wrote:
> >>> From: Andrew Morton <[email protected]>
> >>> Date: Wed, 19 Mar 2008 14:16:08 -0700
> >>>
> >>>
> >>> > Although this is advertised as a 2.6.25-rc5-mm1 problem, I assume the
> >>> > regression is also in mainline? 2.6.25-rc6?
> >>>
> >>> It is in 2.6.25-rc6, correct.
> >>>
> >>> If Pavel or someone else doesn't produce a good fix soon
> >>> I'll revert the guilty change as this bug is worse than
> >>> the problem that changeset fixes.
> >> Andre Noll sent a patch to LKML, acked by Pavel:
> >>
> >> "Fix permissions of /proc/net"
> >> http://thread.gmane.org/gmane.linux.kernel/655148
> >
> > Have you tested that patch?
>
> I did - works OK, that's why I Acked it.

Also tested here. It fixes the regression.


Benjamin

2008-03-20 14:28:38

by Thomas Renninger

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

On Tue, 2008-03-18 at 16:32 -0400, Len Brown wrote:
> > > The initrd version of the DSDT override is really for one scenario.
> > > Somebody who has a BIOS that even Windows can't deal with -- so
> > > no amount of "Windows bug compatbility" will help Linux with it.
>
> > No, this is for people getting involved in ACPI.
> > Everybody thinks ACPI is that complicated..., but it's not.
> > It's amazing how far people can debug ACPI bugs (yes, even people who
> > "do not even know" how to compile a kernel) by simply analyzing the ASL
> > BIOS code.
>
> Thomas,
> The justification above is what convinced me
> that we should try to integrate this feature.
> Further, although we failed in 2.6.25,
> I think we should continue to try to get this capability integrated.
>
> If you think it will be useful for additional purposes, that's great.
> As you know, I'm somewhat skeptical, as I've seen huge mistakes such
> as a database of modified BIOS images created and used when the users
> have absolutely no idea what they're doing.
But even here we now have the only existing database for some research.
-> very important IMO.
> But we don't have to
> agree on this to move forward.
I think we fully agree.
I don't mind to add a message in big letters: "Only override the DSDT
for debugging, please report any findings" or whatever, we can add this
ten times in a row, still it is an important feature which is worth
pushing (and getting populate_root_fs being able to be executed earlier
is a feature others also like to see AFAIK).

Thomas

2008-03-20 14:40:26

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root

On Thursday, 20 of March 2008, Benjamin Thery wrote:
> On Thu, Mar 20, 2008 at 1:52 PM, Pavel Emelyanov <[email protected]> wrote:
> >
> > Rafael J. Wysocki wrote:
> > > On Thursday, 20 of March 2008, Benjamin Thery wrote:
> > >> On Wed, Mar 19, 2008 at 11:49 PM, David Miller <[email protected]> wrote:
> > >>> From: Andrew Morton <[email protected]>
> > >>> Date: Wed, 19 Mar 2008 14:16:08 -0700
> > >>>
> > >>>
> > >>> > Although this is advertised as a 2.6.25-rc5-mm1 problem, I assume the
> > >>> > regression is also in mainline? 2.6.25-rc6?
> > >>>
> > >>> It is in 2.6.25-rc6, correct.
> > >>>
> > >>> If Pavel or someone else doesn't produce a good fix soon
> > >>> I'll revert the guilty change as this bug is worse than
> > >>> the problem that changeset fixes.
> > >> Andre Noll sent a patch to LKML, acked by Pavel:
> > >>
> > >> "Fix permissions of /proc/net"
> > >> http://thread.gmane.org/gmane.linux.kernel/655148
> > >
> > > Have you tested that patch?
> >
> > I did - works OK, that's why I Acked it.
>
> Also tested here. It fixes the regression.

OK, thanks.

Rafael

2008-03-21 12:12:29

by Ingo Molnar

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1


* Badari Pulavarty <[email protected]> wrote:

> Yes. I found the following patch to be the culprit.
>
> sched: make sure jiffies is up to date before calling __update_rq_clock
> ()

thanks Badari, i've backed out this patch.

Ingo

2008-03-21 14:06:06

by Pavel Machek

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

Hi!

> > It's a pity, I had just nearly finished a new approach. Instead of
> > relying on populate_rootfs() and the filesystem infrastructure, the new
> > approach directly finds the file in the initramfs.
>
> So that avoids the VFS layer issues, but it's still strictly much worse
> than just having a run-time loading.
>
> What's the problem with just loading a new DSDT later? Potentially as in
> *much* later: including when user-space is all up-and-running?
>
> For things like DVD install images, you'd quite possibly want to have a
> few known-workaround DSDT images with the installer, and just say "ok, we
> want to fix up this ACPI crap in order to get working suspend/resume" kind
> of thing.
>
> So what's the reason for pushing for this insanely-early workaround in the
> first place, instead of letting user-space do something like
>
> cat my-dsdt-image > /proc/sys/acpi/DSDT
>
> or whatever at runtime?

You have interpretted code runing (AML), and you want to replace it
with different code?

Akin to changing from one kernel to different during runtime?

Yes, I guess it might work for very simple changes, but if you need to change
data structures between origina and modified DSDT, you are in for a
big trouble, right?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

2008-03-23 16:00:28

by Dave Hansen

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

On Fri, 2008-03-21 at 14:17 +0100, Pavel Machek wrote:
> > So what's the reason for pushing for this insanely-early workaround in the
> > first place, instead of letting user-space do something like
> >
> > cat my-dsdt-image > /proc/sys/acpi/DSDT
> >
> > or whatever at runtime?
>
> You have interpretted code runing (AML), and you want to replace it
> with different code?
>
> Akin to changing from one kernel to different during runtime?

Heh. That gave me an idea.

Can we use kexec for this? Let's say you get as far in boot as the
initrd and realize that you're running on one of these screwed up
systems. Can you stick the new DSDT somewhere known (and safe) in
memory, and kexec yourself back to the beginning of the kernel boot?

When you boot up the second time, you have the new, shiny DSDT there
which is, of course, used instead of the bogus BIOS one.

It costs you some bootup time, but we're talking about working around
really busted hardware here.

-- Dave

2008-03-24 16:03:46

by Pavel Machek

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

Hi!
> > > So what's the reason for pushing for this insanely-early workaround in the
> > > first place, instead of letting user-space do something like
> > >
> > > cat my-dsdt-image > /proc/sys/acpi/DSDT
> > >
> > > or whatever at runtime?
> >
> > You have interpretted code runing (AML), and you want to replace it
> > with different code?
> >
> > Akin to changing from one kernel to different during runtime?
>
> Heh. That gave me an idea.
>
> Can we use kexec for this? Let's say you get as far in boot as the
> initrd and realize that you're running on one of these screwed up
> systems. Can you stick the new DSDT somewhere known (and safe) in
> memory, and kexec yourself back to the beginning of the kernel boot?
>
> When you boot up the second time, you have the new, shiny DSDT there
> which is, of course, used instead of the bogus BIOS one.
>
> It costs you some bootup time, but we're talking about working around
> really busted hardware here.

Hmmm. I guess we should turn off acpi mode, kexec, turn on acpi mode
with new dsdt.

Turning off acpi is not exactly easy, but specs describe how to do
it...

So yes, this is hard but doable.

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

2008-03-24 17:05:35

by Éric Piel

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

Pavel Machek wrote:
> Hi!
>> Can we use kexec for this? Let's say you get as far in boot as the
>> initrd and realize that you're running on one of these screwed up
>> systems. Can you stick the new DSDT somewhere known (and safe) in
>> memory, and kexec yourself back to the beginning of the kernel boot?
>>
>> When you boot up the second time, you have the new, shiny DSDT there
>> which is, of course, used instead of the bogus BIOS one.
>>
>> It costs you some bootup time, but we're talking about working around
>> really busted hardware here.
>
> Hmmm. I guess we should turn off acpi mode, kexec, turn on acpi mode
> with new dsdt.
>
> Turning off acpi is not exactly easy, but specs describe how to do
> it...
Why do you think it's necessary to turn off acpi mode? What will not
work if we keep it on all the time?

BTW, let me summarize my understanding of the kexec approach:
* the userspace write the new DSDT (cat my-dsdt-image >
/sys/firmware/acpi/tables/DSDT)
* the kernel don't use this DSDT directly but keeps it somewhere warm
and fuzzy in the RAM
* userspace does a kexec
* the new kernel boots and at some (early) point, dsdt_override() is
called. It detects that the special place in the RAM for a new DSDT is
used. It provides this pointer to ACPI as the new place to read the DSDT.

Dave, am I correctly understanding the scenario you had in mind?

I have pratically no knowledge of kexec. Is there a documented way to
pass big chunk of data from one kernel to another one? How can I do that?

Eric

2008-03-24 17:19:13

by Pavel Machek

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

On Mon 2008-03-24 18:05:14, Eric Piel wrote:
> Pavel Machek wrote:
>> Hi!
>>> Can we use kexec for this? Let's say you get as far in boot as the
>>> initrd and realize that you're running on one of these screwed up
>>> systems. Can you stick the new DSDT somewhere known (and safe) in
>>> memory, and kexec yourself back to the beginning of the kernel boot?
>>>
>>> When you boot up the second time, you have the new, shiny DSDT there
>>> which is, of course, used instead of the bogus BIOS one.
>>>
>>> It costs you some bootup time, but we're talking about working around
>>> really busted hardware here.
>>
>> Hmmm. I guess we should turn off acpi mode, kexec, turn on acpi mode
>> with new dsdt.
>>
>> Turning off acpi is not exactly easy, but specs describe how to do
>> it...
> Why do you think it's necessary to turn off acpi mode? What will not work
> if we keep it on all the time?
>
> BTW, let me summarize my understanding of the kexec approach:
> * the userspace write the new DSDT (cat my-dsdt-image >
> /sys/firmware/acpi/tables/DSDT)
> * the kernel don't use this DSDT directly but keeps it somewhere warm and
> fuzzy in the RAM
> * userspace does a kexec
> * the new kernel boots and at some (early) point, dsdt_override() is
> called. It detects that the special place in the RAM for a new DSDT is
> used. It provides this pointer to ACPI as the new place to read the
> DSDT.

Yes, and now ACPI layer tries to enable already enabled ACPI... which
is no-no according to spec, but you may be able to get away with it.

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
pomozte zachranit klanovicky les: http://www.ujezdskystrom.info/

2008-03-24 17:23:45

by Dave Hansen

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

On Mon, 2008-03-24 at 18:05 +0100, Eric Piel wrote:
> BTW, let me summarize my understanding of the kexec approach:
> * the userspace write the new DSDT (cat my-dsdt-image >
> /sys/firmware/acpi/tables/DSDT)
> * the kernel don't use this DSDT directly but keeps it somewhere warm
> and fuzzy in the RAM
> * userspace does a kexec
> * the new kernel boots and at some (early) point, dsdt_override() is
> called. It detects that the special place in the RAM for a new DSDT is
> used. It provides this pointer to ACPI as the new place to read the DSDT.
>
> Dave, am I correctly understanding the scenario you had in mind?

Yeah, that's basically what I was thinking.

But, this is only for a case where we can't do the real runtime
replacement that Linus has been advocating. That approach is clearly
superior, but I would imagine that it'll require some serious ACPI
surgery and won't cover things like if the SRAT table was messed up.

> I have pratically no knowledge of kexec. Is there a documented way to
> pass big chunk of data from one kernel to another one? How can I do that?

Heh. Documented, no. What OS do you think this is? ;) I'm not sure it
has ever been really needed before.

At one point, kexec just make a copy of the e820 table to tell the new
kernel where it's ram was. If you carved out a chunk of memory and set
it as reserved, the new kernel could go looking there.

kexec is Eric Biederman's (on cc) baby, and he might have some more
concrete suggestions for you.

-- Dave

2008-03-25 12:32:20

by Helge Hafting

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1 shutdown crash

Andrew Morton wrote:
[...]
> Yes, I was hitting the text_poke() oops with 2.6.25-rc3-mm1 but not with
> 2.6.25-rc5-mm1.
>
> This _might_ have been due to a snafu in git-x86: it had a [patch 2/2] from
> Mathieu but was missing the needed [patch 1/2]. But I don't know if this
> was the cause and I don't know whether 2.6.25-rc3-mm1's git-x86 had the
> same problem.
>
The problem seems to be solved in 2.6.25-rc6.

Helge Hafting

2008-03-27 09:20:00

by Helge Hafting

[permalink] [raw]
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot

Dave Hansen wrote:
> On Fri, 2008-03-21 at 14:17 +0100, Pavel Machek wrote:
>
>>> So what's the reason for pushing for this insanely-early workaround in the
>>> first place, instead of letting user-space do something like
>>>
>>> cat my-dsdt-image > /proc/sys/acpi/DSDT
>>>
>>> or whatever at runtime?
>>>
>> You have interpretted code runing (AML), and you want to replace it
>> with different code?
>>
>> Akin to changing from one kernel to different during runtime?
>>
>
> Heh. That gave me an idea.
>
> Can we use kexec for this? Let's say you get as far in boot as the
> initrd and realize that you're running on one of these screwed up
> systems. Can you stick the new DSDT somewhere known (and safe) in
> memory, and kexec yourself back to the beginning of the kernel boot?
>
> When you boot up the second time, you have the new, shiny DSDT there
> which is, of course, used instead of the bogus BIOS one.
>
I see a problem here.
This could work. And if it is successful, the "kexec reboot around
busted hw"-trick
is used for other stuff as well.

So your broken machine reboots with some fix, then it reboots with the
custom DSDT. Is the previous fix preserved? Then a third problem is hit,
another kexec reboot. Is the first fix _and_ the custom DSDT
preserved on this reboot? Or do we get an infinite sequence of reboots,
alternating between a couple of completely unrelated fixes for bad
hw/bios...

Once there is more than one fix utilizing this trick, some "protocol" for
managing a string of kexec fixes might become necessary.

Helge Hafting

2008-03-28 22:52:37

by Mariusz Kozlowski

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1 sparc64 boot problems due to generic pci_enable_resources()

Hello,

The gregkh-pci-pci-sparc64-use-generic-pci_enable_resources.patch which
replaces arch-specific code with generic pci_enable_resources() makes my sparc64
box unable to boot (that's what quilt bisection says). At first I see these messages:

hme 0000:00:01.1: device not available because of BAR 0 [1ff80008000:1ff8000f01f] collisions
sym53c8xx 0000:00:03.0: device not available because of BAR 0 [1fe02010400:1fe020104ff] collisions
sym53c8xx 0000:00:03.1: device not available because of BAR 0 [1fe02010800:1fe020108ff] collisions

and finally, infamous

VFS: Cannot open root device "sda3" or unknown-block(0,0)

Mariusz

PS. I attached .config used at bisection time.

# lspci
0000:00:00.0 Host bridge: Sun Microsystems Computer Corp. Psycho PCI Bus Module
0000:00:01.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
0000:00:01.1 Ethernet controller: Sun Microsystems Computer Corp. Happy Meal (rev 01)
0000:00:03.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 14)
0000:00:03.1 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 14)
0001:00:00.0 Host bridge: Sun Microsystems Computer Corp. Psycho PCI Bus Module

$ uname -a
Linux sparc64 2.6.25-rc5 #2 SMP PREEMPT Fri Mar 28 12:16:30 CET 2008 sparc64 sun4u TI UltraSparc II (BlackBird) GNU/Linux


Attachments:
(No filename) (1.27 kB)
config-sparc64-2.6.25-rc5-mm1-bisect (24.78 kB)
Download all attachments

2008-03-28 23:10:43

by David Miller

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1 sparc64 boot problems due to generic pci_enable_resources()

From: Mariusz Kozlowski <[email protected]>
Date: Fri, 28 Mar 2008 23:52:10 +0100

> The gregkh-pci-pci-sparc64-use-generic-pci_enable_resources.patch which
> replaces arch-specific code with generic pci_enable_resources() makes my sparc64
> box unable to boot (that's what quilt bisection says). At first I see these messages:

Yes, that generic code won't work because of the NULL
r->parent check.

Alpha, ARM, V32, FRV, IA64, MIPS, MN10300, PARISC, PPC,
SH, V850, X86, and Xtensa are all likely to run into
problems because of this change.

The only platform that did the check as a test of r->parent
being NULL is Powerpc.

The rest either didn't check (like sparc64), or tested it by going:

if (!r->start && r->end)

So the amount of potential breakage from this change is enormous.

2008-03-29 00:45:53

by Benjamin Herrenschmidt

[permalink] [raw]
Subject: Re: 2.6.25-rc5-mm1 sparc64 boot problems due to generic pci_enable_resources()


On Fri, 2008-03-28 at 16:10 -0700, David Miller wrote:
> From: Mariusz Kozlowski <[email protected]>
> Date: Fri, 28 Mar 2008 23:52:10 +0100
>
> > The gregkh-pci-pci-sparc64-use-generic-pci_enable_resources.patch which
> > replaces arch-specific code with generic pci_enable_resources() makes my sparc64
> > box unable to boot (that's what quilt bisection says). At first I see these messages:
>
> Yes, that generic code won't work because of the NULL
> r->parent check.
>
> Alpha, ARM, V32, FRV, IA64, MIPS, MN10300, PARISC, PPC,
> SH, V850, X86, and Xtensa are all likely to run into
> problems because of this change.

ppc and x86 won't have problem, I haven't checked the others, sparc64
will as I see things.

> The only platform that did the check as a test of r->parent
> being NULL is Powerpc.

Yup, though that makes sense to do it that way on platforms that
actually build a resource tree like x86 or powerpc.

> The rest either didn't check (like sparc64), or tested it by going:
>
> if (!r->start && r->end)
>
> So the amount of potential breakage from this change is enormous.

Not that big, but yeah, it should be limited to platforms that actually
build a resource-tree and keep track of assigned & allocated resources,
which sparc64 doesn't (which is fair enough, if your firmware is 100%
right and your kernel never has to assigns things itself). The NULL
parent is a 100% indication that the resource was properly claimed and
put in the resource-tree (and thus is non conflicting) on those
platforms, but it's unused on sparc64.

Basically, on platforms like x86 or powerpc, the PCI subsystem at boot
builds a resource tree by collecting resources for all enabled devices
and bridges in a first pass, then all others in a second pass, checking
for conflicts or unassigned ones, and potentially re-assigning and
re-allocating bridges if necessary.

Sparc64 takes a different approach, it basically doesn't bother with a
full resource tree, and just claims what driver claim, which is fine as
long as you are certain that you always get a perfectly well assigned &
non conflicting setup done by your firmware.

The "full featured" approach is necessary for platforms where this isn't
the case, such as powerpc, even with a pretty good OF like Apple ones,
since they love to not assign resources that they know their MacOS
driver will not need (such as not assigning IO space and closing it on
the P2P bridge) which doesn't necessarily quite work with the
requirements of the linux drivers, in addition to also gross bugs they
have on some versions when using cards with P2P bridges on them.

In addition, we also need that resource management to be able to
dynamically assign resource after boot as our OF doesn't stay alive to
do it, such as when using cardbus cards, or other type of hotplug things
for which the firmware doesn't do dynamic resource allocation.

So, the meat of the original patch isn't bad per-se. There is definitely
a lot of interest in making a lot of this resource survey and management
code common for platforms who want it (for example, powerpc and x86 are
very close already), and in that regard, this NULL check is definitely
what we want in the "merged" version. But I can understand David
unwillingness in bringing that whole infrastructure on platforms that
don't need it.

A quick survey shows that:

- Use what looks like a full featured resource allocation scheme similar
to x86: alpha, powerpc, ppc,

- Use what looks like a slightly different scheme that still results in
resources being claimed in the resource tree when valid: ia64, mips (not
100% sure there, but it does call pci_assign_unassigned_resources),

- Don't build a resource-tree per-se and don't claim device resources
(and thus NULL parent check is unreliable): sparc, sparc64, parisc ?
(unsure but I didn't see code to claim resources in the pci layer), arm
(unsure but PCI here seems to be spread in sub platform code and doesn't
appear to do resource management)

And I stopped there. So we have people on all sides of the fence but it
would still be worth consolidating at least x86, alpha & powerpc, and
possibly bring in others like ia64 and mips.

Cheers,
Ben.