Temporarily at
http://userweb.kernel.org/~akpm/2.6.20-mm2/
Will appear later at
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
- There are IDE- and Xen-related module linkage errors during allmodconfig
builds. These have been reported.
- Quite a lot of less-popular architectures are broken by the utrace merge.
They will stay that way while the maintainers ponder
http://people.redhat.com/roland/utrace/utrace-arch-porting-howto.txt
- Added the LED development tree to the -mm lineup as git-leds.patch
(Richard Purdie <[email protected]>)
- git-parisc.patch is back for a while
- git-audit.patch is back for a while
- git-drm.patch is still in disgrace
- Added Xen domain-U support
- Judging by the number of times I get asked "is there a git tree for -mm",
nobody is reading the boilerplate. Here it is again:
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.
Changes since 2.6.20-mm1:
origin.patch
git-acpi.patch
git-alsa.patch
git-arm.patch
git-audit-master.patch
git-avr32.patch
git-cifs.patch
git-powerpc.patch
git-dvb.patch
git-hid.patch
git-ia64.patch
git-ieee1394.patch
git-infiniband.patch
git-input.patch
git-jfs.patch
git-leds.patch
git-libata-all.patch
git-ide.patch
git-lxdialog.patch
git-md-accel.patch
git-mips.patch
git-mmc.patch
git-mtd.patch
git-ubi.patch
git-netdev-all.patch
git-backlight.patch
git-bluetooth.patch
git-ioat.patch
git-ocfs2.patch
git-parisc.patch
git-pciseg.patch
git-s390.patch
git-sh.patch
git-scsi-misc.patch
git-block.patch
git-unionfs.patch
git-v9fs.patch
git-wireless.patch
git-ipwireless_cs.patch
git-gccbug.patch
git trees
-gpio-core-documentation.patch
-build-errors-uevent-with-config_sysfs=n.patch
-mincore-config_swap=n-fix.patch
-mincore-fill-in-results-properly.patch
-mincore-vma-crossing-fix.patch
-acpi-i686-x86_64-fix-laptop-bootup-hang-in-init_acpi.patch
-ifdef-acpi_future_usage-acpi_os_readable.patch
-at91-correct-value-for-at91_rstc_key.patch
-powerpc-rtas-msi-support-fix.patch
-fix-cut-and-paste-breakage-in-arch-powerpc-platforms-pseries-pseriesh.patch
-powerpc-export-of_find_property.patch
-libata-add-a-host-flag-to-indicate-lack-of-iordy.patch
-add-delay-around-sl82c105_reset_engine-calls.patch
-sata_nv-add-back-some-verbosity-into-adma-error_handler-tidy.patch
-sata_nv-handle-serror-status-indication.patch
-ata-convert-gsi-to-irq-on-ia64.patch
-git-md-accel-fixes.patch
-git-md-accel-warning-fixes.patch
-git-md-accel-fix.patch
-revert-drivers-net-tulip-dmfe-support-basic-carrier-detection.patch
-fix-atl1-braino.patch
-net-wan-pc300tooc-pci_module_init-to-pci_register_driver.patch
-atl1-drop-net_pci-from-kconfig.patch
-atl1-read-mac-address-from-register.patch
-atl1-remove-unused-define.patch
-atl1-add-l1-device-id-to-pci_ids-then-use-it.patch
-atl1-bump-version-number.patch
-atm-use-array_size-macro-when-appropriate.patch
-bugfixes-and-new-hardware-support-for-arcnet-driver.patch
-git-backlight-sony-fix.patch
-parisc-fix-module_param-iommu-permission.patch
-pa-risc-fix-bogus-warnings-from-modpost.patch
-use-__u64-rather-than-u64-in-parisc-statfs-structs.patch
-pci-add-systems-for-automatic-breadth-first-device-sorting-update.patch
-x86-fix-dev_to_node-for-x86-and-x86_64.patch
-remove-extra-newline-from-info-message.patch
-fix-scsi-scsi_transporth-compile-error.patch
-pci_module_init-convertion-in-the-legacy-megaraid-driver.patch
-scsi-handle-bad-inquiry-responses.patch
-scsi-megaraid_sas-donot-process-cmds-if-hw_crit_error-is-set.patch
-scsi-megaraid_sas-added-bios_param-in-scsi_host_template.patch
-scsi-megaraid_sas-replace-pci_alloc_consitent-with-dma_alloc_coherent-in-ioctl-path.patch
-scsi-megaraid_sas-update-version-and-author-info.patch
-lpfc-add-pci-error-recovery-support.patch
-ecryptfs-convert-lookup_one_len-to-lookup_one_len_nd.patch
-gregkh-usb-usb-ps3-don-t-call-ps3_system_bus_driver_register-on-other-platforms.patch
-nokia-e70-is-an-unusual-device.patch
-ueagle-atmc-needs-schedh.patch
-x86_64-mm-copy-user-nocache.patch
-x86_64-mm-make-the-numa-hash-function-nodemap-allocation.patch
-x86_64-mm-x86_64-make-the-numa-hash-function-nodemap-allocation-fix-fix.patch
-x86_64-mm-convert-i386-pda-code-to-use-%fs.patch
-x86_64-mm-fix-a-typo-in-an-irq-handler-name.patch
-x86_64-mm-mmconfig-share.patch
-x86_64-mm-only-call-unreachable_devices-when-type-1-is-available.patch
-x86_64-mm-detect-and-support-the-e7520-and-the-945g-gz-p-pl.patch
-x86_64-mm-reserve-resources-but-only-when-were-sure-about-them.patch
-x86_64-mm-mmconfig-ioremap.patch
-x86_64-mm-mmconfig-reject-broken-table.patch
-x86_64-mm-mmconfig-cleanup-defines.patch
-x86_64-mm-mmconfig-more-cleanup.patch
-x86_64-mm-mmconfig-unreachable-devices.patch
-x86_64-mm-mmconfig-move-e820-check.patch
-x86_64-mm-get-rid-of-arch_have_xtime_lock.patch
-x86_64-mm-improved-iommu-documentation.patch
-x86_64-mm-do-not-always-end-the-stack-trace-with-ulong_max.patch
-x86_64-mm-e820-include.patch
-x86_64-mm-page-allocation-hooks-for-vmi-backend.patch
-x86_64-mm-paravirt-cpu-hypercall-batching-mode.patch
-x86_64-mm-iopl-handling-for-paravirt-guests.patch
-x86_64-mm-smp-boot-hook-for-paravirt.patch
-x86_64-mm-vmi-backend-for-paravirt-ops.patch
-x86_64-mm-vmi-timer.patch
-x86_64-mm-profile-pc-badness.patch
-x86_64-mm-kprobe-rpl-fix.patch
-x86_64-mm-vmi-timer-race.patch
-x86_64-mm-paravirt-debug-defaults-off.patch
-x86_64-mm-move-startup_32-in-texthead-section.patch
-x86_64-mm-break-init-in-two-parts-to-avoid-modpost-warnings.patch
-x86_64-mm-mcheck-include.patch
-x86_64-mm-add-idle-notifier.patch
-x86_64-mm-improve-sched_clock-on-i686.patch
-x86_64-mm-romsignature-checksum-cleanup.patch
-x86_64-mm-fix-fake-numa-for-x86_64-machines-with-big-io-hole.patch
-x86_64-mm-remove-fastcall-references-in-x86_64-code.patch
-x86_64-mm-use-constant-instead-of-raw-number-in-x86_64-iopermc.patch
-x86_64-mm-handle-32-bit-perfmon-counter-writes-cleanly-in-x86_64-nmi_watchdog.patch
-x86_64-mm-handle-32-bit-perfmon-counter-writes-cleanly-in-i386-nmi_watchdog.patch
-x86_64-mm-handle-32-bit-perfmon-counter-writes-cleanly-in-oprofile.patch
-x86_64-mm-cleanup-doc-x86_64-files.patch
-x86_64-mm-list-x86_64-quilt-tree.patch
-x86_64-mm-simplify-notify_page_fault.patch
-x86_64-mm-mce_amd-issues.patch
-x86_64-mm-mce-trigger.patch
-x86_64-mm-remove-get_pmd.patch
-x86_64-mm-fix-tlbflush-comment.patch
-x86_64-mm-kconfig-typos.patch
-x86_64-mm-msr-scf-single.patch
-x86_64-mm-mtrr-scf-single.patch
-x86_64-mm-fix-preprocessor-condition.patch
-x86_64-mm-apm-seqfile.patch
-x86_64-mm-fix-size_or_mask-and-size_and_mask.patch
-x86_64-mm-ignore-long-smi-interrupts-in-clock-calibration-code-update-1.patch
-x86_64-mm-putreg-check.patch
-x86_64-mm-unexport-supported-pte.patch
-x86_64-mm-fs-gs-clear.patch
-x86_64-mm-iommu-boundary.patch
-x86_64-mm-remove-rom-reservation.patch
-x86_64-mm-define-dma-noncoherent-api-functions.patch
-x86_64-mm-robustify-bad_dma_address-handling.patch
-x86_64-mm-all-transmeta-cpus-have-constant-tscs.patch
-x86_64-mm-avoid-gcc-extension.patch
-x86_64-mm-support-classic-mediagxm.patch
-x86_64-mm-entrys-end-endproc-annotations.patch
-x86_64-mm-clean-up-sparsemem-memory_present-call.patch
-x86_64-mm-remove-unused-kernel-config-option-x86_xadd.patch
-x86_64-mm-update-io-apic-dest-field-to-8-bit-for-xapic.patch
-x86_64-mm-avoid-warning-message-livelock.patch
-x86_64-mm-minor-patch-for-compilation-warning-in-x86_64-signal-code.patch
-x86_64-mm-add-option-to-show-more-code-in-oops-reports.patch
-x86_64-mm-geode-configuration-fixes.patch
-x86_64-mm-survive-having-no-irq-mapping-for-a-vector.patch
-x86_64-mm-fix-gcc-check.patch
-x86_64-mm-paravirt-remove-fastcall.patch
-x86_64-mm-fam10-cpuid.patch
-x86_64-mm-fam10-nmi-watchdog.patch
-x86_64-mm-fix-microcode-warning.patch
-x86_64-mm-i386-fix-transmeta-warning.patch
-x86_64-mm-fails-to-detect-mediagx.patch
-x86_64-mm-aout-no-vdso.patch
-x86_64-mm-compat-epoll-pwait.patch
-x86_64-mm-paravirt-unhandled-fallthrough.patch
-x86_64-mm-move-mce_disabled-to-asm-mceh.patch
-x86_64-mm-rename-cpu_gdt_descr-and-remove-extern-declaration-from-smpbootc.patch
-x86_64-mm-remove-extern-declaration-from-mm-discontigc-put-in-header.patch
-x86_64-mm-pcspeaker-cleanup.patch
-x86_64-mm-mtrr-compat.patch
-x86_64-mm-broken-config_compat_vdso-on-i386.patch
-x86_64-mm-remove-mk-pte-phys.patch
-rdmsr_on_cpu-wrmsr_on_cpu.patch
-x86_64-irq-simplfy-__assign_irq_vector.patch
-x86_64-irq-handle-irqs-pending-in-irr-during-irq-migration.patch
-i386-probe_roms-cleanup.patch
-fix-mtrr-compat-ioctl.patch
-i386-pit_latch_buggy-has-no-effect.patch
-add-an-option-for-the-via-c7-which-sets-appropriate-l1.patch
-i386-adjustments-to-page-table-dump-during-oops-v3.patch
-x86-mtrr-range-check-correction.patch
-x86-consolidate-smp_send_stop.patch
-vmi-versus-hrtimers.patch
-add-irq-flag-to-disable-balancing-for-an-interrupt.patch
-add-a-functions-to-handle-interrupt-affinity-setting.patch
-add-a-functions-to-handle-interrupt-affinity-setting-alpha-fix.patch
-hz-free-ntp.patch
-uninline-jiffiesh-functions.patch
-fix-multiple-conversion-bugs-in-msecs_to_jiffies.patch
-fix-timeout-overflow-with-jiffies.patch
-gtod-persistent-clock-support.patch
-i386-use-gtod-persistent-clock-support.patch
-i386-remove-useless-code-in-tscc.patch
-simplify-the-registration-of-clocksources.patch
-x86-rewrite-smp-tsc-sync-code.patch
-clocksource-replace-is_continuous-by-a-flag-field.patch
-clocksource-replace-is_continuous-by-a-flag-field-fix.patch
-clocksource-fixup-is_continous-changes-on-arm.patch
-clocksource-fixup-is_continous-changes-on-avr32.patch
-clocksource-fixup-is_continous-changes-on-s390.patch
-clocksource-fixup-is_continous-changes-on-mips.patch
-clocksource-remove-the-update-callback.patch
-clocksource-add-verification-watchdog-helper.patch
-mark-tsc-on-geodelx-reliable.patch
-uninline-irq_enter.patch
-fix-cascade-lookup-of-next_timer_interrupt.patch
-extend-next_timer_interrupt-to-use-a-reference-jiffie.patch
-hrtimers-namespace-and-enum-cleanup.patch
-hrtimers-namespace-and-enum-cleanup-vs-git-input.patch
-hrtimers-cleanup-locking.patch
-hrtimers-add-state-tracking.patch
-hrtimers-clean-up-callback-tracking.patch
-hrtimers-move-and-add-documentation.patch
-acpi-fix-missing-include-for-up.patch
-acpi-keep-track-of-timer-broadcasting.patch
-allow-early-access-to-the-power-management-timer.patch
-i386-apic-clean-up-the-apic-code.patch
-clockevents-add-core-functionality.patch
-tick-management-core-functionality.patch
-tick-management-broadcast-functionality.patch
-tick-management-dyntick--highres-functionality.patch
-clockevents-i383-drivers.patch
-i386-rework-local-apic-timer-calibration.patch
-i386-prepare-for-dyntick.patch
-i386-prepare-nmi-watchdog-for-dynticks.patch
-i386-enable-dynticks-in-kconfig.patch
-hrtimers-add-high-resolution-timer-support.patch
-hrtimers-prevent-possible-itimer-dos.patch
-add-debugging-feature-proc-timer_stat.patch
-add-debugging-feature-proc-timer_stat-cleanup.patch
-add-debugging-feature-proc-timer_list.patch
-add-sysrq-q-to-print-timer_list-debug-info.patch
-generic-vsyscall-gtod-support-for-generic_time.patch
-generic-vsyscall-gtod-support-for-generic_time-tidy.patch
-time-x86_64-hpet_address-cleanup.patch
-revert-x86_64-mm-ignore-long-smi-interrupts-in-clock-calibration.patch
-time-x86_64-split-x86_64-kernel-timec-up.patch
-time-x86_64-split-x86_64-kernel-timec-up-tidy.patch
-time-x86_64-split-x86_64-kernel-timec-up-fix.patch
-reapply-x86_64-mm-ignore-long-smi-interrupts-in-clock-calibration.patch
-time-x86_64-convert-x86_64-to-use-generic_time.patch
-time-x86_64-convert-x86_64-to-use-generic_time-fix.patch
-time-x86_64-convert-x86_64-to-use-generic_time-tidy.patch
-time-x86_64-hpet-fixup-clocksource-changes.patch
-time-x86_64-tsc-fixup-clocksource-changes.patch
-time-x86_64-re-enable-vsyscall-support-for-x86_64.patch
-time-x86_64-re-enable-vsyscall-support-for-x86_64-tidy.patch
-posix-timers-rcu-optimization-for-clock_gettime.patch
-posix-timers-rcu-optimization-for-clock_gettime-fix.patch
-genirq-do-not-mask-interrupts-by-default.patch
-genirq-remove-irq_disabled.patch
-irq-kernel-doc-fixes.patch
-small-irq-management-simplification.patch
-knfsd-nfsd4-fix-non-terminated-string.patch
-knfsd-nfsd4-relax-checking-of-acl-inheritance-bits.patch
-knfsd-nfsd4-simplify-nfsv4-posix-translation.patch
-knfsd-nfsd4-represent-nfsv4-acl-with-array-instead-of-linked-list.patch
-knfsd-nfsd4-fix-memory-leak-on-kmalloc-failure-in-savemem.patch
-knfsd-nfsd4-fix-error-return-on-unsupported-acl.patch
-knfsd-nfsd4-acls-dont-return-explicit-mask.patch
-knfsd-nfsd4-acls-avoid-unnecessary-denies.patch
-knfsd-nfsd4-fix-handling-of-directories-without-default-acls.patch
-knfsd-stop-nfsd-writes-from-being-broken-into-lots-of-little-writes-to-filesystem.patch
-ecryptfs-reduce-stack-usage-in-ecryptfs_generate_key_packet_set.patch
-ecryptfs-fix-forgotten-format-specifier.patch
Merged into mainline or a subsystem tree
+fix-build-errors-if-bitop-functions-are-do-while-macros.patch
+xfs-warning-fix.patch
+machzwd-warning-fix.patch
+minix-v3-fix-superblock-definition.patch
+fix-missing-declaration-of-init_irq_proc.patch
2.6.20-rc1 queue
+make-aout-executables-work-again-fix.patch
Folded into make-aout-executables-work-again.patch (will probably drop this
now)
+sony-laptop-fix-uninitialised-variable.patch
sony-laptop fix
+fix-modular-agpgart-ia64-allmodconfig.patch
AGP fix
+arm-dma-mappingh.patch
ARM fix
+avr32-dma-mappingh.patch
avr32 fix
+gregkh-driver-sysfs-fix-build-errors-uevent-with-config_sysfs-n.patch
driver tree update
+fix-saa7146_clipping_mem-size.patch
+pvrusb-warning-fix.patch
DVB updates
+ds1374-check-for-workqueue-creation.patch
i2c driver fix
+remove-stack-hard-limit-on-ia64.patch
ia64 mystery fix
+setstream-param-for-psmouse-tweak.patch
Improve setstream-param-for-psmouse.patch
+kbuild-override-build-timestamp.patch
kbuild tweak
+sata_via-fix-resource-managed-iomap-conversion.patch
sata fix
+git-ide.patch
Temporary: this is the git tree Linus forgot to merge
+ide-alim15x3-fix-pio-mode-setup.patch
+ide-cmd64x-fix-pio-mode-setup-take3.patch
+ide-ide-fix-drive-side-80c-cable-check.patch
+ide-cmd64x-remove-broken-sw-mw-dma-support.patch
+ide-cmd64x-fix-recovery-time-calculation.patch
+ide-piix-slc90e66-more-tuneproc-fixing-take2.patch
+ide-ide-get-best-pio-mode-returns-incorrect-iordy-setting-take2.patch
+ide-sl82c105-rework-pio-support.patch
+ide-sl82c105-dma-support-code-cleanup.patch
+ide-ide-fix-dma-masks-v3.patch
+ide-ide-max-dma-mode-v2.patch
+ide-ide-tune-dma-helper.patch
+ide-ide-proc-fs.patch
+ide-ide-split-off-ioctls-from-settings-v2.patch
+ide-ide-move-settings-to-ide-proc.patch
+ide-ide-fix-cable-checks.patch
+ide-alim15x3-pio-fallback-fix.patch
+ide-alim15x3-use-ide-tune-dma.patch
+ide-pdc202xx_new-use-ide-tune-dma.patch
+ide-ide-remove-obsolete-params-v2.patch
+ide-ide-register-hw-initializing-arg.patch
+ide-ide-proc-register-port.patch
+ide-ide-legacy-params-v2.patch
+ide-ide-pci-pcibus-order.patch
Restored IDE tree
+dmaengine-uninline-large-functions.patch
Fix git-md-accel build
+onenand_base-warning-fix.patch
+sc520cdp-warning-fix.patch
+netsc520-warning-fix.patch
+ck804xrom-warning-fix.patch
+esb2rom-warning-fixes.patch
+amd76xrom-warning-fix.patch
+ichxrom-warning-fix.patch
+jffs2-warning-fixes.patch
+cafe-warning-fix.patch
+git-ubi.patch
Fix dwmw2 scruffinesses
+r8169-rtnl-and-flush_scheduled_work-deadlock.patch
+sis190-rtnl-and-flush_scheduled_work-deadlock.patch
+8139too-rtnl-and-flush_scheduled_work-deadlock.patch
+s2io-rtnl-and-flush_scheduled_work-deadlock.patch
+s2io-add-pci-error-recovery-support.patch
+revert-drivers-net-tulip-dmfe-support-basic-carrier-detection.patch
+dmfe-trivial-spelling-fixes.patch
+dmfe-fix-two-bugs.patch
+dmfe-fix-link-detection.patch
+dmfe-add-support-for-suspend-resume.patch
+dmfe-add-support-for-suspend-resume-fix.patch
+dmfe-add-support-for-wake-on-lan.patch
+sis900-warning-fixes.patch
netdev updates
+backlight-tree-versus-acpi-tree.patch
Fix disagreement between git trees
+git-parisc-fixup.patch
Fix rejects in git-parisc.patch
-drivers-scsi-aic7xxx-convert-to-generic-boolean-values.patch
Dropped
+git-block-fixup.patch
Fix rejects in git-block.patch
+gregkh-usb-usb-remove-airprime-device-from-optionc.patch
+gregkh-usb-usbnet-recognize-sitecom-cn-124.patch
+gregkh-usb-usbnet-init-fault-cleanup-whitespace-fixes.patch
+gregkh-usb-usbnet-add-missing-kconfig-for-kc2190-cables.patch
+gregkh-usb-usb-at91_udc-shrink-runtime-footprint.patch
+gregkh-usb-usb-ueagle-atmc-needs-schedh.patch
+gregkh-usb-usb-another-id-for-cp2101-driver.patch
+gregkh-usb-usb-stimulus.patch
USB tree updates
+git-wireless-fixup.patch
Fix rejects in git-wireless.patch
-before-x86_64-mm-mmconfig-share.patch
Dropped
+x86_64-mm-revert-i386-fix-the-verify_quirk_intel_irqbalance.patch
+x86_64-mm-revert-x86_64-mm-add-genapic_force.patch
+x86_64-mm-revert-x86_64-mm-fix-the-irqbalance-quirk-for-e7320-e7520-e7525.patch
+x86_64-mm-optimize-fix-apic-mode-setup.patch
+x86_64-mm-always-use-physical-delivery-mode-on-8-cpus.patch
+x86_64-mm-remove-clustered-apic-mode.patch
+x86_64-mm-default-to-physical-mode-on-hotplug-cpu-kernels.patch
+x86_64-mm-a-memcpy-that-tries-to-reduce-cache-pressure.patch
+x86_64-mm-fam10-l3cache.patch
+x86_64-mm-fix-i386-and-x86_64-fault-information-pollution.patch
+x86_64-mm-adjustments-to-page-table-dump-during-oops-v4.patch
+x86_64-mm-adjust-inclusion-of-asm-fixmap_h.patch
+x86_64-mm-adjust-inclusion-of-asm-vsyscall32_h.patch
+x86_64-mm-consolidate-smp_send_stop.patch
+x86_64-mm-no-need-to-use-traditional-for-processing-asm-in-i386-kernel.patch
+x86_64-mm-rwmsr-on-cpu.patch
+x86_64-mm-simplfy-__assign_irq_vector.patch
+x86_64-mm-handle-irqs-pending-in-irr-during-irq-migration.patch
+x86_64-mm-mtrr-range-check-correction.patch
+x86_64-mm-pit_latch_buggy-has-no-effect.patch
+x86_64-mm-add-an-option-for-the-via-c7-which-sets-appropriate-l1-cache.patch
+x86_64-mm-probe_roms-cleanup.patch
x86 tree updates
+i386-irq-kill-irq-compression.patch
+x86-dont-probe-for-ddc-on-vbe12.patch
x86 updates
+xen-paravirt-fix-typo-in-sync_constant_test_bits-name.patch
+xen-paravirt-ignore-vgacon-if-hardware-not-present.patch
+xen-paravirt-add-pagetable-accessors-to-pack-and-unpack-pagetable-entries.patch
+xen-paravirt-paravirt_ops-hooks-to-set-up-initial-pagetable.patch
+xen-paravirt-paravirt_ops-allocate-a-fixmap-slot.patch
+xen-paravirt-remove-ctor-for-pgd-cache.patch
+xen-paravirt-allow-paravirt-backend-to-choose-kernel-pmd-sharing.patch
+xen-paravirt-allow-paravirt-backend-to-select-pgd-allocation-alignment.patch
+xen-paravirt-add-hooks-to-intercept-mm-creation-and-destruction.patch
+xen-paravirt-add-apply_to_page_range-which-applies-a-function-to-a-pte-range.patch
+xen-paravirt-allocate-and-free-vmalloc-areas.patch
+xen-paravirt-add-nosegneg-capability-to-the-vsyscall-page-notes.patch
+xen-paravirt-add-xen-config-options-and-disable-unsupported-config-options.patch
+xen-paravirt-add-xen-interface-header-files.patch
+xen-paravirt-core-xen-implementation.patch
+xen-paravirt-core-xen-implementation-fix.patch
+xen-paravirt-add-the-xen-virtual-console-driver.patch
+xen-paravirt-add-xen-grant-table-support.patch
+xen-paravirt-add-the-xenbus-sysfs-and-virtual-device-hotplug-driver.patch
+xen-paravirt-add-xen-virtual-block-device-driver.patch
+xen-paravirt-add-the-xen-virtual-network-device-driver.patch
Xen domU support
-touchkit-ps-2-touchscreen-driver.patch
Dropped
+fix-mempolicys-check-on-a-system-with-memory-less-node.patch
+mincore-warning-fix.patch
MM updates
+add-pagemlocked-page-state-bit-and-lru-infrastructure-fix.patch
Fix add-pagemlocked-page-state-bit-and-lru-infrastructure.patch
+shm-make-sysv-ipc-shared-memory-use-stacked-files-real-fix.patch
Fix shm-make-sysv-ipc-shared-memory-use-stacked-files.patch
-kconfig-fault_injection-can-be-selected-only-if-lockdep-is-enabled.patch
+fault-injection-split-up-stacktrace-filter-kconfig-option.patch
Updated
+ipmi-add-pci-remove-handling.patch
IMPI fix
+missing-__user-in-pointer-referenced-within-copy_from_user.patch
+update-doc-oops-tracingtxt-for-taint_user.patch
+update-doc-oops-tracingtxt-for-taint_user-fix.patch
+rtc-sa1100-rtc_wklarmenabled-bugfixes.patch
+at91_rtc-updates.patch
+gpio-api-pxa-wrapper-cleanup.patch
+remove-modpost-false-warnings-on-arm.patch
+drivers-isdn-gigaset-build-asyncdatao-into-the-gigaset-module.patch
+lockdep-annotate-blkpg_del_partition.patch
+parport_pc-fix-parport_pc_probe_port-section-warning.patch
+freezer-task-exit_state-should-be-treated-as-bolean.patch
+softlockup-trivial-s-99-max_rt_prio.patch
+fix-constant-folding-and-poor-optimization-in-byte-swapping.patch
Misc
+consolidate-generic_writepages-and-mpage_writepages.patch
+consolidate-generic_writepages-and-mpage_writepages-tidy.patch
VFS code consolidation
+spi-controller-build-warning-fixes.patch
+spi_s3c2410_gpioc-spi-mode-2-and-3-support.patch
SPI updates
+gpio-api-s3c2410-wrapper-cleanup-2.patch
+gpio-api-sa1100-wrapper-cleanup.patch
GPIO updates
+unify-queue_delayed_work-and-queue_delayed_work_on-fix.patch
Fix unify-queue_delayed_work-and-queue_delayed_work_on.patch
+workqueue-introduce-wq_per_cpu-helper.patch
More in the workqueue work queue
-revert-x86_64-mm-putreg-check.patch
Dropped
+atomich-add-atomic64-cmpxchg-xchg-and-add_unless-to-powerpc-fix.patch
+atomich-add-atomic64-cmpxchg-xchg-and-add_unless-to-powerpc-fix-2.patch
-atomich-add-atomic64_xchg-to-s390.patch
+local_t-mips-extension-fix.patch
+local_t-mips-extension-shrink-duplicated-mips-32-64-bits-functions-from-localh.patch
+local_t-mips-extension-shrink-duplicated-mips-32-64-bits-functions-from-localh-fix.patch
-local_t-s390-cleanup.patch
+local_t-powerpc-extension-shrink-powerpc-localh.patch
+local_t-powerpc-extension-fix-build-fix.patch
+linux-kernel-markers-kconfig-menus-fix.patch
+linux-kernel-markers-kconfig-menus-fix-2.patch
+linux-kernel-markers-kconfig-menus-fix-3.patch
+linux-kernel-markers-kconfig-menus-fix-4.patch
+linux-kernel-markers-documentation.patch
+linux-kernel-markers-documentation-fix.patch
+linux-kernel-markers-documentation-update-adds-context.patch
+linux-kernel-markers-documentation-update-markerh.patch
Keep trying to get Mathieu's stuff to compile :(
+ps3fb-thread-updates.patch
+ps3fb-thread-updates-update.patch
+ps3av-thread-updates.patch
+ps3fb-kill-superfluous-zero-initializations.patch
+ps3fb-atomic-fixes.patch
+ps3av-misc-updates.patch
+fb-sm501-framebuffer-driver-5.patch
+fb-sm501-framebuffer-driver-5-fix.patch
+i810fb-fix-i810_check_params-section-mismatch.patch
+aty128fb-fix-blanking.patch
fbdev updates
-git-gccbug-fixup.patch
Dropped.
All 829 patches:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/patch-list
> - git-drm.patch is still in disgrace
>
Okay I think I've fixed it up, some of the locking code from the DRM
git devel repo was completely integrated..
Dave.
On Sun, 18 Feb 2007 17:18:14 +1100 "Dave Airlie" <[email protected]> wrote:
> > - git-drm.patch is still in disgrace
> >
>
> Okay I think I've fixed it up, some of the locking code from the DRM
> git devel repo was completely integrated..
>
yep, my X server is happy now.
On Sunday, 18 February 2007 06:51, Andrew Morton wrote:
>
> Temporarily at
>
> http://userweb.kernel.org/~akpm/2.6.20-mm2/
>
> Will appear later at
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
Two problems:
1) A showstopper with the root partition on RAID1:
md: raid1 personality registered for level 1
[--snip--]
md: multipath personality registered for level -4
register_blkdev: failed to get major for mdp
[--snip--]
VFS: Cannot open root device "md1" or unknown-block(0,0)
At the moment I have no serial console attached to the box, so I had to rewrite
the messages manually.
2) On HPC nx6325 I get the following 100% of the time during the resume from
disk:
BUG: at drivers/pci/pci.c:823 pcim_enable_device()
Call Trace:
[<ffffffff80325ff8>] pcim_enable_device+0x93/0xb3
[<ffffffff803a974a>] ata_pci_device_do_resume+0x21/0x5e
[<ffffffff803b5e6c>] sil_pci_device_resume+0x1c/0x51
[<ffffffff8032800d>] pci_device_resume+0x22/0x53
[<ffffffff8039ae58>] resume_device+0xca/0x131
[<ffffffff8039af40>] dpm_resume+0x81/0xd3
[<ffffffff8039afc2>] device_resume+0x30/0x45
[<ffffffff802a0792>] snapshot_ioctl+0x245/0x63e
[<ffffffff8023cfcc>] do_ioctl+0x5e/0x77
[<ffffffff8022d2b3>] vfs_ioctl+0x25c/0x279
[<ffffffff80246a80>] sys_ioctl+0x5f/0x82
[<ffffffff80215586>] sys_write+0x47/0x70
[<ffffffff8025711e>] system_call+0x7e/0x83
Nevertheless, the system seems to be fully functional after the resume.
[I've been observing it since 2.6.20-git10 and have reported it for a couple
of times, but apparently nobody cares. :-(]
Greetings,
Rafael
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.20-mm2
# Sun Feb 18 13:15:41 2007
#
CONFIG_X86_32=y
CONFIG_GENERIC_TIME=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_DMI=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
#
# General setup
#
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_SWAP=y
CONFIG_SWAP_PREFETCH=y
CONFIG_SYSVIPC=y
# CONFIG_IPC_NS is not set
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_UTS_NS is not set
# CONFIG_AUDIT is not set
# CONFIG_IKCONFIG is not set
CONFIG_SYSFS_DEPRECATED=y
# CONFIG_RELAY is not set
CONFIG_INITRAMFS_SOURCE=""
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
CONFIG_EMBEDDED=y
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
CONFIG_SLAB=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_CLASSIC_RCU=y
# CONFIG_PREEMPT_RCU is not set
# CONFIG_RCU_TRACE is not set
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
# CONFIG_SLOB is not set
#
# Loadable module support
#
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
#
# Process debugging support
#
CONFIG_UTRACE=y
# CONFIG_PTRACE is not set
#
# Block layer
#
CONFIG_BLOCK=y
# CONFIG_LBD is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set
#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_AS is not set
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"
#
# Processor type and features
#
# CONFIG_TICK_ONESHOT is not set
# CONFIG_NO_HZ is not set
# CONFIG_HIGH_RES_TIMERS is not set
# 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_PARAVIRT 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_MCORE2 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_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_CMPXCHG64=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_HPET_TIMER=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=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
#
# Firmware Drivers
#
CONFIG_EDD=y
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS 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_1G is not set
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_ARCH_POPULATES_NODE_MAP=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_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not set
CONFIG_ZONE_DMA_FLAG=1
CONFIG_ADAPTIVE_READAHEAD=y
# CONFIG_DEBUG_READAHEAD is not set
# 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_KEXEC=y
CONFIG_PHYSICAL_START=0x100000
# CONFIG_RELOCATABLE is not set
CONFIG_PHYSICAL_ALIGN=0x100000
# CONFIG_COMPAT_VDSO is not set
#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
CONFIG_PM_LEGACY=y
# CONFIG_PM_DEBUG is not set
# CONFIG_PM_SYSFS_DEPRECATED is not set
CONFIG_SOFTWARE_SUSPEND=y
CONFIG_PM_STD_PARTITION="/dev/hdb6"
#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
# CONFIG_ACPI_SLEEP_PROC_SLEEP is not set
# CONFIG_ACPI_PROCFS is not set
# CONFIG_ACPI_AC is not set
# CONFIG_ACPI_BATTERY is not set
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=y
# CONFIG_ACPI_DOCK is not set
# CONFIG_ACPI_BAY is not set
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_IBM is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
CONFIG_ACPI_DEBUG=y
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
#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set
#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set
#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
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_PCIEPORTBUS is not set
# CONFIG_PCI_MSI 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
#
# PCCARD (PCMCIA/CardBus) support
#
# CONFIG_PCCARD is not set
#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set
#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_MISC=m
#
# Networking
#
CONFIG_NET=y
#
# Networking options
#
# CONFIG_NETDEBUG is not set
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_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
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_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=y
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
#
# IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
# CONFIG_IPV6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
# CONFIG_NETWORK_SECMARK is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
#
# Core Netfilter Configuration
#
CONFIG_NETFILTER_NETLINK=m
CONFIG_NETFILTER_NETLINK_QUEUE=m
CONFIG_NETFILTER_NETLINK_LOG=m
# CONFIG_NF_CONNTRACK_ENABLED is not set
CONFIG_NETFILTER_XTABLES=m
CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
# CONFIG_NETFILTER_XT_TARGET_DSCP is not set
CONFIG_NETFILTER_XT_TARGET_MARK=m
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
# CONFIG_NETFILTER_XT_TARGET_NFLOG is not set
# CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set
CONFIG_NETFILTER_XT_MATCH_COMMENT=m
# CONFIG_NETFILTER_XT_MATCH_DCCP is not set
# CONFIG_NETFILTER_XT_MATCH_DSCP is not set
# CONFIG_NETFILTER_XT_MATCH_ESP is not set
# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set
CONFIG_NETFILTER_XT_MATCH_LIMIT=m
CONFIG_NETFILTER_XT_MATCH_MAC=m
CONFIG_NETFILTER_XT_MATCH_MARK=m
CONFIG_NETFILTER_XT_MATCH_POLICY=m
# CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set
# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set
# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set
# CONFIG_NETFILTER_XT_MATCH_REALM is not set
CONFIG_NETFILTER_XT_MATCH_SCTP=m
# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set
CONFIG_NETFILTER_XT_MATCH_STRING=m
CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set
#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_QUEUE=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_IPRANGE=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_RECENT=m
# CONFIG_IP_NF_MATCH_ECN is not set
# CONFIG_IP_NF_MATCH_AH is not set
# CONFIG_IP_NF_MATCH_TTL is not set
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_MATCH_ADDRTYPE=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_TTL=m
# CONFIG_IP_NF_RAW is not set
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
# CONFIG_IP_NF_ARP_MANGLE is not set
#
# DCCP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_DCCP is not set
#
# SCTP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_SCTP is not set
#
# TIPC Configuration (EXPERIMENTAL)
#
# 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
#
# QoS and/or fair queueing
#
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_FIFO=y
CONFIG_NET_SCH_CLK_JIFFIES=y
# CONFIG_NET_SCH_CLK_GETTIMEOFDAY is not set
# CONFIG_NET_SCH_CLK_CPU is not set
#
# 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_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_EMATCH is not set
# CONFIG_NET_CLS_ACT is not set
CONFIG_NET_CLS_POLICE=y
# CONFIG_NET_CLS_IND is not set
CONFIG_NET_ESTIMATOR=y
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
CONFIG_IEEE80211=m
# CONFIG_IEEE80211_DEBUG is not set
CONFIG_IEEE80211_CRYPT_WEP=m
CONFIG_IEEE80211_CRYPT_CCMP=m
CONFIG_IEEE80211_CRYPT_TKIP=m
CONFIG_IEEE80211_SOFTMAC=m
# CONFIG_IEEE80211_SOFTMAC_DEBUG is not set
CONFIG_WIRELESS_EXT=y
#
# Device Drivers
#
#
# Generic Driver Options
#
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
#
# Connector - unified userspace <-> kernelspace linker
#
# CONFIG_CONNECTOR is not set
#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set
#
# Parallel port support
#
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
#
# Plug and Play support
#
CONFIG_PNP=y
# CONFIG_PNP_DEBUG is not set
#
# Protocols
#
# CONFIG_ISAPNP is not set
# CONFIG_PNPBIOS is not set
CONFIG_PNPACPI=y
#
# Block devices
#
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_RAM_BLOCKSIZE=1024
CONFIG_BLK_DEV_INITRD=y
CONFIG_CDROM_PKTCDVD=m
CONFIG_CDROM_PKTCDVD_BUFFERS=8
# CONFIG_CDROM_PKTCDVD_WCACHE is not set
# CONFIG_ATA_OVER_ETH is not set
#
# Misc devices
#
# CONFIG_IBM_ASM is not set
# CONFIG_SGI_IOC4 is not set
# CONFIG_TIFM_CORE is not set
# CONFIG_MSI_LAPTOP is not set
# CONFIG_SONY_LAPTOP is not set
#
# ATA/ATAPI/MFM/RLL support
#
# CONFIG_IDE is not set
#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=m
# 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
#
# SCSI Transports
#
CONFIG_SCSI_SPI_ATTRS=m
CONFIG_SCSI_FC_ATTRS=m
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
#
# SCSI low-level drivers
#
# CONFIG_ISCSI_TCP is not set
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_AIC94XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_ARCMSR is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_MEGARAID_SAS is not set
# CONFIG_SCSI_HPTIOP is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_STEX is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_QLA_ISCSI is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_SRP is not set
#
# Serial ATA (prod) and Parallel ATA (experimental) drivers
#
CONFIG_ATA=m
# CONFIG_ATA_NONSTANDARD is not set
# 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_SATA_ACPI=y
# 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_CMD64X is not set
# CONFIG_PATA_CS5520 is not set
# CONFIG_PATA_CS5530 is not set
# CONFIG_PATA_CS5535 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_NS87410 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
#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set
#
# Multi-device support (RAID and LVM)
#
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
#
# Fusion MPT device support
#
# CONFIG_FUSION is not set
# CONFIG_FUSION_SPI is not set
# CONFIG_FUSION_FC is not set
# CONFIG_FUSION_SAS is not set
#
# IEEE 1394 (FireWire) support
#
CONFIG_FW=m
CONFIG_FW_OHCI=m
# CONFIG_FW_SBP2 is not set
CONFIG_IEEE1394=m
#
# Subsystem Options
#
# CONFIG_IEEE1394_VERBOSEDEBUG is not set
# CONFIG_IEEE1394_EXTRA_CONFIG_ROMS is not set
#
# Device Drivers
#
# CONFIG_IEEE1394_PCILYNX is not set
CONFIG_IEEE1394_OHCI1394=m
#
# Protocol Drivers
#
CONFIG_IEEE1394_VIDEO1394=m
# CONFIG_IEEE1394_SBP2 is not set
# CONFIG_IEEE1394_ETH1394 is not set
CONFIG_IEEE1394_DV1394=m
CONFIG_IEEE1394_RAWIO=m
#
# I2O device support
#
# CONFIG_I2O is not set
#
# Macintosh device drivers
#
# CONFIG_MAC_EMUMOUSEBTN is not set
#
# Network device support
#
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_BONDING=m
# CONFIG_EQUALIZER is not set
CONFIG_TUN=m
# CONFIG_NET_SB1000 is not set
#
# ARCnet devices
#
# CONFIG_ARCNET is not set
#
# PHY device support
#
# CONFIG_PHYLIB is not set
#
# Ethernet (10 or 100Mbit)
#
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
#
# Tulip family network device support
#
# 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_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_DGRS 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=y
# CONFIG_8139CP is not set
# CONFIG_8139TOO 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
#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SIS190 is not set
# CONFIG_SKGE is not set
# CONFIG_SKY2 is not set
# CONFIG_SK98LIN is not set
# CONFIG_VIA_VELOCITY is not set
# CONFIG_TIGON3 is not set
# CONFIG_BNX2 is not set
# CONFIG_QLA3XXX is not set
# CONFIG_ATL1 is not set
#
# Ethernet (10000 Mbit)
#
# CONFIG_CHELSIO_T1 is not set
# CONFIG_CHELSIO_T3 is not set
# CONFIG_IXGB is not set
# CONFIG_S2IO is not set
# CONFIG_MYRI10GE is not set
# CONFIG_NETXEN_NIC is not set
# CONFIG_VIOC is not set
#
# Token Ring devices
#
# CONFIG_TR is not set
#
# Wireless LAN (non-hamradio)
#
CONFIG_NET_RADIO=y
# CONFIG_NET_WIRELESS_RTNETLINK is not set
#
# Obsolete Wireless cards support (pre-802.11)
#
# CONFIG_STRIP is not set
# CONFIG_ARLAN is not set
# CONFIG_WAVELAN is not set
#
# Wireless 802.11b ISA/PCI cards support
#
# CONFIG_IPW2100 is not set
# CONFIG_IPW2200 is not set
# CONFIG_AIRO is not set
# CONFIG_HERMES is not set
# CONFIG_ATMEL is not set
#
# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support
#
# CONFIG_PRISM54 is not set
# CONFIG_USB_ZD1201 is not set
# CONFIG_HOSTAP is not set
# CONFIG_BCM43XX is not set
CONFIG_ZD1211RW=m
# CONFIG_ZD1211RW_DEBUG is not set
CONFIG_NET_WIRELESS=y
#
# Wan interfaces
#
# CONFIG_WAN is not set
#
# ATM drivers
#
# CONFIG_ATM_DUMMY is not set
# CONFIG_ATM_TCP is not set
# CONFIG_ATM_LANAI is not set
# CONFIG_ATM_ENI is not set
# CONFIG_ATM_FIRESTREAM is not set
# CONFIG_ATM_ZATM is not set
# CONFIG_ATM_NICSTAR is not set
# CONFIG_ATM_IDT77252 is not set
# CONFIG_ATM_AMBASSADOR is not set
# CONFIG_ATM_HORIZON is not set
# CONFIG_ATM_IA is not set
# CONFIG_ATM_FORE200E_MAYBE is not set
# CONFIG_ATM_HE 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_SLIP is not set
CONFIG_SLHC=m
# CONFIG_NET_FC is not set
# CONFIG_SHAPER is not set
CONFIG_NETCONSOLE=y
CONFIG_NETPOLL=y
# CONFIG_NETPOLL_RX is not set
# CONFIG_NETPOLL_TRAP is not set
CONFIG_NET_POLL_CONTROLLER=y
#
# ISDN subsystem
#
# CONFIG_ISDN is not set
#
# Telephony Support
#
# CONFIG_PHONE is not set
#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS 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_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# 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_SERIAL 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_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_APANEL is not set
# CONFIG_INPUT_UINPUT is not set
#
# 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_SERIAL_NONSTANDARD is not set
# CONFIG_NOZOMI is not set
#
# Serial drivers
#
CONFIG_SERIAL_8250=m
# 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_TIPAR is not set
#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set
#
# Watchdog Cards
#
# CONFIG_WATCHDOG 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_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_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
#
# TPM devices
#
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not set
#
# I2C support
#
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=m
#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_ALGOPCF=m
CONFIG_I2C_ALGOPCA=m
#
# 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_ISA=m
# 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_PASEMI is not set
# CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 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_STUB 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_SENSORS_DS1337 is not set
# CONFIG_SENSORS_DS1374 is not set
# CONFIG_SENSORS_EEPROM is not set
# CONFIG_SENSORS_PCF8574 is not set
# CONFIG_SENSORS_PCA9539 is not set
# CONFIG_SENSORS_PCF8591 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
#
# SPI support
#
# CONFIG_SPI is not set
# CONFIG_SPI_MASTER is not set
#
# Dallas's 1-wire bus
#
# CONFIG_W1 is not set
#
# Hardware Monitoring support
#
CONFIG_HWMON=y
CONFIG_HWMON_VID=m
# CONFIG_SENSORS_ABITUGURU 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_K8TEMP is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_FSCHER is not set
# CONFIG_SENSORS_FSCPOS is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM 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_MAX1619 is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 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_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_HWMON_DEBUG_CHIP is not set
#
# Multifunction device drivers
#
# CONFIG_MFD_SM501 is not set
#
# Multimedia devices
#
CONFIG_VIDEO_DEV=m
CONFIG_VIDEO_V4L1=y
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_V4L2=y
#
# Video Capture Adapters
#
#
# Video Capture Adapters
#
# 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_CAFE_CCIC is not set
#
# V4L USB devices
#
# 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
#
# Radio Adapters
#
# CONFIG_RADIO_CADET is not set
# CONFIG_RADIO_RTRACK is not set
# CONFIG_RADIO_RTRACK2 is not set
# CONFIG_RADIO_AZTECH is not set
# CONFIG_RADIO_GEMTEK is not set
# CONFIG_RADIO_GEMTEK_PCI is not set
# CONFIG_RADIO_MAXIRADIO is not set
# CONFIG_RADIO_MAESTRO is not set
# CONFIG_RADIO_SF16FMI is not set
# CONFIG_RADIO_SF16FMR2 is not set
# CONFIG_RADIO_TERRATEC is not set
# CONFIG_RADIO_TRUST is not set
# CONFIG_RADIO_TYPHOON is not set
# CONFIG_RADIO_ZOLTRIX is not set
# CONFIG_USB_DSBR is not set
#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set
# CONFIG_USB_DABUSB is not set
#
# Graphics support
#
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_BACKLIGHT_CLASS_DEVICE=y
# CONFIG_LCD_CLASS_DEVICE is not set
CONFIG_BACKLIGHT_PROGEAR=y
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_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
#
# Frambuffer 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_HGA is not set
# CONFIG_FB_S1D13XXX is not set
CONFIG_FB_NVIDIA=m
CONFIG_FB_NVIDIA_I2C=y
# CONFIG_FB_NVIDIA_BACKLIGHT is not set
CONFIG_FB_RIVA=m
CONFIG_FB_RIVA_I2C=y
# CONFIG_FB_RIVA_DEBUG is not set
# CONFIG_FB_RIVA_BACKLIGHT is not set
# CONFIG_FB_I810 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_CYBLA is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_VIRTUAL 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_ROTATION is not set
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
#
# Logo configuration
#
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_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_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_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX 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_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_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_VX222 is not set
# CONFIG_SND_YMFPCI is not set
CONFIG_SND_AC97_POWER_SAVE=y
#
# USB devices
#
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set
#
# SoC audio support
#
# CONFIG_SND_SOC is not set
#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set
CONFIG_AC97_BUS=m
#
# HID Devices
#
CONFIG_HID=m
# CONFIG_HID_DEBUG is not set
#
# USB support
#
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
#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
CONFIG_USB_DYNAMIC_MINORS=y
CONFIG_USB_SUSPEND=y
# CONFIG_USB_OTG is not set
#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
# CONFIG_USB_EHCI_SPLIT_ISO is not set
CONFIG_USB_EHCI_ROOT_HUB_TT=y
# CONFIG_USB_EHCI_TT_NEWSCHED is not set
# CONFIG_USB_EHCI_BIG_ENDIAN_MMIO 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
#
# 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_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_KARMA is not set
# CONFIG_USB_LIBUSUAL 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_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_ACECAD is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_TOUCHSCREEN is not set
# CONFIG_USB_YEALINK is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set
# CONFIG_USB_ATI_REMOTE2 is not set
# CONFIG_USB_KEYSPAN_REMOTE is not set
# CONFIG_USB_APPLETOUCH is not set
# CONFIG_USB_GTCO is not set
#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK 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_MII is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_MON is not set
#
# USB port drivers
#
# CONFIG_USB_USS720 is not set
#
# USB Serial Converter support
#
# 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
#
# USB DSL modem support
#
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
#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set
#
# MMC/SD Card support
#
# CONFIG_MMC is not set
#
# LED devices
#
# CONFIG_NEW_LEDS is not set
#
# LED drivers
#
#
# LED Triggers
#
#
# InfiniBand support
#
# CONFIG_INFINIBAND is not set
#
# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
#
CONFIG_EDAC=m
#
# 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_I82860 is not set
# CONFIG_EDAC_K8 is not set
# CONFIG_EDAC_R82600 is not set
CONFIG_EDAC_POLL=y
#
# Real Time Clock
#
# CONFIG_RTC_CLASS is not set
#
# DMA Engine support
#
CONFIG_DMA_ENGINE=y
#
# DMA Clients
#
CONFIG_NET_DMA=y
CONFIG_ASYNC_TX_DMA=m
#
# DMA Devices
#
# CONFIG_INTEL_IOATDMA is not set
#
# Auxiliary Display support
#
# CONFIG_KS0108 is not set
#
# Virtualization
#
# CONFIG_KVM is not set
#
# Userspace I/O
#
# CONFIG_UIO is not set
#
# 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_EXT4DEV_FS is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISER4_FS=m
CONFIG_REISER4_DEBUG=y
CONFIG_REISERFS_FS=m
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_REISERFS_FS_XATTR is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
# CONFIG_QUOTA is not set
CONFIG_DNOTIFY=y
# 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_RAMFS=y
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_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
#
# Network File Systems
#
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
CONFIG_NFS_V4=y
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=m
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=m
CONFIG_SUNRPC_GSS=m
CONFIG_RPCSEC_GSS_KRB5=m
# CONFIG_RPCSEC_GSS_SPKM3 is not set
CONFIG_SMB_FS=m
# CONFIG_SMB_NLS_DEFAULT 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
# CONFIG_9P_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
#
# Native Language Support
#
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
#
# Distributed Lock Manager
#
# CONFIG_DLM is not set
#
# Instrumentation Support
#
CONFIG_PROFILING=y
CONFIG_OPROFILE=m
# CONFIG_KPROBES is not set
# CONFIG_MARKERS is not set
#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_HAVE_STANDARD_NOTIFY_DIE=y
# CONFIG_PRINTK_TIME is not set
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_UNUSED_SYMBOLS=y
# 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_LOG_BUF_SHIFT=15
# CONFIG_DETECT_SOFTLOCKUP 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 is not set
# CONFIG_PROVE_LOCKING is not set
CONFIG_DEBUG_SPINLOCK_SLEEP=y
CONFIG_DEBUG_LOCKING_API_SELFTESTS=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_LIST is not set
CONFIG_FRAME_POINTER=y
# CONFIG_PROFILE_LIKELY is not set
CONFIG_FORCED_INLINING=y
# CONFIG_DEBUG_SYNCHRO_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_FAULT_INJECTION is not set
CONFIG_EARLY_PRINTK=y
CONFIG_DEBUG_STACKOVERFLOW=y
CONFIG_DEBUG_STACK_USAGE=y
#
# Page alloc debug is incompatible with Software Suspend on i386
#
CONFIG_DEBUG_RODATA=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y
CONFIG_DOUBLEFAULT=y
#
# Security options
#
CONFIG_KEYS=y
# CONFIG_KEYS_DEBUG_PROC_KEYS is not set
# CONFIG_INTEGRITY is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITY_FS_CAPABILITIES is not set
#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_BLKCIPHER=m
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_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_DEFLATE=m
CONFIG_CRYPTO_MICHAEL_MIC=m
CONFIG_CRYPTO_CRC32C=m
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_TEST is not set
#
# Hardware crypto devices
#
# CONFIG_CRYPTO_DEV_PADLOCK is not set
# CONFIG_CRYPTO_DEV_GEODE is not set
#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_CRC_CCITT=m
# CONFIG_CRC16 is not set
CONFIG_CRC32=y
CONFIG_LIBCRC32C=m
CONFIG_ZLIB_INFLATE=m
CONFIG_ZLIB_DEFLATE=m
CONFIG_TEXTSEARCH=y
CONFIG_TEXTSEARCH_KMP=m
CONFIG_TEXTSEARCH_BM=m
CONFIG_TEXTSEARCH_FSM=m
CONFIG_PLIST=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_KTIME_SCALAR=y
On Sun, Feb 18, 2007 at 02:06:59PM +0100, Laurent Riffard wrote:
> Le 18.02.2007 06:51, Andrew Morton a ?crit :
> >Temporarily at
> >
> > http://userweb.kernel.org/~akpm/2.6.20-mm2/
> >
> >Will appear later at
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
>
> Hello, I've got a fully reproducible Oops. I just have to boot to
> runlevel 2 and wait less than one minute.
Maybe this oops is related too?
Can't yet tell if it's easily reproducible, this is on a JFS filesystem.
BUG: unable to handle kernel NULL pointer dereference at virtual address 00000004
printing eip:
c02206aa
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
last sysfs file: /devices/pci0000:00/0000:00:00.0/class
CPU: 0
EIP: 0060:[<c02206aa>] Not tainted VLI
EFLAGS: 00010297 (2.6.20-mm2-1 #1)
EIP is at __make_request+0x13a/0x390
eax: ffffffff ebx: 00000000 ecx: 042b0dd8 edx: 00010485
esi: c5f8cea0 edi: cfd587f8 ebp: c653dadc esp: c653dabc
ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068
Process sh (pid: 4549, ti=c653c000 task=ccca2090 task.ti=c653c000)
Stack: c137eae8 00000001 cfd587e4 c5f8cea0 c5f893e4 c137eae8 c5f8cea0 00000008
c653db28 c021e0ca cfa3ffa0 cee6a2e0 cfa3ffa0 00000000 00000008 00000100
00011250 cfedaf60 c653db10 00000206 00000000 c653db18 c014a31e c653db48
Call Trace:
[<c01048ba>] show_trace_log_lvl+0x1a/0x30
[<c0104979>] show_stack_log_lvl+0xa9/0xd0
[<c0104ba6>] show_registers+0x206/0x350
[<c0104dfe>] die+0x10e/0x210
[<c0114652>] do_page_fault+0x2d2/0x600
[<c0351f84>] error_code+0x74/0x7c
[<c021e0ca>] generic_make_request+0x15a/0x200
[<c0220318>] submit_bio+0x58/0xe0
[<c0205d0f>] metapage_writepage+0x18f/0x1b0
[<c014cc2b>] __writepage+0xb/0x30
[<c014d20f>] write_cache_pages+0x22f/0x300
[<c014d303>] generic_writepages+0x23/0x30
[<c014d36c>] do_writepages+0x5c/0x60
[<c0148307>] __filemap_fdatawrite_range+0x67/0x80
[<c0149785>] filemap_flush+0x25/0x30
[<c02080cd>] lmLogSync+0x19d/0x230
[<c020871e>] lmLog+0x5e/0x190
[<c020a360>] txCommit+0x8c0/0x1010
[<c01eecf4>] jfs_create+0x324/0x370
[<c016f38f>] vfs_create+0xaf/0x100
[<c017269c>] open_namei+0x58c/0x640
[<c0165b7c>] do_filp_open+0x2c/0x50
[<c0165be7>] do_sys_open+0x47/0xe0
[<c0165cbc>] sys_open+0x1c/0x20
[<c01041c0>] syscall_call+0x7/0xb
=======================
Code: 5d c3 8b 58 18 8b 43 04 0f 18 00 90 8b 7d e8 83 c7 14 39 fb 75 2
4 e9 2d ff ff ff 8d b6 00 00 00 00 48 0f 84 d9 00 00 00 8b 5b 04 <8b> 43 04 0f 18 00 90 39 fb 0f 84
0e ff ff ff 89 f2 89 d8 e8 2e
EIP: [<c02206aa>] __make_request+0x13a/0x390 SS:ESP 0068:c653dabc
--
mattia
:wq!
Andrew Morton napisał(a):
> Temporarily at
>
> http://userweb.kernel.org/~akpm/2.6.20-mm2/
>
Slab corruption + oops yablb (yet another block layer bug)
Slab corruption: start=f3b8f654, len=176
Redzone: 0x5a2cf071/0x5a2cf071.
Last user: [<c0160f39>](mempool_free_slab+0xe/0x10)
060: 6b 6b 6b 6b 00 00 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
Prev obj: start=f3b8f598, len=176
Redzone: 0x5a2cf071/0x5a2cf071.
Last user: [<c0160f39>](mempool_free_slab+0xe/0x10)
000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
Next obj: start=f3b8f710, len=176
Redzone: 0x5a2cf071/0x5a2cf071.
Last user: [<c0160f39>](mempool_free_slab+0xe/0x10)
000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
0xc0160f39 is in mempool_free_slab (/mnt/md0/devel/linux-mm/mm/mempool.c:295).
290
291 void mempool_free_slab(void *element, void *pool_data)
292 {
293 struct kmem_cache *mem = pool_data;
294 kmem_cache_free(mem, element);
295 }
296 EXPORT_SYMBOL(mempool_free_slab);
297
298 /*
299 * A commonly used alloc and free fn that kmalloc/kfrees the amount of memory
quilt patches mm/mempool.c
patches/origin.patch
It's time to test 2.6.20-git14 with LTP.
BUG: unable to handle kernel paging request at virtual address 6b6b6b8f
printing eip:
c01f4618
*pde = 00000000
Oops: 0000 [#1]
PREEMPT SMP
last sysfs file: /devices/platform/i2c-9191/9191-0290/temp2_input
Modules linked in: ipt_MASQUERADE iptable_nat nf_nat nfsd exportfs lockd nfs_acl autofs4 sunrpc af_packet nf_conntrack_netbios_ns ipt_REJECT nf_conntrack_ipv4 xt_state nf_conntrack nfnetlink xt_tcpudp iptable_filter ip_tables x_tables ipv6 binfmt_misc thermal processor fan container nvram evdev snd_intel8x0 snd_ac97_codec ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer intel_agp 8139too agpgart skge snd i2c_i801 mii soundcore sk98lin snd_page_alloc ide_cd cdrom rtc unix
CPU: 0
EIP: 0060:[<c01f4618>] Not tainted VLI
EFLAGS: 00010292 (2.6.20-mm2 #18)
EIP is at ll_back_merge_fn+0x9d/0x1ba
eax: 6b6b6b6b ebx: f5e6a2a8 ecx: 00001000 edx: 00000001
esi: f7cc1a14 edi: f5e6a2a8 ebp: ee7ebb34 esp: ee7ebb18
ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068
Process doio (pid: 11602, ti=ee7ea000 task=f339a070 task.ti=ee7ea000)
Stack: f306d394 00001000 f7cb2e54 ee7ebb34 f5e6a2a8 f306d394 f7cc1a14 ee7ebb5c
c01f622f c020fad7 f5e6a2a8 f306d394 f306d394 ee7ebb5c f5e6a2a8 f7cc1a14
f306d394 ee7ebb94 c01f7a74 ee7ebb8c c013ea3c f339a5e8 00000002 f339a070
Call Trace:
[<c0105312>] show_trace_log_lvl+0x1a/0x2f
[<c01053c4>] show_stack_log_lvl+0x9d/0xac
[<c01055c0>] show_registers+0x1ed/0x34c
[<c010583c>] die+0x11d/0x234
[<c011a8e1>] do_page_fault+0x47c/0x55b
[<c0336d54>] error_code+0x7c/0x84
[<c01f622f>] bio_attempt_back_merge+0x40/0xe3
[<c01f7a74>] __make_request+0xe1/0x32e
[<c01f5128>] generic_make_request+0x2e1/0x30f
[<c01f7614>] submit_bio+0x132/0x13a
[<c019e063>] submit_bh+0xf6/0x113
[<c019f659>] __block_write_full_page+0x242/0x35c
[<c019fbcc>] block_write_full_page+0xc9/0xd1
[<c01c0788>] ext3_ordered_writepage+0x100/0x1b1
[<c01637db>] __writepage+0xb/0x25
[<c0163c6c>] write_cache_pages+0x19d/0x2b4
[<c0163da5>] generic_writepages+0x22/0x2a
[<c0163de3>] do_writepages+0x36/0x48
[<c015f176>] __filemap_fdatawrite_range+0x5b/0x67
[<c015f22b>] filemap_fdatawrite_range+0x22/0x29
[<c015f392>] sync_page_range+0x8c/0x107
[<c0160347>] generic_file_aio_write+0xbf/0xdb
[<c01bc94b>] ext3_file_write+0x27/0x99
[<c017f1ec>] do_sync_write+0xd7/0x114
[<c017fad2>] vfs_write+0xd1/0x15a
[<c0180102>] sys_write+0x3d/0x72
[<c010432c>] syscall_call+0x7/0xb
=======================
Code: ff 8b 45 e4 8b 50 0c 83 f2 08 c1 ea 03 83 e2 01 b8 20 e1 43 c0 e8 e5 bb 01 00 85 c0 74 0a 8b 55 e4 89 f0 e8 63 f4 ff ff 8b 47 38 <8b> 50 24 89 55 e8 8b 4d e4 8b 49 20 89 4d ec 0f b7 48 14 6b c9
EIP: [<c01f4618>] ll_back_merge_fn+0x9d/0x1ba SS:ESP 0068:ee7ebb18
0xc01f4618 is in ll_back_merge_fn (/mnt/md0/devel/linux-mm/block/ll_rw_blk.c:1421).
1416 }
1417 if (unlikely(!bio_flagged(req->biotail, BIO_SEG_VALID)))
1418 blk_recount_segments(q, req->biotail);
1419 if (unlikely(!bio_flagged(bio, BIO_SEG_VALID)))
1420 blk_recount_segments(q, bio);
1421 len = req->biotail->bi_hw_back_size + bio->bi_hw_front_size;
1422 if (BIOVEC_VIRT_MERGEABLE(__BVEC_END(req->biotail), __BVEC_START(bio)) &&
1423 !BIOVEC_VIRT_OVERSIZE(len)) {
1424 int mergeable = ll_new_mergeable(q, req, bio);
1425
http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/2.6.20-mm2/mm-config
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
On Sun, 18 Feb 2007 13:44:54 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
> On Sunday, 18 February 2007 06:51, Andrew Morton wrote:
> >
> > Temporarily at
> >
> > http://userweb.kernel.org/~akpm/2.6.20-mm2/
> >
> > Will appear later at
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
>
> Two problems:
>
> 1) A showstopper with the root partition on RAID1:
>
> md: raid1 personality registered for level 1
> [--snip--]
> md: multipath personality registered for level -4
> register_blkdev: failed to get major for mdp
> [--snip--]
> VFS: Cannot open root device "md1" or unknown-block(0,0)
Someone else reported that against mainline. Can you please debug it a bit?
I'd suggested reverting the recent changes in there:
--- a/block/genhd.c~a
+++ a/block/genhd.c
@@ -61,14 +61,6 @@ int register_blkdev(unsigned int major,
/* temporary */
if (major == 0) {
for (index = ARRAY_SIZE(major_names)-1; index > 0; index--) {
- /*
- * Disallow the LANANA-assigned LOCAL/EXPERIMENTAL
- * majors
- */
- if ((60 <= index && index <= 63) ||
- (120 <= index && index <= 127) ||
- (240 <= index && index <= 254))
- continue;
if (major_names[index] == NULL)
break;
}
_
but I don't see how they could cause this.
> At the moment I have no serial console attached to the box, so I had to rewrite
> the messages manually.
netconsole is good.
> 2) On HPC nx6325 I get the following 100% of the time during the resume from
> disk:
>
> BUG: at drivers/pci/pci.c:823 pcim_enable_device()
>
> Call Trace:
> [<ffffffff80325ff8>] pcim_enable_device+0x93/0xb3
> [<ffffffff803a974a>] ata_pci_device_do_resume+0x21/0x5e
> [<ffffffff803b5e6c>] sil_pci_device_resume+0x1c/0x51
> [<ffffffff8032800d>] pci_device_resume+0x22/0x53
> [<ffffffff8039ae58>] resume_device+0xca/0x131
> [<ffffffff8039af40>] dpm_resume+0x81/0xd3
> [<ffffffff8039afc2>] device_resume+0x30/0x45
> [<ffffffff802a0792>] snapshot_ioctl+0x245/0x63e
> [<ffffffff8023cfcc>] do_ioctl+0x5e/0x77
> [<ffffffff8022d2b3>] vfs_ioctl+0x25c/0x279
> [<ffffffff80246a80>] sys_ioctl+0x5f/0x82
> [<ffffffff80215586>] sys_write+0x47/0x70
> [<ffffffff8025711e>] system_call+0x7e/0x83
>
> Nevertheless, the system seems to be fully functional after the resume.
>
> [I've been observing it since 2.6.20-git10 and have reported it for a couple
> of times, but apparently nobody cares. :-(]
This is a Tejun thing - apparently it's due to swsusp calling suspend once
and resume twice (or is it vice versa). He'll be looking into it soon.
On Sun, 18 Feb 2007 18:58:05 +0100 Mattia Dongili <[email protected]> wrote:
> On Sun, Feb 18, 2007 at 02:06:59PM +0100, Laurent Riffard wrote:
> > Le 18.02.2007 06:51, Andrew Morton a ?crit :
> > >Temporarily at
> > >
> > > http://userweb.kernel.org/~akpm/2.6.20-mm2/
> > >
> > >Will appear later at
> > >
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
> >
> > Hello, I've got a fully reproducible Oops. I just have to boot to
> > runlevel 2 and wait less than one minute.
>
> Maybe this oops is related too?
Looks that way.
> Can't yet tell if it's easily reproducible, this is on a JFS filesystem.
>
> BUG: unable to handle kernel NULL pointer dereference at virtual address 00000004
> printing eip:
> c02206aa
> *pde = 00000000
> Oops: 0000 [#1]
> PREEMPT
> last sysfs file: /devices/pci0000:00/0000:00:00.0/class
> CPU: 0
> EIP: 0060:[<c02206aa>] Not tainted VLI
> EFLAGS: 00010297 (2.6.20-mm2-1 #1)
> EIP is at __make_request+0x13a/0x390
> eax: ffffffff ebx: 00000000 ecx: 042b0dd8 edx: 00010485
> esi: c5f8cea0 edi: cfd587f8 ebp: c653dadc esp: c653dabc
> ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068
> Process sh (pid: 4549, ti=c653c000 task=ccca2090 task.ti=c653c000)
> Stack: c137eae8 00000001 cfd587e4 c5f8cea0 c5f893e4 c137eae8 c5f8cea0 00000008
> c653db28 c021e0ca cfa3ffa0 cee6a2e0 cfa3ffa0 00000000 00000008 00000100
> 00011250 cfedaf60 c653db10 00000206 00000000 c653db18 c014a31e c653db48
> Call Trace:
> [<c01048ba>] show_trace_log_lvl+0x1a/0x30
> [<c0104979>] show_stack_log_lvl+0xa9/0xd0
> [<c0104ba6>] show_registers+0x206/0x350
> [<c0104dfe>] die+0x10e/0x210
> [<c0114652>] do_page_fault+0x2d2/0x600
> [<c0351f84>] error_code+0x74/0x7c
> [<c021e0ca>] generic_make_request+0x15a/0x200
> [<c0220318>] submit_bio+0x58/0xe0
> [<c0205d0f>] metapage_writepage+0x18f/0x1b0
> [<c014cc2b>] __writepage+0xb/0x30
> [<c014d20f>] write_cache_pages+0x22f/0x300
> [<c014d303>] generic_writepages+0x23/0x30
> [<c014d36c>] do_writepages+0x5c/0x60
> [<c0148307>] __filemap_fdatawrite_range+0x67/0x80
> [<c0149785>] filemap_flush+0x25/0x30
> [<c02080cd>] lmLogSync+0x19d/0x230
> [<c020871e>] lmLog+0x5e/0x190
> [<c020a360>] txCommit+0x8c0/0x1010
> [<c01eecf4>] jfs_create+0x324/0x370
> [<c016f38f>] vfs_create+0xaf/0x100
> [<c017269c>] open_namei+0x58c/0x640
> [<c0165b7c>] do_filp_open+0x2c/0x50
> [<c0165be7>] do_sys_open+0x47/0xe0
> [<c0165cbc>] sys_open+0x1c/0x20
> [<c01041c0>] syscall_call+0x7/0xb
Michal Piotrowski is hitting it too, and has bisected it down to
git-block.patch.
On 18/02/07, Andrew Morton <[email protected]> wrote:
> On Sun, 18 Feb 2007 18:58:05 +0100 Mattia Dongili <[email protected]> wrote:
>
> > On Sun, Feb 18, 2007 at 02:06:59PM +0100, Laurent Riffard wrote:
> > > Le 18.02.2007 06:51, Andrew Morton a ?crit :
> > > >Temporarily at
> > > >
> > > > http://userweb.kernel.org/~akpm/2.6.20-mm2/
> > > >
> > > >Will appear later at
> > > >
> > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
> > >
> > > Hello, I've got a fully reproducible Oops. I just have to boot to
> > > runlevel 2 and wait less than one minute.
> >
> > Maybe this oops is related too?
>
> Looks that way.
>
> > Can't yet tell if it's easily reproducible, this is on a JFS filesystem.
> >
> > BUG: unable to handle kernel NULL pointer dereference at virtual address 00000004
> > printing eip:
> > c02206aa
> > *pde = 00000000
> > Oops: 0000 [#1]
> > PREEMPT
> > last sysfs file: /devices/pci0000:00/0000:00:00.0/class
> > CPU: 0
> > EIP: 0060:[<c02206aa>] Not tainted VLI
> > EFLAGS: 00010297 (2.6.20-mm2-1 #1)
> > EIP is at __make_request+0x13a/0x390
> > eax: ffffffff ebx: 00000000 ecx: 042b0dd8 edx: 00010485
> > esi: c5f8cea0 edi: cfd587f8 ebp: c653dadc esp: c653dabc
> > ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068
> > Process sh (pid: 4549, ti=c653c000 task=ccca2090 task.ti=c653c000)
> > Stack: c137eae8 00000001 cfd587e4 c5f8cea0 c5f893e4 c137eae8 c5f8cea0 00000008
> > c653db28 c021e0ca cfa3ffa0 cee6a2e0 cfa3ffa0 00000000 00000008 00000100
> > 00011250 cfedaf60 c653db10 00000206 00000000 c653db18 c014a31e c653db48
> > Call Trace:
> > [<c01048ba>] show_trace_log_lvl+0x1a/0x30
> > [<c0104979>] show_stack_log_lvl+0xa9/0xd0
> > [<c0104ba6>] show_registers+0x206/0x350
> > [<c0104dfe>] die+0x10e/0x210
> > [<c0114652>] do_page_fault+0x2d2/0x600
> > [<c0351f84>] error_code+0x74/0x7c
> > [<c021e0ca>] generic_make_request+0x15a/0x200
> > [<c0220318>] submit_bio+0x58/0xe0
> > [<c0205d0f>] metapage_writepage+0x18f/0x1b0
> > [<c014cc2b>] __writepage+0xb/0x30
> > [<c014d20f>] write_cache_pages+0x22f/0x300
> > [<c014d303>] generic_writepages+0x23/0x30
> > [<c014d36c>] do_writepages+0x5c/0x60
> > [<c0148307>] __filemap_fdatawrite_range+0x67/0x80
> > [<c0149785>] filemap_flush+0x25/0x30
> > [<c02080cd>] lmLogSync+0x19d/0x230
> > [<c020871e>] lmLog+0x5e/0x190
> > [<c020a360>] txCommit+0x8c0/0x1010
> > [<c01eecf4>] jfs_create+0x324/0x370
> > [<c016f38f>] vfs_create+0xaf/0x100
> > [<c017269c>] open_namei+0x58c/0x640
> > [<c0165b7c>] do_filp_open+0x2c/0x50
> > [<c0165be7>] do_sys_open+0x47/0xe0
> > [<c0165cbc>] sys_open+0x1c/0x20
> > [<c01041c0>] syscall_call+0x7/0xb
>
> Michal Piotrowski is hitting it too, and has bisected it down to
> git-block.patch.
>
I have bisected it down to this patches
revert-md-avoid-possible-bug_on-in-md-bitmap-handling-for-git-block.patch
git-block.patch
git-block-fixup.patch
git-block-dupe-definitions.patch
git-block-xfs-barriers-broke.patch
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
On Sunday, 18 February 2007 20:43, Andrew Morton wrote:
> On Sun, 18 Feb 2007 13:44:54 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
>
> > On Sunday, 18 February 2007 06:51, Andrew Morton wrote:
> > >
> > > Temporarily at
> > >
> > > http://userweb.kernel.org/~akpm/2.6.20-mm2/
> > >
> > > Will appear later at
> > >
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
> >
> > Two problems:
> >
> > 1) A showstopper with the root partition on RAID1:
> >
> > md: raid1 personality registered for level 1
> > [--snip--]
> > md: multipath personality registered for level -4
> > register_blkdev: failed to get major for mdp
> > [--snip--]
> > VFS: Cannot open root device "md1" or unknown-block(0,0)
>
> Someone else reported that against mainline. Can you please debug it a bit?
Sure, tomorrow I will.
> I'd suggested reverting the recent changes in there:
>
> --- a/block/genhd.c~a
> +++ a/block/genhd.c
> @@ -61,14 +61,6 @@ int register_blkdev(unsigned int major,
> /* temporary */
> if (major == 0) {
> for (index = ARRAY_SIZE(major_names)-1; index > 0; index--) {
> - /*
> - * Disallow the LANANA-assigned LOCAL/EXPERIMENTAL
> - * majors
> - */
> - if ((60 <= index && index <= 63) ||
> - (120 <= index && index <= 127) ||
> - (240 <= index && index <= 254))
> - continue;
> if (major_names[index] == NULL)
> break;
> }
> _
>
> but I don't see how they could cause this.
>
>
> > At the moment I have no serial console attached to the box, so I had to rewrite
> > the messages manually.
>
> netconsole is good.
I know. :-)
In the meantime, I've got something worse on another x86_64 box:
Asus Laptop ACPI Extras version 0.30
L5D model detected, supported
audit(1171831698.918:2): audit_pid=4281 old=0 by auid=4294967295
general protection fault: 0000 [2] PREEMPT
last sysfs file: /class/net/eth2/carrier
CPU 0
Modules linked in: af_packet ipv6 snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device asus_acpi backlight button battery ac dm_mod pcmr
Pid: 178, comm: pdflush Not tainted 2.6.20-mm2 #1
RIP: 0010:[<ffffffff8034bce4>] [<ffffffff8034bce4>] __make_request+0x134/0x370
RSP: 0000:ffff81005ed659a0 EFLAGS: 00010297
RAX: 00000000ffffffff RBX: 6b6b6b6b6b6b6b6b RCX: 000000000203396a
RDX: 0000000100000000 RSI: ffff810037b4dbb0 RDI: ffff81004683d8c0
RBP: ffff81005ed659f0 R08: ffff81004683d070 R09: ffff81003d333cc0
R10: 0000000000000000 R11: 0000000000000000 R12: ffff810037b4dbb0
R13: ffff81005daba3f0 R14: ffff810037daca90 R15: ffff81005daba3d0
FS: 00002ad4a29e6d00(0000) GS:ffffffff805db000(0000) knlGS:0000000000000000
CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 00002b6a345aa000 CR3: 0000000056585000 CR4: 00000000000006e0
Process pdflush (pid: 178, threadinfo ffff81005ed64000, task ffff810037b060c0)
Stack: ffff810002852540 0000000000000001 ffff810037b4dbb0 ffffffff8026be21
ffff81005ed65a40 0000000000000008 ffff810037b4dbb0 0000000000000800
0000000000000008 ffff8100021d94e0 ffff81005ed65a40 ffffffff80348e7c
Call Trace:
[<ffffffff8026be21>] mempool_alloc_slab+0x11/0x20
[<ffffffff80348e7c>] generic_make_request+0x1ec/0x230
[<ffffffff8034b7e6>] submit_bio+0xf6/0x110
[<ffffffff802b60f0>] submit_bh+0x100/0x130
[<ffffffff802b788a>] __block_write_full_page+0x1ca/0x2e0
[<ffffffff802bc040>] blkdev_get_block+0x0/0x70
[<ffffffff802bc040>] blkdev_get_block+0x0/0x70
[<ffffffff802b7a93>] block_write_full_page+0xf3/0x110
[<ffffffff802baeb3>] blkdev_writepage+0x13/0x20
[<ffffffff8026eb85>] __writepage+0x15/0x40
[<ffffffff8026f1e3>] write_cache_pages+0x1f3/0x360
[<ffffffff8026eb70>] __writepage+0x0/0x40
[<ffffffff8026f372>] generic_writepages+0x22/0x30
[<ffffffff8026f3c6>] do_writepages+0x46/0x80
[<ffffffff802b1f67>] __writeback_single_inode+0x1d7/0x370
[<ffffffff802b2355>] generic_sync_sb_inodes+0x35/0x2b0
[<ffffffff802b24f9>] generic_sync_sb_inodes+0x1d9/0x2b0
[<ffffffff802b29f2>] writeback_inodes+0x82/0x100
[<ffffffff802b25f5>] sync_sb_inodes+0x25/0x30
[<ffffffff802b2a08>] writeback_inodes+0x98/0x100
[<ffffffff8026fd40>] pdflush+0x0/0x1e0
[<ffffffff8026f934>] wb_kupdate+0x94/0x110
[<ffffffff8026fe68>] pdflush+0x128/0x1e0
[<ffffffff8026f8a0>] wb_kupdate+0x0/0x110
[<ffffffff8026fd40>] pdflush+0x0/0x1e0
[<ffffffff80240863>] kthread+0xd3/0x110
[<ffffffff80240700>] keventd_create_kthread+0x0/0x90
[<ffffffff8020a3f8>] child_rip+0xa/0x12
[<ffffffff80483e5b>] _spin_unlock_irq+0x2b/0x60
[<ffffffff80209fb0>] restore_args+0x0/0x30
[<ffffffff80240790>] kthread+0x0/0x110
[<ffffffff8020a3ee>] child_rip+0x0/0x12
Code: 48 8b 43 08 0f 18 08 49 39 dd 75 a2 49 8b be 38 02 00 00 e8
RIP [<ffffffff8034bce4>] __make_request+0x134/0x370
RSP <ffff81005ed659a0>
PM: Adding info for No Bus:vcs10
PM: Adding info for No Bus:vcsa10
It looks _really_ bad to me. :-(
> > 2) On HPC nx6325 I get the following 100% of the time during the resume from
> > disk:
> >
> > BUG: at drivers/pci/pci.c:823 pcim_enable_device()
> >
> > Call Trace:
> > [<ffffffff80325ff8>] pcim_enable_device+0x93/0xb3
> > [<ffffffff803a974a>] ata_pci_device_do_resume+0x21/0x5e
> > [<ffffffff803b5e6c>] sil_pci_device_resume+0x1c/0x51
> > [<ffffffff8032800d>] pci_device_resume+0x22/0x53
> > [<ffffffff8039ae58>] resume_device+0xca/0x131
> > [<ffffffff8039af40>] dpm_resume+0x81/0xd3
> > [<ffffffff8039afc2>] device_resume+0x30/0x45
> > [<ffffffff802a0792>] snapshot_ioctl+0x245/0x63e
> > [<ffffffff8023cfcc>] do_ioctl+0x5e/0x77
> > [<ffffffff8022d2b3>] vfs_ioctl+0x25c/0x279
> > [<ffffffff80246a80>] sys_ioctl+0x5f/0x82
> > [<ffffffff80215586>] sys_write+0x47/0x70
> > [<ffffffff8025711e>] system_call+0x7e/0x83
> >
> > Nevertheless, the system seems to be fully functional after the resume.
> >
> > [I've been observing it since 2.6.20-git10 and have reported it for a couple
> > of times, but apparently nobody cares. :-(]
>
> This is a Tejun thing - apparently it's due to swsusp calling suspend once
> and resume twice (or is it vice versa). He'll be looking into it soon.
OK
On Sunday, 18 February 2007 06:51, Andrew Morton wrote:
>
> Temporarily at
>
> http://userweb.kernel.org/~akpm/2.6.20-mm2/
>
> Will appear later at
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
One more thing:
rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
Unable to handle kernel NULL pointer dereference at 0000000000000030 RIP:
[<ffffffff804032c3>] rtc_sysfs_remove_device+0x23/0x50
PGD 5e10c067 PUD 5dd58067 PMD 0
Oops: 0000 [1] PREEMPT
last sysfs file: /devices/pnp0/00:04/id
CPU 0
Modules linked in: cdrom rtc_cmos snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_timer snd soundcore i2c_nforce2 i2c_core snd_page_alloc ohci_hcd ehci_hcd evdev parport_pc lp parport fan thermal processor
Pid: 2960, comm: modprobe Not tainted 2.6.20-mm2 #1
RIP: 0010:[<ffffffff804032c3>] [<ffffffff804032c3>] rtc_sysfs_remove_device+0x23/0x50
RSP: 0018:ffff81005e3f9c18 EFLAGS: 00010202
RAX: 0000000000000000 RBX: ffff81005dabeea0 RCX: 0000000000000000
RDX: ffffffff804032a0 RSI: ffffffff805cfba0 RDI: ffff81005dabeea0
RBP: ffff81005e3f9c28 R08: 0000000000000001 R09: 0000000000000000
R10: 2222222222222222 R11: 2222222222222222 R12: ffff81005dabeea0
R13: ffff810002890258 R14: ffff810002890268 R15: ffff810002890098
FS: 00002ac610b906f0(0000) GS:ffffffff805db000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000030 CR3: 000000005e16d000 CR4: 00000000000006e0
Process modprobe (pid: 2960, threadinfo ffff81005e3f8000, task ffff81005e6a7140)
Stack: ffff81005fe244e8 ffffffff805cfba0 ffff81005e3f9c68 ffffffff803c5786
0000000000000000 ffff81005dabeea0 ffff81005dabf008 0000000000000008
ffff81005fe244e8 0000000000000008 ffff81005e3f9c88 ffffffff803c5891
Call Trace:
[<ffffffff803c5786>] class_device_del+0x86/0x180
[<ffffffff803c5891>] class_device_unregister+0x11/0x20
[<ffffffff8040280e>] rtc_device_unregister+0x3e/0x50
[<ffffffff880cd789>] :rtc_cmos:cmos_pnp_probe+0x219/0x240
[<ffffffff803988a1>] pnp_device_probe+0xa1/0xe0
[<ffffffff803c4d20>] __driver_attach+0x0/0xa0
[<ffffffff803c4bb5>] driver_probe_device+0x115/0x1c0
[<ffffffff803c4d20>] __driver_attach+0x0/0xa0
[<ffffffff803c4d83>] __driver_attach+0x63/0xa0
[<ffffffff803c3e1f>] bus_for_each_dev+0x4f/0x80
[<ffffffff803c497c>] driver_attach+0x1c/0x20
[<ffffffff803c4233>] bus_add_driver+0x83/0x1d0
[<ffffffff803c50d9>] driver_register+0x89/0x90
[<ffffffff803985cc>] pnp_register_driver+0x1c/0x20
[<ffffffff880d1010>] :rtc_cmos:cmos_init+0x10/0x12
[<ffffffff8025199b>] sys_init_module+0x158b/0x16f0
[<ffffffff802d09da>] dnotify_parent+0x7a/0x90
[<ffffffff80268b80>] file_read_actor+0x0/0x170
[<ffffffff80209a0e>] system_call+0x7e/0x83
Code: 48 83 78 30 00 74 0c 48 c7 c6 60 e1 4a 80 e8 aa 23 fc ff 48
RIP [<ffffffff804032c3>] rtc_sysfs_remove_device+0x23/0x50
RSP <ffff81005e3f9c18>
CR2: 0000000000000030
On Sunday, 18 February 2007 06:51, Andrew Morton wrote:
>
> Temporarily at
>
> http://userweb.kernel.org/~akpm/2.6.20-mm2/
>
> Will appear later at
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
I think something like this is generally necessary:
---
drivers/pci/quirks.c | 1 +
1 file changed, 1 insertion(+)
Index: linux-2.6.20-mm2/drivers/pci/quirks.c
===================================================================
--- linux-2.6.20-mm2.orig/drivers/pci/quirks.c
+++ linux-2.6.20-mm2/drivers/pci/quirks.c
@@ -21,6 +21,7 @@
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/acpi.h>
+#include <asm/apicdef.h>
#include "pci.h"
/* The Mellanox Tavor device gives false positive parity errors
On 19/02/07, Rafael J. Wysocki <[email protected]> wrote:
> On Sunday, 18 February 2007 20:43, Andrew Morton wrote:
> > On Sun, 18 Feb 2007 13:44:54 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
> >
> > > On Sunday, 18 February 2007 06:51, Andrew Morton wrote:
> > > >
> > > > Temporarily at
> > > >
> > > > http://userweb.kernel.org/~akpm/2.6.20-mm2/
> > > >
> > > > Will appear later at
> > > >
> > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
> > >
> > > Two problems:
> > >
> > > 1) A showstopper with the root partition on RAID1:
> > >
> > > md: raid1 personality registered for level 1
> > > [--snip--]
> > > md: multipath personality registered for level -4
> > > register_blkdev: failed to get major for mdp
> > > [--snip--]
> > > VFS: Cannot open root device "md1" or unknown-block(0,0)
> >
> > Someone else reported that against mainline. Can you please debug it a bit?
>
> Sure, tomorrow I will.
>
> > I'd suggested reverting the recent changes in there:
> >
> > --- a/block/genhd.c~a
> > +++ a/block/genhd.c
> > @@ -61,14 +61,6 @@ int register_blkdev(unsigned int major,
> > /* temporary */
> > if (major == 0) {
> > for (index = ARRAY_SIZE(major_names)-1; index > 0; index--) {
> > - /*
> > - * Disallow the LANANA-assigned LOCAL/EXPERIMENTAL
> > - * majors
> > - */
> > - if ((60 <= index && index <= 63) ||
> > - (120 <= index && index <= 127) ||
> > - (240 <= index && index <= 254))
> > - continue;
> > if (major_names[index] == NULL)
> > break;
> > }
> > _
> >
> > but I don't see how they could cause this.
> >
> >
> > > At the moment I have no serial console attached to the box, so I had to rewrite
> > > the messages manually.
> >
> > netconsole is good.
>
> I know. :-)
>
> In the meantime, I've got something worse on another x86_64 box:
>
> Asus Laptop ACPI Extras version 0.30
> L5D model detected, supported
> audit(1171831698.918:2): audit_pid=4281 old=0 by auid=4294967295
> general protection fault: 0000 [2] PREEMPT
> last sysfs file: /class/net/eth2/carrier
> CPU 0
> Modules linked in: af_packet ipv6 snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device asus_acpi backlight button battery ac dm_mod pcmr
> Pid: 178, comm: pdflush Not tainted 2.6.20-mm2 #1
> RIP: 0010:[<ffffffff8034bce4>] [<ffffffff8034bce4>] __make_request+0x134/0x370
> RSP: 0000:ffff81005ed659a0 EFLAGS: 00010297
> RAX: 00000000ffffffff RBX: 6b6b6b6b6b6b6b6b RCX: 000000000203396a
> RDX: 0000000100000000 RSI: ffff810037b4dbb0 RDI: ffff81004683d8c0
> RBP: ffff81005ed659f0 R08: ffff81004683d070 R09: ffff81003d333cc0
> R10: 0000000000000000 R11: 0000000000000000 R12: ffff810037b4dbb0
> R13: ffff81005daba3f0 R14: ffff810037daca90 R15: ffff81005daba3d0
> FS: 00002ad4a29e6d00(0000) GS:ffffffff805db000(0000) knlGS:0000000000000000
> CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
> CR2: 00002b6a345aa000 CR3: 0000000056585000 CR4: 00000000000006e0
> Process pdflush (pid: 178, threadinfo ffff81005ed64000, task ffff810037b060c0)
> Stack: ffff810002852540 0000000000000001 ffff810037b4dbb0 ffffffff8026be21
> ffff81005ed65a40 0000000000000008 ffff810037b4dbb0 0000000000000800
> 0000000000000008 ffff8100021d94e0 ffff81005ed65a40 ffffffff80348e7c
> Call Trace:
> [<ffffffff8026be21>] mempool_alloc_slab+0x11/0x20
> [<ffffffff80348e7c>] generic_make_request+0x1ec/0x230
> [<ffffffff8034b7e6>] submit_bio+0xf6/0x110
> [<ffffffff802b60f0>] submit_bh+0x100/0x130
> [<ffffffff802b788a>] __block_write_full_page+0x1ca/0x2e0
> [<ffffffff802bc040>] blkdev_get_block+0x0/0x70
> [<ffffffff802bc040>] blkdev_get_block+0x0/0x70
> [<ffffffff802b7a93>] block_write_full_page+0xf3/0x110
> [<ffffffff802baeb3>] blkdev_writepage+0x13/0x20
> [<ffffffff8026eb85>] __writepage+0x15/0x40
> [<ffffffff8026f1e3>] write_cache_pages+0x1f3/0x360
> [<ffffffff8026eb70>] __writepage+0x0/0x40
> [<ffffffff8026f372>] generic_writepages+0x22/0x30
> [<ffffffff8026f3c6>] do_writepages+0x46/0x80
> [<ffffffff802b1f67>] __writeback_single_inode+0x1d7/0x370
> [<ffffffff802b2355>] generic_sync_sb_inodes+0x35/0x2b0
> [<ffffffff802b24f9>] generic_sync_sb_inodes+0x1d9/0x2b0
> [<ffffffff802b29f2>] writeback_inodes+0x82/0x100
> [<ffffffff802b25f5>] sync_sb_inodes+0x25/0x30
> [<ffffffff802b2a08>] writeback_inodes+0x98/0x100
> [<ffffffff8026fd40>] pdflush+0x0/0x1e0
> [<ffffffff8026f934>] wb_kupdate+0x94/0x110
> [<ffffffff8026fe68>] pdflush+0x128/0x1e0
> [<ffffffff8026f8a0>] wb_kupdate+0x0/0x110
> [<ffffffff8026fd40>] pdflush+0x0/0x1e0
> [<ffffffff80240863>] kthread+0xd3/0x110
> [<ffffffff80240700>] keventd_create_kthread+0x0/0x90
> [<ffffffff8020a3f8>] child_rip+0xa/0x12
> [<ffffffff80483e5b>] _spin_unlock_irq+0x2b/0x60
> [<ffffffff80209fb0>] restore_args+0x0/0x30
> [<ffffffff80240790>] kthread+0x0/0x110
> [<ffffffff8020a3ee>] child_rip+0x0/0x12
>
>
> Code: 48 8b 43 08 0f 18 08 49 39 dd 75 a2 49 8b be 38 02 00 00 e8
> RIP [<ffffffff8034bce4>] __make_request+0x134/0x370
> RSP <ffff81005ed659a0>
> PM: Adding info for No Bus:vcs10
> PM: Adding info for No Bus:vcsa10
>
> It looks _really_ bad to me. :-(
>
It looks familiar to me
http://www.ussg.iu.edu/hypermail/linux/kernel/0702.2/0646.html
http://www.ussg.iu.edu/hypermail/linux/kernel/0702.2/0821.html
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
On Mon, 19 Feb 2007 00:25:48 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
> > netconsole is good.
>
> I know. :-)
>
> In the meantime, I've got something worse on another x86_64 box:
>
> Asus Laptop ACPI Extras version 0.30
> L5D model detected, supported
> audit(1171831698.918:2): audit_pid=4281 old=0 by auid=4294967295
> general protection fault: 0000 [2] PREEMPT
> last sysfs file: /class/net/eth2/carrier
> CPU 0
> Modules linked in: af_packet ipv6 snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device asus_acpi backlight button battery ac dm_mod pcmr
> Pid: 178, comm: pdflush Not tainted 2.6.20-mm2 #1
> RIP: 0010:[<ffffffff8034bce4>] [<ffffffff8034bce4>] __make_request+0x134/0x370
> RSP: 0000:ffff81005ed659a0 EFLAGS: 00010297
> RAX: 00000000ffffffff RBX: 6b6b6b6b6b6b6b6b RCX: 000000000203396a
> RDX: 0000000100000000 RSI: ffff810037b4dbb0 RDI: ffff81004683d8c0
> RBP: ffff81005ed659f0 R08: ffff81004683d070 R09: ffff81003d333cc0
> R10: 0000000000000000 R11: 0000000000000000 R12: ffff810037b4dbb0
> R13: ffff81005daba3f0 R14: ffff810037daca90 R15: ffff81005daba3d0
> FS: 00002ad4a29e6d00(0000) GS:ffffffff805db000(0000) knlGS:0000000000000000
> CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
> CR2: 00002b6a345aa000 CR3: 0000000056585000 CR4: 00000000000006e0
> Process pdflush (pid: 178, threadinfo ffff81005ed64000, task ffff810037b060c0)
> Stack: ffff810002852540 0000000000000001 ffff810037b4dbb0 ffffffff8026be21
> ffff81005ed65a40 0000000000000008 ffff810037b4dbb0 0000000000000800
> 0000000000000008 ffff8100021d94e0 ffff81005ed65a40 ffffffff80348e7c
> Call Trace:
> [<ffffffff8026be21>] mempool_alloc_slab+0x11/0x20
> [<ffffffff80348e7c>] generic_make_request+0x1ec/0x230
yeah. everyone except me is hitting that.
On Mon, 19 Feb 2007 00:32:08 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
> On Sunday, 18 February 2007 06:51, Andrew Morton wrote:
> >
> > Temporarily at
> >
> > http://userweb.kernel.org/~akpm/2.6.20-mm2/
> >
> > Will appear later at
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
>
> One more thing:
>
> rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
> Unable to handle kernel NULL pointer dereference at 0000000000000030 RIP:
> [<ffffffff804032c3>] rtc_sysfs_remove_device+0x23/0x50
> PGD 5e10c067 PUD 5dd58067 PMD 0
> Oops: 0000 [1] PREEMPT
> last sysfs file: /devices/pnp0/00:04/id
> CPU 0
> Modules linked in: cdrom rtc_cmos snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_timer snd soundcore i2c_nforce2 i2c_core snd_page_alloc ohci_hcd ehci_hcd evdev parport_pc lp parport fan thermal processor
> Pid: 2960, comm: modprobe Not tainted 2.6.20-mm2 #1
> RIP: 0010:[<ffffffff804032c3>] [<ffffffff804032c3>] rtc_sysfs_remove_device+0x23/0x50
> RSP: 0018:ffff81005e3f9c18 EFLAGS: 00010202
> RAX: 0000000000000000 RBX: ffff81005dabeea0 RCX: 0000000000000000
> RDX: ffffffff804032a0 RSI: ffffffff805cfba0 RDI: ffff81005dabeea0
> RBP: ffff81005e3f9c28 R08: 0000000000000001 R09: 0000000000000000
> R10: 2222222222222222 R11: 2222222222222222 R12: ffff81005dabeea0
> R13: ffff810002890258 R14: ffff810002890268 R15: ffff810002890098
> FS: 00002ac610b906f0(0000) GS:ffffffff805db000(0000) knlGS:0000000000000000
> CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> CR2: 0000000000000030 CR3: 000000005e16d000 CR4: 00000000000006e0
> Process modprobe (pid: 2960, threadinfo ffff81005e3f8000, task ffff81005e6a7140)
> Stack: ffff81005fe244e8 ffffffff805cfba0 ffff81005e3f9c68 ffffffff803c5786
> 0000000000000000 ffff81005dabeea0 ffff81005dabf008 0000000000000008
> ffff81005fe244e8 0000000000000008 ffff81005e3f9c88 ffffffff803c5891
> Call Trace:
> [<ffffffff803c5786>] class_device_del+0x86/0x180
> [<ffffffff803c5891>] class_device_unregister+0x11/0x20
> [<ffffffff8040280e>] rtc_device_unregister+0x3e/0x50
> [<ffffffff880cd789>] :rtc_cmos:cmos_pnp_probe+0x219/0x240
> [<ffffffff803988a1>] pnp_device_probe+0xa1/0xe0
> [<ffffffff803c4d20>] __driver_attach+0x0/0xa0
> [<ffffffff803c4bb5>] driver_probe_device+0x115/0x1c0
> [<ffffffff803c4d20>] __driver_attach+0x0/0xa0
> [<ffffffff803c4d83>] __driver_attach+0x63/0xa0
> [<ffffffff803c3e1f>] bus_for_each_dev+0x4f/0x80
> [<ffffffff803c497c>] driver_attach+0x1c/0x20
> [<ffffffff803c4233>] bus_add_driver+0x83/0x1d0
> [<ffffffff803c50d9>] driver_register+0x89/0x90
> [<ffffffff803985cc>] pnp_register_driver+0x1c/0x20
> [<ffffffff880d1010>] :rtc_cmos:cmos_init+0x10/0x12
> [<ffffffff8025199b>] sys_init_module+0x158b/0x16f0
> [<ffffffff802d09da>] dnotify_parent+0x7a/0x90
> [<ffffffff80268b80>] file_read_actor+0x0/0x170
> [<ffffffff80209a0e>] system_call+0x7e/0x83
>
>
> Code: 48 83 78 30 00 74 0c 48 c7 c6 60 e1 4a 80 e8 aa 23 fc ff 48
> RIP [<ffffffff804032c3>] rtc_sysfs_remove_device+0x23/0x50
> RSP <ffff81005e3f9c18>
> CR2: 0000000000000030
How did you provoke that? modprobe rtc-cmos?
On Mon, 19 Feb 2007 00:33:26 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
> On Sunday, 18 February 2007 06:51, Andrew Morton wrote:
> >
> > Temporarily at
> >
> > http://userweb.kernel.org/~akpm/2.6.20-mm2/
> >
> > Will appear later at
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
>
> I think something like this is generally necessary:
>
> ---
> drivers/pci/quirks.c | 1 +
> 1 file changed, 1 insertion(+)
>
> Index: linux-2.6.20-mm2/drivers/pci/quirks.c
> ===================================================================
> --- linux-2.6.20-mm2.orig/drivers/pci/quirks.c
> +++ linux-2.6.20-mm2/drivers/pci/quirks.c
> @@ -21,6 +21,7 @@
> #include <linux/init.h>
> #include <linux/delay.h>
> #include <linux/acpi.h>
> +#include <asm/apicdef.h>
> #include "pci.h"
>
> /* The Mellanox Tavor device gives false positive parity errors
Will break all non-x86.
What are we trying to fix here?
On Sunday 18 February 2007 4:28 pm, Andrew Morton wrote:
> On Mon, 19 Feb 2007 00:32:08 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
>
> > One more thing:
> >
> > rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
> > Unable to handle kernel NULL pointer dereference at 0000000000000030 RIP:
> > [<ffffffff804032c3>] rtc_sysfs_remove_device+0x23/0x50
> > ...
> > Call Trace:
> > [<ffffffff803c5786>] class_device_del+0x86/0x180
> > [<ffffffff803c5891>] class_device_unregister+0x11/0x20
> > [<ffffffff8040280e>] rtc_device_unregister+0x3e/0x50
> > [<ffffffff880cd789>] :rtc_cmos:cmos_pnp_probe+0x219/0x240
> > [<ffffffff803988a1>] pnp_device_probe+0xa1/0xe0
> > ...
>
> How did you provoke that? modprobe rtc-cmos?
Plus, I'd guess, the old rtc driver statically linked.
What I see is a should-not-happen fault of some kind in a cleanup
path that's been tested with non-PNP rtc drivers. A quick glance
at the code left me puzzled. Would sleeping a second or two before
calling rtc_device_unregister() change that behavior?
- Dave
On Monday, 19 February 2007 01:00, Andrew Morton wrote:
> On Mon, 19 Feb 2007 00:25:48 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
>
> > > netconsole is good.
> >
> > I know. :-)
> >
> > In the meantime, I've got something worse on another x86_64 box:
> >
> > Asus Laptop ACPI Extras version 0.30
> > L5D model detected, supported
> > audit(1171831698.918:2): audit_pid=4281 old=0 by auid=4294967295
> > general protection fault: 0000 [2] PREEMPT
> > last sysfs file: /class/net/eth2/carrier
> > CPU 0
> > Modules linked in: af_packet ipv6 snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device asus_acpi backlight button battery ac dm_mod pcmr
> > Pid: 178, comm: pdflush Not tainted 2.6.20-mm2 #1
> > RIP: 0010:[<ffffffff8034bce4>] [<ffffffff8034bce4>] __make_request+0x134/0x370
> > RSP: 0000:ffff81005ed659a0 EFLAGS: 00010297
> > RAX: 00000000ffffffff RBX: 6b6b6b6b6b6b6b6b RCX: 000000000203396a
> > RDX: 0000000100000000 RSI: ffff810037b4dbb0 RDI: ffff81004683d8c0
> > RBP: ffff81005ed659f0 R08: ffff81004683d070 R09: ffff81003d333cc0
> > R10: 0000000000000000 R11: 0000000000000000 R12: ffff810037b4dbb0
> > R13: ffff81005daba3f0 R14: ffff810037daca90 R15: ffff81005daba3d0
> > FS: 00002ad4a29e6d00(0000) GS:ffffffff805db000(0000) knlGS:0000000000000000
> > CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
> > CR2: 00002b6a345aa000 CR3: 0000000056585000 CR4: 00000000000006e0
> > Process pdflush (pid: 178, threadinfo ffff81005ed64000, task ffff810037b060c0)
> > Stack: ffff810002852540 0000000000000001 ffff810037b4dbb0 ffffffff8026be21
> > ffff81005ed65a40 0000000000000008 ffff810037b4dbb0 0000000000000800
> > 0000000000000008 ffff8100021d94e0 ffff81005ed65a40 ffffffff80348e7c
> > Call Trace:
> > [<ffffffff8026be21>] mempool_alloc_slab+0x11/0x20
> > [<ffffffff80348e7c>] generic_make_request+0x1ec/0x230
>
> yeah. everyone except me is hitting that.
FWIW, I don't see it on an SMP machine.
On non-SMP it's reproducible, eg. by doing
# echo testproc > /sys/power/disk
and
# echo disk > /sys/power/state
for 3-4 times in a row.
Probably "sync" for a couple of times in a row would be sufficient.
On Monday, 19 February 2007 01:29, Andrew Morton wrote:
> On Mon, 19 Feb 2007 00:33:26 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
>
> > On Sunday, 18 February 2007 06:51, Andrew Morton wrote:
> > >
> > > Temporarily at
> > >
> > > http://userweb.kernel.org/~akpm/2.6.20-mm2/
> > >
> > > Will appear later at
> > >
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
> >
> > I think something like this is generally necessary:
> >
> > ---
> > drivers/pci/quirks.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > Index: linux-2.6.20-mm2/drivers/pci/quirks.c
> > ===================================================================
> > --- linux-2.6.20-mm2.orig/drivers/pci/quirks.c
> > +++ linux-2.6.20-mm2/drivers/pci/quirks.c
> > @@ -21,6 +21,7 @@
> > #include <linux/init.h>
> > #include <linux/delay.h>
> > #include <linux/acpi.h>
> > +#include <asm/apicdef.h>
> > #include "pci.h"
> >
> > /* The Mellanox Tavor device gives false positive parity errors
>
> Will break all non-x86.
You're right, I should have put that somewhere under #ifdef
> What are we trying to fix here?
MAX_IO_APICS undefined.
On 19/02/07, Rafael J. Wysocki <[email protected]> wrote:
> On Monday, 19 February 2007 01:00, Andrew Morton wrote:
> > On Mon, 19 Feb 2007 00:25:48 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
> >
> > > > netconsole is good.
> > >
> > > I know. :-)
> > >
> > > In the meantime, I've got something worse on another x86_64 box:
> > >
> > > Asus Laptop ACPI Extras version 0.30
> > > L5D model detected, supported
> > > audit(1171831698.918:2): audit_pid=4281 old=0 by auid=4294967295
> > > general protection fault: 0000 [2] PREEMPT
> > > last sysfs file: /class/net/eth2/carrier
> > > CPU 0
> > > Modules linked in: af_packet ipv6 snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device asus_acpi backlight button battery ac dm_mod pcmr
> > > Pid: 178, comm: pdflush Not tainted 2.6.20-mm2 #1
> > > RIP: 0010:[<ffffffff8034bce4>] [<ffffffff8034bce4>] __make_request+0x134/0x370
> > > RSP: 0000:ffff81005ed659a0 EFLAGS: 00010297
> > > RAX: 00000000ffffffff RBX: 6b6b6b6b6b6b6b6b RCX: 000000000203396a
> > > RDX: 0000000100000000 RSI: ffff810037b4dbb0 RDI: ffff81004683d8c0
> > > RBP: ffff81005ed659f0 R08: ffff81004683d070 R09: ffff81003d333cc0
> > > R10: 0000000000000000 R11: 0000000000000000 R12: ffff810037b4dbb0
> > > R13: ffff81005daba3f0 R14: ffff810037daca90 R15: ffff81005daba3d0
> > > FS: 00002ad4a29e6d00(0000) GS:ffffffff805db000(0000) knlGS:0000000000000000
> > > CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
> > > CR2: 00002b6a345aa000 CR3: 0000000056585000 CR4: 00000000000006e0
> > > Process pdflush (pid: 178, threadinfo ffff81005ed64000, task ffff810037b060c0)
> > > Stack: ffff810002852540 0000000000000001 ffff810037b4dbb0 ffffffff8026be21
> > > ffff81005ed65a40 0000000000000008 ffff810037b4dbb0 0000000000000800
> > > 0000000000000008 ffff8100021d94e0 ffff81005ed65a40 ffffffff80348e7c
> > > Call Trace:
> > > [<ffffffff8026be21>] mempool_alloc_slab+0x11/0x20
> > > [<ffffffff80348e7c>] generic_make_request+0x1ec/0x230
> >
> > yeah. everyone except me is hitting that.
>
> FWIW, I don't see it on an SMP machine.
>
I can reproduce this on my SMT P4.
CONFIG_SMP=y
CONFIG_X86_PC=y
CONFIG_MPENTIUM4=y
CONFIG_NR_CPUS=2
CONFIG_SCHED_SMT=y
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
On Sun, Feb 18, 2007 at 09:05:33PM +0100, Michal Piotrowski wrote:
> On 18/02/07, Andrew Morton <[email protected]> wrote:
> >On Sun, 18 Feb 2007 18:58:05 +0100 Mattia Dongili <[email protected]> wrote:
> >
> >> On Sun, Feb 18, 2007 at 02:06:59PM +0100, Laurent Riffard wrote:
> >> > Le 18.02.2007 06:51, Andrew Morton a ?crit :
> >> > >Temporarily at
> >> > >
> >> > > http://userweb.kernel.org/~akpm/2.6.20-mm2/
> >> > >
> >> > >Will appear later at
> >> > >
> >> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
> >> >
> >> > Hello, I've got a fully reproducible Oops. I just have to boot to
> >> > runlevel 2 and wait less than one minute.
> >>
> >> Maybe this oops is related too?
> >
> >Looks that way.
> >
Hi Michal,
This seems to be a locking problem in __make_request, check_plug_merge()
should be called with the q->queue_lock held.
Could you try the following patch? It silenced the oops for me.
Regards,
Frederik
Signed-off-by: Frederik Deweerdt <[email protected]>
diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c
index 577f448..666f34e 100644
--- a/block/ll_rw_blk.c
+++ b/block/ll_rw_blk.c
@@ -2919,14 +2919,14 @@ static int __make_request(request_queue_
*/
blk_queue_bounce(q, &bio);
+ spin_lock_irq(q->queue_lock);
/*
* Check if we can merge with the plugged list before grabbing
* any locks.
*/
if (!check_plug_merge(q, ioc, bio))
- goto out;
+ goto out_unlock;
- spin_lock_irq(q->queue_lock);
el_ret = elv_merge(q, &req, bio);
if (el_ret == ELEVATOR_BACK_MERGE) {
if (bio_attempt_back_merge(q, req, bio)) {
@@ -2984,7 +2984,6 @@ out_unlock:
list_add_tail(&req->queuelist, &ioc->plugged_list);
}
-out:
return 0;
end_io_eopnotsupp:
On Tue, Feb 20 2007, Frederik Deweerdt wrote:
> On Sun, Feb 18, 2007 at 09:05:33PM +0100, Michal Piotrowski wrote:
> > On 18/02/07, Andrew Morton <[email protected]> wrote:
> > >On Sun, 18 Feb 2007 18:58:05 +0100 Mattia Dongili <[email protected]> wrote:
> > >
> > >> On Sun, Feb 18, 2007 at 02:06:59PM +0100, Laurent Riffard wrote:
> > >> > Le 18.02.2007 06:51, Andrew Morton a ?crit :
> > >> > >Temporarily at
> > >> > >
> > >> > > http://userweb.kernel.org/~akpm/2.6.20-mm2/
> > >> > >
> > >> > >Will appear later at
> > >> > >
> > >> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
> > >> >
> > >> > Hello, I've got a fully reproducible Oops. I just have to boot to
> > >> > runlevel 2 and wait less than one minute.
> > >>
> > >> Maybe this oops is related too?
> > >
> > >Looks that way.
> > >
> Hi Michal,
>
> This seems to be a locking problem in __make_request, check_plug_merge()
> should be called with the q->queue_lock held.
> Could you try the following patch? It silenced the oops for me.
Just back from travel... That is not correct, why do you think the queue
lock needs to be held there? I'll look into this tomorrow.
--
Jens Axboe
Hi Frederik,
On 20/02/07, Frederik Deweerdt <[email protected]> wrote:
> Hi Michal,
>
> This seems to be a locking problem in __make_request, check_plug_merge()
> should be called with the q->queue_lock held.
> Could you try the following patch? It silenced the oops for me.
For me too, but Jens dislikes this patch.
>
> Regards,
> Frederik
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
Michal Piotrowski napisał(a):
> Hi Frederik,
>
> On 20/02/07, Frederik Deweerdt <[email protected]> wrote:
>> Hi Michal,
>>
>> This seems to be a locking problem in __make_request, check_plug_merge()
>> should be called with the q->queue_lock held.
>> Could you try the following patch? It silenced the oops for me.
>
> For me too, but Jens dislikes this patch.
Now I know why...
Code: Bad EIP value.
EIP: [<6b6b6b6b>] 0x6b6b6b6b SS:ESP 0068:f45f9bf8
note: ksmserver[20993] exited with preempt_count 2
BUG: sleeping function called from invalid context at /mnt/md0/devel/linux-mm/kernel/rwsem.c:20
in_atomic():1, irqs_disabled():1
no locks held by ksmserver/20993.
irq event stamp: 0
hardirqs last enabled at (0): [<00000000>] 0x0
hardirqs last disabled at (0): [<c0121bc6>] copy_process+0x539/0x137d
softirqs last enabled at (0): [<c0121be4>] copy_process+0x557/0x137d
BUG: unable to handle kernel NULL pointer dereference at virtual address 00000118
printing eip:
c01f3f12
*pde = 00000000
Oops: 0000 [#1]
PREEMPT SMP
last sysfs file: /devices/platform/i2c-9191/9191-0290/temp2_input
Modules linked in: ipt_MASQUERADE iptable_nat nf_nat nfsd exportfs lockd nfs_acl autofs4 sunrpc af_packet nf_conntrack_netbios_ns ipt_REJECT nf_conntrack_ipv4 xt_state nf_conntrack nfnetlink xt_tcpudp iptable_filter ip_tables x_tables ipv6 binfmt_misc thermal processor fan container nvram snd_intel8x0 snd_ac97_codec ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss evdev snd_pcm skge intel_agp snd_timer agpgart snd 8139too soundcore sk98lin i2c_i801 mii snd_page_alloc ide_cd cdrom rtc unix
CPU: 0
EIP: 0060:[<c01f3f12>] Not tainted VLI
EFLAGS: 00210297 (2.6.20-mm2 #19)
EIP is at blk_unplug_current+0x60/0x156
eax: f3f97298 ebx: 00000001 ecx: c043db74 edx: 00000000
esi: f3f97284 edi: 00000000 ebp: dda39d94 esp: dda39d58
ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068
Process swriter.bin (pid: 20846, ti=dda38000 task=dda79510 task.ti=dda38000)
Stack: dda79510 c03369fd 00000000 dda79510 c03369fd 00000000 dda39d90 f3f97298
c011e710 c7403fac 00200046 dda39d90 00000001 c04abda0 06f75d80 dda39da8
c03339bb dda79f38 dda79f30 c7403f98 dda39db0 c0333a2f dda39db8 c015e380
Call Trace:
[<c0105312>] show_trace_log_lvl+0x1a/0x2f
[<c01053c4>] show_stack_log_lvl+0x9d/0xac
[<c01055c0>] show_registers+0x1ed/0x34c
[<c010583c>] die+0x11d/0x234
[<c011a8e1>] do_page_fault+0x47c/0x55b
[<c0336d54>] error_code+0x7c/0x84
[<c03339bb>] io_schedule+0x3d/0x9a
[<c0333a2f>] io_wait_schedule+0x17/0x1d
[<c015e380>] sleep_on_page+0xa/0xc
[<c0334217>] __wait_on_bit_lock+0x34/0x66
[<c015e372>] lock_page_blocking+0x2c/0x30
[<c015ebe2>] do_generic_mapping_read+0x29f/0x51a
[<c0160daa>] generic_file_aio_read+0x19a/0x1c8
[<c017f300>] do_sync_read+0xd7/0x114
[<c017fc2a>] vfs_read+0xcf/0x158
[<c0180090>] sys_read+0x3d/0x72
[<c010432c>] syscall_call+0x7/0xb
=======================
Code: 0b eb fe 8b 46 0c 48 89 46 0c 85 c0 0f 85 07 01 00 00 8b 7e 1c c7 46 1c 00 00 00 00 8d 46 14 89 45 e0 39 46 14 0f 84 d4 00 00 00 <8b> 87 18 01 00 00 e8 c0 26 14 00 c7 45 e4 00 00 00 00 8b 5e 14
EIP: [<c01f3f12>] blk_unplug_current+0x60/0x156 SS:ESP 0068:dda39d58
BUG: unable to handle kernel paging request at virtual address 6b6b6b6b
printing eip:
6b6b6b6b
*pde = 00000000
Oops: 0000 [#2]
PREEMPT SMP
last sysfs file: /devices/platform/i2c-9191/9191-0290/temp2_input
Modules linked in: ipt_MASQUERADE iptable_nat nf_nat nfsd exportfs lockd nfs_acl autofs4 sunrpc af_packet nf_conntrack_netbios_ns ipt_REJECT nf_conntrack_ipv4 xt_state nf_conntrack nfnetlink xt_tcpudp iptable_filter ip_tables x_tables ipv6 binfmt_misc thermal processor fan container nvram snd_intel8x0 snd_ac97_codec ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss evdev snd_pcm skge intel_agp snd_timer agpgart snd 8139too soundcore sk98lin i2c_i801 mii snd_page_alloc ide_cd cdrom rtc unix
CPU: 0
EIP: 0060:[<6b6b6b6b>] Not tainted VLI
EFLAGS: 00210012 (2.6.20-mm2 #19)
EIP is at 0x6b6b6b6b
eax: dda79f38 ebx: dda79f38 ecx: 00000000 edx: 00000003
esi: 6b6b6b6b edi: 00000001 ebp: f45f9c18 esp: f45f9bf8
ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068
Process ksmserver (pid: 20993, ti=f45f8000 task=f335b510 task.ti=f45f8000)
Stack: c011b5e0 f45f9c44 00000003 c7403f98 6b6b6b6b c7403f98 00000001 00200292
f45f9c38 c011c3fb 00000000 f45f9c44 00000003 c7403f98 f7d71f4c f7d71f4c
f45f9c50 c01353c3 f45f9c44 f7d71f4c 00000002 00000002 f45f9c60 c01353e0
Call Trace:
[<c0105312>] show_trace_log_lvl+0x1a/0x2f
[<c01053c4>] show_stack_log_lvl+0x9d/0xac
[<c01055c0>] show_registers+0x1ed/0x34c
[<c010583c>] die+0x11d/0x234
[<c011a8e1>] do_page_fault+0x47c/0x55b
[<c0336d54>] error_code+0x7c/0x84
[<c011c3fb>] __wake_up+0x31/0x42
[<c01353c3>] __wake_up_bit+0x2e/0x34
[<c01353e0>] wake_up_bit+0x17/0x1b
[<c019ecbf>] unlock_buffer+0x12/0x14
[<c01ccad4>] do_get_write_access+0x185/0x657
[<c01ccfc1>] journal_get_write_access+0x1b/0x2a
[<c01c985a>] __ext3_journal_get_write_access+0x19/0x3f
[<c01be210>] ext3_reserve_inode_write+0x34/0x68
[<c01be26e>] ext3_mark_inode_dirty+0x2a/0x41
[<c01c0eb7>] ext3_dirty_inode+0x6a/0x7d
[<c019adc1>] __mark_inode_dirty+0x2a/0x16d
[<c019243e>] touch_atime+0xc1/0xcb
[<c015ee50>] do_generic_mapping_read+0x50d/0x51a
[<c0160daa>] generic_file_aio_read+0x19a/0x1c8
[<c017f300>] do_sync_read+0xd7/0x114
[<c017fc2a>] vfs_read+0xcf/0x158
[<c0182fa7>] kernel_read+0x36/0x48
[<c0183085>] prepare_binprm+0xcc/0xd1
[<c01845c3>] do_execve+0x105/0x210
[<c0102528>] sys_execve+0x3f/0x60
[<c010432c>] syscall_call+0x7/0xb
=======================
Code: Bad EIP value.
EIP: [<6b6b6b6b>] 0x6b6b6b6b SS:ESP 0068:f45f9bf8
note: ksmserver[20993] exited with preempt_count 2
BUG: sleeping function called from invalid context at /mnt/md0/devel/linux-mm/kernel/rwsem.c:20
in_atomic():1, irqs_disabled():1
no locks held by ksmserver/20993.
irq event stamp: 0
hardirqs last enabled at (0): [<00000000>] 0x0
hardirqs last disabled at (0): [<c0121bc6>] copy_process+0x539/0x137d
softirqs last enabled at (0): [<c0121be4>] copy_process+0x557/0x137d
softirqs last disabled at (0): [<00000000>] 0x0
[<c0105312>] show_trace_log_lvl+0x1a/0x2f
[<c0105a37>] show_trace+0x12/0x14
[<c0105af9>] dump_stack+0x16/0x18
[<c011cb6c>] __might_sleep+0xc9/0xcf
[<c0138a7a>] down_read+0x18/0x4c
[<c014d82d>] acct_collect+0x3b/0x146
[<c012679a>] do_exit+0x254/0x86c
[<c010592d>] die+0x20e/0x234
[<c011a8e1>] do_page_fault+0x47c/0x55b
[<c0336d54>] error_code+0x7c/0x84
[<c011c3fb>] __wake_up+0x31/0x42
[<c01353c3>] __wake_up_bit+0x2e/0x34
[<c01353e0>] wake_up_bit+0x17/0x1b
[<c019ecbf>] unlock_buffer+0x12/0x14
[<c01ccad4>] do_get_write_access+0x185/0x657
[<c01ccfc1>] journal_get_write_access+0x1b/0x2a
[<c01c985a>] __ext3_journal_get_write_access+0x19/0x3f
[<c01be210>] ext3_reserve_inode_write+0x34/0x68
[<c01be26e>] ext3_mark_inode_dirty+0x2a/0x41
[<c01c0eb7>] ext3_dirty_inode+0x6a/0x7d
[<c019adc1>] __mark_inode_dirty+0x2a/0x16d
[<c019243e>] touch_atime+0xc1/0xcb
[<c015ee50>] do_generic_mapping_read+0x50d/0x51a
[<c0160daa>] generic_file_aio_read+0x19a/0x1c8
[<c017f300>] do_sync_read+0xd7/0x114
[<c017fc2a>] vfs_read+0xcf/0x158
[<c0182fa7>] kernel_read+0x36/0x48
[<c0183085>] prepare_binprm+0xcc/0xd1
[<c01845c3>] do_execve+0x105/0x210
[<c0102528>] sys_execve+0x3f/0x60
[<c010432c>] syscall_call+0x7/0xb
=======================
BUG: scheduling while atomic: ksmserver/0x10000002/20993
no locks held by ksmserver/20993.
[<c0105312>] show_trace_log_lvl+0x1a/0x2f
[<c0105a37>] show_trace+0x12/0x14
[<c0105af9>] dump_stack+0x16/0x18
[<c0332ca2>] __sched_text_start+0x92/0xd6e
[<c011e82c>] __cond_resched+0x21/0x4b
[<c0333d65>] cond_resched+0x3c/0x47
[<c016b671>] unmap_vmas+0x497/0x589
[<c016e9be>] exit_mmap+0x7e/0x12a
[<c0121603>] mmput+0x49/0xaf
[<c0125311>] exit_mm+0xe5/0xeb
[<c01267ed>] do_exit+0x2a7/0x86c
[<c010592d>] die+0x20e/0x234
[<c011a8e1>] do_page_fault+0x47c/0x55b
[<c0336d54>] error_code+0x7c/0x84
[<c011c3fb>] __wake_up+0x31/0x42
[<c01353c3>] __wake_up_bit+0x2e/0x34
[<c01353e0>] wake_up_bit+0x17/0x1b
[<c019ecbf>] unlock_buffer+0x12/0x14
[<c01ccad4>] do_get_write_access+0x185/0x657
[<c01ccfc1>] journal_get_write_access+0x1b/0x2a
[<c01c985a>] __ext3_journal_get_write_access+0x19/0x3f
[<c01be210>] ext3_reserve_inode_write+0x34/0x68
[<c01be26e>] ext3_mark_inode_dirty+0x2a/0x41
[<c01c0eb7>] ext3_dirty_inode+0x6a/0x7d
[<c019adc1>] __mark_inode_dirty+0x2a/0x16d
[<c019243e>] touch_atime+0xc1/0xcb
[<c015ee50>] do_generic_mapping_read+0x50d/0x51a
[<c0160daa>] generic_file_aio_read+0x19a/0x1c8
[<c017f300>] do_sync_read+0xd7/0x114
[<c017fc2a>] vfs_read+0xcf/0x158
[<c0182fa7>] kernel_read+0x36/0x48
[<c0183085>] prepare_binprm+0xcc/0xd1
[<c01845c3>] do_execve+0x105/0x210
[<c0102528>] sys_execve+0x3f/0x60
[<c010432c>] syscall_call+0x7/0xb
=======================
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
On Mon, Feb 19, 2007 at 02:34:53PM +0100, Jens Axboe wrote:
> On Tue, Feb 20 2007, Frederik Deweerdt wrote:
> > On Sun, Feb 18, 2007 at 09:05:33PM +0100, Michal Piotrowski wrote:
> > > On 18/02/07, Andrew Morton <[email protected]> wrote:
> > > >On Sun, 18 Feb 2007 18:58:05 +0100 Mattia Dongili <[email protected]> wrote:
> > > >
> > > >> On Sun, Feb 18, 2007 at 02:06:59PM +0100, Laurent Riffard wrote:
> > > >> > Le 18.02.2007 06:51, Andrew Morton a ?crit :
> > > >> > >Temporarily at
> > > >> > >
> > > >> > > http://userweb.kernel.org/~akpm/2.6.20-mm2/
> > > >> > >
> > > >> > >Will appear later at
> > > >> > >
> > > >> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
> > > >> >
> > > >> > Hello, I've got a fully reproducible Oops. I just have to boot to
> > > >> > runlevel 2 and wait less than one minute.
> > > >>
> > > >> Maybe this oops is related too?
> > > >
> > > >Looks that way.
> > > >
> > Hi Michal,
> >
> > This seems to be a locking problem in __make_request, check_plug_merge()
> > should be called with the q->queue_lock held.
> > Could you try the following patch? It silenced the oops for me.
>
> Just back from travel... That is not correct, why do you think the queue
> lock needs to be held there?
The unprotected:
check_plug_merge
-> bio_attempt_back_merge
-> ll_back_merge_fn
-> q->last_merge = NULL
made me think that. I don't know the code enough though.
Regards,
Frederik
>
> --
> Jens Axboe
>
> -
> 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/
>
On Mon, Feb 19, 2007 at 03:08:03PM +0100, Michal Piotrowski wrote:
> Michal Piotrowski napisał(a):
> > Hi Frederik,
> >
> > On 20/02/07, Frederik Deweerdt <[email protected]> wrote:
> >> Hi Michal,
> >>
> >> This seems to be a locking problem in __make_request, check_plug_merge()
> >> should be called with the q->queue_lock held.
> >> Could you try the following patch? It silenced the oops for me.
> >
> > For me too, but Jens dislikes this patch.
>
> Now I know why...
>
> Code: Bad EIP value.
> EIP: [<6b6b6b6b>] 0x6b6b6b6b SS:ESP 0068:f45f9bf8
:) It may not be related though. I think that my patch avoids the
BUG_ON(!rq_mergeable(req)); in ll_rw_blk.c:2782. This looks like another
beast to me.
Regards,
Frederik
On Monday, 19 February 2007 01:28, Andrew Morton wrote:
> On Mon, 19 Feb 2007 00:32:08 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
>
> > On Sunday, 18 February 2007 06:51, Andrew Morton wrote:
> > >
> > > Temporarily at
> > >
> > > http://userweb.kernel.org/~akpm/2.6.20-mm2/
> > >
> > > Will appear later at
> > >
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
> >
> > One more thing:
> >
> > rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
> > Unable to handle kernel NULL pointer dereference at 0000000000000030 RIP:
> > [<ffffffff804032c3>] rtc_sysfs_remove_device+0x23/0x50
> > PGD 5e10c067 PUD 5dd58067 PMD 0
> > Oops: 0000 [1] PREEMPT
> > last sysfs file: /devices/pnp0/00:04/id
> > CPU 0
> > Modules linked in: cdrom rtc_cmos snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_timer snd soundcore i2c_nforce2 i2c_core snd_page_alloc ohci_hcd ehci_hcd evdev parport_pc lp parport fan thermal processor
> > Pid: 2960, comm: modprobe Not tainted 2.6.20-mm2 #1
> > RIP: 0010:[<ffffffff804032c3>] [<ffffffff804032c3>] rtc_sysfs_remove_device+0x23/0x50
> > RSP: 0018:ffff81005e3f9c18 EFLAGS: 00010202
> > RAX: 0000000000000000 RBX: ffff81005dabeea0 RCX: 0000000000000000
> > RDX: ffffffff804032a0 RSI: ffffffff805cfba0 RDI: ffff81005dabeea0
> > RBP: ffff81005e3f9c28 R08: 0000000000000001 R09: 0000000000000000
> > R10: 2222222222222222 R11: 2222222222222222 R12: ffff81005dabeea0
> > R13: ffff810002890258 R14: ffff810002890268 R15: ffff810002890098
> > FS: 00002ac610b906f0(0000) GS:ffffffff805db000(0000) knlGS:0000000000000000
> > CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> > CR2: 0000000000000030 CR3: 000000005e16d000 CR4: 00000000000006e0
> > Process modprobe (pid: 2960, threadinfo ffff81005e3f8000, task ffff81005e6a7140)
> > Stack: ffff81005fe244e8 ffffffff805cfba0 ffff81005e3f9c68 ffffffff803c5786
> > 0000000000000000 ffff81005dabeea0 ffff81005dabf008 0000000000000008
> > ffff81005fe244e8 0000000000000008 ffff81005e3f9c88 ffffffff803c5891
> > Call Trace:
> > [<ffffffff803c5786>] class_device_del+0x86/0x180
> > [<ffffffff803c5891>] class_device_unregister+0x11/0x20
> > [<ffffffff8040280e>] rtc_device_unregister+0x3e/0x50
> > [<ffffffff880cd789>] :rtc_cmos:cmos_pnp_probe+0x219/0x240
> > [<ffffffff803988a1>] pnp_device_probe+0xa1/0xe0
> > [<ffffffff803c4d20>] __driver_attach+0x0/0xa0
> > [<ffffffff803c4bb5>] driver_probe_device+0x115/0x1c0
> > [<ffffffff803c4d20>] __driver_attach+0x0/0xa0
> > [<ffffffff803c4d83>] __driver_attach+0x63/0xa0
> > [<ffffffff803c3e1f>] bus_for_each_dev+0x4f/0x80
> > [<ffffffff803c497c>] driver_attach+0x1c/0x20
> > [<ffffffff803c4233>] bus_add_driver+0x83/0x1d0
> > [<ffffffff803c50d9>] driver_register+0x89/0x90
> > [<ffffffff803985cc>] pnp_register_driver+0x1c/0x20
> > [<ffffffff880d1010>] :rtc_cmos:cmos_init+0x10/0x12
> > [<ffffffff8025199b>] sys_init_module+0x158b/0x16f0
> > [<ffffffff802d09da>] dnotify_parent+0x7a/0x90
> > [<ffffffff80268b80>] file_read_actor+0x0/0x170
> > [<ffffffff80209a0e>] system_call+0x7e/0x83
> >
> >
> > Code: 48 83 78 30 00 74 0c 48 c7 c6 60 e1 4a 80 e8 aa 23 fc ff 48
> > RIP [<ffffffff804032c3>] rtc_sysfs_remove_device+0x23/0x50
> > RSP <ffff81005e3f9c18>
> > CR2: 0000000000000030
>
> How did you provoke that? modprobe rtc-cmos?
I've just booted OpenSUSE 10.2 with this kernel.
On Sat, Feb 17, 2007 at 09:51:46PM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.20-mm1:
>...
> git-mmc.patch
>...
> git trees
>...
The MMC_BLOCK option was accidentally lost.
Signed-off-by: Adrian Bunk <[email protected]>
---
--- linux-2.6.20-mm2/drivers/mmc/Kconfig.old 2007-02-19 01:33:27.000000000 +0100
+++ linux-2.6.20-mm2/drivers/mmc/Kconfig 2007-02-19 01:33:45.000000000 +0100
@@ -19,6 +19,7 @@
This is an option for use by developers; most people should
say N here. This enables MMC core and driver debugging.
+source "drivers/mmc/card/Kconfig"
source "drivers/mmc/host/Kconfig"
endmenu
On Sat, Feb 17, 2007 at 09:51:46PM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.20-mm1:
>...
> +fb-sm501-framebuffer-driver-5.patch
>...
> fbdev updates
>...
This patch makes four needlessly global functions static.
Signed-off-by: Adrian Bunk <[email protected]>
---
drivers/video/sm501fb.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
--- linux-2.6.20-mm2/drivers/video/sm501fb.c.old 2007-02-19 12:15:43.000000000 +0100
+++ linux-2.6.20-mm2/drivers/video/sm501fb.c 2007-02-19 12:16:48.000000000 +0100
@@ -136,8 +136,8 @@
#define SM501_MEMF_CRT (4)
#define SM501_MEMF_ACCEL (8)
-int sm501_alloc_mem(struct sm501fb_info *inf, struct sm501_mem *mem,
- unsigned int why, size_t size)
+static int sm501_alloc_mem(struct sm501fb_info *inf, struct sm501_mem *mem,
+ unsigned int why, size_t size)
{
unsigned int ptr = 0;
@@ -926,7 +926,7 @@
* set or change the hardware cursor parameters
*/
-int sm501fb_cursor(struct fb_info *info, struct fb_cursor *cursor)
+static int sm501fb_cursor(struct fb_info *info, struct fb_cursor *cursor)
{
struct sm501fb_par *par = info->par;
struct sm501fb_info *fbi = par->info;
@@ -1225,7 +1225,7 @@
* initialise hw cursor parameters
*/
-int sm501_init_cursor(struct fb_info *fbi, unsigned int reg_base)
+static int sm501_init_cursor(struct fb_info *fbi, unsigned int reg_base)
{
struct sm501fb_par *par = fbi->par;
struct sm501fb_info *info = par->info;
@@ -1768,7 +1768,7 @@
},
};
-int __devinit sm501fb_init(void)
+static int __devinit sm501fb_init(void)
{
return platform_driver_register(&sm501fb_driver);
}
On Sat, Feb 17, 2007 at 09:51:46PM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.20-mm1:
>...
> git-unionfs.patch
>...
> git trees
>...
<-- snip -->
...
CC fs/unionfs/copyup.o
/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c: In function 'create_parents_named':
/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c:620: error: 'malloc_sizes' undeclared (first use in this function)
/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c:620: error: (Each undeclared identifier is reported only once
/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c:620: error: for each function it appears in.)
make[3]: *** [fs/unionfs/copyup.o] Error 1
<-- snip -->
Signed-off-by: Adrian Bunk <[email protected]>
---
--- linux-2.6.20-mm2/fs/Kconfig.old 2007-02-19 18:19:19.000000000 +0100
+++ linux-2.6.20-mm2/fs/Kconfig 2007-02-19 18:20:28.000000000 +0100
@@ -1052,7 +1052,7 @@
config UNION_FS
tristate "Union file system (EXPERIMENTAL)"
- depends on EXPERIMENTAL
+ depends on SLAB && EXPERIMENTAL
help
Unionfs is a stackable unification file system, which appears to
merge the contents of several directories (branches), while keeping
On Monday, 19 February 2007 12:45, Michal Piotrowski wrote:
> On 19/02/07, Rafael J. Wysocki <[email protected]> wrote:
> > On Monday, 19 February 2007 01:00, Andrew Morton wrote:
> > > On Mon, 19 Feb 2007 00:25:48 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
> > >
> > > > > netconsole is good.
> > > >
> > > > I know. :-)
> > > >
> > > > In the meantime, I've got something worse on another x86_64 box:
> > > >
> > > > Asus Laptop ACPI Extras version 0.30
> > > > L5D model detected, supported
> > > > audit(1171831698.918:2): audit_pid=4281 old=0 by auid=4294967295
> > > > general protection fault: 0000 [2] PREEMPT
> > > > last sysfs file: /class/net/eth2/carrier
> > > > CPU 0
> > > > Modules linked in: af_packet ipv6 snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device asus_acpi backlight button battery ac dm_mod pcmr
> > > > Pid: 178, comm: pdflush Not tainted 2.6.20-mm2 #1
> > > > RIP: 0010:[<ffffffff8034bce4>] [<ffffffff8034bce4>] __make_request+0x134/0x370
> > > > RSP: 0000:ffff81005ed659a0 EFLAGS: 00010297
> > > > RAX: 00000000ffffffff RBX: 6b6b6b6b6b6b6b6b RCX: 000000000203396a
> > > > RDX: 0000000100000000 RSI: ffff810037b4dbb0 RDI: ffff81004683d8c0
> > > > RBP: ffff81005ed659f0 R08: ffff81004683d070 R09: ffff81003d333cc0
> > > > R10: 0000000000000000 R11: 0000000000000000 R12: ffff810037b4dbb0
> > > > R13: ffff81005daba3f0 R14: ffff810037daca90 R15: ffff81005daba3d0
> > > > FS: 00002ad4a29e6d00(0000) GS:ffffffff805db000(0000) knlGS:0000000000000000
> > > > CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
> > > > CR2: 00002b6a345aa000 CR3: 0000000056585000 CR4: 00000000000006e0
> > > > Process pdflush (pid: 178, threadinfo ffff81005ed64000, task ffff810037b060c0)
> > > > Stack: ffff810002852540 0000000000000001 ffff810037b4dbb0 ffffffff8026be21
> > > > ffff81005ed65a40 0000000000000008 ffff810037b4dbb0 0000000000000800
> > > > 0000000000000008 ffff8100021d94e0 ffff81005ed65a40 ffffffff80348e7c
> > > > Call Trace:
> > > > [<ffffffff8026be21>] mempool_alloc_slab+0x11/0x20
> > > > [<ffffffff80348e7c>] generic_make_request+0x1ec/0x230
> > >
> > > yeah. everyone except me is hitting that.
> >
> > FWIW, I don't see it on an SMP machine.
> >
>
> I can reproduce this on my SMT P4.
>
> CONFIG_SMP=y
> CONFIG_X86_PC=y
> CONFIG_MPENTIUM4=y
> CONFIG_NR_CPUS=2
> CONFIG_SCHED_SMT=y
It may be related to preemption. The box I'm not seeing it on runs a
non-preemptible kernel (CONFIG_PREEMPT_VOLUNTARY is set).
BTW, on the box where I'm able to reproduce it, I have
(gdb) l *__make_request+0x134
0xffffffff8034b764 is in __make_request (include/asm/processor.h:411).
406 #define cpu_has_fpu 1
407
408 #define ARCH_HAS_PREFETCH
409 static inline void prefetch(void *x)
410 {
411 asm volatile("prefetcht0 %0" :: "m" (*(unsigned long *)x));
412 }
413
414 #define ARCH_HAS_PREFETCHW 1
415 static inline void prefetchw(void *x)
So I guess x is NULL somewhere ...
On Sat, Feb 17, 2007 at 09:51:46PM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.20-mm1:
>...
> git-block.patch
>...
> git trees
>...
This causes the following compile error with CONFIG_BLOCK=n:
<-- snip -->
...
CC kernel/sched.o
/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/kernel/sched.c:1835: warning: no previous prototype for 'schedule_tail'
/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/kernel/sched.c: In function 'schedule':
/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/kernel/sched.c:3466: error: dereferencing pointer to incomplete type
/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/kernel/sched.c:3467: error: implicit declaration of function 'blk_replug_current_nested'
make[2]: *** [kernel/sched.o] Error 1
<-- snip -->
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
On Sat, Feb 17, 2007 at 09:51:46PM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.20-mm1:
>...
> git-v9fs.patch
>...
> git trees
>...
This patch makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <[email protected]>
---
fs/9p/vfs_addr.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- linux-2.6.20-mm2/fs/9p/vfs_addr.c.old 2007-02-18 22:17:06.000000000 +0100
+++ linux-2.6.20-mm2/fs/9p/vfs_addr.c 2007-02-18 22:25:45.000000000 +0100
@@ -114,8 +114,8 @@
*
*/
-int v9fs_prepare_write(struct file *file, struct page *page,
- unsigned from, unsigned to)
+static int v9fs_prepare_write(struct file *file, struct page *page,
+ unsigned from, unsigned to)
{
if(!PageUptodate(page)) {
if (to - from != PAGE_CACHE_SIZE) {
@@ -143,8 +143,8 @@
* TODO: Perhaps I should just do the write here?
*/
-int v9fs_commit_write(struct file *file, struct page *page,
- unsigned offset, unsigned to)
+static int v9fs_commit_write(struct file *file, struct page *page,
+ unsigned offset, unsigned to)
{
struct inode *inode = page->mapping->host;
loff_t pos = ((loff_t)page->index << PAGE_CACHE_SHIFT) + to;
On Monday, 19 February 2007 01:00, Andrew Morton wrote:
> On Mon, 19 Feb 2007 00:25:48 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
>
> > > netconsole is good.
> >
> > I know. :-)
> >
> > In the meantime, I've got something worse on another x86_64 box:
> >
> > Asus Laptop ACPI Extras version 0.30
> > L5D model detected, supported
> > audit(1171831698.918:2): audit_pid=4281 old=0 by auid=4294967295
> > general protection fault: 0000 [2] PREEMPT
> > last sysfs file: /class/net/eth2/carrier
> > CPU 0
> > Modules linked in: af_packet ipv6 snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device asus_acpi backlight button battery ac dm_mod pcmr
> > Pid: 178, comm: pdflush Not tainted 2.6.20-mm2 #1
> > RIP: 0010:[<ffffffff8034bce4>] [<ffffffff8034bce4>] __make_request+0x134/0x370
> > RSP: 0000:ffff81005ed659a0 EFLAGS: 00010297
> > RAX: 00000000ffffffff RBX: 6b6b6b6b6b6b6b6b RCX: 000000000203396a
> > RDX: 0000000100000000 RSI: ffff810037b4dbb0 RDI: ffff81004683d8c0
> > RBP: ffff81005ed659f0 R08: ffff81004683d070 R09: ffff81003d333cc0
> > R10: 0000000000000000 R11: 0000000000000000 R12: ffff810037b4dbb0
> > R13: ffff81005daba3f0 R14: ffff810037daca90 R15: ffff81005daba3d0
> > FS: 00002ad4a29e6d00(0000) GS:ffffffff805db000(0000) knlGS:0000000000000000
> > CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
> > CR2: 00002b6a345aa000 CR3: 0000000056585000 CR4: 00000000000006e0
> > Process pdflush (pid: 178, threadinfo ffff81005ed64000, task ffff810037b060c0)
> > Stack: ffff810002852540 0000000000000001 ffff810037b4dbb0 ffffffff8026be21
> > ffff81005ed65a40 0000000000000008 ffff810037b4dbb0 0000000000000800
> > 0000000000000008 ffff8100021d94e0 ffff81005ed65a40 ffffffff80348e7c
> > Call Trace:
> > [<ffffffff8026be21>] mempool_alloc_slab+0x11/0x20
> > [<ffffffff80348e7c>] generic_make_request+0x1ec/0x230
>
> yeah. everyone except me is hitting that.
An interesting variant:
------------[ cut here ]------------
kernel BUG at block/ll_rw_blk.c:2782!
invalid opcode: 0000 [1] PREEMPT
last sysfs file: /class/net/eth2/carrier
CPU 0
Modules linked in: af_packet ipv6 snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device asus_acpi backlight button battery ac dm_mod usbhid pcmcir
Pid: 5060, comm: preload Not tainted 2.6.20-mm2 #4
RIP: 0010:[<ffffffff80349b7a>] [<ffffffff80349b7a>] bio_attempt_back_merge+0x2a/0xa0
RSP: 0018:ffff810045819a58 EFLAGS: 00010202
RAX: 0000000100000080 RBX: ffff810046946eb0 RCX: 0000000002b26b42
RDX: 0000000100000000 RSI: ffff810046946eb0 RDI: ffff810037d74a90
RBP: ffff810045819a68 R08: ffff810046946eb0 R09: 0000000000000400
R10: 0000000000000000 R11: 0000000000000000 R12: ffff810046fcc330
R13: ffff81004a218770 R14: ffff810037d74a90 R15: ffff81004a218750
FS: 00002acb9c6076f0(0000) GS:ffffffff805db000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00002aaaaaaac000 CR3: 0000000045855000 CR4: 00000000000006e0
Process preload (pid: 5060, threadinfo ffff810045818000, task ffff81004a12e140)
Stack: ffff810046946eb0 ffff810046fcc330 ffff810045819ac8 ffffffff8034b730
0000000000000000 0000000000000000 ffff810046fcc330 0000000000000002
ffff810046946eb0 0000000000000008 ffff810046fcc330 0000000000000800
Call Trace:
[<ffffffff8034b730>] __make_request+0x100/0x370
[<ffffffff803488fc>] generic_make_request+0x1ec/0x230
[<ffffffff802b9a7b>] bio_alloc_bioset+0xeb/0x120
[<ffffffff8034b266>] submit_bio+0xf6/0x110
[<ffffffff802b9b10>] bio_alloc+0x10/0x20
[<ffffffff802bd3f2>] mpage_bio_submit+0x22/0x30
[<ffffffff802bdfe5>] do_mpage_readpage+0x505/0x590
[<ffffffff80482cd6>] _write_unlock_irq+0x36/0x60
[<ffffffff80268bfb>] add_to_page_cache+0xbb/0xf0
[<ffffffff8026d950>] get_page_from_freelist+0x120/0x430
[<ffffffff802be2be>] mpage_readpages+0xbe/0x160
[<ffffffff8030fa20>] ext3_get_block+0x0/0x110
[<ffffffff8030fa20>] ext3_get_block+0x0/0x110
[<ffffffff804833b0>] _spin_unlock+0x30/0x50
[<ffffffff8026da50>] get_page_from_freelist+0x220/0x430
[<ffffffff8030eb8a>] ext3_readpages+0x1a/0x20
[<ffffffff8027072f>] __do_page_cache_readahead+0x20f/0x330
[<ffffffff80294d68>] cp_new_stat+0xf8/0x120
[<ffffffff80270c7d>] force_page_cache_readahead+0x6d/0xb0
[<ffffffff8026c533>] sys_fadvise64_64+0x143/0x1e0
[<ffffffff8026c5d9>] sys_fadvise64+0x9/0x10
[<ffffffff80209a0e>] system_call+0x7e/0x83
Code: 0f 0b 0f 1f 40 00 eb fe 4c 89 e2 e8 f6 df ff ff 31 d2 85 c0
RIP [<ffffffff80349b7a>] bio_attempt_back_merge+0x2a/0xa0
RSP <ffff810045819a58>
On 2/19/07, Adrian Bunk <[email protected]> wrote:
> On Sat, Feb 17, 2007 at 09:51:46PM -0800, Andrew Morton wrote:
> >...
> > Changes since 2.6.20-mm1:
> >...
> > git-v9fs.patch
> >...
> > git trees
> >...
>
> This patch makes two needlessly global functions static.
>
> Signed-off-by: Adrian Bunk <[email protected]>
Acked-by: Eric Van Hensbergen <[email protected]>
On Sunday, 18 February 2007 20:43, Andrew Morton wrote:
> On Sun, 18 Feb 2007 13:44:54 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
>
> > On Sunday, 18 February 2007 06:51, Andrew Morton wrote:
> > >
> > > Temporarily at
> > >
> > > http://userweb.kernel.org/~akpm/2.6.20-mm2/
> > >
> > > Will appear later at
> > >
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
> >
> > Two problems:
> >
> > 1) A showstopper with the root partition on RAID1:
> >
> > md: raid1 personality registered for level 1
> > [--snip--]
> > md: multipath personality registered for level -4
> > register_blkdev: failed to get major for mdp
> > [--snip--]
> > VFS: Cannot open root device "md1" or unknown-block(0,0)
>
> Someone else reported that against mainline. Can you please debug it a bit?
For now I can only say 2.6.20 + origin.patch breaks.
However, it's a SUSE 10.1 system with gcc 4.1.0 and this may be the reason.
I'll check that tomorrow.
On Tue, 20 Feb 2007 02:20:21 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
> On Sunday, 18 February 2007 20:43, Andrew Morton wrote:
> > On Sun, 18 Feb 2007 13:44:54 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
> >
> > > On Sunday, 18 February 2007 06:51, Andrew Morton wrote:
> > > >
> > > > Temporarily at
> > > >
> > > > http://userweb.kernel.org/~akpm/2.6.20-mm2/
> > > >
> > > > Will appear later at
> > > >
> > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
> > >
> > > Two problems:
> > >
> > > 1) A showstopper with the root partition on RAID1:
> > >
> > > md: raid1 personality registered for level 1
> > > [--snip--]
> > > md: multipath personality registered for level -4
> > > register_blkdev: failed to get major for mdp
> > > [--snip--]
> > > VFS: Cannot open root device "md1" or unknown-block(0,0)
> >
> > Someone else reported that against mainline. Can you please debug it a bit?
>
> For now I can only say 2.6.20 + origin.patch breaks.
>
> However, it's a SUSE 10.1 system with gcc 4.1.0 and this may be the reason.
> I'll check that tomorrow.
Yes, Rolf says this goes away when you stop using gcc-4.1.0.
I'm hoping that churning the code around like below makes things work
right.
From: Andrew Morton <[email protected]>
Several people have reported failures in dynamic major device number handling
due to the recent changes in there to avoid handing out the local/experimental
majors.
Rolf reports that this is due to a gcc-4.1.0 bug.
The patch refactors that code a lot in an attempt to provoke the compiler into
behaving.
Cc: Rolf Eike Beer <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
---
block/genhd.c | 9 ++-------
drivers/base/core.c | 14 ++++++++++++++
fs/char_dev.c | 8 ++------
include/linux/kdev_t.h | 1 +
4 files changed, 19 insertions(+), 13 deletions(-)
diff -puN block/genhd.c~rework-reserved-major-handling block/genhd.c
--- a/block/genhd.c~rework-reserved-major-handling
+++ a/block/genhd.c
@@ -5,6 +5,7 @@
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/genhd.h>
+#include <linux/kdev_t.h>
#include <linux/kernel.h>
#include <linux/blkdev.h>
#include <linux/init.h>
@@ -61,13 +62,7 @@ int register_blkdev(unsigned int major,
/* temporary */
if (major == 0) {
for (index = ARRAY_SIZE(major_names)-1; index > 0; index--) {
- /*
- * Disallow the LANANA-assigned LOCAL/EXPERIMENTAL
- * majors
- */
- if ((60 <= index && index <= 63) ||
- (120 <= index && index <= 127) ||
- (240 <= index && index <= 254))
+ if (is_lanana_major(index))
continue;
if (major_names[index] == NULL)
break;
diff -puN fs/char_dev.c~rework-reserved-major-handling fs/char_dev.c
--- a/fs/char_dev.c~rework-reserved-major-handling
+++ a/fs/char_dev.c
@@ -6,6 +6,7 @@
#include <linux/init.h>
#include <linux/fs.h>
+#include <linux/kdev_t.h>
#include <linux/slab.h>
#include <linux/string.h>
@@ -108,12 +109,7 @@ __register_chrdev_region(unsigned int ma
/* temporary */
if (major == 0) {
for (i = ARRAY_SIZE(chrdevs)-1; i > 0; i--) {
- /*
- * Disallow the LANANA-assigned LOCAL/EXPERIMENTAL
- * majors
- */
- if ((60 <= i && i <= 63) || (120 <= i && i <= 127) ||
- (240 <= i && i <= 254))
+ if (is_lanana_major(i))
continue;
if (chrdevs[i] == NULL)
break;
diff -puN drivers/base/core.c~rework-reserved-major-handling drivers/base/core.c
--- a/drivers/base/core.c~rework-reserved-major-handling
+++ a/drivers/base/core.c
@@ -28,6 +28,20 @@ int (*platform_notify)(struct device * d
int (*platform_notify_remove)(struct device * dev) = NULL;
/*
+ * Detect the LANANA-assigned LOCAL/EXPERIMENTAL majors
+ */
+bool is_lanana_major(unsigned int major)
+{
+ if (major >= 60 && major <= 63)
+ return 1;
+ if (major >= 120 && major <= 127)
+ return 1;
+ if (major >= 240 && major <= 254)
+ return 1;
+ return 0;
+}
+
+/*
* sysfs bindings for devices.
*/
diff -puN include/linux/kdev_t.h~rework-reserved-major-handling include/linux/kdev_t.h
--- a/include/linux/kdev_t.h~rework-reserved-major-handling
+++ a/include/linux/kdev_t.h
@@ -87,6 +87,7 @@ static inline unsigned sysv_minor(u32 de
return dev & 0x3ffff;
}
+bool is_lanana_major(unsigned int major);
#else /* __KERNEL__ */
_
On 2/20/07, Adrian Bunk <[email protected]> wrote:
> CC fs/unionfs/copyup.o
> /home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c: In function 'create_parents_named':
> /home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c:620: error: 'malloc_sizes' undeclared (first use in this function)
> /home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c:620: error: (Each undeclared identifier is reported only once
> /home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c:620: error: for each function it appears in.)
> make[3]: *** [fs/unionfs/copyup.o] Error 1
Hmm, why is unionfs playing around with malloc_sizes in the first place? Jeff?
Adrian Bunk wrote:
> On Sat, Feb 17, 2007 at 09:51:46PM -0800, Andrew Morton wrote:
>> ...
>> Changes since 2.6.20-mm1:
>> ...
>> git-mmc.patch
>> ...
>> git trees
>> ...
>
>
> The MMC_BLOCK option was accidentally lost.
>
> Signed-off-by: Adrian Bunk <[email protected]>
>
Thanks. I wonder how that happened.
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
I used this patch to make vmlinux,
sorry if already fixed.
My .config is attached.
==
Fixes this link error. (found on ia64.)
LD .tmp_vmlinux1
`mon_bin_exit' referenced in section `.init.text' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
`mon_text_exit' referenced in section `.init.text' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
Signed-Off-By: KAMEZAWA Hiroyuki <[email protected]>
Index: devel-tree-2.6.20-mm2/drivers/usb/mon/mon_bin.c
===================================================================
--- devel-tree-2.6.20-mm2.orig/drivers/usb/mon/mon_bin.c
+++ devel-tree-2.6.20-mm2/drivers/usb/mon/mon_bin.c
@@ -1165,7 +1165,7 @@ err_dev:
return rc;
}
-void __exit mon_bin_exit(void)
+void mon_bin_exit(void)
{
cdev_del(&mon_bin_cdev);
unregister_chrdev_region(mon_bin_dev0, MON_BIN_MAX_MINOR);
Index: devel-tree-2.6.20-mm2/drivers/usb/mon/mon_text.c
===================================================================
--- devel-tree-2.6.20-mm2.orig/drivers/usb/mon/mon_text.c
+++ devel-tree-2.6.20-mm2/drivers/usb/mon/mon_text.c
@@ -520,7 +520,7 @@ int __init mon_text_init(void)
return 0;
}
-void __exit mon_text_exit(void)
+void mon_text_exit(void)
{
debugfs_remove(mon_dir);
}
Index: devel-tree-2.6.20-mm2/drivers/usb/mon/usb_mon.h
===================================================================
--- devel-tree-2.6.20-mm2.orig/drivers/usb/mon/usb_mon.h
+++ devel-tree-2.6.20-mm2/drivers/usb/mon/usb_mon.h
@@ -56,10 +56,10 @@ int /*bool*/ mon_text_add(struct mon_bus
void mon_text_del(struct mon_bus *mbus);
// void mon_bin_add(struct mon_bus *);
-int __init mon_text_init(void);
-void __exit mon_text_exit(void);
-int __init mon_bin_init(void);
-void __exit mon_bin_exit(void);
+extern int mon_text_init(void) __init;
+extern void mon_text_exit(void);
+extern int mon_bin_init(void) __init;
+extern void mon_bin_exit(void);
/*
* DMA interface.
Andrew Morton wrote:
> - Judging by the number of times I get asked "is there a git tree for -mm",
> nobody is reading the boilerplate. Here it is again:
The git tree version of -mm seems to be sick. A fetch of the tag gives
you something but it is "significantly" (200k lines of diff) away from
what patching a virgin tree gives you. The 'last' patch seems to be:
scsi-megaraid_sas-throttle-io-if-fw-is-busy
-apw
kernel BUG at block/ll_rw_blk.c:2782!
invalid opcode: 0000 [#1]
PREEMPT
last sysfs file: /class/net/eth0/address
Modules linked in: xt_tcpudp xt_limit xt_state iptable_nat nf_nat
nf_conntrack_ipv4 nf_conntrack nfnetlink iptable_filter ip_tables
x_tables fuse ppdev lp thermal fan button processor ac battery tun ipv6
eeprom i2c_viapro usbhid snd_seq_dummy snd_seq_oss snd_seq_midi
snd_seq_midi_event snd_seq snd_via82xx gameport 8250_pnp 8250
serial_core snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm
snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device
via686a snd i2c_isa uhci_hcd soundcore ide_cd i2c_core usbcore shpchp
pci_hotplug via_agp 8139cp 8139too mii cdrom parport_pc parport agpgart
evdev unix
CPU: 0
EIP: 0060:[<c01ec662>] Not tainted VLI
EFLAGS: 00210282 (2.6.20-mm2 #1)
EIP is at bio_attempt_back_merge+0x22/0x70
eax: dbc62844 ebx: db4968f4 ecx: d71db720 edx: db4968f4
esi: d71db720 edi: dbc79fa8 ebp: dbc62844 esp: d46ebb4c
ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068
Process gvim (pid: 3573, ti=d46ea000 task=d819b090 task.ti=d46ea000)
Stack: db4968f4 d71db720 c01edea9 00000000 dbc79f94 d71db720 dbfd0300
dbc62844
d71db720 00000008 00000100 c01eb77b 20000000 d71db720 c12216c0
004ff928
00000008 c019b8c7 00001000 00000000 00000100 00001000 00000001
c019f9b6
Call Trace:
[<c01edea9>] __make_request+0x169/0x390
[<c01eb77b>] generic_make_request+0x14b/0x1f0
[<c019b8c7>] bio_add_page+0x37/0x50
[<c019f9b6>] do_mpage_readpage+0x336/0x590
[<c01eda58>] submit_bio+0x68/0x100
[<c019fc70>] mpage_end_io_read+0x0/0x80
[<c019f059>] mpage_bio_submit+0x19/0x20
[<c019fde5>] mpage_readpages+0x85/0x140
[<c01bc870>] ext3_get_block+0x0/0xf0
[<c01bbb00>] ext3_readpages+0x0/0x20
[<c015bab2>] __do_page_cache_readahead+0x1e2/0x2e0
[<c01bc870>] ext3_get_block+0x0/0xf0
[<c0198b10>] sleep_on_buffer+0x0/0x10
[<c02fb12b>] out_of_line_wait_on_bit+0x7b/0x90
[<c01980bf>] __find_get_block_slow+0x5f/0x120
[<c015bc9b>] ra_submit+0xeb/0x110
[<c015c46a>] page_cache_readahead_adaptive+0x15a/0x580
[<c0198516>] __getblk+0x16/0x210
[<c0188205>] __d_lookup+0xc5/0x180
[<c01550a2>] do_generic_mapping_read+0x512/0x5f0
[<c0157544>] generic_file_aio_read+0x104/0x240
[<c01542f0>] file_read_actor+0x0/0x130
[<c0174094>] get_unused_fd+0xa4/0xd0
[<c01759f5>] do_sync_read+0xd5/0x120
[<c017e796>] may_open+0x66/0x220
[<c017423a>] __dentry_open+0x17a/0x1f0
[<c0132260>] wake_bit_function+0x0/0x70
[<c01743bb>] do_filp_open+0x4b/0x60
[<c01762c1>] vfs_read+0xa1/0x140
[<c0175920>] do_sync_read+0x0/0x120
[<c0176721>] sys_read+0x41/0x70
[<c0104130>] syscall_call+0x7/0xb
=======================
Code: 90 90 90 90 90 90 90 90 90 56 89 ce 53 f6 42 14 d8 89 d3 75 16 83
7a 18 01 75 10 e8 89 e8 ff ff 31 d2 85 c0 75 09 5b 5e 89 d0 c3 <0f> 0b
eb fe 8b 43 38 89 70 04 89 73 38 8b 46 1c c1 e8 09 03 43
EIP: [<c01ec662>] bio_attempt_back_merge+0x22/0x70 SS:ESP 0068:d46ebb4c
--
Maciej Rutecki <[email protected]>
Feb 20 12:18:35 maciek kernel: [ 1443.641949] BUG: unable to handle
kernel NULL pointer dereference at virtual address 0000003e
Feb 20 12:18:35 maciek kernel: [ 1443.641974] printing eip:
Feb 20 12:18:35 maciek kernel: [ 1443.641980] c01ede81
Feb 20 12:18:35 maciek kernel: [ 1443.641984] *pde = 00000000
Feb 20 12:18:35 maciek kernel: [ 1443.641996] Oops: 0000 [#1]
Feb 20 12:18:35 maciek kernel: [ 1443.642000] PREEMPT
Feb 20 12:18:35 maciek kernel: [ 1443.642008] last sysfs file:
/class/i2c-adapter/i2c-9191/9191-6000/temp3_max
Feb 20 12:18:35 maciek kernel: [ 1443.642016] Modules linked in:
xt_tcpudp xt_limit xt_state iptable_nat nf_nat nf_conntrack_ipv4
nf_conntrack nfnetlink iptable_filter ip_tables x_tables fuse ppdev lp
thermal fan button processor ac battery tun ipv6 eeprom i2c_viapro
usbhid snd_seq_dummy snd_seq_oss snd_seq_midi snd_seq_midi_event snd_seq
8250_pnp 8250 serial_core uhci_hcd snd_via82xx gameport snd_ac97_codec
ide_cd cdrom ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer
snd_page_alloc snd_mpu401_uart shpchp pci_hotplug snd_rawmidi
snd_seq_device via686a snd i2c_isa via_agp soundcore 8139cp 8139too mii
i2c_core usbcore agpgart parport_pc parport evdev unix
Feb 20 12:18:36 maciek kernel: [ 1443.642136] CPU: 0
Feb 20 12:18:36 maciek kernel: [ 1443.642139] EIP: 0060:[<c01ede81>]
Not tainted VLI
Feb 20 12:18:36 maciek kernel: [ 1443.642144] EFLAGS: 00010297
(2.6.20-mm2 #1)
Feb 20 12:18:36 maciek kernel: [ 1443.642172] EIP is at
__make_request+0x141/0x390
Feb 20 12:18:36 maciek kernel: [ 1443.642182] eax: ffffffff ebx:
0000003a ecx: 01291753 edx: 00010485
Feb 20 12:18:36 maciek kernel: [ 1443.642192] esi: dbfb62a0 edi:
dbc781f8 ebp: dbc61844 esp: dbf9dd10
Feb 20 12:18:36 maciek kernel: [ 1443.642201] ds: 007b es: 007b fs:
00d8 gs: 0000 ss: 0068
Feb 20 12:18:36 maciek kernel: [ 1443.642212] Process pdflush (pid: 113,
ti=dbf9c000 task=dbf82580 task.ti=dbf9c000)
Feb 20 12:18:36 maciek kernel: [ 1443.642218] Stack: 00000001 dbc781e4
dbfb62a0 d6830b74 dbc61844 dbfb62a0 00000008 00000100
Feb 20 12:18:36 maciek kernel: [ 1443.642238] c01eb77b dbfd03e0
c13fd9e0 00000000 c014e690 00000008 00000000 00000000
Feb 20 12:18:36 maciek kernel: [ 1443.642256] 00000046 00000292
dbfe6860 00011200 dbfd02f8 00000292 00000008 dbfb62a0
Feb 20 12:18:36 maciek kernel: [ 1443.642274] Call Trace:
Feb 20 12:18:36 maciek kernel: [ 1443.642291] [<c01eb77b>]
generic_make_request+0x14b/0x1f0
Feb 20 12:18:36 maciek kernel: [ 1443.642309] [<c014e690>]
handle_level_irq+0xb0/0x120
Feb 20 12:18:36 maciek kernel: [ 1443.642346] [<c01eda58>]
submit_bio+0x68/0x100
Feb 20 12:18:36 maciek kernel: [ 1443.642368] [<c019b381>]
bio_alloc_bioset+0x81/0x160
Feb 20 12:18:36 maciek kernel: [ 1443.642393] [<c0197e09>]
submit_bh+0xb9/0x100
=================================================
Feb 20 12:19:07 maciek kernel: [ 1475.055159] BUG: unable to handle
kernel NULL pointer dereference at virtual address 00000004
Feb 20 12:19:07 maciek kernel: [ 1475.064380] printing eip:
Feb 20 12:19:07 maciek kernel: [ 1475.100792] c01ede81
Feb 20 12:19:07 maciek kernel: [ 1475.109234] *pde = 00000000
Feb 20 12:19:07 maciek kernel: [ 1475.117432] Oops: 0000 [#2]
Feb 20 12:19:07 maciek kernel: [ 1475.125573] PREEMPT
Feb 20 12:19:07 maciek kernel: [ 1475.133589] last sysfs file:
/class/i2c-adapter/i2c-9191/9191-6000/temp3_max
Feb 20 12:19:07 maciek kernel: [ 1475.141953] Modules linked in:
xt_tcpudp xt_limit xt_state iptable_nat nf_nat nf_conntrack_ipv4
nf_conntrack nfnetlink iptable_filter ip_tables x_tables fuse ppdev lp
thermal fan button processor ac battery tun ipv6 eeprom i2c_viapro
usbhid snd_seq_dummy snd_seq_oss snd_seq_midi snd_seq_midi_event snd_seq
8250_pnp 8250 serial_core uhci_hcd snd_via82xx gameport snd_ac97_codec
ide_cd cdrom ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer
snd_page_alloc snd_mpu401_uart shpchp pci_hotplug snd_rawmidi
snd_seq_device via686a snd i2c_isa via_agp soundcore 8139cp 8139too mii
i2c_core usbcore agpgart parport_pc parport evdev unix
Feb 20 12:19:07 maciek kernel: [ 1475.188714] CPU: 0
Feb 20 12:19:08 maciek kernel: [ 1475.188718] EIP: 0060:[<c01ede81>]
Not tainted VLI
Feb 20 12:19:08 maciek kernel: [ 1475.188722] EFLAGS: 00010297
(2.6.20-mm2 #1)
Feb 20 12:19:08 maciek kernel: [ 1475.217051] EIP is at
__make_request+0x141/0x390
Feb 20 12:19:08 maciek kernel: [ 1475.226423] eax: ffffffff ebx:
00000000 ecx: 016d4643 edx: 00000000
Feb 20 12:19:08 maciek kernel: [ 1475.235950] esi: d6307d20 edi:
dbc78978 ebp: dbc61844 esp: d5e09c7c
Feb 20 12:19:08 maciek kernel: [ 1475.245535] ds: 007b es: 007b fs:
00d8 gs: 0033 ss: 0068
Feb 20 12:19:08 maciek kernel: [ 1475.255156] Process kde-config (pid:
4675, ti=d5e08000 task=d6843a70 task.ti=d5e08000)
Feb 20 12:19:08 maciek kernel: [ 1475.255504] Stack: 00000000 dbc78964
d6307d20 d6f89494 dbc61844 d6307d20 00000008 00000100
Feb 20 12:19:08 maciek kernel: [ 1475.265489] c01eb77b 00000004
d5e979d0 0014718f 00000000 00000008 00150613 d62b8788
Feb 20 12:19:08 maciek kernel: [ 1475.275565] 0e55b540 00000141
00000292 00000020 000112d0 dbfd0200 00000008 00000001
Feb 20 12:19:08 maciek kernel: [ 1475.285734] Call Trace:
Feb 20 12:19:08 maciek kernel: [ 1475.305600] [<c01eb77b>]
generic_make_request+0x14b/0x1f0
Feb 20 12:19:08 maciek kernel: [ 1475.315898] [<c01eda58>]
submit_bio+0x68/0x100
Feb 20 12:19:08 maciek kernel: [ 1475.326136] [<c01083c5>]
timer_interrupt+0x15/0x70
Feb 20 12:19:08 maciek kernel: [ 1475.336399] [<c01bc8e4>]
ext3_get_block+0x74/0xf0
Feb 20 12:19:08 maciek kernel: [ 1475.346682] [<c019fc70>]
mpage_end_io_read+0x0/0x80
Feb 20 12:19:08 maciek kernel: [ 1475.356972] [<c019f059>]
mpage_bio_submit+0x19/0x20
Feb 20 12:19:08 maciek kernel: [ 1475.367186] [<c019f97f>]
do_mpage_readpage+0x2ff/0x590
Feb 20 12:19:08 maciek kernel: [ 1475.377406] [<c01bc870>]
ext3_get_block+0x0/0xf0
Feb 20 12:19:08 maciek kernel: [ 1475.387622] [<c0154720>]
add_to_page_cache+0x80/0xe0
Feb 20 12:19:08 maciek kernel: [ 1475.397869] [<c019fde5>]
mpage_readpages+0x85/0x140
Feb 20 12:19:08 maciek kernel: [ 1475.408076] [<c01bc870>]
ext3_get_block+0x0/0xf0
Feb 20 12:19:08 maciek kernel: [ 1475.418323] [<c01bbb00>]
ext3_readpages+0x0/0x20
Feb 20 12:19:08 maciek kernel: [ 1475.428458] [<c015bab2>]
__do_page_cache_readahead+0x1e2/0x2e0
Feb 20 12:19:08 maciek kernel: [ 1475.438670] [<c01bc870>]
ext3_get_block+0x0/0xf0
Feb 20 12:19:08 maciek kernel: [ 1475.448927] [<c015975a>]
get_page_from_freelist+0x2aa/0x3f0
Feb 20 12:19:08 maciek kernel: [ 1475.459262] [<c0126df1>]
getnstimeofday+0x31/0xc0
Feb 20 12:19:08 maciek kernel: [ 1475.469631] [<c013b743>]
futex_wake+0xb3/0xd0
Feb 20 12:19:08 maciek kernel: [ 1475.480042] [<c015c8dc>]
do_page_cache_readahead+0x4c/0x70
Feb 20 12:19:08 maciek kernel: [ 1475.490581] [<c01571c6>]
filemap_nopage+0x266/0x4e0
Feb 20 12:19:08 maciek kernel: [ 1475.501123] [<c0162c6d>]
__handle_mm_fault+0x11d/0x970
Feb 20 12:19:08 maciek kernel: [ 1475.511672] [<c0106a6b>] do_IRQ+0x4b/0x80
Feb 20 12:19:08 maciek kernel: [ 1475.522070] [<c0116e7e>]
do_page_fault+0x11e/0x5f0
Feb 20 12:19:08 maciek kernel: [ 1475.532247] [<c014f232>]
__rcu_process_callbacks+0x182/0x1b0
Feb 20 12:19:08 maciek kernel: [ 1475.542182] [<c0116d60>]
do_page_fault+0x0/0x5f0
Feb 20 12:19:08 maciek kernel: [ 1475.551834] [<c02fc724>]
error_code+0x74/0x7c
Feb 20 12:19:08 maciek kernel: [ 1475.561368] =======================
Feb 20 12:19:08 maciek kernel: [ 1475.570866] Code: 31 c0 5b 5e 5f 5d c3
8b 58 18 8b 43 04 8d 44 20 00 8b 7c 24 04 83 c7 14 39 fb 75 1e e9 23 ff
ff ff 48 0f 84 d5 00 00 00 8b 5b 04 <8b> 43 04 8d 44 20 00 39 fb 0f 84
0a ff ff ff 89 f2 89 d8 e8 b7
Feb 20 12:19:08 maciek kernel: [ 1475.591783] EIP: [<c01ede81>]
__make_request+0x141/0x390 SS:ESP 0068:d5e09c7c
--
Maciej Rutecki <[email protected]>
On Tue, Feb 20, 2007 at 08:37:34AM +0200, Pekka Enberg wrote:
> On 2/20/07, Adrian Bunk <[email protected]> wrote:
> > CC fs/unionfs/copyup.o
> >/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c: In
> >function 'create_parents_named':
> >/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c:620:
> >error: 'malloc_sizes' undeclared (first use in this function)
> >/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c:620:
> >error: (Each undeclared identifier is reported only once
> >/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c:620:
> >error: for each function it appears in.)
> >make[3]: *** [fs/unionfs/copyup.o] Error 1
>
> Hmm, why is unionfs playing around with malloc_sizes in the first place?
> Jeff?
The code is in lookup.c:
if (oldsize) {
int minsize = malloc_sizes[0].cs_size;
if (!newsize || ((oldsize < newsize) && (newsize > minsize))) {
kfree(info->lower_paths);
info->lower_paths = NULL;
}
}
That's the only user of malloc_sizes. It is supposed to be an optimization -
we get the smallest sized piece of memory even if we don't need all of it.
This way we don't reallocate & memcpy needlessly.
Josef "Jeff" Sipek.
--
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like
that.
- Linus Torvalds
On Tuesday, 20 February 2007 01:04, Rafael J. Wysocki wrote:
> On Monday, 19 February 2007 12:45, Michal Piotrowski wrote:
> > On 19/02/07, Rafael J. Wysocki <[email protected]> wrote:
> > > On Monday, 19 February 2007 01:00, Andrew Morton wrote:
> > > > On Mon, 19 Feb 2007 00:25:48 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
> > > >
> > > > > > netconsole is good.
> > > > >
> > > > > I know. :-)
> > > > >
> > > > > In the meantime, I've got something worse on another x86_64 box:
> > > > >
> > > > > Asus Laptop ACPI Extras version 0.30
> > > > > L5D model detected, supported
> > > > > audit(1171831698.918:2): audit_pid=4281 old=0 by auid=4294967295
> > > > > general protection fault: 0000 [2] PREEMPT
> > > > > last sysfs file: /class/net/eth2/carrier
> > > > > CPU 0
> > > > > Modules linked in: af_packet ipv6 snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device asus_acpi backlight button battery ac dm_mod pcmr
> > > > > Pid: 178, comm: pdflush Not tainted 2.6.20-mm2 #1
> > > > > RIP: 0010:[<ffffffff8034bce4>] [<ffffffff8034bce4>] __make_request+0x134/0x370
> > > > > RSP: 0000:ffff81005ed659a0 EFLAGS: 00010297
> > > > > RAX: 00000000ffffffff RBX: 6b6b6b6b6b6b6b6b RCX: 000000000203396a
> > > > > RDX: 0000000100000000 RSI: ffff810037b4dbb0 RDI: ffff81004683d8c0
> > > > > RBP: ffff81005ed659f0 R08: ffff81004683d070 R09: ffff81003d333cc0
> > > > > R10: 0000000000000000 R11: 0000000000000000 R12: ffff810037b4dbb0
> > > > > R13: ffff81005daba3f0 R14: ffff810037daca90 R15: ffff81005daba3d0
> > > > > FS: 00002ad4a29e6d00(0000) GS:ffffffff805db000(0000) knlGS:0000000000000000
> > > > > CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
> > > > > CR2: 00002b6a345aa000 CR3: 0000000056585000 CR4: 00000000000006e0
> > > > > Process pdflush (pid: 178, threadinfo ffff81005ed64000, task ffff810037b060c0)
> > > > > Stack: ffff810002852540 0000000000000001 ffff810037b4dbb0 ffffffff8026be21
> > > > > ffff81005ed65a40 0000000000000008 ffff810037b4dbb0 0000000000000800
> > > > > 0000000000000008 ffff8100021d94e0 ffff81005ed65a40 ffffffff80348e7c
> > > > > Call Trace:
> > > > > [<ffffffff8026be21>] mempool_alloc_slab+0x11/0x20
> > > > > [<ffffffff80348e7c>] generic_make_request+0x1ec/0x230
> > > >
> > > > yeah. everyone except me is hitting that.
> > >
> > > FWIW, I don't see it on an SMP machine.
> > >
> >
> > I can reproduce this on my SMT P4.
> >
> > CONFIG_SMP=y
> > CONFIG_X86_PC=y
> > CONFIG_MPENTIUM4=y
> > CONFIG_NR_CPUS=2
> > CONFIG_SCHED_SMT=y
>
> It may be related to preemption. The box I'm not seeing it on runs a
> non-preemptible kernel (CONFIG_PREEMPT_VOLUNTARY is set).
FWIW, with CONFIG_PREEMPT unset (CONFIG_PREEMPT_VOLUNTARY is set instead), I'm
unable to reproduce this problem on the box on which it is readily reproducible with
CONFIG_PREEMPT set.
Greetings,
Rafael
On Sunday, 18 February 2007 06:51, Andrew Morton wrote:
>
> Temporarily at
>
> http://userweb.kernel.org/~akpm/2.6.20-mm2/
>
> Will appear later at
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
Looks like reiserfs has some locking problems:
=============================================
[ INFO: possible recursive locking detected ]
2.6.20-mm2 #6
---------------------------------------------
beagled/4786 is trying to acquire lock:
(&inode->i_mutex){--..}, at: [<ffffffff80479df9>] mutex_lock+0x19/0x20
but task is already holding lock:
(&inode->i_mutex){--..}, at: [<ffffffff80479df9>] mutex_lock+0x19/0x20
other info that might help us debug this:
3 locks held by beagled/4786:
#0: (&inode->i_mutex){--..}, at: [<ffffffff80479df9>] mutex_lock+0x19/0x20
#1: (&REISERFS_I(inode)->xattr_sem){----}, at: [<ffffffff80304c99>] reiserfs_setxattr+0x79/0x150
#2: (&REISERFS_SB(s)->xattr_dir_sem){----}, at: [<ffffffff80304cc0>] reiserfs_setxattr+0xa0/0x150
stack backtrace:
Call Trace:
[<ffffffff8024823f>] __lock_acquire+0xa9f/0xf30
[<ffffffff80479df9>] mutex_lock+0x19/0x20
[<ffffffff80248758>] lock_acquire+0x88/0xc0
[<ffffffff80479df9>] mutex_lock+0x19/0x20
[<ffffffff80479c5c>] __mutex_lock_slowpath+0xec/0x270
[<ffffffff8028d63a>] dentry_open+0x6a/0x80
[<ffffffff80479df9>] mutex_lock+0x19/0x20
[<ffffffff803052c7>] reiserfs_xattr_set+0x127/0x3d0
[<ffffffff80246ffd>] mark_held_locks+0x5d/0x90
[<ffffffff8047add8>] __down_write_nested+0x38/0xb0
[<ffffffff8024722f>] trace_hardirqs_on+0x13f/0x170
[<ffffffff8047b96b>] _spin_unlock_irq+0x2b/0x40
[<ffffffff80305698>] user_set+0x68/0x90
[<ffffffff80304cd4>] reiserfs_setxattr+0xb4/0x150
[<ffffffff802ad829>] vfs_setxattr+0xb9/0x200
[<ffffffff802ada5a>] setxattr+0xea/0x110
[<ffffffff8024722f>] trace_hardirqs_on+0x13f/0x170
[<ffffffff8028a342>] poison_obj+0x42/0x60
[<ffffffff8028aa75>] kmem_cache_free+0xf5/0x110
[<ffffffff8024722f>] trace_hardirqs_on+0x13f/0x170
[<ffffffff80298aef>] putname+0x3f/0x50
[<ffffffff8029ac67>] __user_walk_fd+0x57/0x70
[<ffffffff802adae3>] sys_lsetxattr+0x63/0x90
[<ffffffff8047b020>] trace_hardirqs_on_thunk+0x35/0x37
[<ffffffff8024722f>] trace_hardirqs_on+0x13f/0x170
[<ffffffff8047b020>] trace_hardirqs_on_thunk+0x35/0x37
[<ffffffff8020989e>] system_call+0x7e/0x83
Rafael J. Wysocki wrote:
> FWIW, with CONFIG_PREEMPT unset (CONFIG_PREEMPT_VOLUNTARY is set instead), I'm
> unable to reproduce this problem on the box on which it is readily reproducible with
> CONFIG_PREEMPT set.
I'm not surprised... I routinely tell people to turn it off, when
debugging a problem.
Jeff
On Monday, 19 February 2007 06:13, David Brownell wrote:
> On Sunday 18 February 2007 4:28 pm, Andrew Morton wrote:
> > On Mon, 19 Feb 2007 00:32:08 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
> >
>
> > > One more thing:
> > >
> > > rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
> > > Unable to handle kernel NULL pointer dereference at 0000000000000030 RIP:
> > > [<ffffffff804032c3>] rtc_sysfs_remove_device+0x23/0x50
> > > ...
> > > Call Trace:
> > > [<ffffffff803c5786>] class_device_del+0x86/0x180
> > > [<ffffffff803c5891>] class_device_unregister+0x11/0x20
> > > [<ffffffff8040280e>] rtc_device_unregister+0x3e/0x50
> > > [<ffffffff880cd789>] :rtc_cmos:cmos_pnp_probe+0x219/0x240
> > > [<ffffffff803988a1>] pnp_device_probe+0xa1/0xe0
> > > ...
> >
> > How did you provoke that? modprobe rtc-cmos?
>
> Plus, I'd guess, the old rtc driver statically linked.
Yes (mistakenly).
> What I see is a should-not-happen fault of some kind in a cleanup
> path that's been tested with non-PNP rtc drivers. A quick glance
> at the code left me puzzled. Would sleeping a second or two before
> calling rtc_device_unregister() change that behavior?
[tries]
No.
Greetings,
Rafael
On Tuesday, 20 February 2007 07:31, Andrew Morton wrote:
> On Tue, 20 Feb 2007 02:20:21 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
>
> > On Sunday, 18 February 2007 20:43, Andrew Morton wrote:
> > > On Sun, 18 Feb 2007 13:44:54 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
> > >
> > > > On Sunday, 18 February 2007 06:51, Andrew Morton wrote:
> > > > >
> > > > > Temporarily at
> > > > >
> > > > > http://userweb.kernel.org/~akpm/2.6.20-mm2/
> > > > >
> > > > > Will appear later at
> > > > >
> > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
> > > >
> > > > Two problems:
> > > >
> > > > 1) A showstopper with the root partition on RAID1:
> > > >
> > > > md: raid1 personality registered for level 1
> > > > [--snip--]
> > > > md: multipath personality registered for level -4
> > > > register_blkdev: failed to get major for mdp
> > > > [--snip--]
> > > > VFS: Cannot open root device "md1" or unknown-block(0,0)
> > >
> > > Someone else reported that against mainline. Can you please debug it a bit?
> >
> > For now I can only say 2.6.20 + origin.patch breaks.
> >
> > However, it's a SUSE 10.1 system with gcc 4.1.0 and this may be the reason.
> > I'll check that tomorrow.
>
> Yes, Rolf says this goes away when you stop using gcc-4.1.0.
>
> I'm hoping that churning the code around like below makes things work
> right.
Yes, that helps.
Thanks,
Rafael
Am 20.02.2007 22:23 schrieb Rafael J. Wysocki:
> Looks like reiserfs has some locking problems:
>
> =============================================
> [ INFO: possible recursive locking detected ]
> 2.6.20-mm2 #6
> ---------------------------------------------
> beagled/4786 is trying to acquire lock:
> (&inode->i_mutex){--..}, at: [<ffffffff80479df9>] mutex_lock+0x19/0x20
>
> but task is already holding lock:
> (&inode->i_mutex){--..}, at: [<ffffffff80479df9>] mutex_lock+0x19/0x20
>
> other info that might help us debug this:
> 3 locks held by beagled/4786:
> #0: (&inode->i_mutex){--..}, at: [<ffffffff80479df9>] mutex_lock+0x19/0x20
> #1: (&REISERFS_I(inode)->xattr_sem){----}, at: [<ffffffff80304c99>] reiserfs_setxattr+0x79/0x150
> #2: (&REISERFS_SB(s)->xattr_dir_sem){----}, at: [<ffffffff80304cc0>] reiserfs_setxattr+0xa0/0x150
This looks like the same I have been seeing in every release
since 2.6.18. I reported it a couple of times, and Srinivasa Ds
tried a few fixes on me during 2.6.19-rc4, but we never got to
the bottom of it.
--
Tilman Schmidt E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Unge?ffnet mindestens haltbar bis: (siehe R?ckseite)
Josef Sipek:
> That's the only user of malloc_sizes. It is supposed to be an optimization -
> we get the smallest sized piece of memory even if we don't need all of it.
> This way we don't reallocate & memcpy needlessly.
How about exporting ksize to modules, and introduce a new function such
like this?
Of course, adding gfp_t to its parameter list make this function more generic.
void *kzrealloc(void *p, int nused, int new_sz)
{
void *q;
if (new_sz <= nused)
return p;
if (new_sz <= ksize(p)) {
memset(p + nused, 0, new_sz - nused);
return p;
}
q = kmalloc(new_sz, GFP_KERNEL);
if (unlikely(!q))
return NULL;
memcpy(q, p, nused);
memset(q + nused, 0, new_sz - nused);
kfree(p);
return q;
}
Junjiro Okajima
For the time being, I included it in unionfs.git. I wouldn't mind having
this dependency disappear.
Thanks,
Josef "Jeff" Sipek.
--
Once you have their hardware. Never give it back.
(The First Rule of Hardware Acquisition)
On Sat, Feb 17, 2007 at 09:51:46PM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.20-mm1:
>...
> git-ubi.patch
>...
> git trees
>...
If you select an option, you have to ensure that the dependencies of all
options you are select'ing are fulfilled.
This patch fixes the following compile error:
<-- snip -->
...
LD .tmp_vmlinux1
fs/built-in.o: In function `debugfs_init':
inode.c:(.init.text+0x3621): undefined reference to `kernel_subsys'
make[1]: *** [.tmp_vmlinux1] Error 1
<-- snip -->
I've also removed the superfluous "default n".
Signed-off-by: Adrian Bunk <[email protected]>
---
--- linux-2.6.20-mm2/drivers/mtd/ubi/Kconfig.debug.old 2007-02-20 19:57:23.000000000 +0100
+++ linux-2.6.20-mm2/drivers/mtd/ubi/Kconfig.debug 2007-02-20 19:57:51.000000000 +0100
@@ -5,7 +5,7 @@
config MTD_UBI_DEBUG
bool "UBI debugging"
- default n
+ depends on SYSFS
depends on MTD_UBI
select DEBUG_FS
select KALLSYMS_ALL
On Sat, Feb 17, 2007 at 09:51:46PM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.20-mm1:
>...
> +i386-irq-kill-irq-compression.patch
>...
> x86 updates
>...
This patch removes a no longer used variable.
Spotted by the GNU C compiler.
Signed-off-by: Adrian Bunk <[email protected]>
---
--- linux-2.6.20-mm2/arch/i386/kernel/mpparse.c.old 2007-02-20 23:41:11.000000000 +0100
+++ linux-2.6.20-mm2/arch/i386/kernel/mpparse.c 2007-02-20 23:41:25.000000000 +0100
@@ -1046,7 +1046,6 @@
int ioapic = -1;
int ioapic_pin = 0;
int idx, bit = 0;
- static int pci_irq = 16;
/* Don't set up the ACPI SCI because it's already set up */
if (acpi_gbl_FADT.sci_interrupt == gsi)
On Tue, 20 Feb 2007 10:13:56 -0500
Josef Sipek <[email protected]> wrote:
> On Tue, Feb 20, 2007 at 08:37:34AM +0200, Pekka Enberg wrote:
> > On 2/20/07, Adrian Bunk <[email protected]> wrote:
> > > CC fs/unionfs/copyup.o
> > >/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c: In
> > >function 'create_parents_named':
> > >/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c:620:
> > >error: 'malloc_sizes' undeclared (first use in this function)
> > >/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c:620:
> > >error: (Each undeclared identifier is reported only once
> > >/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c:620:
> > >error: for each function it appears in.)
> > >make[3]: *** [fs/unionfs/copyup.o] Error 1
> >
> > Hmm, why is unionfs playing around with malloc_sizes in the first place?
> > Jeff?
>
> The code is in lookup.c:
>
> if (oldsize) {
> int minsize = malloc_sizes[0].cs_size;
>
> if (!newsize || ((oldsize < newsize) && (newsize > minsize))) {
> kfree(info->lower_paths);
> info->lower_paths = NULL;
> }
> }
>
> That's the only user of malloc_sizes. It is supposed to be an optimization -
> we get the smallest sized piece of memory even if we don't need all of it.
> This way we don't reallocate & memcpy needlessly.
>
urgh, no, please don't poke around in slab internals like that.
If you want to propose an extension to the slab ABI the please do so and
we'll take a look at it.
I can't say more until I've managed to understand your description, which
might take a while.
On Wed, Feb 21, 2007 at 02:19:44PM -0800, Andrew Morton wrote:
> On Tue, 20 Feb 2007 10:13:56 -0500
> Josef Sipek <[email protected]> wrote:
>
> > On Tue, Feb 20, 2007 at 08:37:34AM +0200, Pekka Enberg wrote:
> > > On 2/20/07, Adrian Bunk <[email protected]> wrote:
> > > > CC fs/unionfs/copyup.o
> > > >/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c: In
> > > >function 'create_parents_named':
> > > >/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c:620:
> > > >error: 'malloc_sizes' undeclared (first use in this function)
> > > >/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c:620:
> > > >error: (Each undeclared identifier is reported only once
> > > >/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c:620:
> > > >error: for each function it appears in.)
> > > >make[3]: *** [fs/unionfs/copyup.o] Error 1
> > >
> > > Hmm, why is unionfs playing around with malloc_sizes in the first place?
> > > Jeff?
> >
> > The code is in lookup.c:
> >
> > if (oldsize) {
> > int minsize = malloc_sizes[0].cs_size;
> >
> > if (!newsize || ((oldsize < newsize) && (newsize > minsize))) {
> > kfree(info->lower_paths);
> > info->lower_paths = NULL;
> > }
> > }
> >
> > That's the only user of malloc_sizes. It is supposed to be an optimization -
> > we get the smallest sized piece of memory even if we don't need all of it.
> > This way we don't reallocate & memcpy needlessly.
> >
>
> urgh, no, please don't poke around in slab internals like that.
I agree that it is a hack.
> I can't say more until I've managed to understand your description, which
> might take a while.
It is intended for reallocation of a buffer. The code in lookup.c allocates
some memory, and it may have to reallocate the buffer. The code tries to
prevent some unneeded allocations by looking at what the smallest object the
slabcache gives you is.
I hope this explains it better. There's some discussion about this in the
threads by Pekka Enberg.
Josef "Jeff" Sipek.
--
Linux, n.:
Generous programmers from around the world all join forces to help
you shoot yourself in the foot for free.
On Wed, 21 Feb 2007 21:00:39 -0500 Josef Sipek <[email protected]> wrote:
> > I can't say more until I've managed to understand your description, which
> > might take a while.
>
> It is intended for reallocation of a buffer. The code in lookup.c allocates
> some memory, and it may have to reallocate the buffer. The code tries to
> prevent some unneeded allocations by looking at what the smallest object the
> slabcache gives you is.
>
> I hope this explains it better. There's some discussion about this in the
> threads by Pekka Enberg.
Problem is, it doesn't seem that we'll be merging unionfs any time soon so
we shouldn't be adding slab infrastructure on its behalf. And I'd prefer
not to have to carry slab changes in a filesystem tree.
Although if the changes are generally ok-looking and are compact then it'd
be OK, but I do need to be alert for someone who comes along and uses that
infrastructure in an unrelated patch, which has happened before. When I
prep the patch for an upstream merge, oops, doesn't compile any more.
So for now, it'd be best to jsut forget about the optimisation.
How useful is it, anyway?
For what it's worth, the new branch-management code also needs realloc():
right now I do a kfree/kalloc instead. So I'm all for having a true
krealloc function.
Erez.
On Wed, Feb 21, 2007 at 06:26:57PM -0800, Andrew Morton wrote:
> On Wed, 21 Feb 2007 21:00:39 -0500 Josef Sipek <[email protected]> wrote:
>
> > > I can't say more until I've managed to understand your description, which
> > > might take a while.
> >
> > It is intended for reallocation of a buffer. The code in lookup.c allocates
> > some memory, and it may have to reallocate the buffer. The code tries to
> > prevent some unneeded allocations by looking at what the smallest object the
> > slabcache gives you is.
> >
> > I hope this explains it better. There's some discussion about this in the
> > threads by Pekka Enberg.
>
> Problem is, it doesn't seem that we'll be merging unionfs any time soon so
> we shouldn't be adding slab infrastructure on its behalf. And I'd prefer
> not to have to carry slab changes in a filesystem tree.
>
> Although if the changes are generally ok-looking and are compact then it'd
> be OK, but I do need to be alert for someone who comes along and uses that
> infrastructure in an unrelated patch, which has happened before. When I
> prep the patch for an upstream merge, oops, doesn't compile any more.
Sounds reasonable to be weary of patches like that...
> So for now, it'd be best to jsut forget about the optimisation.
Well...
> How useful is it, anyway?
The code in lookup gets called frequently enough that I'm not sure. Whenever
one touches a file on a read-only branch, a copyup is done. This may have to
recreate the directory hierarchy leading up to the file - since the VFS
doesn't have such code, unionfs builds up a stack of all the path
components, and then it pops them off one at a time calling vfs_mkdir for
each. The stack creation is where we do this "reallocation."
Josef "Jeff" Sipek.
--
I'm somewhere between geek and normal.
- Linus Torvalds
On Tuesday 20 February 2007 2:07 pm, Rafael J. Wysocki wrote:
> > Plus, I'd guess, the old rtc driver statically linked.
>
> Yes (mistakenly).
Until someone merges the BSOD-for-Linux patch, I'll continue to
assume that oopsing is the wrong response to "user" mistakes. ;)
Legacy drivers can be such a PITA.
> > What I see is a should-not-happen fault of some kind in a cleanup
> > path that's been tested with non-PNP rtc drivers. A quick glance
> > at the code left me puzzled. Would sleeping a second or two before
> > calling rtc_device_unregister() change that behavior?
>
> [tries]
>
> No.
Shoot. OK, I'll see if I can reproduce it myself. Is this system
using a generic CMOS RTC? Or is HPET somehow involved? (That old
RTC driver has HPET voodoo as well as normal RTC stuff.)
- Dave
Hi Andrew,
Andrew Morton wrote:
> Problem is, it doesn't seem that we'll be merging unionfs any time soon so
> we shouldn't be adding slab infrastructure on its behalf. And I'd prefer
> not to have to carry slab changes in a filesystem tree.
I think we can merge krealloc without unionfs. I'll whoop up a new patch
as per Christoph's suggestions. I think at least XFS already has its own
realloc and there might be some other open-coded users. It's not
_changing_ the slab as much as adding new functionality that makes sense
fron a general point of view.
The ksize exports we can add later if unionfs is to be merged.
Pekka
Pekka Enberg wrote:
> The ksize exports we can add later if unionfs is to be merged.
Actually, we probably don't need it after the krealloc optimizations. I
think we need a new unionfs patch too... :)
Pekka
On Thu, Feb 22, 2007 at 08:18:39AM +0200, Pekka Enberg wrote:
> Pekka Enberg wrote:
> >The ksize exports we can add later if unionfs is to be merged.
>
> Actually, we probably don't need it after the krealloc optimizations. I
> think we need a new unionfs patch too... :)
I'm for it!
Josef "Jeff" Sipek.
--
Don't drink and derive. Alcohol and algebra don't mix.
On Thu, 22 Feb 2007, Pekka Enberg wrote:
> I think we can merge krealloc without unionfs. I'll whoop up a new patch as
> per Christoph's suggestions. I think at least XFS already has its own realloc
> and there might be some other open-coded users. It's not _changing_ the slab
> as much as adding new functionality that makes sense fron a general point of
> view.
I really like the krealloc idea. Could we useful elsewhere to extend
objects and it is similar to the realloc() available in glibc.
On Thursday, 22 February 2007 04:57, David Brownell wrote:
> On Tuesday 20 February 2007 2:07 pm, Rafael J. Wysocki wrote:
>
> > > Plus, I'd guess, the old rtc driver statically linked.
> >
> > Yes (mistakenly).
>
> Until someone merges the BSOD-for-Linux patch, I'll continue to
> assume that oopsing is the wrong response to "user" mistakes. ;)
>
> Legacy drivers can be such a PITA.
Unfortunately, the userland shipped with OpenSUSE refuses to talk to the new
one (or I don't know how to make it do that).
> > > What I see is a should-not-happen fault of some kind in a cleanup
> > > path that's been tested with non-PNP rtc drivers. A quick glance
> > > at the code left me puzzled. Would sleeping a second or two before
> > > calling rtc_device_unregister() change that behavior?
> >
> > [tries]
> >
> > No.
>
> Shoot. OK, I'll see if I can reproduce it myself. Is this system
> using a generic CMOS RTC? Or is HPET somehow involved? (That old
> RTC driver has HPET voodoo as well as normal RTC stuff.)
How can I check that?
Rafael
On Thursday 22 February 2007 12:33 am, Rafael J. Wysocki wrote:
> Unfortunately, the userland shipped with OpenSUSE refuses to talk to the new
> one (or I don't know how to make it do that).
Did your "udev" create a /dev/rtc0? If not, /sys/class/rtc-dev/rtc0/dev
will give the right major/minor numbers.
Given a /dev/rtc0, there are two simple solutions:
(a) ln -s /dev/rtc0 /dev/rtc
(b) upgrade your "hwclock" to one supporting "hwclock --file /dev/rtc0",
since that should also try rtc0 when rtc can't be opened.
I found a udev incantation "git whatchanged drivers/rtc/rtc-dev.c",
which can automate (a):
KERNEL=="rtc0", SYMLINK+="rtc"
I'm not sure what the story is on hwclock updates, given the issue
with "util-linux" maintainership. I sent a patch on 7-Aug-2006 to
Adrian Bunk, which appears to have been disregarded, then to Karel
Zak (for the new fork?) on 17-Nov-2006 ... but if there's been an
announcement about a new util-linux repository with that patch,
I missed it. The busybox patch I submitted 26-Jan-2007 hasn't
yet been merged, but that's a lot more understandable.
Basically it looks like userspace is almost a year behind the kernel
support for this RTC framework. The problematic part is that it
seems that the "util-linux" maintainership issues are preventing
that issue from getting resolved ... so for now, I usually use
workaround (a).
> > Shoot. OK, I'll see if I can reproduce it myself. Is this system
> > using a generic CMOS RTC? Or is HPET somehow involved? (That old
> > RTC driver has HPET voodoo as well as normal RTC stuff.)
>
> How can I check that?
If your boot messages say things about HPET, that's a start. :)
I don't really know HPET; it hasn't ever come up on any system
that I've used. ISTR that for various reasons BIOS would hide
it on most systems, but that Linux has been working on un-hiding
that hardware so it could be used. I'll read up on it. (As I
implied, the source code comments leave a lot to be desired.)
- Dave
> > > > rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
> > > > Unable to handle kernel NULL pointer dereference at 0000000000000030 RIP:
> > > > [<ffffffff804032c3>] rtc_sysfs_remove_device+0x23/0x50
The bug isn't in rtc_cmos, but that's the only driver that would currently
show the bug. (Triggered by finding the IRQ claimed by the legacy driver,
result of a "but it should still be safe!" misconfiguration.)
The following fixes this on my 2.6.21-rc1 system; same fix should apply
to MM2.
===================== CUT HERE
Fix an oops on the rtc_device_unregister() path by waiting until the
last moment before nulling the rtc->ops vector. Fix some potential
oopses by having the rtc_class_open()/rtc_class_close() interface
increase the RTC's reference count while an RTC handle is available
outside the RTC framework.
Signed-off-by: David Brownell <[email protected]>
Index: g26/drivers/rtc/class.c
===================================================================
--- g26.orig/drivers/rtc/class.c 2007-02-21 12:03:20.000000000 -0800
+++ g26/drivers/rtc/class.c 2007-02-23 08:00:52.000000000 -0800
@@ -204,10 +204,16 @@ EXPORT_SYMBOL_GPL(rtc_device_register);
*/
void rtc_device_unregister(struct rtc_device *rtc)
{
- mutex_lock(&rtc->ops_lock);
- rtc->ops = NULL;
- mutex_unlock(&rtc->ops_lock);
- class_device_unregister(&rtc->class_dev);
+ if (class_device_get(&rtc->class_dev) != NULL) {
+ mutex_lock(&rtc->ops_lock);
+ /* remove innards of this RTC, then disable it, before
+ * letting any rtc_class_open() users access it again
+ */
+ class_device_unregister(&rtc->class_dev);
+ rtc->ops = NULL;
+ mutex_unlock(&rtc->ops_lock);
+ class_device_put(&rtc->class_dev);
+ }
}
EXPORT_SYMBOL_GPL(rtc_device_unregister);
Index: g26/drivers/rtc/interface.c
===================================================================
--- g26.orig/drivers/rtc/interface.c 2006-11-27 15:37:13.000000000 -0800
+++ g26/drivers/rtc/interface.c 2007-02-23 07:45:09.000000000 -0800
@@ -179,7 +179,7 @@ struct class_device *rtc_class_open(char
down(&rtc_class->sem);
list_for_each_entry(class_dev_tmp, &rtc_class->children, node) {
if (strncmp(class_dev_tmp->class_id, name, BUS_ID_SIZE) == 0) {
- class_dev = class_dev_tmp;
+ class_dev = class_device_get(class_dev_tmp);
break;
}
}
@@ -197,6 +197,7 @@ EXPORT_SYMBOL_GPL(rtc_class_open);
void rtc_class_close(struct class_device *class_dev)
{
module_put(to_rtc_device(class_dev)->owner);
+ class_device_put(class_dev);
}
EXPORT_SYMBOL_GPL(rtc_class_close);
Hi Andrew, all,
I appear to need the following fix to be able to build 2.6.20-mm2 on
x86_64. Without the fix, my build attempt dies on:
In file included from drivers/pci/quirks.c:532:
include/asm/io_apic.h:61: error: "MAX_IO_APICS" undeclared here (not in a function)
Not sure how nobody else was bitten by this one yet... i386 seems to
need the same so I've fixed it as well.
Signed-off-by: Jean Delvare <[email protected]>
---
include/asm-i386/io_apic.h | 1 +
include/asm-x86_64/io_apic.h | 1 +
2 files changed, 2 insertions(+)
--- linux-2.6.20.orig/include/asm-i386/io_apic.h 2007-02-25 13:01:40.000000000 +0100
+++ linux-2.6.20/include/asm-i386/io_apic.h 2007-02-25 14:01:33.000000000 +0100
@@ -3,6 +3,7 @@
#include <asm/types.h>
#include <asm/mpspec.h>
+#include <asm/apicdef.h>
/*
* Intel IO-APIC support for SMP and UP systems.
--- linux-2.6.20.orig/include/asm-x86_64/io_apic.h 2007-02-25 13:01:43.000000000 +0100
+++ linux-2.6.20/include/asm-x86_64/io_apic.h 2007-02-25 13:54:31.000000000 +0100
@@ -3,6 +3,7 @@
#include <asm/types.h>
#include <asm/mpspec.h>
+#include <asm/apicdef.h>
/*
* Intel IO-APIC support for SMP and UP systems.
--
Jean Delvare
CONFIG_LGUEST=y, CONFIG_NET=n results in the following compile error:
<-- snip -->
...
LD .tmp_vmlinux1
drivers/built-in.o: In function `lguestnet_close':
lguest_net.c:(.text+0x3b8de): undefined reference to `kfree_skb'
drivers/built-in.o: In function `fill_slot':
lguest_net.c:(.text+0x3ba08): undefined reference to `__alloc_skb'
drivers/built-in.o: In function `lguestnet_open':
lguest_net.c:(.text+0x3bada): undefined reference to `kfree_skb'
drivers/built-in.o: In function `lguestnet_start_xmit':
lguest_net.c:(.text+0x3bc03): undefined reference to `kfree_skb'
drivers/built-in.o: In function `lguestnet_rcv':
lguest_net.c:(.text+0x3bc61): undefined reference to `kfree_skb'
lguest_net.c:(.text+0x3bc6c): undefined reference to `skb_put'
lguest_net.c:(.text+0x3bc76): undefined reference to `eth_type_trans'
lguest_net.c:(.text+0x3bc94): undefined reference to `netif_rx'
drivers/built-in.o: In function `lguestnet_probe':
lguest_net.c:(.text+0x3bcdb): undefined reference to `alloc_etherdev'
lguest_net.c:(.text+0x3bcea): undefined reference to `ether_setup'
lguest_net.c:(.text+0x3bdc1): undefined reference to `register_netdev'
lguest_net.c:(.text+0x3be10): undefined reference to `unregister_netdev'
lguest_net.c:(.text+0x3be17): undefined reference to `free_netdev'
make[1]: *** [.tmp_vmlinux1] Error 1
<-- snip -->
Signed-off-by: Adrian Bunk <[email protected]>
---
--- linux-2.6.20-mm2/arch/i386/Kconfig.old 2007-02-26 22:14:48.000000000 +0100
+++ linux-2.6.20-mm2/arch/i386/Kconfig 2007-02-26 22:15:51.000000000 +0100
@@ -258,7 +258,7 @@
config LGUEST
tristate "Linux hypervisor example code"
- depends on X86 && PARAVIRT && EXPERIMENTAL && !X86_PAE
+ depends on X86 && PARAVIRT && NET && EXPERIMENTAL && !X86_PAE
select LGUEST_GUEST
select HVC_DRIVER
---help---
On Mon, 2007-02-26 at 23:23 +0100, Adrian Bunk wrote:
> CONFIG_LGUEST=y, CONFIG_NET=n results in the following compile error:
>
> <-- snip -->
>
> ...
> LD .tmp_vmlinux1
> drivers/built-in.o: In function `lguestnet_close':
> lguest_net.c:(.text+0x3b8de): undefined reference to `kfree_skb'
> drivers/built-in.o: In function `fill_slot':
> lguest_net.c:(.text+0x3ba08): undefined reference to `__alloc_skb'
> drivers/built-in.o: In function `lguestnet_open':
> lguest_net.c:(.text+0x3bada): undefined reference to `kfree_skb'
> drivers/built-in.o: In function `lguestnet_start_xmit':
> lguest_net.c:(.text+0x3bc03): undefined reference to `kfree_skb'
> drivers/built-in.o: In function `lguestnet_rcv':
> lguest_net.c:(.text+0x3bc61): undefined reference to `kfree_skb'
> lguest_net.c:(.text+0x3bc6c): undefined reference to `skb_put'
> lguest_net.c:(.text+0x3bc76): undefined reference to `eth_type_trans'
> lguest_net.c:(.text+0x3bc94): undefined reference to `netif_rx'
> drivers/built-in.o: In function `lguestnet_probe':
> lguest_net.c:(.text+0x3bcdb): undefined reference to `alloc_etherdev'
> lguest_net.c:(.text+0x3bcea): undefined reference to `ether_setup'
> lguest_net.c:(.text+0x3bdc1): undefined reference to `register_netdev'
> lguest_net.c:(.text+0x3be10): undefined reference to `unregister_netdev'
> lguest_net.c:(.text+0x3be17): undefined reference to `free_netdev'
> make[1]: *** [.tmp_vmlinux1] Error 1
>
> <-- snip -->
>
> Signed-off-by: Adrian Bunk <[email protected]>
Thanks Adrian, good catch!
Rusty.
> On Sun, 25 Feb 2007 14:15:30 +0100 Jean Delvare <[email protected]> wrote:
> Hi Andrew, all,
>
> I appear to need the following fix to be able to build 2.6.20-mm2 on
> x86_64. Without the fix, my build attempt dies on:
>
> In file included from drivers/pci/quirks.c:532:
> include/asm/io_apic.h:61: error: "MAX_IO_APICS" undeclared here (not in a function)
>
> Not sure how nobody else was bitten by this one yet... i386 seems to
> need the same so I've fixed it as well.
>
> Signed-off-by: Jean Delvare <[email protected]>
> ---
> include/asm-i386/io_apic.h | 1 +
> include/asm-x86_64/io_apic.h | 1 +
> 2 files changed, 2 insertions(+)
>
> --- linux-2.6.20.orig/include/asm-i386/io_apic.h 2007-02-25 13:01:40.000000000 +0100
> +++ linux-2.6.20/include/asm-i386/io_apic.h 2007-02-25 14:01:33.000000000 +0100
> @@ -3,6 +3,7 @@
>
> #include <asm/types.h>
> #include <asm/mpspec.h>
> +#include <asm/apicdef.h>
>
> /*
> * Intel IO-APIC support for SMP and UP systems.
> --- linux-2.6.20.orig/include/asm-x86_64/io_apic.h 2007-02-25 13:01:43.000000000 +0100
> +++ linux-2.6.20/include/asm-x86_64/io_apic.h 2007-02-25 13:54:31.000000000 +0100
> @@ -3,6 +3,7 @@
>
> #include <asm/types.h>
> #include <asm/mpspec.h>
> +#include <asm/apicdef.h>
>
> /*
> * Intel IO-APIC support for SMP and UP systems.
>
erk.
My problem is that I need to work out which patch in -mm broke the build so
that I can insert this patch in the appropriate position.
Can you please send the offending .config so I can do that?
Thanks.
Hi Andrew,
On Tue, 27 Feb 2007 12:25:51 -0800, Andrew Morton wrote:
> > On Sun, 25 Feb 2007 14:15:30 +0100 Jean Delvare <[email protected]> wrote:
> > Hi Andrew, all,
> >
> > I appear to need the following fix to be able to build 2.6.20-mm2 on
> > x86_64. Without the fix, my build attempt dies on:
> >
> > In file included from drivers/pci/quirks.c:532:
> > include/asm/io_apic.h:61: error: "MAX_IO_APICS" undeclared here (not in a function)
> >
> > Not sure how nobody else was bitten by this one yet... i386 seems to
> > need the same so I've fixed it as well.
> >
> > Signed-off-by: Jean Delvare <[email protected]>
> > ---
> > include/asm-i386/io_apic.h | 1 +
> > include/asm-x86_64/io_apic.h | 1 +
> > 2 files changed, 2 insertions(+)
> >
> > --- linux-2.6.20.orig/include/asm-i386/io_apic.h 2007-02-25 13:01:40.000000000 +0100
> > +++ linux-2.6.20/include/asm-i386/io_apic.h 2007-02-25 14:01:33.000000000 +0100
> > @@ -3,6 +3,7 @@
> >
> > #include <asm/types.h>
> > #include <asm/mpspec.h>
> > +#include <asm/apicdef.h>
> >
> > /*
> > * Intel IO-APIC support for SMP and UP systems.
> > --- linux-2.6.20.orig/include/asm-x86_64/io_apic.h 2007-02-25 13:01:43.000000000 +0100
> > +++ linux-2.6.20/include/asm-x86_64/io_apic.h 2007-02-25 13:54:31.000000000 +0100
> > @@ -3,6 +3,7 @@
> >
> > #include <asm/types.h>
> > #include <asm/mpspec.h>
> > +#include <asm/apicdef.h>
> >
> > /*
> > * Intel IO-APIC support for SMP and UP systems.
> >
>
> erk.
>
> My problem is that I need to work out which patch in -mm broke the build so
> that I can insert this patch in the appropriate position.
>
> Can you please send the offending .config so I can do that?
I've bisected myself 2.6.20-mm2 instead. And the winners are:
x86_64-mm-adjust-inclusion-of-asm-fixmap_h.patch
x86_64-mm-adjust-inclusion-of-asm-vsyscall32_h.patch
The former breaks the compilation in a different way. The latter fixes
it but causes the breakage I reported originally.
Does it really matter anyway? Even in mainline,
include/asm-x86_64/io_apic.h uses MAX_IO_APICS, so it should include
the header file which defines it, that is <asm/apicdef.h>. It doesn't,
that's a bug, let's just fix it. Same for i386. So what about pushing
my patch to Linus right away?
Thanks,
--
Jean Delvare