2006-09-08 08:13:24

by Andrew Morton

[permalink] [raw]
Subject: 2.6.18-rc6-mm1


ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/

- autofs4 mounting of NFS is still sick.



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 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.

- Semi-daily 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.


origin.patch
git-acpi.patch
git-alsa.patch
git-agpgart.patch
git-arm.patch
git-block.patch
git-cifs.patch
git-cpufreq.patch
git-drm.patch
git-dvb.patch
git-geode.patch
git-gfs2.patch
git-ia64.patch
git-ieee1394.patch
git-infiniband.patch
git-input.patch
git-intelfb.patch
git-kbuild.patch
git-libata-all.patch
git-lxdialog.patch
git-mmc.patch
git-mtd.patch
git-netdev-all.patch
git-net.patch
git-nfs.patch
git-ocfs2.patch
git-parisc.patch
git-pcmcia.patch
git-powerpc.patch
git-r8169.patch
git-s390.patch
git-scsi-misc.patch
git-scsi-rc-fixes.patch
git-scsi-target.patch
git-watchdog.patch
git-xfs.patch

git trees

-zvc-overstep-counters.patch
-zvc-scale-thresholds-depending-on-the-size-of-the-system.patch
-md-fix-issues-with-referencing-rdev-in-md-raid1.patch
-synclink_gt-fix-receive-tty-error-handling.patch
-fix-faulty-hpet-clocksource-usage-fix-for-bug-7062.patch
-task-delay-accounting-fixes.patch
-xtensa-ptrace-exit_zombie-fix.patch
-x86-increase-max_mp_busses-on-default-arch.patch
-exit-early-in-floppy_init-when-no-floppy-exists.patch
-sbc8360-module_param-permission-fixes.patch
-kerneldoc-for-handle_bad_irq.patch
-ipmi-fix-occasional-oops-on-module-unload.patch
-schedule-obsolete-oss-drivers-for-removal-2nd-round.patch
-md-work-around-mempool_alloc-bio_alloc_bioset-deadlocks.patch
-powerpc-more-via-pmu-backlight-fixes.patch
-powerpc-fix-powermac-irq-handling-bug.patch
-alsa-ac97-correct-some-mic-mixer-elements.patch
-sgiioc4-fixup-use-of-mmio-ops.patch
-fix-numa-interleaving-for-huge-pages.patch
-manage-jbd-its-own-slab-fix.patch
-backlight-last-round-of-fixes.patch
-scsi-improve-endian-handling-in-lsi-fusion-firmware-mpt_downloadboot.patch
-agph-constify-struct-agp_bridge_dataversion.patch
-ks0127-wire-up-i2c_add_driver-return-value.patch
-amso1100-build-fix.patch
-forcedeth-decouple-vlan-and-rx-checksum-dependency.patch
-gregkh-usb-samsung-unusual-floppy.patch
-gregkh-usb-hid-core.c-adds-all-gtco-calcomp-digitizers-and-interwrite-school-products-to-blacklist.patch
-gregkh-usb-usb-gadget-g_ether-spinlock-recursion-fix.patch
-gregkh-usb-uhci-don-t-stop-at-an-iso-error.patch
-gregkh-usb-usb-storage-remove-the-finecam3-unusual_devs-entry.patch
-gregkh-usb-usb-storage-unusual_devs.h-for-sony-ericsson-m600i.patch
-gregkh-usb-usb-rtl8150_disconnect-needs-tasklet_kill.patch
-gregkh-usb-usb-support-for-elecom-ld-usb20-in-pegasus.patch
-gregkh-usb-uhci-hcd-fix-list-access-bug.patch
-gregkh-usb-usb-add-all-wacom-device-to-hid-core.c-blacklist.patch
-gregkh-usb-adutux-fix-printk-format-warnings.patch
-kthread-airoc.patch
-x86_64-mm-x86-nmi-fix.patch
-x86_64-mm-x86-nmi-fix-2.patch
-x86_64-mm-rwlock-cleanup.patch
-x86_64-mm-cleanup-spinlock.patch
-x86_64-mm-i386-early-exception.patch
-x86_64-mm-rwlock-cleanup-fix.patch
-x86_64-mm-remove-e820-fallback-fix.patch
-mm-x86_64-mm-generic-getcpu-syscall-tweaks.patch
-hot-add-mem-x86_64-acpi-motherboard-fix.patch
-x86-allow-a-kernel-to-not-be-in-ring-0.patch
-x86-allow-a-kernel-to-not-be-in-ring-0-tidy.patch
-x86-replace-sensitive-instructions-with-macros.patch
-x86-use-asm-offsets-for-offsets-into-struct-pt_regs.patch
-pm-add-sys-power-documentation-to-documentation-abi.patch
-device_suspend-resume-may-sleep.patch
-remove-open_max-check-from-poll-syscall.patch
-ide-hpa-resume-fix.patch

Merged into mainline or a subsystem tree.

+use-the-correct-restart-option-for-futex_lock_pi.patch
+optical-proc-ide-media.patch
+sh-fix-fpn_start-typo.patch
+sis5513-add-sis-south-bridge-id-0x966.patch
+ext3_getblk-should-handle-hole-correctly.patch
+invalidate_complete_page-race-fix.patch
+nfs-large-non-page-aligned-direct-i-o-clobbers-memory.patch

2.6.18 queue.

+acpi-check-if-parent-is-on-dock.patch
+acpi-add-removable-drive-bay-support.patch

ACPI

+gregkh-driver-pm-update-docs-for-writing-...-power-state.patch
+gregkh-driver-pm-add-kconfig-option-for-deprecated-...-power-state-files.patch
+gregkh-driver-pm-schedule-sys-devices-...-power-state-for-removal.patch
+gregkh-driver-pm-no-suspend_prepare-phase.patch
+gregkh-driver-pm-add-sys-power-documentation-to-documentation-abi.patch
+gregkh-driver-pm-device_suspend-resume-may-sleep.patch
+gregkh-driver-pm-platform_bus-and-late_suspend-early_resume.patch
-gregkh-driver-iio.patch
+gregkh-driver-uio.patch

Driver tree updates

+gregkh-i2c-i2c-dev-attach-detach-adapter-cleanups.patch
+gregkh-i2c-i2c-chips-__must_check-fixes.patch
+gregkh-i2c-i2c-isa-return-attach_adapter.patch
+gregkh-i2c-i2c-algo-bit-cleanups.patch
+gregkh-i2c-i2c-algo-pcf-kill-mdelay.patch
+gregkh-i2c-i2c-drop-useless-masking.patch
+gregkh-i2c-i2c-warn-on-failed-client-attach.patch
+gregkh-i2c-i2c-viapro-add-VT8251-VT8237A.patch
+gregkh-i2c-i2c-isa-restore-driver-owner.patch
+gregkh-i2c-i2c-constify-i2c_algorithm.patch
+gregkh-i2c-i2c-algos-constify-i2c_algorithm.patch
+gregkh-i2c-i2c-busses-constify-i2c_algorithm.patch
+gregkh-i2c-i2c-drop-slave-functions.patch

I2C tree updates

-ieee1394-sbp2-workaround-for-write-protect-bit-of.patch
+ieee1394-nodemgr-fix-rwsem-recursion.patch
+ieee1394-nodemgr-grab-classsubsysrwsem-in.patch
+ieee1394-sbp2-dont-prefer-mode-sense-10.patch
+ieee1394-ohci1394-fix-endianess-bug-in-debug-message.patch
+ieee1394-ohci1394-more-obvious-endianess-handling.patch

ieee1394 tree updates

-drivers-input-misc-wistron_btnsc-fix-section-mismatch.patch

Dropped

+input-i8042-disable-keyboard-port-when-panicking-and-blinking.patch
+i8042-activate-panic-blink-only-in-x.patch

input updates

+fail-kernel-compilation-in-case-of-unresolved-symbols-v2.patch

kbuild update

+libata-ignore-cfa-signature-while-sanity-checking-an-atapi-device.patch
+kerneldoc-error-on-ata_piixc.patch
+libata-add-40pin-short-cable-support-honour-drive-fix.patch
+2-of-2-jmicron-driver-plumbing-and-quirk-cleanup.patch

sata/pata updates

+fix-possible-null-ptr-deref-in-forcedeth.patch

netdev fix

-gregkh-pci-msi-01-merge_msi_disabling_quirks.patch
-gregkh-pci-msi-02-factorize_pci_msi_supported.patch
-gregkh-pci-msi-03-add_pci_device_exp_type.patch
-gregkh-pci-msi-04-use_root_chipset_dev_no_msi_instead_of_pci_bus_flags.patch
-gregkh-pci-msi-05-add_no_msi_to_sysfs.patch
-gregkh-pci-msi-06-rename_pci_cap_id_ht_irqconf.patch
-gregkh-pci-msi-07-check_hypertransport_msi_capabilities.patch
-gregkh-pci-msi-08-drop_pci_msi_quirk.patch
-gregkh-pci-msi-09-drop_pci_bus_flags.patch
+gregkh-pci-msi-cleanup-existing-msi-quirks.patch
+gregkh-pci-msi-factorize-common-code-in-pci_msi_supported.patch
+gregkh-pci-msi-export-the-pci_bus_flags_no_msi-flag-in-sysfs.patch
+gregkh-pci-msi-blacklist-pci-e-chipsets-depending-on-hypertransport-msi-capability.patch
+gregkh-pci-pci-hotplug-cleanup-pcihp-skeleton-code.patch

PCI tree updates

+fix-gregkh-pci-msi-blacklist-pci-e-chipsets-depending-on-hypertransport-msi-capability.patch

Fix it

-pci-quirk_via_irq-behaviour-change.patch
+via-irq-quirk-behaviour-change.patch

Updated

+git-scsi-misc-nlmsg_multicast-fix.patch

SCSI fixes

+gregkh-usb-usb-hid-core.c-fix-duplicate-usb_device_id_gtco_404.patch
+gregkh-usb-usb-support-for-usb20svga-wh-usb20svga-dg.patch
+gregkh-usb-usb-new-device-id-for-ftdi_sio-usb-serial-driver.patch
+gregkh-usb-usb-usbtouchscreen-fix-itm-data-reading.patch
+gregkh-usb-usb-phidgets-should-check-create_device_file-return-value.patch
+gregkh-usb-usb-remove-struct-usb_operations.patch
+gregkh-usb-usbcore-add-flag-for-whether-a-host-controller-uses-dma.patch
+gregkh-usb-usbcore-trim-down-usb_bus-structure.patch
+gregkh-usb-usbmon-don-t-call-mon_dmapeek-if-dma-isn-t-being-used.patch
+gregkh-usb-usb-ethernet-gadget-avoids-zlps-for-musb_hdrc.patch
+gregkh-usb-usb-ehci-whitespace-fixes.patch
+gregkh-usb-gadgetfs-patch-for-ep0out.patch
+gregkh-usb-usb-replace-kernel_thread-with-kthread_run-in-libusual.c.patch
+gregkh-usb-usb-usb-serial-gadget-smp-related-bug.patch
+gregkh-usb-usb-net2280-update-dma-buffer-allocation.patch
+gregkh-usb-usb-ohci-at91-two-one-liners.patch
+gregkh-usb-usb-usb-input-usbmouse.c-whitespace-cleanup.patch
+gregkh-usb-usb-introduce-usb_reenumerate_device.patch
+gregkh-usb-usbcore-store-each-usb_device-s-level-in-the-tree.patch
+gregkh-usb-usbcore-add-autosuspend-autoresume-infrastructure.patch
+gregkh-usb-usbcore-non-hub-specific-uses-of-autosuspend.patch
+gregkh-usb-usbcore-remove-usb_suspend_root_hub.patch
+gregkh-usb-usb-moschip-7840-usb-serial-driver.patch

USB tree updates

+fix-gregkh-usb-usbcore-add-autosuspend-autoresume-infrastructure.patch

Fix it.

+usb-storage-unusual_devsh-entry-for-sony.patch

USB fix

-git-supertrak.patch
-git-supertrak-fixup.patch
-stex-adjust-command-timeout-in-slave_config-routine.patch
-stex-use-more-efficient-method-for-unload-shutdown-flush.patch

git-supertrak was moved into the scsi tree

+x86_64-mm-defconfig-update.patch
+x86_64-mm-x86-nmi-watchdog-suspend.patch
+x86_64-mm-rwlock-to-asm.patch
+x86_64-mm-i386-remove-const-rwlock.patch
+x86_64-mm-spinlock-cleanup.patch
+x86_64-mm-i386-spinlock-cleanup.patch
+x86_64-mm-stacktrace-terminate.patch
+x86_64-mm-i386-stacktrace-terminate.patch
+x86_64-mm-i386-backtrace-ebp-fallback.patch
+x86_64-mm-stack-protector-annotate-the-pda-offsets.patch
+x86_64-mm-stack-protector-add-the-kconfig-option.patch
+x86_64-mm-stack-protector-add-canary.patch
+x86_64-mm-stack-protector-add_stack_chk_fail.patch
+x86_64-mm-stack-protector-cflags.patch
+x86_64-mm-fix-irqcount-comment.patch
+x86_64-mm-pda-use-c-output-modifier.patch
+x86_64-mm-type-checking-for-write_pda.patch
+x86_64-mm-fix-pda-warning.patch
+x86_64-mm-i386-replace-sensitive-instructions.patch
+x86_64-mm-i386-allow-a-kernel-to-not-be-in-ring0.patch
+x86_64-mm-i386-pda-asm-offsets.patch
+x86_64-mm-i386-pda-basics.patch
+x86_64-mm-i386-pda-init-pda.patch
+x86_64-mm-i386-pda-use-gs.patch
+x86_64-mm-i386-pda-user-abi.patch
+x86_64-mm-i386-pda-vm86.patch
+x86_64-mm-i386-pda-smp-processorid.patch
+x86_64-mm-i386-pda-current.patch
+x86_64-mm-i386-early-fault.patch
+x86_64-mm-insert-ioapics-and-local-apic-into-resource-map.patch
+x86_64-mm-acpi-add-hpet-into-resource-map.patch
+x86_64-mm-copy-user-nocache.patch
+x86_64-mm-copy-user-zeroing.patch
+x86_64-mm-copy-user-mustcheck.patch
+x86_64-mm-copy-user-style.patch
+x86_64-mm-pda-style.patch
+x86_64-mm-remove-mmx.patch
+x86_64-mm-init-per-cpu-data-again.patch
+x86_64-mm-core-2-oprofile-identification.patch
+x86_64-mm-i386-kexec-not-experimental.patch
+x86_64-mm-kexec-not-experimental.patch

x86_64 tree updates

+fix-x86_64-mm-i386-backtrace-ebp-fallback.patch
+fix-x86_64-mm-i386-pda-smp-processorid.patch
+fix-x86_64-mm-spinlock-cleanup.patch

fix bugs in it.

-git-cryptodev.patch
-git-cryptodev-fixup.patch
-git-cryptodev-fixup-2.patch
-git-cryptodev-broke-geode-aes.patch

git-cryptodev is suffering a reject storm.

+mm-tracking-shared-dirty-pages-nommu-fix-2.patch

Fix mm-tracking-shared-dirty-pages.patch

+account-for-memmap-and-optionally-the-kernel-image-as-holes-fix.patch
+account-for-holes-that-are-outside-the-range-of-physical-memory.patch
+allow-an-arch-to-expand-node-boundaries.patch

Fix mm patches in -mm.

+hugepages-use-page_to_nid-rather-than-traversing-zone-pointers.patch
+numa-add-zone_to_nid-function.patch

More MM updates

+nommu-check-vma-protections.patch
+nommu-make-futexes-work-under-nommu-conditions.patch
+nommu-make-futexes-work-under-nommu-conditions-doc.patch
+nommu-move-the-fallback-arch_vma_name-to-a-sensible-place.patch

NOMMU updates

-split-i386-and-x86_64-ptraceh.patch
-uml-use-ptrace-abih-instead-of-ptraceh.patch

These broke.

+pm-make-it-possible-to-disable-console-suspending-fix-2.patch

Fix pm-make-it-possible-to-disable-console-suspending.patch

+x86-microcode-dont-check-the-size.patch

Fix x86-microcode-add-sysfs-and-hotplug-support.patch some more.

+fix-conflict-with-the-is_init-identifier-on-parisc.patch

Preparation for pidspace-is_init.patch

+lockdep-core-add-enable-disable_irq_irqsave-irqrestore-apis-frv-fix.patch

Fix lockdep-core-add-enable-disable_irq_irqsave-irqrestore-apis.patch

+oom-dont-kill-current-when-another-oom-in-progress.patch

Fix oom_kill_task-cleanup-mm-checks.patch

+cpuset-top_cpuset-tracks-hotplug-changes-to-node_online_map-fix-2.patch

Fix cpuset-top_cpuset-tracks-hotplug-changes-to-node_online_map.patch some
more.

+enforce-rlimit_nofile-in-poll.patch
+generic-infrastructure-for-acls.patch
+generic-infrastructure-for-acls-update.patch
+access-control-lists-for-tmpfs.patch
+access-control-lists-for-tmpfs-cleanup.patch
+ext3-wrong-error-behavior.patch
+stop_machinec-copyright.patch
+build-sound-sound_firmwarec-only-for-oss.patch
+build-sound-sound_firmwarec-only-for-oss-doc.patch
+rtc-more-xstp-vdet-support-for-rtc-rs5c348-driver.patch
+generic_serial-remove-private-decoding-of-baud-rate-bits.patch
+istallion-remove-private-baud-rate-decoding-which-is.patch
+specialix-remove-private-speed-decoding.patch
+fix-locking-for-tty-drivers-when-doing-urgent-characters.patch
+audit-accounting-tty-locking.patch
+documentation-submittingdrivers-minor-update.patch
+clean-up-expand_fdtable-and-expand_files-take-2.patch
+expand_fdtable-remove-pointless-unlocklock.patch
+kcore-elf-note-namesz-field-fix.patch
+lockdep-core-improve-the-lock-chain-hash.patch
+linux-kernel-dump-test-module.patch

Misc.

-kill-wall_jiffies-fix.patch
-mips-moved-to-generic_time.patch

Folded into kill-wall_jiffies.patch

+generic-ioremap_page_range-implementation-fix.patch
+generic-ioremap_page_range-implementation-nommu-fix.patch

Fix generic-ioremap_page_range-implementation.patch

+proc-readdir-race-fix-take-3.patch
+proc-readdir-race-fix-take-3-race-fix.patch
+proc-readdir-race-fix-take-3-fix-1.patch
+proc-readdir-race-fix-take-3-fix-2.patch

Fix /proc reading races.

+kprobes-handle-symbol-resolution-when-modulesymbol-is-specified.patch
+kprobes-handle-symbol-resolution-when-modulesymbol-is-specified-tidy.patch

kprobes updates

+knfsd-lockd-introduce-nsm_handle-fix.patch

Fix knfsd-lockd-introduce-nsm_handle.patch

+knfsd-lockd-introduce-nsm_handle-sem2mutex.patch
+knfsd-svcrpc-gss-factor-out-some-common-wrapping-code.patch
+knfsd-svcrpc-gss-fix-failure-on-svc_denied-in-integrity-case.patch
+knfsd-svcrpc-use-consistent-variable-name-for-the-reply-state.patch
+knfsd-nfsd4-refactor-exp_pseudoroot.patch
+knfsd-nfsd4-clean-up-exp_pseudoroot.patch
+knfsd-nfsd4-acls-relax-the-nfsv4-posix-mapping.patch
+knfsd-nfsd4-acls-fix-inheritance.patch
+knfsd-nfsd4-acls-simplify-nfs4_acl_nfsv4_to_posix-interface.patch
+knfsd-nfsd4-acls-fix-handling-of-zero-length-acls.patch

nfsd updates

+sched-fixing-wrong-comment-for-find_idlest_cpu.patch

sched comment fix

+numa-add-zone_to_nid-function-swap_prefetch.patch

Fix swap-prefetch for other patches in -mm.

+ecryptfs-inode-numbering-fixes.patch

ecryptfs update

+namespaces-incorporate-fs-namespace-into-nsproxy-whitespace.patch

Clean up namespaces-incorporate-fs-namespace-into-nsproxy.patch

+rename-the-provided-execve-functions-to-kernel_execve-fixes.patch

Fix rename-the-provided-execve-functions-to-kernel_execve.patch

+provide-kernel_execve-on-all-architectures-fix-2.patch
+provide-kernel_execve-on-all-architectures-fix-3.patch
+provide-kernel_execve-on-all-architectures-m68knommu-fix.patch
+avr32-implement-kernel_execve.patch

Fix provide-kernel_execve-on-all-architectures.patch some more.


+proc-make-the-generation-of-the-self-symlink-table-driven.patch
+proc-factor-out-an-instantiate-method-from-every-lookup-method.patch
+proc-remove-the-hard-coded-inode-numbers.patch
+proc-merge-proc_tid_attr-and-proc_tgid_attr.patch
+proc-use-pid_task-instead-of-open-coding-it.patch

/proc cleanups

+reiser4-possible-cleanups-2.patch

reiser4 fix

+ide-fix-crash-on-repeated-reset.patch

IDE fix

+pci_module_init-convertion-in-ata_genericc.patch
+pci_module_init-convertion-in-ata_genericc-fix.patch
+pci_module_init-convertion-in-amso1100-driver.patch
+pci_module_init-convertion-for-k8_edacc.patch
+pci_module_init-convertion-in-the-legacy-megaraid-driver.patch
+nozomi-pci_module_init-conversion.patch
+pci_module_init-convertion-in-olympicc.patch
+pci_module_init-conversion-for-pata_pdc2027x.patch
+pci_module_init-convertion-in-tmscsimc.patch
+mark-pci_module_init-deprecated.patch

PCI cleanups




All 1835 patches:

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



2006-09-08 10:08:10

by Frederik Deweerdt

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

On Fri, Sep 08, 2006 at 01:13:17AM -0700, Andrew Morton wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
>
Hi,

2.6.18-rc6-mm1 fails to build on x86 with !CONFIG_SMP with the following
message:
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
CC arch/i386/kernel/cpu/common.o
arch/i386/kernel/cpu/common.c: In function `init_gdt':
arch/i386/kernel/cpu/common.c:667: warning: implicit declaration of function `early_smp_processor_id'
LD arch/i386/kernel/cpu/built-in.o
LD arch/i386/kernel/built-in.o
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
arch/i386/kernel/built-in.o: In function `init_gdt':
arch/i386/kernel/cpu/common.c:667: undefined reference to `early_smp_processor_id'
arch/i386/kernel/built-in.o: In function `cpu_init':
arch/i386/kernel/cpu/common.c:737: undefined reference to `early_smp_processor_id'
make: *** [.tmp_vmlinux1] Error 1

We need to include <asm/smp.h> to define early_smp_processor_id().

Regards,
Frederik


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

--- arch/i386/kernel/cpu/common.c~ 2006-09-08 11:57:09.000000000 +0200
+++ arch/i386/kernel/cpu/common.c 2006-09-08 11:57:24.000000000 +0200
@@ -13,6 +13,7 @@
#include <asm/mmu_context.h>
#include <asm/mtrr.h>
#include <asm/mce.h>
+#include <asm/smp.h>
#ifdef CONFIG_X86_LOCAL_APIC
#include <asm/mpspec.h>
#include <asm/apic.h>

2006-09-08 11:50:29

by Andy Whitcroft

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
>
> - autofs4 mounting of NFS is still sick.
>
>
>
> 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 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.
>
> - Semi-daily 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.
>
>
> origin.patch
> git-acpi.patch
> git-alsa.patch
> git-agpgart.patch
> git-arm.patch
> git-block.patch
> git-cifs.patch
> git-cpufreq.patch
> git-drm.patch
> git-dvb.patch
> git-geode.patch
> git-gfs2.patch
> git-ia64.patch
> git-ieee1394.patch
> git-infiniband.patch
> git-input.patch
> git-intelfb.patch
> git-kbuild.patch
> git-libata-all.patch
> git-lxdialog.patch
> git-mmc.patch
> git-mtd.patch
> git-netdev-all.patch
> git-net.patch
> git-nfs.patch
> git-ocfs2.patch
> git-parisc.patch
> git-pcmcia.patch
> git-powerpc.patch
> git-r8169.patch
> git-s390.patch
> git-scsi-misc.patch

Seems that -mm fails to compile when CONFIG_MODULES is set but
CONFIG_MODULE_UNLOAD is not.

LD .tmp_vmlinux1
drivers/built-in.o(.text+0x47724): In function `scsi_device_put':
drivers/scsi/scsi.c:887: undefined reference to `module_refcount'

Config fragment:
CONFIG_MODULES=y
# CONFIG_MODULE_UNLOAD is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set

This seems to be caused by changes in the scsi-misc git tree, from the
changes in the two commits below:

[SCSI] sd: fix cache flushing on module removal
(and individual device removal)
[SCSI] fix up non-modular SCSI

85b6c720b0931101c8bcc3a5abdc2b8514b0fb4b
f479ab87936563a286b8aa0e39003c40fa31c6da

It looks very much like module_refcount is really not meant to be an
external interface, cirtainly its not available in all module
'load/unload modes'.

-apw

2006-09-08 12:17:09

by Heiko Carstens

[permalink] [raw]
Subject: [patch -mm] s390: fix save_stack_trace

From: Heiko Carstens <[email protected]>

x86_64-mm-stacktrace-cleanup.patch reverses the logic in s390's
save_stack_trace incorrectly. Fix this.

Cc: Andi Kleen <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
From: Heiko Carstens <[email protected]>
---

arch/s390/kernel/stacktrace.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)

Index: linux-2.6.17/arch/s390/kernel/stacktrace.c
===================================================================
--- linux-2.6.17.orig/arch/s390/kernel/stacktrace.c 2006-09-08 13:44:44.000000000 +0200
+++ linux-2.6.17/arch/s390/kernel/stacktrace.c 2006-09-08 14:00:36.000000000 +0200
@@ -70,12 +70,12 @@
sp = save_context_stack(trace, &trace->skip, sp,
S390_lowcore.panic_stack - PAGE_SIZE,
S390_lowcore.panic_stack);
- if ((sp != orig_sp) && trace->all_contexts)
+ if ((sp != orig_sp) && !trace->all_contexts)
return;
sp = save_context_stack(trace, &trace->skip, sp,
S390_lowcore.async_stack - ASYNC_SIZE,
S390_lowcore.async_stack);
- if ((sp != orig_sp) && trace->all_contexts)
+ if ((sp != orig_sp) && !trace->all_contexts)
return;
if (task)
save_context_stack(trace, &trace->skip, sp,
@@ -85,5 +85,4 @@
save_context_stack(trace, &trace->skip, sp,
S390_lowcore.thread_info,
S390_lowcore.thread_info + THREAD_SIZE);
- return;
}

2006-09-08 12:24:14

by Heiko Carstens

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1 - x86_64-mm-lockdep-dont-force-framepointer.patch

x86_64-mm-lockdep-dont-force-framepointer.patch does this:

> Don't force frame pointers for lockdep
>
> Now that stacktrace supports dwarf2 don't force frame pointers for lockdep anymore
>
> Cc: [email protected]
> Signed-off-by: Andi Kleen <[email protected]>
>
> ---
> lib/Kconfig.debug | 1 -
> 1 files changed, 1 deletion(-)
>
> Index: linux/lib/Kconfig.debug
> ===================================================================
> --- linux.orig/lib/Kconfig.debug
> +++ linux/lib/Kconfig.debug
> @@ -218,7 +218,6 @@ config LOCKDEP
> bool
> depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT
> select STACKTRACE
> - select FRAME_POINTER

This patch affects all architecture. I'd like to keep the "select FRAME_POINTER"
for s390, since we don't support dwarf2.
So this patch should be dropped.

2006-09-08 14:25:10

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

On Friday, 8 September 2006 10:13, Andrew Morton wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/

ohci_hcd doesn't work after a resume from disk on HPC nx6325, worked on
2.6.18-rc5-mm1.

It helps if I rmmod and modprobe it after the resume.

Here's the relevant part of the dmesg output:

usb usb1: resuming
usbdev1.1_ep00: PM: resume from 0, parent usb1 still 1
hub 1-0:1.0: PM: resume from 0, parent usb1 still 1
hub 1-0:1.0: resuming
usbdev1.1: PM: resume from 0, parent usb1 still 1
usb usb2: resuming
usb usb2: root hub lost power or was reset
usbdev2.1_ep00: PM: resume from 0, parent usb2 still 1
hub 2-0:1.0: PM: resume from 0, parent usb2 still 1
hub 2-0:1.0: resuming
usbdev2.1: PM: resume from 0, parent usb2 still 1
usb usb3: resuming
usb usb3: root hub lost power or was reset
usbdev3.1_ep00: PM: resume from 0, parent usb3 still 1
hub 3-0:1.0: PM: resume from 0, parent usb3 still 1
hub 3-0:1.0: resuming
usbdev3.1: PM: resume from 0, parent usb3 still 1
usb 2-2: PM: resume from 1, parent usb2 still 1
usb 2-2: resuming
usbdev2.2_ep00: PM: resume from 0, parent 2-2 still 1
hci_usb 2-2:1.0: PM: resume from 1, parent 2-2 still 1
hci_usb 2-2:1.0: resuming
usbdev2.2_ep81: PM: resume from 0, parent 2-2:1.0 still 1
usbdev2.2_ep82: PM: resume from 0, parent 2-2:1.0 still 1
usbdev2.2_ep02: PM: resume from 0, parent 2-2:1.0 still 1
hci_usb 2-2:1.1: PM: resume from 1, parent 2-2 still 1
hci_usb 2-2:1.1: resuming
usb 2-2:1.2: PM: resume from 1, parent 2-2 still 1
usb 2-2:1.2: resuming
usbdev2.2_ep84: PM: resume from 0, parent 2-2:1.2 still 1
usbdev2.2_ep04: PM: resume from 0, parent 2-2:1.2 still 1
usb 2-2:1.3: PM: resume from 1, parent 2-2 still 1
usb 2-2:1.3: resuming
usbdev2.2: PM: resume from 0, parent 2-2 still 1
platform bluetooth: resuming
usb 3-1: PM: resume from 1, parent usb3 still 1
usb 3-1: resuming
usbdev3.2_ep00: PM: resume from 0, parent 3-1 still 1
usb 3-1:1.0: PM: resume from 1, parent 3-1 still 1
usb 3-1:1.0: resuming
usbdev3.2_ep81: PM: resume from 0, parent 3-1:1.0 still 1
usbdev3.2_ep02: PM: resume from 0, parent 3-1:1.0 still 1
usbdev3.2: PM: resume from 0, parent 3-1 still 1
usb 3-4: PM: resume from 1, parent usb3 still 1
usb 3-4: resuming
usbdev3.3_ep00: PM: resume from 0, parent 3-4 still 1
usbhid 3-4:1.0: PM: resume from 1, parent 3-4 still 1
usbhid 3-4:1.0: resuming
usbdev3.3_ep81: PM: resume from 0, parent 3-4:1.0 still 1
usbdev3.3: PM: resume from 0, parent 3-4 still 1
usbdev2.2_ep83: PM: resume from 0, parent 2-2:1.1 still 1
usbdev2.2_ep03: PM: resume from 0, parent 2-2:1.1 still 1
hci0: PM: resume from 0, parent 2-2:1.0 still 1

2006-09-08 17:45:28

by Stefan Richter

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
...
> +nommu-move-the-fallback-arch_vma_name-to-a-sensible-place.patch
...

I get

kernel/signal.c:2742: warning: weak declaration of
'arch_vma_name' after first use results in unspecified behavior

on X86_32, gcc 3.4.1-4mdk.

nommu-move-the-fallback-arch_vma_name-to-a-sensible-place.patch moves
arch_vma_name() into kernel/signal.c, near its end.

vdso-improve-print_fatal_signals-support-by-adding-memory-maps.patch
inserts a call to arch_vma_name() into kernel/signal.c, in the first
half of signal.c.
--
Stefan Richter
-=====-=-==- =--= -=---
http://arcgraph.de/sr/

2006-09-08 18:04:23

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

On Fri, 08 Sep 2006 19:43:19 +0200
Stefan Richter <[email protected]> wrote:

> Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
> ...
> > +nommu-move-the-fallback-arch_vma_name-to-a-sensible-place.patch
> ...
>
> I get
>
> kernel/signal.c:2742: warning: weak declaration of
> 'arch_vma_name' after first use results in unspecified behavior
>
> on X86_32, gcc 3.4.1-4mdk.
>
> nommu-move-the-fallback-arch_vma_name-to-a-sensible-place.patch moves
> arch_vma_name() into kernel/signal.c, near its end.
>
> vdso-improve-print_fatal_signals-support-by-adding-memory-maps.patch
> inserts a call to arch_vma_name() into kernel/signal.c, in the first
> half of signal.c.

Thanks. Does this fix it?

--- a/include/linux/mm.h~nommu-move-the-fallback-arch_vma_name-to-a-sensible-place-fix
+++ a/include/linux/mm.h
@@ -1266,7 +1266,7 @@ void drop_slab(void);
extern int randomize_va_space;
#endif

-const char *arch_vma_name(struct vm_area_struct *vma);
+__attribute__((weak)) const char *arch_vma_name(struct vm_area_struct *vma);

#endif /* __KERNEL__ */
#endif /* _LINUX_MM_H */
_

2006-09-08 18:37:46

by Stefan Richter

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

Andrew Morton wrote:
> On Fri, 08 Sep 2006 19:43:19 +0200
> Stefan Richter <[email protected]> wrote:
...
>> kernel/signal.c:2742: warning: weak declaration of
>> 'arch_vma_name' after first use results in unspecified behavior
...
> Thanks. Does this fix it?
>
> --- a/include/linux/mm.h~nommu-move-the-fallback-arch_vma_name-to-a-sensible-place-fix
> +++ a/include/linux/mm.h
> @@ -1266,7 +1266,7 @@ void drop_slab(void);
> extern int randomize_va_space;
> #endif
>
> -const char *arch_vma_name(struct vm_area_struct *vma);
> +__attribute__((weak)) const char *arch_vma_name(struct vm_area_struct *vma);
>
> #endif /* __KERNEL__ */
> #endif /* _LINUX_MM_H */

Yes. gcc approves.
--
Stefan Richter
-=====-=-==- =--= -=---
http://arcgraph.de/sr/

2006-09-08 19:22:29

by Michal Piotrowski

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

Hi,

Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
>
> - autofs4 mounting of NFS is still sick.

BUG: unable to handle kernel paging request at virtual address fdb52df8
printing eip:
c013894c
*pde = 37c85067
*pte = 00000000
Oops: 0000 [#1]
4K_STACKS PREEMPT SMP
last sysfs file: /devices/platform/i2c-9191/9191-0290/temp2_input
Modules linked in: ipv6 af_packet ip_conntrack_netbios_ns ipt_REJECT xt_state ip_conntrack
nfnetlink xt_tcpudp iptable_filter ip_tables x_tables cpufreq_userspace p4_clockmod speedstep_lib binfmt_misc thermal proces
sor fan container evdev snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_se
q_device sk98lin snd_pcm_oss snd_mixer_oss snd_pcm skge snd_timer snd soundcore snd_page_alloc ide_cd i2c_i801 iTCO_wdt inte
l_agp cdrom agpgart rtc unix
CPU: 0
EIP: 0060:[<c013894c>] Not tainted VLI
EFLAGS: 00210212 (2.6.18-rc6-mm1 #115)
EIP is at __module_text_address+0xf/0x5c
eax: fdb54000 ebx: fdb67c04 ecx: f7c10000 edx: fdb52d00
esi: 000000fa edi: f7c10f9c ebp: 00000005 esp: f7c10e68
ds: 007b es: 007b ss: 0068
Process udevd (pid: 20250, ti=f7c10000 task=f7c21000 task.ti=f7c10000)
Stack: f7c10000 c5f36030 c012fb6c f7c10000 c014f61b c0341710 000284d0 00000010
f7c21000 00000002 f7c10000 00200202 f57ce3c0 f52a8bfc f57ce3c0 f76a6ca4
f4a3c800 c01575e4 f52a8bfc f7d31ec0 f76a6ca4 80010000 c015894c f76a6ca4
Call Trace:
[<c012fb6c>] __kernel_text_address+0x18/0x23
[<c014f61b>] __alloc_pages+0x301/0x313
[<c01575e4>] __pte_alloc+0xf/0x78
[<c015894c>] copy_page_range+0x139/0x3dd
[<c011e67b>] copy_process+0xc1e/0x13cf
[<c011f001>] do_fork+0xb6/0x1d2
[<c017cdfa>] mntput_no_expire+0x11/0x81
[<c010122e>] sys_clone+0x28/0x2d
[<c0102fc6>] sysenter_past_esp+0x5f/0x85
[<c0110033>] wakeup_pmode_return+0x33/0x55
=======================
Code: 31 c0 5b 5e 5f 5d c3 83 01 01 83 51 04 00 8b 12 31 c0 81 fa 10 eb 33 c0 0f 45 c2 c3 5
6 53 89 c1 8b 15 10 eb 33 c0 83 ea 04 eb 20 <8b> b2 f8 00 00 00 8b 82 e8 00 00 00 39 c1 72 23 01 f0 39 c1 73
Sep 8 20:23:34 euridica kernel: EIP: [<c013894c>] __module_text_address+0xf/0x5c SS:ESP 0068:f7c10e68

config file -> http://www.stardust.webpages.pl/files/mm/2.6.18-rc6-mm1/mm-config
Unfortunately, this kernel was build without debugging symbols. I'll try to reproduce this oops with CONFIG_DEBUG_*=y.

Ingo, can you take a look at this?

BUG: warning at /usr/src/linux-mm/kernel/lockdep.c:2359/check_flags()
[<c01041ca>] dump_trace+0x63/0x1ca
[<c0104343>] show_trace_log_lvl+0x12/0x25
[<c01049a3>] show_trace+0xd/0x10
[<c0104a68>] dump_stack+0x16/0x18
[<c0138553>] check_flags+0x92/0x220
[<c013b033>] lock_acquire+0x3a/0x88
[<c0136d32>] down_write+0x28/0x43
[<c0164a9b>] sys_brk+0x20/0xd6
[<c0103166>] sysenter_past_esp+0x5f/0x99
DWARF2 unwinder stuck at sysenter_past_esp+0x5f/0x99

Leftover inexact backtrace:

=======================
irq event stamp: 603424
hardirqs last enabled at (603423): [<c0103238>] restore_nocheck+0x12/0x15
hardirqs last disabled at (603424): [<c0103173>] sysenter_past_esp+0x6c/0x99
softirqs last enabled at (603376): [<c0126a61>] __do_softirq+0xe4/0xea
softirqs last disabled at (603371): [<c0105b3b>] do_softirq+0x6d/0x11f

config file -> http://www.stardust.webpages.pl/files/mm/2.6.18-rc6-mm1/mm-config2
http://www.stardust.webpages.pl/files/mm/2.6.18-rc6-mm1/mm-dmesg

Regards,
Michal

--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/)

2006-09-08 19:31:18

by jurriaan

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

From: Andrew Morton <[email protected]>
Date: Fri, Sep 08, 2006 at 01:13:17AM -0700
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
>
This throws an oops on my IBM Thinkpad T23 notebook. Some parts scroll
off the screen, but the visible stack trace goes like this:

savagefb_probe_i2c_connector
savagefb_probe
pci_match_device
....
EIP: fb_ddc_read ....

.config and dmesg attached. 2.6.18-rc2-mm1 works just fine here.


#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.18-rc6-mm1
# Fri Sep 8 21:10:44 2006
#
CONFIG_X86_32=y
CONFIG_GENERIC_TIME=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=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_POSIX_MQUEUE is not set
CONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not set
# CONFIG_TASKSTATS is not set
CONFIG_SYSCTL=y
# CONFIG_SYSCTL_SYSCALL is not set
# CONFIG_UTS_NS is not set
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_RELAY is not set
CONFIG_INITRAMFS_SOURCE=""
CONFIG_UID16=y
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
# 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_RT_MUTEXES=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
CONFIG_SLAB=y
CONFIG_VM_EVENT_COUNTERS=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

#
# 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=y
# CONFIG_DEFAULT_DEADLINE is not set
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="anticipatory"

#
# Processor type and features
#
# 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_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=y
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# 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_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
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_TSC=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=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 is not set
# CONFIG_X86_MCE_P4THERMAL is not set
CONFIG_VM86=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
CONFIG_MICROCODE=y
CONFIG_MICROCODE_OLD_INTERFACE=y
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y

#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_HIGHMEM=y
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_ADAPTIVE_READAHEAD=y
# CONFIG_READAHEAD_ALLOW_OVERHEADS is not set
CONFIG_HIGHPTE=y
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_EFI is not set
# CONFIG_REGPARM is not set
CONFIG_SECCOMP=y
# CONFIG_SECCOMP_DISABLE_TSC is not set
# CONFIG_VGA_NOPROBE is not set
# CONFIG_HZ_100 is not set
CONFIG_HZ_250=y
# CONFIG_HZ_1000 is not set
CONFIG_HZ=250
# CONFIG_KEXEC is not set
# CONFIG_CRASH_DUMP is not set
CONFIG_PHYSICAL_START=0x100000
CONFIG_COMPAT_VDSO=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y

#
# 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 is not set

#
# 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_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
CONFIG_ACPI_HOTKEY=y
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=y
# CONFIG_ACPI_IBM_DOCK is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_SONY is not set
# CONFIG_ACPI_CUSTOM_DSDT 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=y
CONFIG_CPU_FREQ_TABLE=y
# CONFIG_CPU_FREQ_DEBUG is not set
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set

#
# CPUFreq processor drivers
#
# CONFIG_X86_ACPI_CPUFREQ is not set
# CONFIG_X86_POWERNOW_K6 is not set
# CONFIG_X86_POWERNOW_K7 is not set
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_GX_SUSPMOD is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
CONFIG_X86_SPEEDSTEP_ICH=y
# CONFIG_X86_SPEEDSTEP_SMI is not set
# CONFIG_X86_P4_CLOCKMOD is not set
# CONFIG_X86_CPUFREQ_NFORCE2 is not set
# CONFIG_X86_LONGRUN is not set
# CONFIG_X86_LONGHAUL is not set

#
# shared options
#
CONFIG_X86_SPEEDSTEP_LIB=y
# CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK 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_MULTITHREAD_PROBE is not set
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 is not set
# CONFIG_BINFMT_MISC is not set

#
# Networking
#
CONFIG_NET=y

#
# Networking options
#
# CONFIG_NETDEBUG is not set
# CONFIG_PACKET is not set
CONFIG_UNIX=y
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set
# CONFIG_XFRM_SUB_POLICY 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 is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
# CONFIG_INET_TUNNEL is not set
CONFIG_INET_XFRM_MODE_TRANSPORT=y
CONFIG_INET_XFRM_MODE_TUNNEL=y
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_BIC=y
# 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 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 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_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# 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 is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
# CONFIG_STANDALONE is not set
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
# CONFIG_SYS_HYPERVISOR is not set

#
# Connector - unified userspace <-> kernelspace linker
#
CONFIG_CONNECTOR=y
CONFIG_PROC_EVENTS=y

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
# CONFIG_PARPORT is not set

#
# Plug and Play support
#
# CONFIG_PNP is not set

#
# Block devices
#
CONFIG_BLK_DEV_FD=y
# CONFIG_BLK_DEV_XD 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=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
CONFIG_BLK_DEV_NBD=y
# 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 is not set
# CONFIG_ATA_OVER_ETH is not set

#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDETAPE=y
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_IDE_TASK_IOCTL is not set

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_CMD640 is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=y
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
# CONFIG_IDEDMA_PCI_AUTO is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_CS5535 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_JMICRON is not set
# CONFIG_BLK_DEV_SC1200 is not set
CONFIG_BLK_DEV_PIIX=y
# CONFIG_BLK_DEV_IT821X is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_ARM is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
# CONFIG_IDEDMA_AUTO is not set
# CONFIG_BLK_DEV_HD is not set

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

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

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

#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not set
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_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_LPFC 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 is not set

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD 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_IEEE1394 is not set

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Network device support
#
CONFIG_NETDEVICES=y
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN 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=y
# 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=y
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# 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

#
# 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

#
# Ethernet (10000 Mbit)
#
# CONFIG_CHELSIO_T1 is not set
# CONFIG_IXGB is not set
# CONFIG_S2IO is not set
# CONFIG_MYRI10GE is not set

#
# Token Ring devices
#
# CONFIG_TR is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_NET_FC is not set
# CONFIG_SHAPER is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set

#
# 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 is not set
# CONFIG_INPUT_TSDEV is not set
CONFIG_INPUT_EVDEV=y
# 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 is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_GAMEPORT is not set

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

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_CONSOLE is not set
CONFIG_SERIAL_8250_PCI=y
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=y
# CONFIG_SERIAL_JSM is not set
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
CONFIG_HW_RANDOM=y
CONFIG_HW_RANDOM_INTEL=y
CONFIG_HW_RANDOM_AMD=y
# CONFIG_HW_RANDOM_GEODE is not set
# CONFIG_HW_RANDOM_VIA is not set
CONFIG_NVRAM=y
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=y
# 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=y
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_EFFICEON is not set
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_I915 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
CONFIG_DRM_SAVAGE=y
# 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=y

#
# TPM devices
#
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not set

#
# I2C support
#
CONFIG_I2C=y
# CONFIG_I2C_CHARDEV is not set

#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_ALGOPCF=y
# CONFIG_I2C_ALGOPCA is not set

#
# 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=y
CONFIG_I2C_I810=y
CONFIG_I2C_PIIX4=y
CONFIG_I2C_ISA=y
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PARPORT_LIGHT 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 is not set
# CONFIG_I2C_VIAPRO is not set
# 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=y
# 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_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=y
# CONFIG_SENSORS_ABITUGURU is not set
CONFIG_SENSORS_ADM1021=y
CONFIG_SENSORS_ADM1025=y
# CONFIG_SENSORS_ADM1026 is not set
CONFIG_SENSORS_ADM1031=y
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_K8TEMP is not set
CONFIG_SENSORS_ASB100=y
# CONFIG_SENSORS_ATXP1 is not set
CONFIG_SENSORS_DS1621=y
# CONFIG_SENSORS_F71805F is not set
CONFIG_SENSORS_FSCHER=y
# CONFIG_SENSORS_FSCPOS is not set
CONFIG_SENSORS_GL518SM=y
# CONFIG_SENSORS_GL520SM is not set
CONFIG_SENSORS_IT87=y
CONFIG_SENSORS_LM63=y
CONFIG_SENSORS_LM75=y
CONFIG_SENSORS_LM77=y
CONFIG_SENSORS_LM78=y
CONFIG_SENSORS_LM80=y
CONFIG_SENSORS_LM83=y
CONFIG_SENSORS_LM85=y
CONFIG_SENSORS_LM87=y
CONFIG_SENSORS_LM90=y
# CONFIG_SENSORS_LM92 is not set
CONFIG_SENSORS_MAX1619=y
CONFIG_SENSORS_PC87360=y
# CONFIG_SENSORS_SIS5595 is not set
CONFIG_SENSORS_SMSC47M1=y
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
CONFIG_SENSORS_VIA686A=y
# CONFIG_SENSORS_VT8231 is not set
CONFIG_SENSORS_W83781D=y
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
CONFIG_SENSORS_W83L785TS=y
CONFIG_SENSORS_W83627HF=y
# CONFIG_SENSORS_W83627EHF is not set
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_HWMON_DEBUG_CHIP is not set

#
# Misc devices
#
# CONFIG_IBM_ASM is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
CONFIG_VIDEO_V4L2=y

#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set
# CONFIG_USB_DABUSB is not set

#
# Graphics support
#
CONFIG_FIRMWARE_EDID=y
CONFIG_FB=y
CONFIG_FB_DDC=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y
# 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 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I810 is not set
# CONFIG_FB_INTEL is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
CONFIG_FB_SAVAGE=y
CONFIG_FB_SAVAGE_I2C=y
CONFIG_FB_SAVAGE_ACCEL=y
# 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=y
# CONFIG_FONT_8x8 is not set
# CONFIG_FONT_8x16 is not set
# CONFIG_FONT_6x11 is not set
CONFIG_FONT_7x14=y
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set
# CONFIG_FONT_MINI_4x6 is not set
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set
# CONFIG_FONT_10x18 is not set

#
# Logo configuration
#
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

#
# Sound
#
CONFIG_SOUND=y

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

#
# Generic devices
#
CONFIG_SND_AC97_CODEC=y
CONFIG_SND_AC97_BUS=y
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_AC97_POWER_SAVE is not set

#
# ISA devices
#
# CONFIG_SND_ADLIB is not set
# CONFIG_SND_AD1848 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_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_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 is not set
# 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=y
# 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

#
# USB devices
#
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME 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_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_SUSPEND is not set
# CONFIG_USB_MULTITHREAD_PROBE is not set
# 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 is not set
# CONFIG_USB_EHCI_TT_NEWSCHED is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=m
# CONFIG_USB_SL811_HCD is not set

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

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

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

#
# USB Input Devices
#
# CONFIG_USB_HID 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_TRANCEVIBRATOR is not set

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

#
# USB Network Adapters
#
CONFIG_USB_CATC=m
CONFIG_USB_KAWETH=m
CONFIG_USB_PEGASUS=m
CONFIG_USB_RTL8150=m
CONFIG_USB_USBNET=m
CONFIG_USB_NET_AX8817X=m
CONFIG_USB_NET_CDCETHER=m
CONFIG_USB_NET_GL620A=m
CONFIG_USB_NET_NET1080=m
CONFIG_USB_NET_PLUSB=m
CONFIG_USB_NET_RNDIS_HOST=m
CONFIG_USB_NET_CDC_SUBSET=m
CONFIG_USB_ALI_M5632=y
CONFIG_USB_AN2720=y
CONFIG_USB_BELKIN=y
CONFIG_USB_ARMLINUX=y
CONFIG_USB_EPSON2888=y
CONFIG_USB_NET_ZAURUS=m
CONFIG_USB_MON=y

#
# USB port drivers
#

#
# USB Serial Converter support
#
CONFIG_USB_SERIAL=m
# CONFIG_USB_SERIAL_GENERIC is not set
# CONFIG_USB_SERIAL_AIRCABLE is not set
# CONFIG_USB_SERIAL_AIRPRIME is not set
# CONFIG_USB_SERIAL_ARK3116 is not set
# CONFIG_USB_SERIAL_BELKIN is not set
# CONFIG_USB_SERIAL_WHITEHEAT is not set
# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
# CONFIG_USB_SERIAL_CP2101 is not set
# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
# CONFIG_USB_SERIAL_EMPEG is not set
# CONFIG_USB_SERIAL_FTDI_SIO is not set
# CONFIG_USB_SERIAL_FUNSOFT is not set
# CONFIG_USB_SERIAL_VISOR is not set
# CONFIG_USB_SERIAL_IPAQ is not set
# CONFIG_USB_SERIAL_IR is not set
# CONFIG_USB_SERIAL_EDGEPORT is not set
# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
# CONFIG_USB_SERIAL_GARMIN is not set
# CONFIG_USB_SERIAL_IPW is not set
# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
# CONFIG_USB_SERIAL_KEYSPAN is not set
# CONFIG_USB_SERIAL_KLSI is not set
# CONFIG_USB_SERIAL_KOBIL_SCT is not set
# CONFIG_USB_SERIAL_MCT_U232 is not set
# CONFIG_USB_SERIAL_MOS7720 is not set
# CONFIG_USB_SERIAL_MOS7840 is not set
# CONFIG_USB_SERIAL_NAVMAN is not set
# CONFIG_USB_SERIAL_PL2303 is not set
# CONFIG_USB_SERIAL_QUATECH_ESU100 is not set
# CONFIG_USB_SERIAL_HP4X is not set
# CONFIG_USB_SERIAL_SAFE is not set
# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
# CONFIG_USB_SERIAL_TI is not set
# CONFIG_USB_SERIAL_CYBERJACK is not set
# CONFIG_USB_SERIAL_XIRCOM is not set
# CONFIG_USB_SERIAL_OPTION is not set
# CONFIG_USB_SERIAL_OMNINET 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_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_APPLEDISPLAY is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_GOTEMP is not set

#
# USB DSL modem support
#

#
# 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 is not set

#
# Real Time Clock
#
# CONFIG_RTC_CLASS is not set

#
# DMA Engine support
#
# CONFIG_DMA_ENGINE is not set

#
# DMA Clients
#

#
# DMA Devices
#

#
# Userspace I/O
#
# CONFIG_UIO is not set

#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISER4_FS is not set
CONFIG_REISERFS_FS=y
# 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 is not set
# 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 is not set
# CONFIG_FUSE_FS is not set

#
# Caches
#
# CONFIG_FSCACHE is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=y
CONFIG_UDF_FS=y
CONFIG_UDF_NLS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_NTFS_FS 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=y
CONFIG_HUGETLB_PAGE=y
CONFIG_RAMFS=y
# CONFIG_CONFIGFS_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 is not set
# CONFIG_NFSD is not set
# CONFIG_SMB_FS is not set
# CONFIG_CIFS 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 is not set
CONFIG_MSDOS_PARTITION=y

#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="cp437"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=y
# 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 is not set
CONFIG_NLS_ISO8859_1=y
# 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=y
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=y

#
# Distributed Lock Manager
#

#
# Instrumentation Support
#
# CONFIG_PROFILING is not set
# CONFIG_KPROBES is not set

#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
# CONFIG_PRINTK_TIME is not set
CONFIG_ENABLE_MUST_CHECK=y
# CONFIG_MAGIC_SYSRQ is not set
CONFIG_UNUSED_SYMBOLS=y
# CONFIG_DEBUG_KERNEL is not set
CONFIG_LOG_BUF_SHIFT=14
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_FS is not set
# CONFIG_UNWIND_INFO is not set
# CONFIG_PROFILE_LIKELY is not set
CONFIG_EARLY_PRINTK=y
CONFIG_4KSTACKS=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y
CONFIG_DOUBLEFAULT=y

#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
# CONFIG_CRYPTO is not set

#
# Hardware crypto devices
#

#
# Library routines
#
# CONFIG_CRC_CCITT is not set
# CONFIG_CRC16 is not set
CONFIG_CRC32=y
CONFIG_LIBCRC32C=y
CONFIG_ZLIB_INFLATE=y
CONFIG_PLIST=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_KTIME_SCALAR=y

Linux version 2.6.18-rc2-mm1 (jurriaan@thinkpad) (gcc version 4.1.2 20060729 (prerelease) (Debian 4.1.1-10)) #1 PREEMPT Wed Aug 2 11:37:02 CEST 2006
BIOS-provided physical RAM map:
sanitize start
sanitize end
copy_e820_map() start: 0000000000000000 size: 000000000009f000 end: 000000000009f000 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 000000000009f000 size: 0000000000001000 end: 00000000000a0000 type: 2
copy_e820_map() start: 00000000000dc000 size: 0000000000024000 end: 0000000000100000 type: 2
copy_e820_map() start: 0000000000100000 size: 000000003fe70000 end: 000000003ff70000 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 000000003ff70000 size: 000000000000e000 end: 000000003ff7e000 type: 3
copy_e820_map() start: 000000003ff7e000 size: 0000000000002000 end: 000000003ff80000 type: 4
copy_e820_map() start: 000000003ff80000 size: 0000000000080000 end: 0000000040000000 type: 2
copy_e820_map() start: 00000000ff800000 size: 0000000000800000 end: 0000000100000000 type: 2
BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003ff70000 (usable)
BIOS-e820: 000000003ff70000 - 000000003ff7e000 (ACPI data)
BIOS-e820: 000000003ff7e000 - 000000003ff80000 (ACPI NVS)
BIOS-e820: 000000003ff80000 - 0000000040000000 (reserved)
BIOS-e820: 00000000ff800000 - 0000000100000000 (reserved)
127MB HIGHMEM available.
896MB LOWMEM available.
On node 0 totalpages: 262000
DMA zone: 4096 pages, LIFO batch:0
Normal zone: 225280 pages, LIFO batch:31
HighMem zone: 32624 pages, LIFO batch:7
DMI present.
ACPI: RSDP (v002 IBM ) @ 0x000f7450
ACPI: XSDT (v001 IBM TP-1A 0x00001170 LTP 0x00000000) @ 0x3ff73af9
ACPI: FADT (v001 IBM TP-1A 0x00001170 IBM 0x00000001) @ 0x3ff73c00
ACPI: SSDT (v001 IBM TP-1A 0x00001170 MSFT 0x0100000d) @ 0x3ff73cb4
ACPI: ECDT (v001 IBM TP-1A 0x00001170 IBM 0x00000001) @ 0x3ff7deca
ACPI: BOOT (v001 IBM TP-1A 0x00001170 LTP 0x00000001) @ 0x3ff7dfd8
ACPI: DSDT (v001 IBM TP-1A 0x00001170 MSFT 0x0100000d) @ 0x00000000
ACPI: PM-Timer IO Port: 0x1008
Allocating PCI resources starting at 50000000 (gap: 40000000:bf800000)
Detected 1132.405 MHz processor.
Built 1 zonelists. Total pages: 262000
Kernel command line: root=/dev/hda1 video=savagefb:1024x768@60 atkbd.softrepeat=1
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (01803000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c0442000 soft=c0441000
PID hash table entries: 4096 (order: 12, 16384 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1034796k/1048000k available (2268k kernel code, 12576k reserved, 864k data, 172k init, 130496k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 2266.27 BogoMIPS (lpj=4532547)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0383f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
CPU: Intel(R) Pentium(R) III Mobile CPU 1133MHz stepping 01
Checking 'hlt' instruction... OK.
ACPI: Core revision 20060707
tbxface-0107 [01] load_tables : ACPI Tables successfully acquired
Parsing all Control Methods:
Table [DSDT](id 0006) - 1206 Objects with 60 Devices 363 Methods 18 Regions
Parsing all Control Methods:
Table [SSDT](id 0004) - 1 Objects with 0 Devices 1 Methods 0 Regions
ACPI Namespace successfully loaded at root c0460e70
ACPI: setting ELCR to 0200 (from 0e20)
evxfevnt-0089 [02] enable : Transition to ACPI mode successful
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfd8fe, last bus=8
Setting up standard PCI resources
evgpeblk-0951 [04] ev_create_gpe_block : GPE 00 to 0F [_GPE] 2 regs on int 0x9
evgpeblk-0951 [04] ev_create_gpe_block : GPE 10 to 1F [_GPE] 2 regs on int 0x9
evgpeblk-1048 [03] ev_initialize_gpe_bloc: Found 6 Wake, Enabled 0 Runtime GPEs in this block
evgpeblk-1048 [03] ev_initialize_gpe_bloc: Found 2 Wake, Enabled 0 Runtime GPEs in this block
ACPI: Found ECDT
Completing Region/Field/Buffer/Package initialization:....................................................................................................................................................................................................................................
Initialized 17/18 Regions 124/124 Fields 61/61 Buffers 26/34 Packages (1216 nodes)
Initializing Device/Processor/Thermal objects by executing _INI methods:........
Executed 8 _INI methods requiring 2 _STA executions (examined 64 objects)
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 9 10 11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *9 10 11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *9 10 11)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 *10 11)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI quirk: region 1000-107f claimed by ICH4 ACPI/GPIO/TCO
PCI quirk: region 1180-11bf claimed by ICH4 GPIO
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
Boot video device is 0000:01:00.0
PCI: Firmware left 0000:02:08.0 e100 interrupts enabled, disabling
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: Embedded Controller [EC] (gpe 28) interrupt mode.
ACPI: Power Resource [PUBS] (on)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
Intel 82802 RNG detected
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: c0100000-c01fffff
PREFETCH window: e0000000-ebffffff
PCI: Bus 3, cardbus bridge: 0000:02:00.0
IO window: 00002000-000020ff
IO window: 00002400-000024ff
PREFETCH window: f0000000-f1ffffff
MEM window: c2000000-c3ffffff
PCI: Bus 7, cardbus bridge: 0000:02:00.1
IO window: 00002800-000028ff
IO window: 00002c00-00002cff
PREFETCH window: f2000000-f3ffffff
MEM window: c4000000-c5ffffff
PCI: Bridge: 0000:00:1e.0
IO window: 2000-6fff
MEM window: c0200000-cfffffff
PREFETCH window: f0000000-f7ffffff
PCI: Setting latency timer of device 0000:00:1e.0 to 64
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:02:00.1[B] -> Link [LNKB] -> GSI 5 (level, low) -> IRQ 5
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
Simple Boot Flag at 0x35 set to 0x1
speedstep: frequency transition measured seems out of range (0 nSec), falling back to a safe one of 500000 nSec.
IA-32 Microcode Update Driver: v1.14a <[email protected]>
highmem bounce pool size: 64 pages
Total HugeTLB memory allocated, 0
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
savagefb: mapped io at f8880000
savagefb: probed videoram: 16384k
savagefb: Detected current MCLK value of 286364 kHz
savagefb: 1024x768 TFT LCD panel detected and active
savagefb: Limiting video mode to 1024x768
savagefb: mapped framebuffer at f8980000, pbase == e8000000
savagefb v0.4.0_2.6: 16256kB VRAM, using 1024x768, 48.364kHz, 60Hz
Console: switching to colour frame buffer device 146x54
fb: S3 SuperSavage frame buffer device
ACPI: AC Adapter [AC] (on-line)
ACPI: Battery Slot [BAT0] (battery present)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Video Device [VID] (multi-head: yes rom: no post: no)
Using specific hotkey driver
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
ACPI: Thermal Zone [THM0] (59 C)
ibm_acpi: IBM ThinkPad ACPI Extras v0.12a
ibm_acpi: http://ibm-acpi.sf.net/
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 830M Chipset.
agpgart: AGP aperture is 256M @ 0xd0000000
[drm] Initialized drm 1.0.1 20051102
[drm] Initialized savage 2.4.1 20050313 on minor 0
Hangcheck: starting hangcheck timer 0.9.0 (tick is 180 seconds, margin is 60 seconds).
Hangcheck: Using get_cycles().
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:02:08.0[A] -> Link [LNKE] -> GSI 10 (level, low) -> IRQ 10
e100: eth0: e100_probe: addr 0xc0200000, irq 10, MAC addr 00:D0:59:DA:B0:69
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH3M: IDE controller at PCI slot 0000:00:1f.1
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 9
PCI: setting IRQ 9 as level-triggered
ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link [LNKC] -> GSI 9 (level, low) -> IRQ 9
ICH3M: chipset revision 2
ICH3M: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: IC25N030ATCS04-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: DW-28E, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 58605120 sectors (30005 MB) w/1768KiB Cache, CHS=62016/15/63
hda: cache flushes not supported
hda: hda1 hda2
hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 1658kB Cache
Uniform CD-ROM driver Revision: 3.20
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
ACPI: PCI Interrupt 0000:00:1f.3[B] -> Link [LNKB] -> GSI 5 (level, low) -> IRQ 5
input: AT Translated Set 2 keyboard as /class/input/input0
IBM TrackPoint firmware: 0x0e, buttons: 3/3
input: TPPS/2 IBM TrackPoint as /class/input/input1
pc87360: PC8736x not detected, module not inserted.
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
PCI: Enabling device 0000:00:1f.5 (0000 -> 0001)
ACPI: PCI Interrupt 0000:00:1f.5[B] -> Link [LNKB] -> GSI 5 (level, low) -> IRQ 5
PCI: Setting latency timer of device 0000:00:1f.5 to 64
ALSA sound/pci/ac97/ac97_codec.c:2053: AC'97 0 analog subsections not ready
intel8x0_measure_ac97_clock: measured 56003 usecs
intel8x0: clocking to 49098
ALSA device list:
#0: Intel 82801CA-ICH3 with CS4299 at 0x1c00, irq 5
TCP bic registered
NET: Registered protocol family 1
Using IPI Shortcut mode
ACPI: (supports S0 S3 S4 S5)
Time: tsc clocksource has been installed.
Time: acpi_pm clocksource has been installed.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 172k freed
Adding 1330552k swap on /dev/hda2. Priority:-1 extents:1 across:1330552k
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1d.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:1d.0: irq 11, io base 0x00001800
usb usb1: new device found, idVendor=0000, idProduct=0000
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: UHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.18-rc2-mm1 uhci_hcd
usb usb1: SerialNumber: 0000:00:1d.0
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 9
ACPI: PCI Interrupt 0000:00:1d.1[B] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.1: irq 9, io base 0x00001820
usb usb2: new device found, idVendor=0000, idProduct=0000
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: UHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.18-rc2-mm1 uhci_hcd
usb usb2: SerialNumber: 0000:00:1d.1
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.2[C] -> Link [LNKC] -> GSI 9 (level, low) -> IRQ 9
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.2: irq 9, io base 0x00001840
usb usb3: new device found, idVendor=0000, idProduct=0000
usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: UHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.18-rc2-mm1 uhci_hcd
usb usb3: SerialNumber: 0000:00:1d.2
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
--
>From this, Udinaas surmised, various lessons could be drawn, should one
be inclined to draw lessons from multiple acts of stupidity.
Steven Erikson - Midnight Tides
Debian (Unstable) GNU/Linux 2.6.18-rc4-mm3 4423 bogomips load 0.19

2006-09-08 19:43:32

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

On Fri, 08 Sep 2006 21:23:10 +0200
Michal Piotrowski <[email protected]> wrote:

> Hi,
>
> Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
> >
> > - autofs4 mounting of NFS is still sick.
>
> BUG: unable to handle kernel paging request at virtual address fdb52df8
> printing eip:
> c013894c
> *pde = 37c85067
> *pte = 00000000
> Oops: 0000 [#1]
> 4K_STACKS PREEMPT SMP
> last sysfs file: /devices/platform/i2c-9191/9191-0290/temp2_input
> Modules linked in: ipv6 af_packet ip_conntrack_netbios_ns ipt_REJECT xt_state ip_conntrack
> nfnetlink xt_tcpudp iptable_filter ip_tables x_tables cpufreq_userspace p4_clockmod speedstep_lib binfmt_misc thermal proces
> sor fan container evdev snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_se
> q_device sk98lin snd_pcm_oss snd_mixer_oss snd_pcm skge snd_timer snd soundcore snd_page_alloc ide_cd i2c_i801 iTCO_wdt inte
> l_agp cdrom agpgart rtc unix
> CPU: 0
> EIP: 0060:[<c013894c>] Not tainted VLI
> EFLAGS: 00210212 (2.6.18-rc6-mm1 #115)
> EIP is at __module_text_address+0xf/0x5c
> eax: fdb54000 ebx: fdb67c04 ecx: f7c10000 edx: fdb52d00
> esi: 000000fa edi: f7c10f9c ebp: 00000005 esp: f7c10e68
> ds: 007b es: 007b ss: 0068
> Process udevd (pid: 20250, ti=f7c10000 task=f7c21000 task.ti=f7c10000)
> Stack: f7c10000 c5f36030 c012fb6c f7c10000 c014f61b c0341710 000284d0 00000010
> f7c21000 00000002 f7c10000 00200202 f57ce3c0 f52a8bfc f57ce3c0 f76a6ca4
> f4a3c800 c01575e4 f52a8bfc f7d31ec0 f76a6ca4 80010000 c015894c f76a6ca4
> Call Trace:
> [<c012fb6c>] __kernel_text_address+0x18/0x23
> [<c014f61b>] __alloc_pages+0x301/0x313
> [<c01575e4>] __pte_alloc+0xf/0x78
> [<c015894c>] copy_page_range+0x139/0x3dd
> [<c011e67b>] copy_process+0xc1e/0x13cf
> [<c011f001>] do_fork+0xb6/0x1d2
> [<c017cdfa>] mntput_no_expire+0x11/0x81
> [<c010122e>] sys_clone+0x28/0x2d
> [<c0102fc6>] sysenter_past_esp+0x5f/0x85
> [<c0110033>] wakeup_pmode_return+0x33/0x55
> =======================
> Code: 31 c0 5b 5e 5f 5d c3 83 01 01 83 51 04 00 8b 12 31 c0 81 fa 10 eb 33 c0 0f 45 c2 c3 5
> 6 53 89 c1 8b 15 10 eb 33 c0 83 ea 04 eb 20 <8b> b2 f8 00 00 00 8b 82 e8 00 00 00 39 c1 72 23 01 f0 39 c1 73
> Sep 8 20:23:34 euridica kernel: EIP: [<c013894c>] __module_text_address+0xf/0x5c SS:ESP 0068:f7c10e68

boggle. Your modules list seems to have got trashed.

Presumably setting CONFIG_PAGE_OWNER=n will make that go away.

What were you doing when this happened? That output is not present in
http://www.stardust.webpages.pl/files/mm/2.6.18-rc6-mm1/mm-dmesg

> config file -> http://www.stardust.webpages.pl/files/mm/2.6.18-rc6-mm1/mm-config
> Unfortunately, this kernel was build without debugging symbols. I'll try to reproduce this oops with CONFIG_DEBUG_*=y.
>
> Ingo, can you take a look at this?
>
> BUG: warning at /usr/src/linux-mm/kernel/lockdep.c:2359/check_flags()
> [<c01041ca>] dump_trace+0x63/0x1ca
> [<c0104343>] show_trace_log_lvl+0x12/0x25
> [<c01049a3>] show_trace+0xd/0x10
> [<c0104a68>] dump_stack+0x16/0x18
> [<c0138553>] check_flags+0x92/0x220
> [<c013b033>] lock_acquire+0x3a/0x88
> [<c0136d32>] down_write+0x28/0x43
> [<c0164a9b>] sys_brk+0x20/0xd6
> [<c0103166>] sysenter_past_esp+0x5f/0x99
> DWARF2 unwinder stuck at sysenter_past_esp+0x5f/0x99
>
> Leftover inexact backtrace:
>
> =======================
> irq event stamp: 603424
> hardirqs last enabled at (603423): [<c0103238>] restore_nocheck+0x12/0x15
> hardirqs last disabled at (603424): [<c0103173>] sysenter_past_esp+0x6c/0x99
> softirqs last enabled at (603376): [<c0126a61>] __do_softirq+0xe4/0xea
> softirqs last disabled at (603371): [<c0105b3b>] do_softirq+0x6d/0x11f
>

That's

DEBUG_LOCKS_WARN_ON(!current->hardirqs_enabled);

and as far as I can see there was no preceding oops.

2006-09-08 19:44:16

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

On Fri, 8 Sep 2006 21:30:41 +0200
[email protected] wrote:

> From: Andrew Morton <[email protected]>
> Date: Fri, Sep 08, 2006 at 01:13:17AM -0700
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
> >
> This throws an oops on my IBM Thinkpad T23 notebook. Some parts scroll
> off the screen, but the visible stack trace goes like this:
>
> savagefb_probe_i2c_connector
> savagefb_probe
> pci_match_device
> ....
> EIP: fb_ddc_read ....
>
> .config and dmesg attached. 2.6.18-rc2-mm1 works just fine here.

We'd really need to see that trace, please. netconsole is worth setting
up, if you have another machine on the LAN.

2006-09-08 20:01:45

by Michal Piotrowski

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

On 08/09/06, Andrew Morton <[email protected]> wrote:
> On Fri, 08 Sep 2006 21:23:10 +0200
> Michal Piotrowski <[email protected]> wrote:
>
> > Hi,
> >
> > Andrew Morton wrote:
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
> > >
> > > - autofs4 mounting of NFS is still sick.
> >
> > BUG: unable to handle kernel paging request at virtual address fdb52df8
> > printing eip:
> > c013894c
> > *pde = 37c85067
> > *pte = 00000000
> > Oops: 0000 [#1]
> > 4K_STACKS PREEMPT SMP
> > last sysfs file: /devices/platform/i2c-9191/9191-0290/temp2_input
> > Modules linked in: ipv6 af_packet ip_conntrack_netbios_ns ipt_REJECT xt_state ip_conntrack
> > nfnetlink xt_tcpudp iptable_filter ip_tables x_tables cpufreq_userspace p4_clockmod speedstep_lib binfmt_misc thermal proces
> > sor fan container evdev snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_se
> > q_device sk98lin snd_pcm_oss snd_mixer_oss snd_pcm skge snd_timer snd soundcore snd_page_alloc ide_cd i2c_i801 iTCO_wdt inte
> > l_agp cdrom agpgart rtc unix
> > CPU: 0
> > EIP: 0060:[<c013894c>] Not tainted VLI
> > EFLAGS: 00210212 (2.6.18-rc6-mm1 #115)
> > EIP is at __module_text_address+0xf/0x5c
> > eax: fdb54000 ebx: fdb67c04 ecx: f7c10000 edx: fdb52d00
> > esi: 000000fa edi: f7c10f9c ebp: 00000005 esp: f7c10e68
> > ds: 007b es: 007b ss: 0068
> > Process udevd (pid: 20250, ti=f7c10000 task=f7c21000 task.ti=f7c10000)
> > Stack: f7c10000 c5f36030 c012fb6c f7c10000 c014f61b c0341710 000284d0 00000010
> > f7c21000 00000002 f7c10000 00200202 f57ce3c0 f52a8bfc f57ce3c0 f76a6ca4
> > f4a3c800 c01575e4 f52a8bfc f7d31ec0 f76a6ca4 80010000 c015894c f76a6ca4
> > Call Trace:
> > [<c012fb6c>] __kernel_text_address+0x18/0x23
> > [<c014f61b>] __alloc_pages+0x301/0x313
> > [<c01575e4>] __pte_alloc+0xf/0x78
> > [<c015894c>] copy_page_range+0x139/0x3dd
> > [<c011e67b>] copy_process+0xc1e/0x13cf
> > [<c011f001>] do_fork+0xb6/0x1d2
> > [<c017cdfa>] mntput_no_expire+0x11/0x81
> > [<c010122e>] sys_clone+0x28/0x2d
> > [<c0102fc6>] sysenter_past_esp+0x5f/0x85
> > [<c0110033>] wakeup_pmode_return+0x33/0x55
> > =======================
> > Code: 31 c0 5b 5e 5f 5d c3 83 01 01 83 51 04 00 8b 12 31 c0 81 fa 10 eb 33 c0 0f 45 c2 c3 5
> > 6 53 89 c1 8b 15 10 eb 33 c0 83 ea 04 eb 20 <8b> b2 f8 00 00 00 8b 82 e8 00 00 00 39 c1 72 23 01 f0 39 c1 73
> > Sep 8 20:23:34 euridica kernel: EIP: [<c013894c>] __module_text_address+0xf/0x5c SS:ESP 0068:f7c10e68
>
> boggle. Your modules list seems to have got trashed.
>
> Presumably setting CONFIG_PAGE_OWNER=n will make that go away.
>
> What were you doing when this happened?

It appeared during reboot.

> That output is not present in
> http://www.stardust.webpages.pl/files/mm/2.6.18-rc6-mm1/mm-dmesg

This dmesg log is from second bug.

>
> > config file -> http://www.stardust.webpages.pl/files/mm/2.6.18-rc6-mm1/mm-config
> > Unfortunately, this kernel was build without debugging symbols. I'll try to reproduce this oops with CONFIG_DEBUG_*=y.
> >

Regards,
Michal

--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/)

2006-09-08 20:44:32

by Alan Stern

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1

On Fri, 8 Sep 2006, Andrew Morton wrote:

> Alan, is this likely to be due to your USB PM changes?

It's possible. Most of those changes are innocuous. They add routines
that don't get used until a later patch. However one of them might be
responsible.


On Fri, 8 Sep 2006, Rafael J. Wysocki wrote:

> On Friday, 8 September 2006 10:13, Andrew Morton wrote:
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
>
> ohci_hcd doesn't work after a resume from disk on HPC nx6325, worked on
> 2.6.18-rc5-mm1.
>
> It helps if I rmmod and modprobe it after the resume.

This patch affects OHCI. You can try reverting it, to see if that makes
any difference. It probably should have been left out of -mm, since it
interacts pretty strongly with some later USB PM patches that did get left
out.

gregkh-usb-usbcore-remove-usb_suspend_root_hub.patch

> Here's the relevant part of the dmesg output:
>
> usb usb1: resuming
> usbdev1.1_ep00: PM: resume from 0, parent usb1 still 1
> hub 1-0:1.0: PM: resume from 0, parent usb1 still 1
> hub 1-0:1.0: resuming
> usbdev1.1: PM: resume from 0, parent usb1 still 1

If reverting that patch doesn't help, please post the relevant dmesg log
after setting CONFIG_USB_DEBUG.

Alan Stern

2006-09-08 22:56:53

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1

On Friday, 8 September 2006 22:44, Alan Stern wrote:
> On Fri, 8 Sep 2006, Andrew Morton wrote:
>
> > Alan, is this likely to be due to your USB PM changes?
>
> It's possible. Most of those changes are innocuous. They add routines
> that don't get used until a later patch. However one of them might be
> responsible.

Well, after recompiling the kernel for several times (because of a different
problem) I'm no longer able to reproduce the problem.

Sorry for the noise.

Greetings,
Rafael


--
You never change things by fighting the existing reality.
R. Buckminster Fuller

2006-09-09 06:36:11

by Frederik Deweerdt

[permalink] [raw]
Subject: lockdep warning in check_flags()

On Fri, Sep 08, 2006 at 01:13:17AM -0700, Andrew Morton wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
>
Lockdep issues the following warning:

[ 16.835268] Freeing unused kernel memory: 260k freed
[ 16.842715] Write protecting the kernel read-only data: 432k
[ 17.796518] BUG: warning at kernel/lockdep.c:2359/check_flags()
[ 17.804117] [<c0104436>] dump_trace+0x1f3/0x22a
[ 17.811514] [<c0104493>] show_trace_log_lvl+0x26/0x3c
[ 17.818984] [<c0104b58>] show_trace+0x1b/0x1d
[ 17.826397] [<c0104c43>] dump_stack+0x24/0x26
[ 17.833856] [<c013775e>] check_flags+0x1e4/0x2b1
[ 17.841400] [<c013a9e2>] lock_acquire+0x21/0x7a
[ 17.848977] [<c0135a50>] down_write+0x50/0x69
[ 17.856557] [<c01640d4>] sys_brk+0x23/0xe7
[ 17.864105] [<c01031f6>] sysenter_past_esp+0x5f/0x99
[ 17.871556] [<b7faf410>] 0xb7faf410
[ 17.878831] =======================
[ 17.885839] irq event stamp: 8318
[ 17.892746] hardirqs last enabled at (8317): [<c01032c8>] restore_nocheck+0x12/0x15
[ 17.906778] hardirqs last disabled at (8318): [<c0103203>] sysenter_past_esp+0x6c/0x99
[ 17.921481] softirqs last enabled at (7128): [<c0123cd1>] __do_softirq+0xe9/0xfa
[ 17.936962] softirqs last disabled at (7121): [<c0123d3e>] do_softirq+0x5c/0x60

I've replaced the DEBUG_LOCKS_WARN_ON by a BUG, and it appears that the
user space program calling sys_brk is hotplug.
This is 100% reproducible, it happens at (nearly) the same time, at each
boot.
The lspci, .config and dmesg are available at
http://fdeweerdt.free.fr/lockdep_warning
I'm going to try to bisect sysenter_past_esp by instering some
TRACE_IRQS_ON between the beginning of the routine and the actual syscall
to see when the irq enabling is missed.


Thanks,
Frederik

2006-09-09 09:04:53

by jurriaan

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

From: Andrew Morton <[email protected]>
Date: Fri, Sep 08, 2006 at 12:44:11PM -0700
> On Fri, 8 Sep 2006 21:30:41 +0200
> [email protected] wrote:
>
> > From: Andrew Morton <[email protected]>
> > Date: Fri, Sep 08, 2006 at 01:13:17AM -0700
> > >
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
> > >
> > This throws an oops on my IBM Thinkpad T23 notebook. Some parts scroll
> > off the screen, but the visible stack trace goes like this:
> >
> We'd really need to see that trace, please. netconsole is worth setting
> up, if you have another machine on the LAN.
>
Well, I've learned that built-in framebuffers initialize _before_ the
network stack is up, so that didn't help. Rebuilding savagefb as a
module gave me:

hub 3-0:1.0: 2 ports detected
savagefb: mapped io at f8980000
savagefb: probed videoram: 16384k
savagefb: Detected current MCLK value of 71591 kHz
savagefb: 1024x768 TFT LCD panel detected and active
savagefb: Limiting video mode to 1024x768
savagefb: mapped framebuffer at f8a80000, pbase == e8000000
BUG: unable to handle kernel NULL pointer dereference at virtual address
00000000
printing eip:
f8831013
*pde = 00000000
Oops: 0000 [#1]
4K_STACKS PREEMPT
last sysfs file: /devices/system/cpu/cpu0/cpufreq/scaling_governor
Modules linked in: savagefb fb_ddc cfbimgblt uhci_hcd usbcore
CPU: 0
EIP: 0060:[<f8831013>] Not tainted VLI
EFLAGS: 00010286 (2.6.18-rc6-mm1 #6)
EIP is at fb_ddc_read+0x13/0x1c4 [fb_ddc]
eax: f7faf250 ebx: 00000000 ecx: f7faf244 edx: f7faf244
esi: 00000000 edi: f7faf008 ebp: f7fbed98 esp: f7fbed68
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 1776, ti=f7fbe000 task=f7fbdab0
task.ti=f7fbe000)
Stack: 00000001 f7faf244 00004988 01000000 f7faf000 f9a6d9e0 f7fbede8 00000000
f7faf244 f7faf208 f7faf000 f7faf008 f7fbedb0 f8846af9 f7faf250 f7faf208
f7faf000 f7faf008 f7fbede8 f884667c f7faf000 f7faf6b0 f7fbedd0 c01ebe91
Call Trace:
[<c01039eb>] show_trace_log_lvl+0x15/0x28
[<c0103a8a>] show_stack_log_lvl+0x8c/0x97
[<c0103e48>] show_registers+0x188/0x21c
[<c0104085>] die+0x1a9/0x283
[<c0113bb5>] do_page_fault+0x3ed/0x4bf
[<c03421df>] error_code+0x3f/0x44
[<f8846af9>] savagefb_probe_i2c_connector+0x18/0x66 [savagefb]
[<f884667c>] savagefb_probe+0x484/0x672 [savagefb]
[<c01f6722>] pci_device_probe+0x3a/0x61
[<c0269ecb>] really_probe+0x37/0xb0
[<c0269fbc>] driver_probe_device+0x78/0x84
[<c026a06a>] __driver_attach+0x38/0x60
[<c026992a>] bus_for_each_dev+0x42/0x69
[<c0269df7>] driver_attach+0x16/0x18
[<c0269491>] bus_add_driver+0x66/0x179
[<c026a2f7>] driver_register+0x77/0x7c
[<c01f68bf>] __pci_register_driver+0x5e/0x7e
[<f882d02e>] savagefb_init+0x2e/0x36 [savagefb]
[<c0132158>] sys_init_module+0x1274/0x1443
[<c0102dd8>] syscall_call+0x7/0xb
=======================
Code: <ff> 33 ff 53 08 6a 00 ff 33 ff 53 08 c7 45 d4 00 00 00 00 83 c4 10 6a 00 31 ff ff 33 ff 53 04 6a
EIP: [<f8831013>] fb_ddc_read+0x13/0x1c4 [fb_ddc] SS:ESP 0068:f7fbed68

Hope this helps,
Jurriaan
--
"Besides," she added with a shrug, "strategy and tactics are anathema
to the Apocalypse."
Steven Erikson - Deadhouse Gates
Debian (Unstable) GNU/Linux 2.6.18-rc4-mm3 4423 bogomips load 0.31

2006-09-09 12:45:40

by Magnus Määttä

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

Hi Andrew,

Sorry, forgot to CC lkml when I sent the first one.

Andrew Morton wrote:
>
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
>
> - autofs4 mounting of NFS is still sick.

I got this oops on my machine when I ran df on another one which have
mounted a few NFS shares from my machine. I got 5 more pretty much
identical ones within 10 seconds after the first one (haven't seen
any more after these though). Also, dmesg is filled with, about a
gazillion of these:
[15164.017991] RPC request reserved 9136 but used 9268
[15164.037431] RPC request reserved 9136 but used 9268
[15164.052988] RPC request reserved 9136 but used 9268

Files are also getting corrupted when transfered from my machine, but
using my machine as client works fine.

oops here:

Error (regular_file): read_ksyms stat /proc/ksyms failed
No modules in ksyms, skipping objects
No ksyms, skipping lsmod
BUG: unable to handle kernel NULL pointer dereference at virtual
address 00000000
c04ad300
*pde = 00000000
Oops: 0000 [#1]
CPU: 0
EIP: 0060:[<c04ad300>] Tainted: P VLI
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00210212 (2.6.18-rc6-mm1 #1)
eax: 00000000 ebx: e5299000 ecx: 00000000 edx: e8843620
esi: e5299070 edi: ffff84de ebp: e52a0fb0 esp: e52a0f70
ds: 007b es: 007b ss: 0068
Stack: 00200046 eb499aa0 00000001 eb499a84 00000000 e52a0f9c c04eaa1b
eb499a84
00000001 e8843620 e529904c e52a0fb0 c012d70b 00000002 ffff84de
ffff84de
e52a0fe0 c02784ba e5299000 e52a0fc4 00000000 fffffeff ffffffff
fffffef8
Call Trace:
[<c01041bf>] show_trace_log_lvl+0x2f/0x50
[<c01042a7>] show_stack_log_lvl+0x97/0xc0
[<c0104532>] show_registers+0x1f2/0x2a0
[<c01047dd>] die+0x12d/0x240
[<c011735c>] do_page_fault+0x3ac/0x650
[<c04eaeef>] error_code+0x3f/0x44
[<c02784ba>] nfsd+0x18a/0x2b0
[<c0103fb7>] kernel_thread_helper+0x7/0x10
Code: 89 45 e8 8b 52 28 83 c6 70 89 55 e4 8b 40 04 83 f8 17 0f 86 6d
04 00 00 8b 5d 08 8b 83 9c 04 00 00 c7 83 a0 04 00 00 01 00 00 00
<8b> 00 89 04 24 e8 06 d4 ca ff c7 46 04 00 00 00 00 89 c1 89 43


>>EIP; c04ad300 <svc_process+40/6a0> <=====

Trace; c01041bf <show_trace_log_lvl+2f/50>
Trace; c01042a7 <show_stack_log_lvl+97/c0>
Trace; c0104532 <show_registers+1f2/2a0>
Trace; c01047dd <die+12d/240>
Trace; c011735c <do_page_fault+3ac/650>
Trace; c04eaeef <error_code+3f/44>
Trace; c02784ba <nfsd+18a/2b0>
Trace; c0103fb7 <kernel_thread_helper+7/10>

This architecture has variable length instructions, decoding before
eip
is unreliable, take these instructions with a pinch of salt.

Code; c04ad2d5 <svc_process+15/6a0>
00000000 <_EIP>:
Code; c04ad2d5 <svc_process+15/6a0>
0: 89 45 e8 mov %eax,0xffffffe8(%ebp)
Code; c04ad2d8 <svc_process+18/6a0>
3: 8b 52 28 mov 0x28(%edx),%edx
Code; c04ad2db <svc_process+1b/6a0>
6: 83 c6 70 add $0x70,%esi
Code; c04ad2de <svc_process+1e/6a0>
9: 89 55 e4 mov %edx,0xffffffe4(%ebp)
Code; c04ad2e1 <svc_process+21/6a0>
c: 8b 40 04 mov 0x4(%eax),%eax
Code; c04ad2e4 <svc_process+24/6a0>
f: 83 f8 17 cmp $0x17,%eax
Code; c04ad2e7 <svc_process+27/6a0>
12: 0f 86 6d 04 00 00 jbe 485 <_EIP+0x485>
Code; c04ad2ed <svc_process+2d/6a0>
18: 8b 5d 08 mov 0x8(%ebp),%ebx
Code; c04ad2f0 <svc_process+30/6a0>
1b: 8b 83 9c 04 00 00 mov 0x49c(%ebx),%eax
Code; c04ad2f6 <svc_process+36/6a0>
21: c7 83 a0 04 00 00 01 movl $0x1,0x4a0(%ebx)
Code; c04ad2fd <svc_process+3d/6a0>
28: 00 00 00

This decode from eip onwards should be reliable

Code; c04ad300 <svc_process+40/6a0>
00000000 <_EIP>:
Code; c04ad300 <svc_process+40/6a0> <=====
0: 8b 00 mov (%eax),%eax <=====
Code; c04ad302 <svc_process+42/6a0>
2: 89 04 24 mov %eax,(%esp)
Code; c04ad305 <svc_process+45/6a0>
5: e8 06 d4 ca ff call ffcad410 <_EIP+0xffcad410>
Code; c04ad30a <svc_process+4a/6a0>
a: c7 46 04 00 00 00 00 movl $0x0,0x4(%esi)
Code; c04ad311 <svc_process+51/6a0>
11: 89 c1 mov %eax,%ecx
Code; c04ad313 <svc_process+53/6a0>
13: 89 .byte 0x89
Code; c04ad314 <svc_process+54/6a0>
14: 43 inc %ebx

EIP: [<c04ad300>] svc_process+0x40/0x6a0 SS:ESP 0068:e52a0f70
Warning (Oops_read): Code line not seen, dumping what data is
available


>>EIP; c04ad300 <svc_process+40/6a0> <=====


2 warnings and 1 error issued. Results may not be reliable.

2006-09-09 14:45:00

by Andi Kleen

[permalink] [raw]
Subject: Re: [patch -mm] s390: fix save_stack_trace

On Friday 08 September 2006 14:16, Heiko Carstens wrote:
> From: Heiko Carstens <[email protected]>
>
> x86_64-mm-stacktrace-cleanup.patch reverses the logic in s390's
> save_stack_trace incorrectly. Fix this.

I added the patch to the original patch thanks
-Andi

2006-09-09 14:45:02

by Andi Kleen

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1 - x86_64-mm-lockdep-dont-force-framepointer.patch

On Friday 08 September 2006 14:23, Heiko Carstens wrote:
> x86_64-mm-lockdep-dont-force-framepointer.patch does this:
> > Don't force frame pointers for lockdep
> >
> > Now that stacktrace supports dwarf2 don't force frame pointers for
> > lockdep anymore
> >
> > Cc: [email protected]
> > Signed-off-by: Andi Kleen <[email protected]>
> >
> > ---
> > lib/Kconfig.debug | 1 -
> > 1 files changed, 1 deletion(-)
> >
> > Index: linux/lib/Kconfig.debug
> > ===================================================================
> > --- linux.orig/lib/Kconfig.debug
> > +++ linux/lib/Kconfig.debug
> > @@ -218,7 +218,6 @@ config LOCKDEP
> > bool
> > depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT &&
> > STACKTRACE_SUPPORT && LOCKDEP_SUPPORT select STACKTRACE
> > - select FRAME_POINTER
>
> This patch affects all architecture. I'd like to keep the "select
> FRAME_POINTER" for s390, since we don't support dwarf2.

Perhaps you should port the unwinder then? I know you use it
in userland.

> So this patch should be dropped.

I changed it now to add a if !X86 so it should be ok now

-Andi



2006-09-09 15:32:18

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

On Sat, 9 Sep 2006 11:04:49 +0200
[email protected] wrote:

> From: Andrew Morton <[email protected]>
> Date: Fri, Sep 08, 2006 at 12:44:11PM -0700
> > On Fri, 8 Sep 2006 21:30:41 +0200
> > [email protected] wrote:
> >
> > > From: Andrew Morton <[email protected]>
> > > Date: Fri, Sep 08, 2006 at 01:13:17AM -0700
> > > >
> > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
> > > >
> > > This throws an oops on my IBM Thinkpad T23 notebook. Some parts scroll
> > > off the screen, but the visible stack trace goes like this:
> > >
> > We'd really need to see that trace, please. netconsole is worth setting
> > up, if you have another machine on the LAN.
> >
> Well, I've learned that built-in framebuffers initialize _before_ the
> network stack is up, so that didn't help. Rebuilding savagefb as a
> module gave me:
>
> hub 3-0:1.0: 2 ports detected
> savagefb: mapped io at f8980000
> savagefb: probed videoram: 16384k
> savagefb: Detected current MCLK value of 71591 kHz
> savagefb: 1024x768 TFT LCD panel detected and active
> savagefb: Limiting video mode to 1024x768
> savagefb: mapped framebuffer at f8a80000, pbase == e8000000
> BUG: unable to handle kernel NULL pointer dereference at virtual address
> 00000000
> printing eip:
> f8831013
> *pde = 00000000
> Oops: 0000 [#1]
> 4K_STACKS PREEMPT
> last sysfs file: /devices/system/cpu/cpu0/cpufreq/scaling_governor
> Modules linked in: savagefb fb_ddc cfbimgblt uhci_hcd usbcore
> CPU: 0
> EIP: 0060:[<f8831013>] Not tainted VLI
> EFLAGS: 00010286 (2.6.18-rc6-mm1 #6)
> EIP is at fb_ddc_read+0x13/0x1c4 [fb_ddc]
> eax: f7faf250 ebx: 00000000 ecx: f7faf244 edx: f7faf244
> esi: 00000000 edi: f7faf008 ebp: f7fbed98 esp: f7fbed68
> ds: 007b es: 007b ss: 0068
> Process modprobe (pid: 1776, ti=f7fbe000 task=f7fbdab0
> task.ti=f7fbe000)
> Stack: 00000001 f7faf244 00004988 01000000 f7faf000 f9a6d9e0 f7fbede8 00000000
> f7faf244 f7faf208 f7faf000 f7faf008 f7fbedb0 f8846af9 f7faf250 f7faf208
> f7faf000 f7faf008 f7fbede8 f884667c f7faf000 f7faf6b0 f7fbedd0 c01ebe91
> Call Trace:
> [<c01039eb>] show_trace_log_lvl+0x15/0x28
> [<c0103a8a>] show_stack_log_lvl+0x8c/0x97
> [<c0103e48>] show_registers+0x188/0x21c
> [<c0104085>] die+0x1a9/0x283
> [<c0113bb5>] do_page_fault+0x3ed/0x4bf
> [<c03421df>] error_code+0x3f/0x44
> [<f8846af9>] savagefb_probe_i2c_connector+0x18/0x66 [savagefb]
> [<f884667c>] savagefb_probe+0x484/0x672 [savagefb]
> [<c01f6722>] pci_device_probe+0x3a/0x61
> [<c0269ecb>] really_probe+0x37/0xb0
> [<c0269fbc>] driver_probe_device+0x78/0x84
> [<c026a06a>] __driver_attach+0x38/0x60
> [<c026992a>] bus_for_each_dev+0x42/0x69
> [<c0269df7>] driver_attach+0x16/0x18
> [<c0269491>] bus_add_driver+0x66/0x179
> [<c026a2f7>] driver_register+0x77/0x7c
> [<c01f68bf>] __pci_register_driver+0x5e/0x7e
> [<f882d02e>] savagefb_init+0x2e/0x36 [savagefb]
> [<c0132158>] sys_init_module+0x1274/0x1443
> [<c0102dd8>] syscall_call+0x7/0xb
> =======================
> Code: <ff> 33 ff 53 08 6a 00 ff 33 ff 53 08 c7 45 d4 00 00 00 00 83 c4 10 6a 00 31 ff ff 33 ff 53 04 6a
> EIP: [<f8831013>] fb_ddc_read+0x13/0x1c4 [fb_ddc] SS:ESP 0068:f7fbed68
>
> Hope this helps,

Does, thanks. I guess adapter->algo_data is NULL.

savagefb-use-generic-ddc-reading.patch, perhaps...


2006-09-09 18:27:44

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

On Sat, 9 Sep 2006 14:45:32 +0200
Magnus M??tt? <[email protected]> wrote:

> Hi Andrew,
>
> Sorry, forgot to CC lkml when I sent the first one.
>
> Andrew Morton wrote:
> >
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
> >
> > - autofs4 mounting of NFS is still sick.
>
> I got this oops on my machine when I ran df on another one which have
> mounted a few NFS shares from my machine. I got 5 more pretty much
> identical ones within 10 seconds after the first one (haven't seen
> any more after these though). Also, dmesg is filled with, about a
> gazillion of these:
> [15164.017991] RPC request reserved 9136 but used 9268
> [15164.037431] RPC request reserved 9136 but used 9268
> [15164.052988] RPC request reserved 9136 but used 9268
>
> Files are also getting corrupted when transfered from my machine, but
> using my machine as client works fine.

OK, so the NFS server isn't happy.

> oops here:
>
> Error (regular_file): read_ksyms stat /proc/ksyms failed

You don't need to run ksymoops at all in 2.6 - simply enable
CONFIG_KALLSYMS and the kernel does the rest.

> No modules in ksyms, skipping objects
> No ksyms, skipping lsmod
> BUG: unable to handle kernel NULL pointer dereference at virtual
> address 00000000
> c04ad300
> *pde = 00000000
> Oops: 0000 [#1]
> CPU: 0
> EIP: 0060:[<c04ad300>] Tainted: P VLI

What caused the taint?

> Using defaults from ksymoops -t elf32-i386 -a i386
> EFLAGS: 00210212 (2.6.18-rc6-mm1 #1)
> eax: 00000000 ebx: e5299000 ecx: 00000000 edx: e8843620
> esi: e5299070 edi: ffff84de ebp: e52a0fb0 esp: e52a0f70
> ds: 007b es: 007b ss: 0068
> Stack: 00200046 eb499aa0 00000001 eb499a84 00000000 e52a0f9c c04eaa1b
> eb499a84
> 00000001 e8843620 e529904c e52a0fb0 c012d70b 00000002 ffff84de
> ffff84de
> e52a0fe0 c02784ba e5299000 e52a0fc4 00000000 fffffeff ffffffff
> fffffef8
> Call Trace:
> [<c01041bf>] show_trace_log_lvl+0x2f/0x50
> [<c01042a7>] show_stack_log_lvl+0x97/0xc0
> [<c0104532>] show_registers+0x1f2/0x2a0
> [<c01047dd>] die+0x12d/0x240
> [<c011735c>] do_page_fault+0x3ac/0x650
> [<c04eaeef>] error_code+0x3f/0x44
> [<c02784ba>] nfsd+0x18a/0x2b0
> [<c0103fb7>] kernel_thread_helper+0x7/0x10
> Code: 89 45 e8 8b 52 28 83 c6 70 89 55 e4 8b 40 04 83 f8 17 0f 86 6d
> 04 00 00 8b 5d 08 8b 83 9c 04 00 00 c7 83 a0 04 00 00 01 00 00 00
> <8b> 00 89 04 24 e8 06 d4 ca ff c7 46 04 00 00 00 00 89 c1 89 43
>
>
> >>EIP; c04ad300 <svc_process+40/6a0> <=====
>
> Trace; c01041bf <show_trace_log_lvl+2f/50>
> Trace; c01042a7 <show_stack_log_lvl+97/c0>
> Trace; c0104532 <show_registers+1f2/2a0>
> Trace; c01047dd <die+12d/240>
> Trace; c011735c <do_page_fault+3ac/650>
> Trace; c04eaeef <error_code+3f/44>
> Trace; c02784ba <nfsd+18a/2b0>
> Trace; c0103fb7 <kernel_thread_helper+7/10>
>
> This architecture has variable length instructions, decoding before
> eip
> is unreliable, take these instructions with a pinch of salt.
>
> Code; c04ad2d5 <svc_process+15/6a0>
> 00000000 <_EIP>:
> Code; c04ad2d5 <svc_process+15/6a0>
> 0: 89 45 e8 mov %eax,0xffffffe8(%ebp)
> Code; c04ad2d8 <svc_process+18/6a0>
> 3: 8b 52 28 mov 0x28(%edx),%edx
> Code; c04ad2db <svc_process+1b/6a0>
> 6: 83 c6 70 add $0x70,%esi
> Code; c04ad2de <svc_process+1e/6a0>
> 9: 89 55 e4 mov %edx,0xffffffe4(%ebp)
> Code; c04ad2e1 <svc_process+21/6a0>
> c: 8b 40 04 mov 0x4(%eax),%eax
> Code; c04ad2e4 <svc_process+24/6a0>
> f: 83 f8 17 cmp $0x17,%eax
> Code; c04ad2e7 <svc_process+27/6a0>
> 12: 0f 86 6d 04 00 00 jbe 485 <_EIP+0x485>
> Code; c04ad2ed <svc_process+2d/6a0>
> 18: 8b 5d 08 mov 0x8(%ebp),%ebx
> Code; c04ad2f0 <svc_process+30/6a0>
> 1b: 8b 83 9c 04 00 00 mov 0x49c(%ebx),%eax
> Code; c04ad2f6 <svc_process+36/6a0>
> 21: c7 83 a0 04 00 00 01 movl $0x1,0x4a0(%ebx)
> Code; c04ad2fd <svc_process+3d/6a0>
> 28: 00 00 00
>
> This decode from eip onwards should be reliable
>
> Code; c04ad300 <svc_process+40/6a0>
> 00000000 <_EIP>:
> Code; c04ad300 <svc_process+40/6a0> <=====
> 0: 8b 00 mov (%eax),%eax <=====
> Code; c04ad302 <svc_process+42/6a0>
> 2: 89 04 24 mov %eax,(%esp)
> Code; c04ad305 <svc_process+45/6a0>
> 5: e8 06 d4 ca ff call ffcad410 <_EIP+0xffcad410>
> Code; c04ad30a <svc_process+4a/6a0>
> a: c7 46 04 00 00 00 00 movl $0x0,0x4(%esi)
> Code; c04ad311 <svc_process+51/6a0>
> 11: 89 c1 mov %eax,%ecx
> Code; c04ad313 <svc_process+53/6a0>
> 13: 89 .byte 0x89
> Code; c04ad314 <svc_process+54/6a0>
> 14: 43 inc %ebx
>
> EIP: [<c04ad300>] svc_process+0x40/0x6a0 SS:ESP 0068:e52a0f70
> Warning (Oops_read): Code line not seen, dumping what data is
> available
>
>
> >>EIP; c04ad300 <svc_process+40/6a0> <=====
>
>
> 2 warnings and 1 error issued. Results may not be reliable.

2006-09-09 22:02:33

by Jean Delvare

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

Hi Andrew, Jurriaan, Antonino,

> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
> >
> > This throws an oops on my IBM Thinkpad T23 notebook. Some parts scroll
> > off the screen, but the visible stack trace goes like this:
> > (...)
> > hub 3-0:1.0: 2 ports detected
> > savagefb: mapped io at f8980000
> > savagefb: probed videoram: 16384k
> > savagefb: Detected current MCLK value of 71591 kHz
> > savagefb: 1024x768 TFT LCD panel detected and active
> > savagefb: Limiting video mode to 1024x768
> > savagefb: mapped framebuffer at f8a80000, pbase == e8000000
> > BUG: unable to handle kernel NULL pointer dereference at virtual address
> > 00000000
> > printing eip:
> > f8831013
> > *pde = 00000000
> > Oops: 0000 [#1]
> > 4K_STACKS PREEMPT
> > last sysfs file: /devices/system/cpu/cpu0/cpufreq/scaling_governor
> > Modules linked in: savagefb fb_ddc cfbimgblt uhci_hcd usbcore
> > CPU: 0
> > EIP: 0060:[<f8831013>] Not tainted VLI
> > EFLAGS: 00010286 (2.6.18-rc6-mm1 #6)
> > EIP is at fb_ddc_read+0x13/0x1c4 [fb_ddc]
> > eax: f7faf250 ebx: 00000000 ecx: f7faf244 edx: f7faf244
> > esi: 00000000 edi: f7faf008 ebp: f7fbed98 esp: f7fbed68
> > ds: 007b es: 007b ss: 0068
> > Process modprobe (pid: 1776, ti=f7fbe000 task=f7fbdab0
> > task.ti=f7fbe000)
> > Stack: 00000001 f7faf244 00004988 01000000 f7faf000 f9a6d9e0 f7fbede8 00000000
> > f7faf244 f7faf208 f7faf000 f7faf008 f7fbedb0 f8846af9 f7faf250 f7faf208
> > f7faf000 f7faf008 f7fbede8 f884667c f7faf000 f7faf6b0 f7fbedd0 c01ebe91
> > Call Trace:
> > [<c01039eb>] show_trace_log_lvl+0x15/0x28
> > [<c0103a8a>] show_stack_log_lvl+0x8c/0x97
> > [<c0103e48>] show_registers+0x188/0x21c
> > [<c0104085>] die+0x1a9/0x283
> > [<c0113bb5>] do_page_fault+0x3ed/0x4bf
> > [<c03421df>] error_code+0x3f/0x44
> > [<f8846af9>] savagefb_probe_i2c_connector+0x18/0x66 [savagefb]
> > [<f884667c>] savagefb_probe+0x484/0x672 [savagefb]
> > [<c01f6722>] pci_device_probe+0x3a/0x61
> > [<c0269ecb>] really_probe+0x37/0xb0
> > [<c0269fbc>] driver_probe_device+0x78/0x84
> > [<c026a06a>] __driver_attach+0x38/0x60
> > [<c026992a>] bus_for_each_dev+0x42/0x69
> > [<c0269df7>] driver_attach+0x16/0x18
> > [<c0269491>] bus_add_driver+0x66/0x179
> > [<c026a2f7>] driver_register+0x77/0x7c
> > [<c01f68bf>] __pci_register_driver+0x5e/0x7e
> > [<f882d02e>] savagefb_init+0x2e/0x36 [savagefb]
> > [<c0132158>] sys_init_module+0x1274/0x1443
> > [<c0102dd8>] syscall_call+0x7/0xb
> > =======================
> > Code: <ff> 33 ff 53 08 6a 00 ff 33 ff 53 08 c7 45 d4 00 00 00 00 83 c4 10 6a 00 31 ff ff 33 ff 53 04 6a
> > EIP: [<f8831013>] fb_ddc_read+0x13/0x1c4 [fb_ddc] SS:ESP 0068:f7fbed68
> >
> > Hope this helps,
>
> Does, thanks. I guess adapter->algo_data is NULL.
>
> savagefb-use-generic-ddc-reading.patch, perhaps...

I indeed think this patch is causing the oops. The old code did call
savage_do_probe_i2c_edid even if no i2c bus had been created for the
board, and savage_do_probe_i2c_edid bailed out quickly in that case
("chan->par = NULL;" at the end of savage_setup_i2c_bus, and "if
(chan->par) {" at the beginning of savage_do_probe_i2c_edid.) The new
fb_ddc_read function has no such quick exit, it pretty much assumes
that an i2c bus was successfully created beforehand.

So my guess is that Jurriaan's graphics adapter is supported by the
savagefb driver, but the driver doesn't create an i2c bus for it
(either because the hardware doesn't have it, or we simply have no
support.) Jurriaan, please confirm that your adapter is not one of
Savage4, Savage2000, ProSavagePM, ProSavage8.

If my analysis is correct, the following patch should fix the problem.
It can probably be optimized/cleaned up, but I'll leave that to
Antonino. Jurriaan, can you please apply this patch on top of
2.6.18-rc6-mm1 and report success or failure?

* * * * *

Hot fix to savagefb-use-generic-ddc-reading.patch.

Signed-off-by: Jean Delvare <[email protected]>
Cc: "Antonino A. Daplas" <[email protected]>
---
drivers/video/savage/savagefb-i2c.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

--- linux-2.6.18-rc6-mm1.orig/drivers/video/savage/savagefb-i2c.c 2006-09-09 23:21:24.000000000 +0200
+++ linux-2.6.18-rc6-mm1/drivers/video/savage/savagefb-i2c.c 2006-09-09 23:52:56.000000000 +0200
@@ -218,7 +218,10 @@
struct savagefb_par *par = info->par;
u8 *edid;

- edid = fb_ddc_read(&par->chan.adapter);
+ if (par->chan.par)
+ edid = fb_ddc_read(&par->chan.adapter);
+ else
+ edid = NULL;

if (!edid) {
/* try to get from firmware */


--
Jean Delvare

2006-09-10 00:38:12

by Magnus Määttä

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

Hi again!

On Saturday 09 September 2006 20:27, Andrew Morton wrote:
> On Sat, 9 Sep 2006 14:45:32 +0200
>
> Magnus M??tt? <[email protected]> wrote:

> > I got this oops on my machine when I ran df on another one which
> > have mounted a few NFS shares from my machine. I got 5 more
> > pretty much identical ones within 10 seconds after the first one
> > (haven't seen any more after these though). Also, dmesg is filled
> > with, about a gazillion of these:
> > [15164.017991] RPC request reserved 9136 but used 9268
> > [15164.037431] RPC request reserved 9136 but used 9268
> > [15164.052988] RPC request reserved 9136 but used 9268
> >
> > Files are also getting corrupted when transfered from my machine,
> > but using my machine as client works fine.
>
> OK, so the NFS server isn't happy.
>
> > oops here:
> >
> > Error (regular_file): read_ksyms stat /proc/ksyms failed
>
> You don't need to run ksymoops at all in 2.6 - simply enable
> CONFIG_KALLSYMS and the kernel does the rest.

Oh, didn't know that!

> > No modules in ksyms, skipping objects
> > No ksyms, skipping lsmod
> > BUG: unable to handle kernel NULL pointer dereference at virtual
> > address 00000000
> > c04ad300
> > *pde = 00000000
> > Oops: 0000 [#1]
> > CPU: 0
> > EIP: 0060:[<c04ad300>] Tainted: P VLI
>
> What caused the taint?

I was pretty sure it was listed somewhere, but I guess it wasn't.
nvidia graphics module, I can try without it tomorrow if needed.

Ah, it was only listed in the original one:

[ 218.012273] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 218.012289] printing eip:
[ 218.012292] c04ad300
[ 218.012294] *pde = 00000000
[ 218.012302] Oops: 0000 [#1]
[ 218.021009] 4K_STACKS PREEMPT
[ 218.030577] last sysfs file: /class/input/input1/name
[ 218.046224] Modules linked in: snd_seq_midi snd_seq_oss ipaq usbserial nvidia agpgart eeprom snd_seq_dummy snd_pcm_oss snd_mixer_oss snd_emu10k1_synth snd_emux_synth snd_seq_virmidi snd_seq_midi_event snd_seq_midi_emul snd_seq snd_emu10k1 snd_rawmidi snd_ac97_codec snd_ac97_bus snd_pcm snd_seq_device snd_page_alloc snd_util_mem snd_hwdep psmouse
[ 218.142717] CPU: 0
[ 218.142718] EIP: 0060:[<c04ad300>] Tainted: P VLI
[ 218.142720] EFLAGS: 00210212 (2.6.18-rc6-mm1 #1)
[ 218.182388] EIP is at svc_process+0x40/0x6a0
[ 218.195608] eax: 00000000 ebx: e5299000 ecx: 00000000 edx: e8843620
[ 218.216639] esi: e5299070 edi: ffff84de ebp: e52a0fb0 esp: e52a0f70
[ 218.237666] ds: 007b es: 007b ss: 0068
[ 218.250352] Process nfsd (pid: 5040, ti=e52a0000 task=e52a5570 task.ti=e52a0000)
[ 218.272754] Stack: 00200046 eb499aa0 00000001 eb499a84 00000000 e52a0f9c c04eaa1b eb499a84
[ 218.299267] 00000001 e8843620 e529904c e52a0fb0 c012d70b 00000002 ffff84de ffff84de
[ 218.325781] e52a0fe0 c02784ba e5299000 e52a0fc4 00000000 fffffeff ffffffff fffffef8
[ 218.352294] Call Trace:
[ 218.360459] [<c01041bf>] show_trace_log_lvl+0x2f/0x50
[ 218.394276] [<c01042a7>] show_stack_log_lvl+0x97/0xc0
[ 218.428065] [<c0104532>] show_registers+0x1f2/0x2a0
[ 218.461416] [<c01047dd>] die+0x12d/0x240
[ 218.491904] [<c011735c>] do_page_fault+0x3ac/0x650
[ 218.525178] [<c04eaeef>] error_code+0x3f/0x44
[ 218.557331] [<c02784ba>] nfsd+0x18a/0x2b0
[ 218.588522] [<c0103fb7>] kernel_thread_helper+0x7/0x10
[ 218.623405] =======================
[ 218.653244] Code: 89 45 e8 8b 52 28 83 c6 70 89 55 e4 8b 40 04 83 f8 17 0f 86 6d 04 00 00 8b 5d 08 8b 83 9c 04 00 00 c7 83 a0 04 00 00 01 00 00 00 <8b> 00 89 04 24 e8 06 d4 ca ff c7 46 04 00 00 00 00 89 c1 89 43
[ 218.755843] EIP: [<c04ad300>] svc_process+0x40/0x6a0 SS:ESP 0068:e52a0f70



Regards,
Magnus M??tt?

2006-09-10 05:35:48

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

On Sun, 10 Sep 2006 02:37:51 +0200
Magnus M??tt? <[email protected]> wrote:

> > > EIP: 0060:[<c04ad300>] Tainted: P VLI
> >
> > What caused the taint?
>
> I was pretty sure it was listed somewhere, but I guess it wasn't.
> nvidia graphics module, I can try without it tomorrow if needed.
>

That would be appreciated thanks.

But first you'd need to ensure that it's a repeatable oops. If
it's not, the removing the nvidia driver won't tell us if the nvidia
driver caused it. (It almost certainly didn't).

2006-09-10 06:31:26

by jurriaan

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

From: Jean Delvare <[email protected]>
Date: Sun, Sep 10, 2006 at 12:02:45AM +0200
> Hi Andrew, Jurriaan, Antonino,
>
> So my guess is that Jurriaan's graphics adapter is supported by the
> savagefb driver, but the driver doesn't create an i2c bus for it
> (either because the hardware doesn't have it, or we simply have no
> support.) Jurriaan, please confirm that your adapter is not one of
> Savage4, Savage2000, ProSavagePM, ProSavage8.

lspci calls it 'S3 Inc. SuperSavage IX/C SDR (rev 05)'

>
> If my analysis is correct, the following patch should fix the problem.
> It can probably be optimized/cleaned up, but I'll leave that to
> Antonino. Jurriaan, can you please apply this patch on top of
> 2.6.18-rc6-mm1 and report success or failure?

This patch fixes my problems, rc6-mm1 boots without problems even with
the savagefb driver builtin.

Thanks,
Jurriaan
--
Genius untempered by ethics is a deadly commodity.
Iain Irvine - A Shadow on the Glass
Debian (Unstable) GNU/Linux 2.6.18-rc4-mm3 4423 bogomips load 0.04

2006-09-10 10:23:06

by Magnus Määttä

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

On Sunday 10 September 2006 07:35, Andrew Morton wrote:
> On Sun, 10 Sep 2006 02:37:51 +0200
> Magnus M??tt? <[email protected]> wrote:
>
> > > > EIP: 0060:[<c04ad300>] Tainted: P VLI
> > >
> > > What caused the taint?
> >
> > I was pretty sure it was listed somewhere, but I guess it wasn't.
> > nvidia graphics module, I can try without it tomorrow if needed.
> >
>
> That would be appreciated thanks.
>
> But first you'd need to ensure that it's a repeatable oops. If
> it's not, the removing the nvidia driver won't tell us if the nvidia
> driver caused it. (It almost certainly didn't).

Forgot to mention that I had this (well, I'm not 100% it was exactly the
same) oops with 2.6.18-rc5-mm1.

Here is the oops with an untainted kernel:

[ 161.078154] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 161.104908] printing eip:
[ 161.133157] c04ad300
[ 161.158755] *pde = 00000000
[ 161.186042] Oops: 0000 [#2]
[ 161.212933] 4K_STACKS PREEMPT
[ 161.240791] last sysfs file: /class/input/input1/name
[ 161.274954] Modules linked in: snd_seq_midi snd_seq_oss ipaq usbserial eeprom snd_seq_dummy snd_pcm_oss snd_mixer_oss snd_emu10k1_synth snd_emux_synth snd_seq_virmidi snd_seq_midi_event snd_seq_midi_emul snd_seq snd_emu10k1 snd_rawmidi snd_ac97_codec snd_ac97_bus snd_pcm snd_seq_device snd_page_alloc snd_util_mem snd_hwdep psmouse
[ 161.428307] CPU: 0
[ 161.428308] EIP: 0060:[<c04ad300>] Not tainted VLI
[ 161.428310] EFLAGS: 00010216 (2.6.18-rc6-mm1 #1)
[ 161.531660] EIP is at svc_process+0x40/0x6a0
[ 161.566957] eax: 00000000 ebx: eaf8c000 ecx: 00000000 edx: ead74d40
[ 161.610544] esi: eaf8c070 edi: ffff5225 ebp: eaf93fb0 esp: eaf93f70
[ 161.654260] ds: 007b es: 007b ss: 0068
[ 161.689932] Process nfsd (pid: 4655, ti=eaf93000 task=eaf9caa0 task.ti=eaf93000)
[ 161.712308] Stack: 00000046 eeedefe0 00000001 eeedefc4 00000000 eaf93f9c c04eaa1b eeedefc4
[ 161.762411] 00000001 ead74d40 eaf8c04c eaf93fb0 c012d70b 00000000 ffff5226 ffff5225
[ 161.812643] eaf93fe0 c02784ba eaf8c000 eaf93fc4 00000000 fffffeff ffffffff fffffef8
[ 161.862772] Call Trace:
[ 161.917732] [<c01041bf>] show_trace_log_lvl+0x2f/0x50
[ 161.956879] [<c01042a7>] show_stack_log_lvl+0x97/0xc0
[ 161.995482] [<c0104532>] show_registers+0x1f2/0x2a0
[ 162.033228] [<c01047dd>] die+0x12d/0x240
[ 162.067860] [<c011735c>] do_page_fault+0x3ac/0x650
[ 162.104983] [<c04eaeef>] error_code+0x3f/0x44
[ 162.140705] [<c02784ba>] nfsd+0x18a/0x2b0
[ 162.175232] [<c0103fb7>] kernel_thread_helper+0x7/0x10
[ 162.213210] =======================
[ 162.246050] Code: 89 45 e8 8b 52 28 83 c6 70 89 55 e4 8b 40 04 83 f8 17 0f 86 6d 04 00 00 8b 5d 08 8b 83 9c 04 00 00 c7 83 a0 04 00 00 01 00 00 00 <8b> 00 89 04 24 e8 06 d4 ca ff c7 46 04 00 00 00 00 89 c1 89 43
[ 162.354045] EIP: [<c04ad300>] svc_process+0x40/0x6a0 SS:ESP 0068:eaf93f70


And oops #1 just in case it's not unrelated (and the BUG just after it):
[ 105.928488] BUG: unable to handle kernel paging request at virtual address b79505a0
[ 105.928503] printing eip:
[ 105.928506] c013d14c
[ 105.928509] *pde = 2d268067
[ 105.928511] *pte = 00000000
[ 105.928518] Oops: 0000 [#1]
[ 105.952628] 4K_STACKS PREEMPT
[ 105.977498] last sysfs file: /class/input/input1/name
[ 106.008548] Modules linked in: snd_seq_midi snd_seq_oss ipaq usbserial eeprom snd_seq_dummy snd_pcm_oss snd_mixer_oss snd_emu10k1_synth snd_emux_synth snd_seq_virmidi snd_seq_midi_event snd_seq_midi_emul snd_seq snd_emu10k1 snd_rawmidi snd_ac97_codec snd_ac97_bus snd_pcm snd_seq_device snd_page_alloc snd_util_mem snd_hwdep psmouse
[ 106.150657] CPU: 0
[ 106.150658] EIP: 0060:[<c013d14c>] Not tainted VLI
[ 106.150660] EFLAGS: 00010002 (2.6.18-rc6-mm1 #1)
[ 106.241322] EIP is at trace_hardirqs_on+0x1c/0x150
[ 106.273081] eax: 00000001 ebx: b794fba0 ecx: b794f2e0 edx: b7f61410
[ 106.310907] esi: 00000008 edi: b7c08ff4 ebp: eee0dfa4 esp: eee0df8c
[ 106.348781] ds: 007b es: 007b ss: 0068
[ 106.378378] Process icecast (pid: 4446, ti=eee0d000 task=ee9d0050 task.ti=eee0d000)
[ 106.401560] Stack: eee0df9c 00000046 00000000 00000000 00000000 00000008 00000000 c01033ba
[ 106.445119] b7f61410 b794f2e0 00000000 00000000 b794f3b0 00000000 00000008 b7c08ff4
[ 106.489043] b794f388 00000000 0000007b 0000007b 00000033 000000af b7f61410 00000073
[ 106.533124] Call Trace:
[ 106.576870] [<c01041bf>] show_trace_log_lvl+0x2f/0x50
[ 106.610486] [<c01042a7>] show_stack_log_lvl+0x97/0xc0
[ 106.643976] [<c0104532>] show_registers+0x1f2/0x2a0
[ 106.676895] [<c01047dd>] die+0x12d/0x240
[ 106.707110] [<c011735c>] do_page_fault+0x3ac/0x650
[ 106.740133] [<c04eaeef>] error_code+0x3f/0x44
[ 106.771908] [<c01033ba>] sysenter_past_esp+0x93/0x99
[ 106.805629] =======================
[ 106.834887] Code: c7 05 94 9a 8b c0 01 00 00 00 89 e5 c9 c3 90 55 89 e5 56 53 83 ec 10 a1 a0 29 63 c0 65 8b 1d 00 00 00 00 85 c0 0f 84 89 00 00 00 <8b> b3 00 0a 00 00 85 f6 75 7f 8b 0d 94 9a 8b c0 85 c9 0f 84 96

[ 106.978502] <3>BUG: sleeping function called from invalid context at kernel/rwsem.c:20
[ 107.023854] in_atomic():0, irqs_disabled():1
[ 107.058071] [<c01041bf>] show_trace_log_lvl+0x2f/0x50
[ 107.095140] [<c0104207>] show_trace+0x27/0x30
[ 107.129851] [<c0104334>] dump_stack+0x24/0x30
[ 107.164377] [<c011d442>] __might_sleep+0xa2/0xc0
[ 107.199995] [<c013949e>] down_read+0x1e/0x60
[ 107.234807] [<c012e9b7>] blocking_notifier_call_chain+0x17/0x50
[ 107.275150] [<c0121881>] profile_task_exit+0x21/0x30
[ 107.312713] [<c012327b>] do_exit+0x1b/0x520
[ 107.348071] [<c01048e5>] die+0x235/0x240
[ 107.382754] [<c011735c>] do_page_fault+0x3ac/0x650
[ 107.419931] [<c04eaeef>] error_code+0x3f/0x44
[ 107.455575] [<c01033ba>] sysenter_past_esp+0x93/0x99
[ 107.492825] =======================

2006-09-11 02:39:11

by Chuck Ebbert

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

In-Reply-To: <[email protected]>

On Fri, 8 Sep 2006 01:13:17 -0700, Andrew Morton wrote:

> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/

$ cd 2.6.18-rc6-mm1
$ tar xjf 2.6.18-rc6-mm1-broken-out.tar.bz2
$ mv broken-out patches
$ quilt push -a
...
Applying patch gregkh-driver-pm-pci-and-ide-handle-pm_event_prethaw.patch
patching file drivers/ide/ide.c
Hunk #2 FAILED at 1221.
1 out of 2 hunks FAILED -- rejects in file drivers/ide/ide.c
patching file drivers/pci/pci.c
Patch gregkh-driver-pm-pci-and-ide-handle-pm_event_prethaw.patch does not apply (enforce with -f)


git-block.patch (applied earlier) has this:

--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -1217,9 +1217,9 @@ static int generic_ide_suspend(struct de
memset(&rq, 0, sizeof(rq));
memset(&rqpm, 0, sizeof(rqpm));
memset(&args, 0, sizeof(args));
- rq.flags = REQ_PM_SUSPEND;
+ rq.cmd_type = REQ_TYPE_PM_SUSPEND;
rq.special = &args;
- rq.end_io_data = &rqpm; <=================
+ rq.data = &rqpm; <=================
rqpm.pm_step = ide_pm_state_start_suspend;
rqpm.pm_state = state.event;


which conflicts with this chunk in the failing patch:

@@ -1221,7 +1221,9 @@ static int generic_ide_suspend(struct de
rq.special = &args;
rq.end_io_data = &rqpm; <=================
rqpm.pm_step = ide_pm_state_start_suspend;
- rqpm.pm_state = state.event;
+ if (mesg.event == PM_EVENT_PRETHAW)
+ mesg.event = PM_EVENT_FREEZE;
+ rqpm.pm_state = mesg.event;

return ide_do_drive_cmd(drive, &rq, ide_wait);
}


I fixed that, but then...

Applying patch git-gfs2.patch
patching file CREDITS
patching file Documentation/filesystems/gfs2.txt
patching file MAINTAINERS
patching file fs/Kconfig
Hunk #1 succeeded at 325 (offset 2 lines).
Hunk #2 FAILED at 1933.
1 out of 2 hunks FAILED -- rejects in file fs/Kconfig

--
Chuck

2006-09-11 05:14:42

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

On Sun, 10 Sep 2006 22:34:33 -0400
Chuck Ebbert <[email protected]> wrote:

> On Fri, 8 Sep 2006 01:13:17 -0700, Andrew Morton wrote:
>
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
>
> $ cd 2.6.18-rc6-mm1
> $ tar xjf 2.6.18-rc6-mm1-broken-out.tar.bz2
> $ mv broken-out patches
> $ quilt push -a
> ...
> Applying patch gregkh-driver-pm-pci-and-ide-handle-pm_event_prethaw.patch
> patching file drivers/ide/ide.c
> Hunk #2 FAILED at 1221.
> 1 out of 2 hunks FAILED -- rejects in file drivers/ide/ide.c
> patching file drivers/pci/pci.c
> Patch gregkh-driver-pm-pci-and-ide-handle-pm_event_prethaw.patch does not apply (enforce with -f)

It works for me - I expect your tree is out of sync.

2006-09-11 05:51:17

by Ingo Molnar

[permalink] [raw]
Subject: Re: lockdep warning in check_flags()


* Frederik Deweerdt <[email protected]> wrote:

> Lockdep issues the following warning:
>
> [ 16.835268] Freeing unused kernel memory: 260k freed
> [ 16.842715] Write protecting the kernel read-only data: 432k
> [ 17.796518] BUG: warning at kernel/lockdep.c:2359/check_flags()

this warning means that the "soft" and "hard" hardirqs-disabled state
got out of sync: the irqtrace tracking code thinks that hardirqs are
disabled, while in reality they are enabled. The thing to watch for are
new "stii" instructions in entry.S (and other assembly code), without a
matching TRACE_HARDIRQS_ON call. [Another, rarer possiblity is NMI code
saving/restoring interrupts - do you have NMIs enabled? (are there any
NMI counts in /proc/interrupts?)]

lockdep automatically generates a minimal trace of hardirqs-off
state-setting:

> [ 17.885839] irq event stamp: 8318
> [ 17.892746] hardirqs last enabled at (8317): [<c01032c8>] restore_nocheck+0x12/0x15
> [ 17.906778] hardirqs last disabled at (8318): [<c0103203>] sysenter_past_esp+0x6c/0x99
> [ 17.921481] softirqs last enabled at (7128): [<c0123cd1>] __do_softirq+0xe9/0xfa
> [ 17.936962] softirqs last disabled at (7121): [<c0123d3e>] do_softirq+0x5c/0x60

this means that the last registered 'hardirqs off' event was
sysenter_past_esp, i.e. the normal sysenter syscall entry code - but
nothing re-enabled hardirqs - which is weird, given that you ended up in
sys_brk().

> I've replaced the DEBUG_LOCKS_WARN_ON by a BUG, and it appears that
> the user space program calling sys_brk is hotplug.

(ok, i'll enhance the debug printout to include the process name and
PID.)

Ingo

2006-09-11 08:45:59

by Martin Schwidefsky

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1 - x86_64-mm-lockdep-dont-force-framepointer.patch

On Sat, 2006-09-09 at 15:39 +0200, Andi Kleen wrote:
> > This patch affects all architecture. I'd like to keep the "select
> > FRAME_POINTER" for s390, since we don't support dwarf2.
>
> Perhaps you should port the unwinder then? I know you use it
> in userland.

I have thought about porting the porting the unwinder but it is quite
some effort. Especially the CFI unwind annotations in entry.S are hairy.

> > So this patch should be dropped.
>
> I changed it now to add a if !X86 so it should be ok now

Thanks.

--
blue skies,
Martin.

Martin Schwidefsky
Linux for zSeries Development & Services
IBM Deutschland Entwicklung GmbH

"Reality continues to ruin my life." - Calvin.


2006-09-11 12:45:57

by Chuck Ebbert

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

In-Reply-To: <[email protected]>

On Sun, 10 Sep 2006 22:14:21 -0700, Andrew Morton wrote:

> > Patch gregkh-driver-pm-pci-and-ide-handle-pm_event_prethaw.patch does not apply (enforce with -f)
>
> It works for me - I expect your tree is out of sync.

Well something is out of sync but I don't think it's me.

Starting over with GPG-verified downloads from kernel.org I get:

$ tar xjf /mnt/t/lib/linux/2.6.17/linux-2.6.17.tar.bz2
$ cd linux-2.6.17
$ bzcat /mnt/t/lib/linux/2.6.18/rc6/patch-2.6.18-rc6.bz2 | patch -p1 -s
$ tar xjf /mnt/t/lib/linux/2.6.18/rc6/mm1/2.6.18-rc6-mm1-broken-out.tar.bz2
$ mv broken-out patches
$ quilt push -a
[...]
Applying patch gregkh-driver-pm-pci-and-ide-handle-pm_event_prethaw.patch
patching file drivers/ide/ide.c
Hunk #2 FAILED at 1221.
1 out of 2 hunks FAILED -- rejects in file drivers/ide/ide.c
patching file drivers/pci/pci.c
Patch gregkh-driver-pm-pci-and-ide-handle-pm_event_prethaw.patch does not apply
(enforce with -f)

And like I said, you can even see that git-block.patch, earlier in the series,
creates this problem:

$ quilt applied | fgrep block
git-block.patch
git-block-hack.patch

This is the failing hunk. The highlighted context line is wrong because
git-block.patch changed it:

--- gregkh-2.6.orig/drivers/ide/ide.c
+++ gregkh-2.6/drivers/ide/ide.c
@@ -1207,7 +1207,7 @@ int system_bus_clock (void)

EXPORT_SYMBOL(system_bus_clock);

-static int generic_ide_suspend(struct device *dev, pm_message_t state)
+static int generic_ide_suspend(struct device *dev, pm_message_t mesg)
{
ide_drive_t *drive = dev->driver_data;
struct request rq;
@@ -1221,7 +1221,9 @@ static int generic_ide_suspend(struct de
rq.special = &args;
rq.end_io_data = &rqpm; <===================
rqpm.pm_step = ide_pm_state_start_suspend;
- rqpm.pm_state = state.event;
+ if (mesg.event == PM_EVENT_PRETHAW)
+ mesg.event = PM_EVENT_FREEZE;
+ rqpm.pm_state = mesg.event;

return ide_do_drive_cmd(drive, &rq, ide_wait);
}

And here is the piece of git-block.patch that changed it:

--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -1217,9 +1217,9 @@ static int generic_ide_suspend(struct de
memset(&rq, 0, sizeof(rq));
memset(&rqpm, 0, sizeof(rqpm));
memset(&args, 0, sizeof(args));
- rq.flags = REQ_PM_SUSPEND;
+ rq.cmd_type = REQ_TYPE_PM_SUSPEND;
rq.special = &args;
- rq.end_io_data = &rqpm;
+ rq.data = &rqpm; <===================
rqpm.pm_step = ide_pm_state_start_suspend;
rqpm.pm_state = state.event;

--
Chuck

2006-09-11 17:23:35

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

On Mon, 11 Sep 2006 08:41:02 -0400
Chuck Ebbert <[email protected]> wrote:

> In-Reply-To: <[email protected]>
>
> On Sun, 10 Sep 2006 22:14:21 -0700, Andrew Morton wrote:
>
> > > Patch gregkh-driver-pm-pci-and-ide-handle-pm_event_prethaw.patch does not apply (enforce with -f)
> >
> > It works for me - I expect your tree is out of sync.
>
> Well something is out of sync but I don't think it's me.

Beats me, sorry.

wget ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.18-rc6.tar.bz2
wget ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/2.6.18-rc6-mm1-broken-out.tar.gz
box:/home/akpm> mkdir aa
box:/home/akpm> cd aa
box:/home/akpm/aa> tar xfj ../linux-2.6.18-rc6.tar.bz2
box:/home/akpm/aa> cd linux-2.6.18-rc6
box:/home/akpm/aa/linux-2.6.18-rc6> tar xfz ../../2.6.18-rc6-mm1-broken-out.tar.gz
box:/home/akpm/aa/linux-2.6.18-rc6> mv broken-out patches
box:/home/akpm/aa/linux-2.6.18-rc6> quilt push -a > /dev/null
box:/home/akpm/aa/linux-2.6.18-rc6> quilt applied | wc -l
1835

box:/home/akpm/aa/linux-2.6.18-rc6> quilt --version
0.45

2006-09-11 21:19:56

by Mark Haverkamp

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

On Fri, 2006-09-08 at 01:13 -0700, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
>

compiling a kernel with allnoconfig produces the following error:

CHK include/linux/version.h
CHK include/linux/utsrelease.h
CHK include/linux/compile.h
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
mm/built-in.o: In function `writeback_congestion_end':
(.text+0x5d3b): undefined reference to `blk_congestion_end'
make: *** [.tmp_vmlinux1] Error 1

The problem is that the block layer isn't configured and this is where
the blk_congestion_end symbol comes from.

This comes from the git-nfs.patch.


--
Mark Haverkamp <[email protected]>

2006-09-11 22:00:47

by Chuck Ebbert

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

In-Reply-To: <[email protected]>

On Mon, 11 Sep 2006 10:23:28 -0700, Andrew Morton wrote:

> wget ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.18-rc6.tar.bz2
> wget ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/2.6.18-rc6-mm1-broken-out.tar.gz
> box:/home/akpm> mkdir aa
> box:/home/akpm> cd aa
> box:/home/akpm/aa> tar xfj ../linux-2.6.18-rc6.tar.bz2
> box:/home/akpm/aa> cd linux-2.6.18-rc6
> box:/home/akpm/aa/linux-2.6.18-rc6> tar xfz ../../2.6.18-rc6-mm1-broken-out.tar.gz
> box:/home/akpm/aa/linux-2.6.18-rc6> mv broken-out patches
> box:/home/akpm/aa/linux-2.6.18-rc6> quilt push -a > /dev/null
> box:/home/akpm/aa/linux-2.6.18-rc6> quilt applied | wc -l
> 1835

I found the problem:

$ set | fgrep QUILT
QUILT_DIFF_OPTS=-p
QUILT_PATCH_OPTS=--fuzz=0
^^^^^^^^

Your patchset does have conflicts -- you're just ignoring them
by accepting fuzz (and patch hunks can even end up being applied
at the wrong place.)

--
Chuck

2006-09-11 22:08:20

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1

On Saturday, 9 September 2006 00:57, Rafael J. Wysocki wrote:
> On Friday, 8 September 2006 22:44, Alan Stern wrote:
> > On Fri, 8 Sep 2006, Andrew Morton wrote:
> >
> > > Alan, is this likely to be due to your USB PM changes?
> >
> > It's possible. Most of those changes are innocuous. They add routines
> > that don't get used until a later patch. However one of them might be
> > responsible.
>
> Well, after recompiling the kernel for several times (because of a different
> problem) I'm no longer able to reproduce the problem.

Now I have another symtom: during the _second_ suspend the suspending of
USB controllers fails with messages like this:

usb_hcd_pci_suspend(): ehci_pci_suspend+0x0/0xab [ehci_hcd]() returns -22
pci_device_suspend(): usb_hcd_pci_suspend+0x0/0x16d [usbcore]() returns -22
suspend_device(): pci_device_suspend+0x0/0x4b() returns -22
Could not suspend device 0000:00:13.2: error -22

Could you please tell me which patches might have caused this, in your opinion?

Rafael


--
You never change things by fighting the existing reality.
R. Buckminster Fuller

2006-09-11 22:17:09

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

On Mon, 11 Sep 2006 14:19:52 -0700
Mark Haverkamp <[email protected]> wrote:

> On Fri, 2006-09-08 at 01:13 -0700, Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
> >
>
> compiling a kernel with allnoconfig produces the following error:
>
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> CHK include/linux/compile.h
> GEN .version
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> mm/built-in.o: In function `writeback_congestion_end':
> (.text+0x5d3b): undefined reference to `blk_congestion_end'
> make: *** [.tmp_vmlinux1] Error 1
>
> The problem is that the block layer isn't configured and this is where
> the blk_congestion_end symbol comes from.
>
> This comes from the git-nfs.patch.
>

Yup, CONFIG_BLOCK=n is bust, sorry. It's relatively simple to fix but I've
basically thrown up my hands and decided that we can tidy this up once
everything hits mainline. Or Jens or Trond (whoever merges second) will
fix it prior to merging.

2006-09-11 22:36:11

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

On Mon, 11 Sep 2006 17:56:26 -0400
Chuck Ebbert <[email protected]> wrote:

> In-Reply-To: <[email protected]>
>
> On Mon, 11 Sep 2006 10:23:28 -0700, Andrew Morton wrote:
>
> > wget ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.18-rc6.tar.bz2
> > wget ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/2.6.18-rc6-mm1-broken-out.tar.gz
> > box:/home/akpm> mkdir aa
> > box:/home/akpm> cd aa
> > box:/home/akpm/aa> tar xfj ../linux-2.6.18-rc6.tar.bz2
> > box:/home/akpm/aa> cd linux-2.6.18-rc6
> > box:/home/akpm/aa/linux-2.6.18-rc6> tar xfz ../../2.6.18-rc6-mm1-broken-out.tar.gz
> > box:/home/akpm/aa/linux-2.6.18-rc6> mv broken-out patches
> > box:/home/akpm/aa/linux-2.6.18-rc6> quilt push -a > /dev/null
> > box:/home/akpm/aa/linux-2.6.18-rc6> quilt applied | wc -l
> > 1835
>
> I found the problem:
>
> $ set | fgrep QUILT
> QUILT_DIFF_OPTS=-p
> QUILT_PATCH_OPTS=--fuzz=0
> ^^^^^^^^
>
> Your patchset does have conflicts -- you're just ignoring them
> by accepting fuzz (and patch hunks can even end up being applied
> at the wrong place.)
>

Sure. The -mm queue always has large amount of fuzz. Lots and lots. I'll
occasionally go and rediff the fuzzy patches to clean things up, but that
involves pointlessly incrementing the local version number on 200-300
patches, which I prefer to avoid.

2006-09-12 12:14:28

by Frederik Deweerdt

[permalink] [raw]
Subject: Re: lockdep warning in check_flags()

On Mon, Sep 11, 2006 at 07:43:35AM +0200, Ingo Molnar wrote:
>
> * Frederik Deweerdt <[email protected]> wrote:
>
> > Lockdep issues the following warning:
> >
> > [ 16.835268] Freeing unused kernel memory: 260k freed
> > [ 16.842715] Write protecting the kernel read-only data: 432k
> > [ 17.796518] BUG: warning at kernel/lockdep.c:2359/check_flags()
>
> this warning means that the "soft" and "hard" hardirqs-disabled state
> got out of sync: the irqtrace tracking code thinks that hardirqs are
> disabled, while in reality they are enabled. The thing to watch for are
> new "stii" instructions in entry.S (and other assembly code), without a
> matching TRACE_HARDIRQS_ON call. [Another, rarer possiblity is NMI code
> saving/restoring interrupts - do you have NMIs enabled? (are there any
> NMI counts in /proc/interrupts?)]
NMIs were disabled. But I've just booted -mm2 and the warning went away.
Could this be related to the recent pda changes?
FWIW, I did the bisection (inserting TRACE_HARDIRQS_ON between
sysenter_past_esp and the cli) and it gave the following result:
In entry.S:
310
311 pushl %eax
312 CFI_ADJUST_CFA_OFFSET 4
313 SAVE_ALL
314 GET_THREAD_INFO(%ebp)
315
If I put TRACE_HARDIRQS_ON at line 310, lockdep complains about having
interrupts enabled and being told to re-enable them. If I put
TRACE_HARDIRQS_ON at line 315, lockdep goes back to the original
message.

Regards,
Frederik
>
> lockdep automatically generates a minimal trace of hardirqs-off
> state-setting:
>
> > [ 17.885839] irq event stamp: 8318
> > [ 17.892746] hardirqs last enabled at (8317): [<c01032c8>] restore_nocheck+0x12/0x15
> > [ 17.906778] hardirqs last disabled at (8318): [<c0103203>] sysenter_past_esp+0x6c/0x99
> > [ 17.921481] softirqs last enabled at (7128): [<c0123cd1>] __do_softirq+0xe9/0xfa
> > [ 17.936962] softirqs last disabled at (7121): [<c0123d3e>] do_softirq+0x5c/0x60
>
> this means that the last registered 'hardirqs off' event was
> sysenter_past_esp, i.e. the normal sysenter syscall entry code - but
> nothing re-enabled hardirqs - which is weird, given that you ended up in
> sys_brk().
>
> > I've replaced the DEBUG_LOCKS_WARN_ON by a BUG, and it appears that
> > the user space program calling sys_brk is hotplug.
>
> (ok, i'll enhance the debug printout to include the process name and
> PID.)
>
> Ingo
> -
> 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/
>

2006-09-12 14:28:29

by Alan Stern

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1

On Tue, 12 Sep 2006, Rafael J. Wysocki wrote:

> Now I have another symtom: during the _second_ suspend the suspending of
> USB controllers fails with messages like this:
>
> usb_hcd_pci_suspend(): ehci_pci_suspend+0x0/0xab [ehci_hcd]() returns -22
> pci_device_suspend(): usb_hcd_pci_suspend+0x0/0x16d [usbcore]() returns -22
> suspend_device(): pci_device_suspend+0x0/0x4b() returns -22
> Could not suspend device 0000:00:13.2: error -22
>
> Could you please tell me which patches might have caused this, in your opinion?

It's a little difficult to pin down the blame. In one form or another
this problem probably existed all along, although it may not have been
very obvious.

For those interested in the explanation:

The EHCI USB controller is represented in sysfs by two device structures.
The higher one represents the controller's PCI interface (let's call it
the "PCI-controller") and the lower one represents the USB interface
(let's call it the "root hub"). Inside the resume() routine for the
PCI-controller, if the driver finds that power was lost during the suspend
-- as it would be for suspend-to-disk -- the driver reinitializes the root
hub but without telling usbcore it has done so. If the root hub had
already been suspended at the time of the suspend-to-disk, then
resume-from-disk would skip calling its resume() method. So as far as
usbcore knows the root hub should still be suspended, but in fact it is
awake.

Consequently during the second suspend-to-disk, usbcore does not pass the
suspend() call on to the root hub's driver. Then the suspend() method for
the PCI-controller fails, because it sees that the child root hub is still
unsuspended.

I was just going to send in a patch to fix the problem. I haven't had
much of a chance to try it out yet. The patch is included below, so you
can test it right away and let me know if it works for you before I submit
it.

Alan Stern


Index: usb-2.6/drivers/usb/core/hub.c
===================================================================
--- usb-2.6.orig/drivers/usb/core/hub.c
+++ usb-2.6/drivers/usb/core/hub.c
@@ -1066,6 +1066,12 @@ void usb_root_hub_lost_power(struct usb_
unsigned long flags;

dev_warn(&rhdev->dev, "root hub lost power or was reset\n");
+
+ /* Make sure no potential wakeup events get lost,
+ * by forcing the root hub to be resumed.
+ */
+ rhdev->dev.power.prev_state.event = PM_EVENT_ON;
+
spin_lock_irqsave(&device_state_lock, flags);
hub = hdev_to_hub(rhdev);
for (port1 = 1; port1 <= rhdev->maxchild; ++port1) {

2006-09-12 17:03:25

by Ingo Molnar

[permalink] [raw]
Subject: Re: lockdep warning in check_flags()


* Frederik Deweerdt <[email protected]> wrote:

> On Mon, Sep 11, 2006 at 07:43:35AM +0200, Ingo Molnar wrote:
> >
> > * Frederik Deweerdt <[email protected]> wrote:
> >
> > > Lockdep issues the following warning:
> > >
> > > [ 16.835268] Freeing unused kernel memory: 260k freed
> > > [ 16.842715] Write protecting the kernel read-only data: 432k
> > > [ 17.796518] BUG: warning at kernel/lockdep.c:2359/check_flags()
> >
> > this warning means that the "soft" and "hard" hardirqs-disabled state
> > got out of sync: the irqtrace tracking code thinks that hardirqs are
> > disabled, while in reality they are enabled. The thing to watch for are
> > new "stii" instructions in entry.S (and other assembly code), without a
> > matching TRACE_HARDIRQS_ON call. [Another, rarer possiblity is NMI code
> > saving/restoring interrupts - do you have NMIs enabled? (are there any
> > NMI counts in /proc/interrupts?)]
> NMIs were disabled. But I've just booted -mm2 and the warning went away.
> Could this be related to the recent pda changes?

yeah, it could be related to the fix below. Can you confirm that by
applying this to your -mm1 tree the message goes away?

Ingo

--------------->
Subject: [patch] i386-PDA, lockdep: fix %gs restore
From: Ingo Molnar <[email protected]>

in the syscall exit path the %gs selector has to be restored _after_ the
last kernel function has been called. If lockdep is enabled then this
kernel function is TRACE_IRQS_ON.

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

---
arch/i386/kernel/entry.S | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

Index: linux/arch/i386/kernel/entry.S
===================================================================
--- linux.orig/arch/i386/kernel/entry.S
+++ linux/arch/i386/kernel/entry.S
@@ -326,11 +326,12 @@ sysenter_past_esp:
testw $_TIF_ALLWORK_MASK, %cx
jne syscall_exit_work
/* if something modifies registers it must also disable sysexit */
-1: mov PT_GS(%esp), %gs
+1:
+ TRACE_IRQS_ON
+ mov PT_GS(%esp), %gs
movl PT_EIP(%esp), %edx
movl PT_OLDESP(%esp), %ecx
xorl %ebp,%ebp
- TRACE_IRQS_ON
ENABLE_INTERRUPTS_SYSEXIT
CFI_ENDPROC
.pushsection .fixup,"ax"; \

2006-09-12 17:23:42

by Mattia Dongili

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1

On Tue, Sep 12, 2006 at 10:28:27AM -0400, Alan Stern wrote:
> On Tue, 12 Sep 2006, Rafael J. Wysocki wrote:
>
> > Now I have another symtom: during the _second_ suspend the suspending of
> > USB controllers fails with messages like this:
> >
> > usb_hcd_pci_suspend(): ehci_pci_suspend+0x0/0xab [ehci_hcd]() returns -22
> > pci_device_suspend(): usb_hcd_pci_suspend+0x0/0x16d [usbcore]() returns -22
> > suspend_device(): pci_device_suspend+0x0/0x4b() returns -22
> > Could not suspend device 0000:00:13.2: error -22
> >
> > Could you please tell me which patches might have caused this, in your opinion?

oh great, I was going to report (almost) the same for S3:

[ 224.436000] uhci_hcd 0000:00:1d.2: Root hub isn't suspended!
[ 224.436000] usb_hcd_pci_suspend(): uhci_suspend+0x0/0xe0 [uhci_hcd]() returns -16
[ 224.436000] pci_device_suspend(): usb_hcd_pci_suspend+0x0/0x1a0 [usbcore]() returns -16
[ 224.436000] suspend_device(): pci_device_suspend+0x0/0x70() returns -16
[ 224.436000] Could not suspend device 0000:00:1d.2: error -16

I'd also add that the 3rd attempt at suspending will simply hang with
powered down monitor but sysrq is still available.

> It's a little difficult to pin down the blame. In one form or another
> this problem probably existed all along, although it may not have been
> very obvious.
>
> For those interested in the explanation:
>
> The EHCI USB controller is represented in sysfs by two device structures.
> The higher one represents the controller's PCI interface (let's call it
> the "PCI-controller") and the lower one represents the USB interface
> (let's call it the "root hub"). Inside the resume() routine for the
> PCI-controller, if the driver finds that power was lost during the suspend
> -- as it would be for suspend-to-disk -- the driver reinitializes the root
> hub but without telling usbcore it has done so. If the root hub had
> already been suspended at the time of the suspend-to-disk, then
> resume-from-disk would skip calling its resume() method. So as far as
> usbcore knows the root hub should still be suspended, but in fact it is
> awake.
>
> Consequently during the second suspend-to-disk, usbcore does not pass the
> suspend() call on to the root hub's driver. Then the suspend() method for
> the PCI-controller fails, because it sees that the child root hub is still
> unsuspended.

I assume this is still true for suspend-to-ram :)
Maybe this is related, I'd like to add also that with previous kernels
(all the 2.6.17*-mm serie until 2.6.18-rc5-mm1) after the first resume I
get those annoying "resets":

[73060.848000] usb 1-2: reset low speed USB device using uhci_hcd and address 3
[73128.332000] usb 1-2: reset low speed USB device using uhci_hcd and address 3
[73586.392000] usb 1-2: reset low speed USB device using uhci_hcd and address 3
[73944.592000] usb 1-2: reset low speed USB device using uhci_hcd and address 3

when the device is reset while typing the char being typed is repeated 4
times. Suspending and resuming again seems to fix that.
Oh, here it is:
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 003: ID 054c:0056 Sony Corp.
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 003: ID 046d:c001 Logitech, Inc. N48/M-BB48 [FirstMouse Plus]
Bus 001 Device 001: ID 0000:0000

> I was just going to send in a patch to fix the problem. I haven't had
> much of a chance to try it out yet. The patch is included below, so you
> can test it right away and let me know if it works for you before I submit
> it.

going to reboot to test it, hold on.

--
mattia
:wq!

2006-09-12 18:05:39

by Mattia Dongili

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1

On Tue, Sep 12, 2006 at 07:22:11PM +0200, Mattia Dongili wrote:
> On Tue, Sep 12, 2006 at 10:28:27AM -0400, Alan Stern wrote:
[...]
> > I was just going to send in a patch to fix the problem. I haven't had
> > much of a chance to try it out yet. The patch is included below, so you
> > can test it right away and let me know if it works for you before I submit
> > it.
>
> going to reboot to test it, hold on.

No luck here. I'll give -mm2 a run just to

full dmesg
with patch applied[1]:
http://oioio.altervista.org/linux/dmesg-2.6.18-rc6-mm1-fail-S3-2

without it (it's almost identical :)):
http://oioio.altervista.org/linux/dmesg-2.6.18-rc6-mm1-fail-S3

.config:
http://oioio.altervista.org/linux/config-2.6.18-rc6-mm1-3

[1]: I didn't rebuild fully, just applied the patch and re-run make
bzImage modules

--
mattia
:wq!

2006-09-12 18:22:35

by Frederik Deweerdt

[permalink] [raw]
Subject: Re: lockdep warning in check_flags()

On Tue, Sep 12, 2006 at 06:54:48PM +0200, Ingo Molnar wrote:
>
> * Frederik Deweerdt <[email protected]> wrote:
>
> > On Mon, Sep 11, 2006 at 07:43:35AM +0200, Ingo Molnar wrote:
> > >
> > > * Frederik Deweerdt <[email protected]> wrote:
> > >
> > > > Lockdep issues the following warning:
> > > >
> > > > [ 16.835268] Freeing unused kernel memory: 260k freed
> > > > [ 16.842715] Write protecting the kernel read-only data: 432k
> > > > [ 17.796518] BUG: warning at kernel/lockdep.c:2359/check_flags()
> > >
> > > this warning means that the "soft" and "hard" hardirqs-disabled state
> > > got out of sync: the irqtrace tracking code thinks that hardirqs are
> > > disabled, while in reality they are enabled. The thing to watch for are
> > > new "stii" instructions in entry.S (and other assembly code), without a
> > > matching TRACE_HARDIRQS_ON call. [Another, rarer possiblity is NMI code
> > > saving/restoring interrupts - do you have NMIs enabled? (are there any
> > > NMI counts in /proc/interrupts?)]
> > NMIs were disabled. But I've just booted -mm2 and the warning went away.
> > Could this be related to the recent pda changes?
>
> yeah, it could be related to the fix below. Can you confirm that by
> applying this to your -mm1 tree the message goes away?
>
It does, thanks Ingo.
Frederik

2006-09-12 20:10:59

by Alan Stern

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1

On Tue, 12 Sep 2006, Mattia Dongili wrote:

> No luck here. I'll give -mm2 a run just to
>
> full dmesg
> with patch applied[1]:
> http://oioio.altervista.org/linux/dmesg-2.6.18-rc6-mm1-fail-S3-2
>
> without it (it's almost identical :)):
> http://oioio.altervista.org/linux/dmesg-2.6.18-rc6-mm1-fail-S3
>
> .config:
> http://oioio.altervista.org/linux/config-2.6.18-rc6-mm1-3
>
> [1]: I didn't rebuild fully, just applied the patch and re-run make
> bzImage modules

I can't reproduce your results here with my configuration. I used
2.6.18-rc6-mm2 instead of -mm1 but I don't think that should matter.

(It's also a little awkward to try. My system has the annoying habit of
waking up from suspend-to-RAM with the screen non-functional. No doubt a
BIOS problem.)

Please try this again after setting CONFIG_USB_DEBUG. It's hard to say
anything definite without more debugging info.

Alan Stern

2006-09-13 04:54:38

by NeilBrown

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

On Saturday September 9, [email protected] wrote:
> On Sat, 9 Sep 2006 14:45:32 +0200
> Magnus M??tt? <[email protected]> wrote:
> > [15164.017991] RPC request reserved 9136 but used 9268
> > [15164.037431] RPC request reserved 9136 but used 9268
> > [15164.052988] RPC request reserved 9136 but used 9268
> >

Don't know what is causing this yet....

> > Using defaults from ksymoops -t elf32-i386 -a i386
> > EFLAGS: 00210212 (2.6.18-rc6-mm1 #1)
> > eax: 00000000 ebx: e5299000 ecx: 00000000 edx: e8843620
..
> > [<c02784ba>] nfsd+0x18a/0x2b0
> > [<c0103fb7>] kernel_thread_helper+0x7/0x10
> > Code: 89 45 e8 8b 52 28 83 c6 70 89 55 e4 8b 40 04 83 f8 17 0f 86 6d
> > 04 00 00 8b 5d 08 8b 83 9c 04 00 00 c7 83 a0 04 00 00 01 00 00 00
> > <8b> 00 89 04 24 e8 06 d4 ca ff c7 46 04 00 00 00 00 89 c1 89 43
> >
> >
> > >>EIP; c04ad300 <svc_process+40/6a0> <=====

But this is probably fixed by the following patch.
Can you confirm?


thanks,
NeilBrown

Signed-off-by: Neil Brown <[email protected]>

### Diffstat output
./net/sunrpc/svcsock.c | 1 +
1 file changed, 1 insertion(+)

diff .prev/net/sunrpc/svcsock.c ./net/sunrpc/svcsock.c
--- .prev/net/sunrpc/svcsock.c 2006-09-13 14:48:05.000000000 +1000
+++ ./net/sunrpc/svcsock.c 2006-09-13 14:48:14.000000000 +1000
@@ -1709,6 +1709,7 @@ static int svc_deferred_recv(struct svc_
rqstp->rq_prot = dr->prot;
rqstp->rq_addr = dr->addr;
rqstp->rq_daddr = dr->daddr;
+ rqstp->rq_respages = rqstp->rq_pages;
return dr->argslen<<2;
}

2006-09-13 12:08:12

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Saturday, 9 September 2006 00:57, Rafael J. Wysocki wrote:
> On Friday, 8 September 2006 22:44, Alan Stern wrote:
> > On Fri, 8 Sep 2006, Andrew Morton wrote:
> >
> > > Alan, is this likely to be due to your USB PM changes?
> >
> > It's possible. Most of those changes are innocuous. They add routines
> > that don't get used until a later patch. However one of them might be
> > responsible.
>
> Well, after recompiling the kernel for several times (because of a different
> problem) I'm no longer able to reproduce the problem.

I have retested it on 2.6.18-rc6-mm1 and the problem sometimes happens.
It's not readily reproducible, as I said before, and it apparently doesn't
happen with gregkh-usb-usbcore-remove-usb_suspend_root_hub.patch
reverted.

Greetings,
Rafael


--
You never change things by fighting the existing reality.
R. Buckminster Fuller

2006-09-13 12:42:54

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Wednesday, 13 September 2006 14:07, Rafael J. Wysocki wrote:
> On Saturday, 9 September 2006 00:57, Rafael J. Wysocki wrote:
> > On Friday, 8 September 2006 22:44, Alan Stern wrote:
> > > On Fri, 8 Sep 2006, Andrew Morton wrote:
> > >
> > > > Alan, is this likely to be due to your USB PM changes?
> > >
> > > It's possible. Most of those changes are innocuous. They add routines
> > > that don't get used until a later patch. However one of them might be
> > > responsible.
> >
> > Well, after recompiling the kernel for several times (because of a different
> > problem) I'm no longer able to reproduce the problem.
>
> I have retested it on 2.6.18-rc6-mm1 and the problem sometimes happens.
> It's not readily reproducible, as I said before, and it apparently doesn't
> happen with gregkh-usb-usbcore-remove-usb_suspend_root_hub.patch
> reverted.

Well, I have reproduced it with gregkh-usb-usbcore-remove-usb_suspend_root_hub.patch
reverted too.

Attached is the output of dmesg from the failing case with USB_DEBUG set.
It covers two attempts to suspend to disk, the second one being unsuccessful,
with reloading the ohci_hcd module in between. [This kernel also has your
other patch to prevent the second suspend from failing applied, but it doesn't
help.]

Greetings,
Rafael


--
You never change things by fighting the existing reality.
R. Buckminster Fuller


Attachments:
(No filename) (1.35 kB)
dmesg.log.gz (16.64 kB)
Download all attachments

2006-09-13 17:01:09

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1

On Tuesday, 12 September 2006 22:10, Alan Stern wrote:
> On Tue, 12 Sep 2006, Mattia Dongili wrote:
>
> > No luck here. I'll give -mm2 a run just to
> >
> > full dmesg
> > with patch applied[1]:
> > http://oioio.altervista.org/linux/dmesg-2.6.18-rc6-mm1-fail-S3-2
> >
> > without it (it's almost identical :)):
> > http://oioio.altervista.org/linux/dmesg-2.6.18-rc6-mm1-fail-S3
> >
> > .config:
> > http://oioio.altervista.org/linux/config-2.6.18-rc6-mm1-3
> >
> > [1]: I didn't rebuild fully, just applied the patch and re-run make
> > bzImage modules
>
> I can't reproduce your results here with my configuration. I used
> 2.6.18-rc6-mm2 instead of -mm1 but I don't think that should matter.

On my box the issue (the second suspend of USB controllers in a row fails
100% of the time) went away after I had reverted the following patches
(I'm using 2.6.18-rc6-mm2 now):

fix-gregkh-usb-usbcore-add-autosuspend-autoresume-infrastructure.patch
gregkh-usb-usbcore-add-autosuspend-autoresume-infrastructure.patch
gregkh-usb-usbcore-non-hub-specific-uses-of-autosuspend.patch
gregkh-usb-usbcore-remove-usb_suspend_root_hub.patch

Greetings,
Rafael


--
You never change things by fighting the existing reality.
R. Buckminster Fuller

2006-09-13 18:38:39

by Alan Stern

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Wed, 13 Sep 2006, Rafael J. Wysocki wrote:

> Well, I have reproduced it with gregkh-usb-usbcore-remove-usb_suspend_root_hub.patch
> reverted too.
>
> Attached is the output of dmesg from the failing case with USB_DEBUG set.
> It covers two attempts to suspend to disk, the second one being unsuccessful,
> with reloading the ohci_hcd module in between. [This kernel also has your
> other patch to prevent the second suspend from failing applied, but it doesn't
> help.]

Okay. Your problem, and probably Mattia's too, is something other than
what that recent patch addressed. I can't tell from the dmesg log exactly
what went wrong, but I can tell you where to look.

In drivers/usb/core/driver.c, resume_device() is not succeeding. That is,
the lines near the end which do

if (status == 0)
udev->dev.power.power_state.event = PM_EVENT_ON;

aren't running during the first resume. You can see this in the dmesg
log; lines 1173-1175 say

usb usb1: resuming
usbdev1.1_ep00: PM: resume from 0, parent usb1 still 1
hub 1-0:1.0: PM: resume from 0, parent usb1 still 1

If power_state.event had gotten set to PM_EVENT_ON then the parent state
would be 0, not 1. This is the source of your problem. During your
second suspend attempt, usb1 didn't get handled correctly because its
state was set wrong. (I suspect the mishandling took place in usbcore
rather than the PM core, but it doesn't matter. The state should not have
been wrong to begin with.) Consequently its parent device 0000:00:13.2
refused to freeze, which aborted the suspend attempt.

For the usb1 device, udriver->resume should point to the generic_resume()
routine in drivers/usb/core/generic.c. In fact, this should be true for
every device that driver.c:resume_device() sees. But generic_resume()
simply calls usb_port_resume() in hub.c, and the log doesn't contain any
of the USB debugging messages that usb_port_resume() would produce. So I
can't tell what happened.

The patch below will add some extra debugging information. We need to
find out why the resume didn't succeed. Oh -- and of course, you should
reinstate all those autosuspend patches. Otherwise this patch won't
apply!

Alan Stern



Index: mm/drivers/usb/core/driver.c
===================================================================
--- mm.orig/drivers/usb/core/driver.c
+++ mm/drivers/usb/core/driver.c
@@ -825,6 +825,7 @@ static int resume_device(struct usb_devi
struct usb_device_driver *udriver;
int status = 0;

+ dev_dbg(&udev->dev, "%s: state %d\n", __FUNCTION__, udev->state);
if (udev->state == USB_STATE_NOTATTACHED ||
udev->state != USB_STATE_SUSPENDED)
goto done;
@@ -839,7 +840,7 @@ static int resume_device(struct usb_devi
status = udriver->resume(udev);

done:
- // dev_dbg(&udev->dev, "%s: status %d\n", __FUNCTION__, status);
+ dev_dbg(&udev->dev, "%s: status %d\n", __FUNCTION__, status);
if (status == 0)
udev->dev.power.power_state.event = PM_EVENT_ON;
return status;

2006-09-13 20:01:27

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Wednesday, 13 September 2006 20:38, Alan Stern wrote:
> On Wed, 13 Sep 2006, Rafael J. Wysocki wrote:
>
> > Well, I have reproduced it with gregkh-usb-usbcore-remove-usb_suspend_root_hub.patch
> > reverted too.
> >
> > Attached is the output of dmesg from the failing case with USB_DEBUG set.
> > It covers two attempts to suspend to disk, the second one being unsuccessful,
> > with reloading the ohci_hcd module in between. [This kernel also has your
> > other patch to prevent the second suspend from failing applied, but it doesn't
> > help.]
>
> Okay. Your problem, and probably Mattia's too, is something other than
> what that recent patch addressed. I can't tell from the dmesg log exactly
> what went wrong, but I can tell you where to look.
>
> In drivers/usb/core/driver.c, resume_device() is not succeeding. That is,
> the lines near the end which do
>
> if (status == 0)
> udev->dev.power.power_state.event = PM_EVENT_ON;
>
> aren't running during the first resume. You can see this in the dmesg
> log; lines 1173-1175 say
>
> usb usb1: resuming
> usbdev1.1_ep00: PM: resume from 0, parent usb1 still 1
> hub 1-0:1.0: PM: resume from 0, parent usb1 still 1
>
> If power_state.event had gotten set to PM_EVENT_ON then the parent state
> would be 0, not 1. This is the source of your problem. During your
> second suspend attempt, usb1 didn't get handled correctly because its
> state was set wrong. (I suspect the mishandling took place in usbcore
> rather than the PM core, but it doesn't matter. The state should not have
> been wrong to begin with.) Consequently its parent device 0000:00:13.2
> refused to freeze, which aborted the suspend attempt.
>
> For the usb1 device, udriver->resume should point to the generic_resume()
> routine in drivers/usb/core/generic.c. In fact, this should be true for
> every device that driver.c:resume_device() sees. But generic_resume()
> simply calls usb_port_resume() in hub.c, and the log doesn't contain any
> of the USB debugging messages that usb_port_resume() would produce. So I
> can't tell what happened.
>
> The patch below will add some extra debugging information. We need to
> find out why the resume didn't succeed. Oh -- and of course, you should
> reinstate all those autosuspend patches. Otherwise this patch won't
> apply!

OK

Attached is a dmesg output from 2.6.18-rc6-mm2 with the patch applied.
It covers two consecutive attempts to suspend (the second one obviously
failed).

Greetings,
Rafael


--
You never change things by fighting the existing reality.
R. Buckminster Fuller


Attachments:
(No filename) (2.55 kB)
dmesg-debug.log.gz (14.46 kB)
Download all attachments

2006-09-13 20:39:44

by Mattia Dongili

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Wed, Sep 13, 2006 at 02:38:35PM -0400, Alan Stern wrote:
> On Wed, 13 Sep 2006, Rafael J. Wysocki wrote:
>
> > Well, I have reproduced it with gregkh-usb-usbcore-remove-usb_suspend_root_hub.patch
> > reverted too.
> >
> > Attached is the output of dmesg from the failing case with USB_DEBUG set.
> > It covers two attempts to suspend to disk, the second one being unsuccessful,
> > with reloading the ohci_hcd module in between. [This kernel also has your
> > other patch to prevent the second suspend from failing applied, but it doesn't
> > help.]
>
> Okay. Your problem, and probably Mattia's too, is something other than
> what that recent patch addressed. I can't tell from the dmesg log exactly
> what went wrong, but I can tell you where to look.
>
> In drivers/usb/core/driver.c, resume_device() is not succeeding. That is,
> the lines near the end which do
>
> if (status == 0)
> udev->dev.power.power_state.event = PM_EVENT_ON;
>
> aren't running during the first resume. You can see this in the dmesg
> log; lines 1173-1175 say
>
> usb usb1: resuming
> usbdev1.1_ep00: PM: resume from 0, parent usb1 still 1
> hub 1-0:1.0: PM: resume from 0, parent usb1 still 1
>
> If power_state.event had gotten set to PM_EVENT_ON then the parent state
> would be 0, not 1. This is the source of your problem. During your
> second suspend attempt, usb1 didn't get handled correctly because its
> state was set wrong. (I suspect the mishandling took place in usbcore
> rather than the PM core, but it doesn't matter. The state should not have
> been wrong to begin with.) Consequently its parent device 0000:00:13.2
> refused to freeze, which aborted the suspend attempt.
>
> For the usb1 device, udriver->resume should point to the generic_resume()
> routine in drivers/usb/core/generic.c. In fact, this should be true for
> every device that driver.c:resume_device() sees. But generic_resume()
> simply calls usb_port_resume() in hub.c, and the log doesn't contain any
> of the USB debugging messages that usb_port_resume() would produce. So I
> can't tell what happened.
>
> The patch below will add some extra debugging information. We need to
> find out why the resume didn't succeed. Oh -- and of course, you should
> reinstate all those autosuspend patches. Otherwise this patch won't
> apply!

ok, with USB_DEBUG=y and this is with your first patch still applied
http://oioio.altervista.org/linux/dmesg-2.6.18-rc6-mm1-verbose-usb-try2

this is without it:
http://oioio.altervista.org/linux/dmesg-2.6.18-rc6-mm1-verbose-usb-try3

I hope I'm not mixing thing too much with Rafael :)

Thanks
--
mattia
:wq!

2006-09-13 20:54:15

by Alan Stern

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Wed, 13 Sep 2006, Mattia Dongili wrote:

> > The patch below will add some extra debugging information. We need to
> > find out why the resume didn't succeed. Oh -- and of course, you should
> > reinstate all those autosuspend patches. Otherwise this patch won't
> > apply!
>
> ok, with USB_DEBUG=y and this is with your first patch still applied
> http://oioio.altervista.org/linux/dmesg-2.6.18-rc6-mm1-verbose-usb-try2
>
> this is without it:
> http://oioio.altervista.org/linux/dmesg-2.6.18-rc6-mm1-verbose-usb-try3
>
> I hope I'm not mixing thing too much with Rafael :)

No. But this log doesn't include the debugging output in the patch from
my previous message.

Alan Stern

2006-09-13 21:01:13

by Alan Stern

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Wed, 13 Sep 2006, Rafael J. Wysocki wrote:

> > The patch below will add some extra debugging information. We need to
> > find out why the resume didn't succeed. Oh -- and of course, you should
> > reinstate all those autosuspend patches. Otherwise this patch won't
> > apply!
>
> OK
>
> Attached is a dmesg output from 2.6.18-rc6-mm2 with the patch applied.
> It covers two consecutive attempts to suspend (the second one obviously
> failed).

Hmm... The patch didn't yield any output. Unlike Mattia's log, yours
doesn't include any lines saying "usb usb1: wakeup_rh" so I can't be sure
whether the patch code should have run or not.

Try this patch instead. It looks for problems occurring a little earlier
in the call chain.

Alan Stern


Index: mm/drivers/usb/core/hcd-pci.c
===================================================================
--- mm.orig/drivers/usb/core/hcd-pci.c
+++ mm/drivers/usb/core/hcd-pci.c
@@ -406,6 +406,8 @@ int usb_hcd_pci_resume (struct pci_dev *
usb_hc_died (hcd);
}
}
+ dev_dbg(&dev->dev, "Controller %p state after resume %d\n",
+ &dev->dev, dev->dev.power.power_state.event);

return retval;
}
Index: mm/drivers/usb/core/driver.c
===================================================================
--- mm.orig/drivers/usb/core/driver.c
+++ mm/drivers/usb/core/driver.c
@@ -1060,6 +1060,8 @@ int usb_resume_both(struct usb_device *u
struct usb_interface *intf;
struct usb_device *parent = udev->parent;

+ dev_dbg(&udev->dev, "Device state before resume %d\n", udev->state);
+
cancel_delayed_work(&udev->autosuspend);
if (udev->state == USB_STATE_NOTATTACHED)
return -ENODEV;
@@ -1072,6 +1074,9 @@ int usb_resume_both(struct usb_device *u
status = usb_resume_both(parent);
} else {

+ dev_dbg(&udev->dev, "Parent %p PM state %d\n",
+ udev->dev.parent, udev->dev.parent->power.power_state.event);
+
/* We can't progagate beyond the USB subsystem,
* so if a root hub's controller is suspended
* then we're stuck. */
@@ -1094,7 +1099,7 @@ int usb_resume_both(struct usb_device *u
}
}

- // dev_dbg(&udev->dev, "%s: status %d\n", __FUNCTION__, status);
+ dev_dbg(&udev->dev, "%s: status %d\n", __FUNCTION__, status);
return status;
}


2006-09-13 21:33:44

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Wednesday, 13 September 2006 23:01, Alan Stern wrote:
> On Wed, 13 Sep 2006, Rafael J. Wysocki wrote:
>
> > > The patch below will add some extra debugging information. We need to
> > > find out why the resume didn't succeed. Oh -- and of course, you should
> > > reinstate all those autosuspend patches. Otherwise this patch won't
> > > apply!
> >
> > OK
> >
> > Attached is a dmesg output from 2.6.18-rc6-mm2 with the patch applied.
> > It covers two consecutive attempts to suspend (the second one obviously
> > failed).
>
> Hmm... The patch didn't yield any output. Unlike Mattia's log, yours
> doesn't include any lines saying "usb usb1: wakeup_rh" so I can't be sure
> whether the patch code should have run or not.
>
> Try this patch instead. It looks for problems occurring a little earlier
> in the call chain.

I've applied both patches at a time (I hope they don't conflict).

The dmesg output is attached.

Greetings,
Rafael


--
You never change things by fighting the existing reality.
R. Buckminster Fuller


Attachments:
(No filename) (1.02 kB)
dmesg-debug-2.log.gz (14.62 kB)
Download all attachments

2006-09-13 21:55:10

by Alan Stern

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Wed, 13 Sep 2006, Rafael J. Wysocki wrote:

> > Try this patch instead. It looks for problems occurring a little earlier
> > in the call chain.
>
> I've applied both patches at a time (I hope they don't conflict).
>
> The dmesg output is attached.

The dmesg output shows the root-hub device state is set wrong.

I have to leave now, so I can't give you another patch to try. You can
experiment as follows...

Look in drivers/usb/host/ehci-pci.c, at ehci_pci_resume(). The part of
interest is everything following the "restart:" statement label.

Try adding some ehci_dbg() lines in there (copy the form of the line just
after restart:). We want to follow the value of
hcd->self.root_hub->state. Initially it should be equal to
USB_STATE_SUSPENDED (= 8), and it shouldn't change. But somewhere it is
getting set to USB_STATE_CONFIGURED (= 7). I don't know where, but almost
certainly somewhere in this routine. If you can find out where that
happens, I'd appreciate it.

Alan Stern

2006-09-14 13:15:33

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Wednesday, 13 September 2006 23:55, Alan Stern wrote:
> On Wed, 13 Sep 2006, Rafael J. Wysocki wrote:
>
> > > Try this patch instead. It looks for problems occurring a little earlier
> > > in the call chain.
> >
> > I've applied both patches at a time (I hope they don't conflict).
> >
> > The dmesg output is attached.
>
> The dmesg output shows the root-hub device state is set wrong.
>
> I have to leave now, so I can't give you another patch to try. You can
> experiment as follows...
>
> Look in drivers/usb/host/ehci-pci.c, at ehci_pci_resume(). The part of
> interest is everything following the "restart:" statement label.
>
> Try adding some ehci_dbg() lines in there (copy the form of the line just
> after restart:). We want to follow the value of
> hcd->self.root_hub->state. Initially it should be equal to
> USB_STATE_SUSPENDED (= 8), and it shouldn't change. But somewhere it is
> getting set to USB_STATE_CONFIGURED (= 7). I don't know where, but almost
> certainly somewhere in this routine. If you can find out where that
> happens, I'd appreciate it.

Done, but it shows hcd->self.root_hub->state is already 7 right after restart.

I've used the following patch to verify this:

---
drivers/usb/host/ehci-pci.c | 8 ++++++++
1 file changed, 8 insertions(+)

Index: linux-2.6.18-rc6-mm2/drivers/usb/host/ehci-pci.c
===================================================================
--- linux-2.6.18-rc6-mm2.orig/drivers/usb/host/ehci-pci.c
+++ linux-2.6.18-rc6-mm2/drivers/usb/host/ehci-pci.c
@@ -291,14 +291,19 @@ static int ehci_pci_resume(struct usb_hc

restart:
ehci_dbg(ehci, "lost power, restarting\n");
+ ehci_dbg(ehci, "root hub state: %d\n", hcd->self.root_hub->state);
usb_root_hub_lost_power(hcd->self.root_hub);
+ ehci_dbg(ehci, "root hub state: %d\n", hcd->self.root_hub->state);

/* Else reset, to cope with power loss or flush-to-storage
* style "resume" having let BIOS kick in during reboot.
*/
(void) ehci_halt(ehci);
+ ehci_dbg(ehci, "root hub state: %d\n", hcd->self.root_hub->state);
(void) ehci_reset(ehci);
+ ehci_dbg(ehci, "root hub state: %d\n", hcd->self.root_hub->state);
(void) ehci_pci_reinit(ehci, pdev);
+ ehci_dbg(ehci, "root hub state: %d\n", hcd->self.root_hub->state);

/* emptying the schedule aborts any urbs */
spin_lock_irq(&ehci->lock);
@@ -306,12 +311,15 @@ restart:
ehci->reclaim_ready = 1;
ehci_work(ehci, NULL);
spin_unlock_irq(&ehci->lock);
+ ehci_dbg(ehci, "root hub state: %d\n", hcd->self.root_hub->state);

/* restart; khubd will disconnect devices */
retval = ehci_run(hcd);
+ ehci_dbg(ehci, "root hub state: %d\n", hcd->self.root_hub->state);

/* here we "know" root ports should always stay powered */
ehci_port_power(ehci, 1);
+ ehci_dbg(ehci, "root hub state: %d\n", hcd->self.root_hub->state);

return retval;
}

The output of dmesg is attached.

Greetings,
Rafael


--
You never change things by fighting the existing reality.
R. Buckminster Fuller


Attachments:
(No filename) (2.93 kB)
dmesg-debug-3.log.gz (14.73 kB)
Download all attachments

2006-09-14 14:09:28

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Thursday, 14 September 2006 15:14, Rafael J. Wysocki wrote:
> On Wednesday, 13 September 2006 23:55, Alan Stern wrote:
> > On Wed, 13 Sep 2006, Rafael J. Wysocki wrote:
> >
> > > > Try this patch instead. It looks for problems occurring a little earlier
> > > > in the call chain.
> > >
> > > I've applied both patches at a time (I hope they don't conflict).
> > >
> > > The dmesg output is attached.
> >
> > The dmesg output shows the root-hub device state is set wrong.
> >
> > I have to leave now, so I can't give you another patch to try. You can
> > experiment as follows...
> >
> > Look in drivers/usb/host/ehci-pci.c, at ehci_pci_resume(). The part of
> > interest is everything following the "restart:" statement label.
> >
> > Try adding some ehci_dbg() lines in there (copy the form of the line just
> > after restart:). We want to follow the value of
> > hcd->self.root_hub->state. Initially it should be equal to
> > USB_STATE_SUSPENDED (= 8), and it shouldn't change. But somewhere it is
> > getting set to USB_STATE_CONFIGURED (= 7). I don't know where, but almost
> > certainly somewhere in this routine. If you can find out where that
> > happens, I'd appreciate it.
>
> Done, but it shows hcd->self.root_hub->state is already 7 right after restart.

BTW, all of the systems on which the problem shows up seem to be 64-bit.

If you can't reproduce it on a 32-bit system, some type casting may be wrong
somewhere.

Greetings,
Rafael


--
You never change things by fighting the existing reality.
R. Buckminster Fuller

2006-09-14 15:04:50

by Alan Stern

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Thu, 14 Sep 2006, Rafael J. Wysocki wrote:

> > > Try adding some ehci_dbg() lines in there (copy the form of the line just
> > > after restart:). We want to follow the value of
> > > hcd->self.root_hub->state. Initially it should be equal to
> > > USB_STATE_SUSPENDED (= 8), and it shouldn't change. But somewhere it is
> > > getting set to USB_STATE_CONFIGURED (= 7). I don't know where, but almost
> > > certainly somewhere in this routine. If you can find out where that
> > > happens, I'd appreciate it.
> >
> > Done, but it shows hcd->self.root_hub->state is already 7 right after restart.
>
> BTW, all of the systems on which the problem shows up seem to be 64-bit.
>
> If you can't reproduce it on a 32-bit system, some type casting may be wrong
> somewhere.

I realized last night what the problem must be. It's extremely obvious in
retrospect, but I happen to have a blind spot in this particular area.

All you guys must have CONFIG_USB_SUSPEND turned off. Mattis certainly
does; I checked his .config. Now I hardly ever do any testing without
CONFIG_USB_SUSPEND, since there's not much point working on power
management code if your kernel isn't set up to actually suspend devices.
As a result I missed seeing the problems caused by the autosuspend
changes.

Now of course, the autosuspend stuff has to work properly no matter what
the kernel configuration is. I'll go back and rebuild the drivers with
USB_SUSPEND turned off and see what happens. With any luck I'll have a
fix ready in the near future.

Alan Stern

2006-09-14 16:17:24

by Alan Stern

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Thu, 14 Sep 2006, Alan Stern wrote:

> Now of course, the autosuspend stuff has to work properly no matter what
> the kernel configuration is. I'll go back and rebuild the drivers with
> USB_SUSPEND turned off and see what happens. With any luck I'll have a
> fix ready in the near future.

This should start fixing things, but I'm not certain it will solve the
entire problem. If it doesn't work, send another dmesg log.

Alan Stern



Index: mm/drivers/usb/core/driver.c
===================================================================
--- mm.orig/drivers/usb/core/driver.c
+++ mm/drivers/usb/core/driver.c
@@ -813,7 +813,7 @@ static int suspend_device(struct usb_dev
status = udriver->suspend(udev, msg);

done:
- // dev_dbg(&udev->dev, "%s: status %d\n", __FUNCTION__, status);
+ dev_dbg(&udev->dev, "%s: status %d\n", __FUNCTION__, status);
if (status == 0)
udev->dev.power.power_state.event = msg.event;
return status;
@@ -839,7 +839,7 @@ static int resume_device(struct usb_devi
status = udriver->resume(udev);

done:
- // dev_dbg(&udev->dev, "%s: status %d\n", __FUNCTION__, status);
+ dev_dbg(&udev->dev, "%s: status %d\n", __FUNCTION__, status);
if (status == 0)
udev->dev.power.power_state.event = PM_EVENT_ON;
return status;
@@ -876,7 +876,7 @@ static int suspend_interface(struct usb_
}

done:
- // dev_dbg(&intf->dev, "%s: status %d\n", __FUNCTION__, status);
+ dev_dbg(&intf->dev, "%s: status %d\n", __FUNCTION__, status);
if (status == 0)
intf->dev.power.power_state.event = msg.event;
return status;
@@ -917,7 +917,7 @@ static int resume_interface(struct usb_i
}

done:
- // dev_dbg(&intf->dev, "%s: status %d\n", __FUNCTION__, status);
+ dev_dbg(&intf->dev, "%s: status %d\n", __FUNCTION__, status);
if (status == 0)
intf->dev.power.power_state.event = PM_EVENT_ON;
return status;
@@ -1021,7 +1021,7 @@ int usb_suspend_both(struct usb_device *
} else if (parent)
usb_autosuspend_device(parent, 0);

- // dev_dbg(&udev->dev, "%s: status %d\n", __FUNCTION__, status);
+ dev_dbg(&udev->dev, "%s: status %d\n", __FUNCTION__, status);
return status;
}

@@ -1079,11 +1079,12 @@ int usb_resume_both(struct usb_device *u
PM_EVENT_ON)
status = -EHOSTUNREACH;
}
- if (status == 0 && udev->state == USB_STATE_SUSPENDED)
+ if (status == 0)
status = resume_device(udev);
if (parent)
mutex_unlock(&parent->pm_mutex);
- }
+ } else
+ status = resume_device(udev);

/* Now the parent won't suspend until we are finished */

@@ -1094,7 +1095,7 @@ int usb_resume_both(struct usb_device *u
}
}

- // dev_dbg(&udev->dev, "%s: status %d\n", __FUNCTION__, status);
+ dev_dbg(&udev->dev, "%s: status %d\n", __FUNCTION__, status);
return status;
}

Index: mm/drivers/usb/core/hub.c
===================================================================
--- mm.orig/drivers/usb/core/hub.c
+++ mm/drivers/usb/core/hub.c
@@ -1898,6 +1898,8 @@ static int hub_suspend(struct usb_interf
if (bus) {
int status = hcd_bus_suspend (bus);

+ dev_dbg(&hdev->dev, "bus_suspend %d\n", status);
+
if (status != 0) {
dev_dbg(&hdev->dev, "'global' suspend %d\n",
status);
@@ -1923,6 +1925,9 @@ static int hub_resume(struct usb_interfa
struct usb_bus *bus = hdev->bus;
if (bus) {
status = hcd_bus_resume (bus);
+
+ dev_dbg(&hdev->dev, "bus_resume %d\n", status);
+
if (status) {
dev_dbg(&intf->dev, "'global' resume %d\n",
status);

2006-09-14 16:49:49

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Thursday, 14 September 2006 17:04, Alan Stern wrote:
> On Thu, 14 Sep 2006, Rafael J. Wysocki wrote:
>
> > > > Try adding some ehci_dbg() lines in there (copy the form of the line just
> > > > after restart:). We want to follow the value of
> > > > hcd->self.root_hub->state. Initially it should be equal to
> > > > USB_STATE_SUSPENDED (= 8), and it shouldn't change. But somewhere it is
> > > > getting set to USB_STATE_CONFIGURED (= 7). I don't know where, but almost
> > > > certainly somewhere in this routine. If you can find out where that
> > > > happens, I'd appreciate it.
> > >
> > > Done, but it shows hcd->self.root_hub->state is already 7 right after restart.
> >
> > BTW, all of the systems on which the problem shows up seem to be 64-bit.
> >
> > If you can't reproduce it on a 32-bit system, some type casting may be wrong
> > somewhere.
>
> I realized last night what the problem must be. It's extremely obvious in
> retrospect, but I happen to have a blind spot in this particular area.
>
> All you guys must have CONFIG_USB_SUSPEND turned off. Mattis certainly
> does; I checked his .config. Now I hardly ever do any testing without
> CONFIG_USB_SUSPEND, since there's not much point working on power
> management code if your kernel isn't set up to actually suspend devices.
> As a result I missed seeing the problems caused by the autosuspend
> changes.

Well, on my box the USB suspend also doesn't work with USB_SUSPEND set,
but the reason is different:

sb usb2: 'global' suspend -16
hub 2-0:1.0: suspend error -16
suspend_device(): usb_suspend+0x0/0x5b [usbcore]() returns -16
Could not suspend device usb2: error -16

The .config and full dmesg output (with the three debug patches applied) are
attached.

Greetings,
Rafael


--
You never change things by fighting the existing reality.
R. Buckminster Fuller


Attachments:
(No filename) (1.82 kB)
dmesg-usb-suspend.log.gz (15.11 kB)
kernel-config.gz (12.63 kB)
Download all attachments

2006-09-14 17:09:08

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Thursday, 14 September 2006 18:17, Alan Stern wrote:
> On Thu, 14 Sep 2006, Alan Stern wrote:
>
> > Now of course, the autosuspend stuff has to work properly no matter what
> > the kernel configuration is. I'll go back and rebuild the drivers with
> > USB_SUSPEND turned off and see what happens. With any luck I'll have a
> > fix ready in the near future.
>
> This should start fixing things, but I'm not certain it will solve the
> entire problem. If it doesn't work, send another dmesg log.

Now USB didn't work after the first resume (kernel configured with USB_SUSPEND
unset).

The dmesg output is attached.

Rafael


--
You never change things by fighting the existing reality.
R. Buckminster Fuller


Attachments:
(No filename) (721.00 B)
dmesg-with-fix.log.gz (13.97 kB)
Download all attachments

2006-09-14 17:14:10

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Thursday, 14 September 2006 19:08, Rafael J. Wysocki wrote:
> On Thursday, 14 September 2006 18:17, Alan Stern wrote:
> > On Thu, 14 Sep 2006, Alan Stern wrote:
> >
> > > Now of course, the autosuspend stuff has to work properly no matter what
> > > the kernel configuration is. I'll go back and rebuild the drivers with
> > > USB_SUSPEND turned off and see what happens. With any luck I'll have a
> > > fix ready in the near future.
> >
> > This should start fixing things, but I'm not certain it will solve the
> > entire problem. If it doesn't work, send another dmesg log.
>
> Now USB didn't work after the first resume (kernel configured with USB_SUSPEND
> unset).

Okay, this is not reproducible, so I gather it was due to my other problem
with the USB resume (sigh).

Anyway, the second suspend/resume worked just fine, so the patch apparently
helps.

Thanks,
Rafael


--
You never change things by fighting the existing reality.
R. Buckminster Fuller

2006-09-14 17:22:45

by Alan Stern

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Thu, 14 Sep 2006, Rafael J. Wysocki wrote:

> Now USB didn't work after the first resume (kernel configured with USB_SUSPEND
> unset).
>
> The dmesg output is attached.

This is getting too confusing. :-(

Let's try a simpler test. Leave USB_SUSPEND unset.

First rmmod ohci-hcd. None of your full-speed USB devices will work, but
that's okay. Try the suspend-twice test and see what happens.

Second, rmmod ehci-hcd and modprobe ohci-hcd. Again try the suspend-twice
test.

Having only one USB host driver loaded at any time should simplify things.

Alan Stern

2006-09-14 17:24:11

by Alan Stern

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Thu, 14 Sep 2006, Rafael J. Wysocki wrote:

> Okay, this is not reproducible, so I gather it was due to my other problem
> with the USB resume (sigh).
>
> Anyway, the second suspend/resume worked just fine, so the patch apparently
> helps.

Doing the simpler tests, with only one USB host driver at a time, is still
the best way to go. Once they both work with USB_SUSPEND turned off,
we'll try them with USB_SUSPEND turned on.

Alan Stern

2006-09-14 17:36:49

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Thursday, 14 September 2006 19:22, Alan Stern wrote:
> On Thu, 14 Sep 2006, Rafael J. Wysocki wrote:
>
> > Now USB didn't work after the first resume (kernel configured with USB_SUSPEND
> > unset).
> >
> > The dmesg output is attached.
>
> This is getting too confusing. :-(

Sorry for the confusion.

> Let's try a simpler test. Leave USB_SUSPEND unset.
>
> First rmmod ohci-hcd. None of your full-speed USB devices will work, but
> that's okay. Try the suspend-twice test and see what happens.
>
> Second, rmmod ehci-hcd and modprobe ohci-hcd. Again try the suspend-twice
> test.

Done, works (with USB_SUSPEND unset).

Greetings,
Rafael


--
You never change things by fighting the existing reality.
R. Buckminster Fuller

2006-09-14 18:28:53

by Alan Stern

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Thu, 14 Sep 2006, Rafael J. Wysocki wrote:

> > Let's try a simpler test. Leave USB_SUSPEND unset.
> >
> > First rmmod ohci-hcd. None of your full-speed USB devices will work, but
> > that's okay. Try the suspend-twice test and see what happens.
> >
> > Second, rmmod ehci-hcd and modprobe ohci-hcd. Again try the suspend-twice
> > test.
>
> Done, works (with USB_SUSPEND unset).

Okay, good. Then for the next stage, repeat the same tests but with
USB_SUSPEND set.

Alan Stern

2006-09-14 20:20:48

by Mattia Dongili

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Wed, Sep 13, 2006 at 04:54:13PM -0400, Alan Stern wrote:
> On Wed, 13 Sep 2006, Mattia Dongili wrote:
>
> > > The patch below will add some extra debugging information. We need to
> > > find out why the resume didn't succeed. Oh -- and of course, you should
> > > reinstate all those autosuspend patches. Otherwise this patch won't
> > > apply!
> >
> > ok, with USB_DEBUG=y and this is with your first patch still applied
> > http://oioio.altervista.org/linux/dmesg-2.6.18-rc6-mm1-verbose-usb-try2
> >
> > this is without it:
> > http://oioio.altervista.org/linux/dmesg-2.6.18-rc6-mm1-verbose-usb-try3
> >
> > I hope I'm not mixing thing too much with Rafael :)
>
> No. But this log doesn't include the debugging output in the patch from
> my previous message.

doh! I'm pretty sure the patch is applied...
$ patch -p1 --dry-run < ../add_usb_debug.patch
patching file drivers/usb/core/driver.c
Reversed (or previously applied) patch detected! Assume -R? [n]

Will try again with USB_SUSPEND=y, tomorrow I'll try to find some time
to test all the other things you suggested (if still necessary) :)
--
mattia
:wq!

2006-09-14 20:25:29

by Alan Stern

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Thu, 14 Sep 2006, Mattia Dongili wrote:

> > No. But this log doesn't include the debugging output in the patch from
> > my previous message.
>
> doh! I'm pretty sure the patch is applied...
> $ patch -p1 --dry-run < ../add_usb_debug.patch
> patching file drivers/usb/core/driver.c
> Reversed (or previously applied) patch detected! Assume -R? [n]

Actually I was wrong to think the patch wasn't in there just because it
didn't produce any output.

> Will try again with USB_SUSPEND=y, tomorrow I'll try to find some time
> to test all the other things you suggested (if still necessary) :)

No, don't do that. Keep USB_SUSPEND=n, and try only the most recent patch
I sent to Rafael:

http://marc.theaimsgroup.com/?l=linux-kernel&m=115825076000987&w=2

I know for certain that some of Rafael's problems are different from
yours, because his involve ehci-hcd and ohci-hcd whereas you have only
UHCI controllers.

Alan Stern

2006-09-14 20:42:08

by Mattia Dongili

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Thu, Sep 14, 2006 at 04:25:26PM -0400, Alan Stern wrote:
> On Thu, 14 Sep 2006, Mattia Dongili wrote:
[...]
> > Will try again with USB_SUSPEND=y, tomorrow I'll try to find some time
> > to test all the other things you suggested (if still necessary) :)
>
> No, don't do that. Keep USB_SUSPEND=n, and try only the most recent patch

damn! (hitting ctrl-c) :)

> I sent to Rafael:
>
> http://marc.theaimsgroup.com/?l=linux-kernel&m=115825076000987&w=2
>
> I know for certain that some of Rafael's problems are different from
> yours, because his involve ehci-hcd and ohci-hcd whereas you have only
> UHCI controllers.

ok, will do. But please allow some time (can go back to you tomorrow) as
I'm in low-spare-time-mode...

--
mattia
:wq!

2006-09-16 12:00:40

by Mattia Dongili

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Thu, Sep 14, 2006 at 04:25:26PM -0400, Alan Stern wrote:
> On Thu, 14 Sep 2006, Mattia Dongili wrote:
[...]
> > Will try again with USB_SUSPEND=y, tomorrow I'll try to find some time
> > to test all the other things you suggested (if still necessary) :)
>
> No, don't do that. Keep USB_SUSPEND=n, and try only the most recent patch
> I sent to Rafael:
>
> http://marc.theaimsgroup.com/?l=linux-kernel&m=115825076000987&w=2
>
> I know for certain that some of Rafael's problems are different from
> yours, because his involve ehci-hcd and ohci-hcd whereas you have only
> UHCI controllers.

Yay! this patch fixes the issue. It already survived 3 susp/resume
cycles.
Log is here:
http://oioio.altervista.org/linux/dmesg-2.6.18-rc6-mm1-usb-susp

Do you want to see a test run with USB_SUSPEND=y? (well I'll try it out
anyway)

Thanks again
PS: sadly spamcop has my provider in its blacklists, linux-usb-devel
didn't receive any of my mails...
--
mattia
:wq!

2006-09-16 14:10:33

by Magnus Määttä

[permalink] [raw]
Subject: Re: 2.6.18-rc6-mm1

Hi,

Sorry for the late reply, been away a few days.

On Wednesday 13 September 2006 06:54, Neil Brown wrote:
> On Saturday September 9, [email protected] wrote:
> > On Sat, 9 Sep 2006 14:45:32 +0200
> > Magnus M??tt? <[email protected]> wrote:
> > > [15164.017991] RPC request reserved 9136 but used 9268
> > > [15164.037431] RPC request reserved 9136 but used 9268
> > > [15164.052988] RPC request reserved 9136 but used 9268
> > >
>
> Don't know what is causing this yet....
>
> > > Using defaults from ksymoops -t elf32-i386 -a i386
> > > EFLAGS: 00210212 (2.6.18-rc6-mm1 #1)
> > > eax: 00000000 ebx: e5299000 ecx: 00000000 edx: e8843620
> ..
> > > [<c02784ba>] nfsd+0x18a/0x2b0
> > > [<c0103fb7>] kernel_thread_helper+0x7/0x10
> > > Code: 89 45 e8 8b 52 28 83 c6 70 89 55 e4 8b 40 04 83 f8 17 0f 86 6d
> > > 04 00 00 8b 5d 08 8b 83 9c 04 00 00 c7 83 a0 04 00 00 01 00 00 00
> > > <8b> 00 89 04 24 e8 06 d4 ca ff c7 46 04 00 00 00 00 89 c1 89 43
> > >
> > >
> > > >>EIP; c04ad300 <svc_process+40/6a0> <=====
>
> But this is probably fixed by the following patch.
> Can you confirm?

Yes, the patch fixed it, thanks!


Regards,
Magnus

2006-09-16 14:31:08

by Alan Stern

[permalink] [raw]
Subject: Re: [linux-usb-devel] 2.6.18-rc6-mm1 (-mm2): ohci resume problem

On Sat, 16 Sep 2006, Mattia Dongili wrote:

> Yay! this patch fixes the issue. It already survived 3 susp/resume
> cycles.
> Log is here:
> http://oioio.altervista.org/linux/dmesg-2.6.18-rc6-mm1-usb-susp
>
> Do you want to see a test run with USB_SUSPEND=y? (well I'll try it out
> anyway)

Then so far it looks good... I'll submit this patch early next week.

Alan Stern