Skip to contentSkip to conversation

2.6.18-rc1-mm1

PATCH New Andrew Morton 35 participants 104 messages Jul 9, 2006 – Jul 15, 2006

Subsystems (17)
lore
Share & tools
lore

Andrew Morton

author Applied
#0 lore raw

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

- We're getting a relatively large number of crash reports coming out of the core sysfs/kobject/driver/bus code, and they're all really hard to diagnose.

I am suspecting that what's happening is that some registration functions are failing and the caller is ignoring that failure. The code proceeds and crashes much later, in obscure ways.

All these functions return error codes, and we're not checking them. We should. So there's a patch which marks all these things as __must_check, which causes around 1,500 new warnings.

These are all bugs and they all need to be fixed.

In some cases (eg, sysfs file removal) there's not a lot the caller can do apart from warn, so we should probably change those things to return void and put a diagnostic message into the callee itself.

These new warnings can be turned off with CONFIG_ENABLE_MUST_CHECK=n, but I'll probably drop that patch. There's just no excuse for ignoring error codes and then blundering on to crash.

- There are some improvements to the swsusp disk IO handling. You should find that the suspend-time writeout and resume-time readin speeds are approximately doubled.

- reiser4 doesn't build, due to changes in

vectorize-aio_read-aio_write-fileop-methods.patch remove-readv-writev-methods-and-use-aio_read-aio_write.patch streamline-generic_file_-interfaces-and-filemap.patch

- You'll probably see these:

WARNING: drivers/net/3c59x ids 36 bad size (each on 16)
WARNING: drivers/net/depca ids 24 bad size (each on 16)
WARNING: drivers/net/dgrs ids 24 bad size (each on 16)
WARNING: drivers/net/hp100 ids 84 bad size (each on 16)
WARNING: drivers/net/ne3210 ids 36 bad size (each on 16)
WARNING: drivers/net/tulip/de4x5 ids 24 bad size (each on 16)
WARNING: drivers/scsi/aha1740 ids 60 bad size (each on 16)
WARNING: drivers/scsi/aic7xxx/aic7xxx ids 84 bad size (each on 16)

They're triggered by eisa-bus-modalias-attributes-support-1.patch but I don't know where the error lies. But I love the error message! Would be good to see on a tee shirt.

- powerpc (on Mac G5's at least) appears to be dead, probably due to the interrupt management changes in 2.6.18-rc1.

- please read the "Boilerplate", below. Especially the last point.

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.

Changes since 2.6.17-mm6:

origin.patch
git-acpi.patch
git-alsa.patch
git-cifs.patch
git-cpufreq.patch
git-geode.patch
git-gfs2.patch
git-ia64.patch
git-ieee1394.patch
git-infiniband.patch
git-input.patch
git-intelfb.patch
git-jfs.patch
git-klibc.patch
git-libata-all.patch
git-mtd.patch
git-netdev-all.patch
git-ocfs2.patch
git-pcmcia.patch
git-powerpc.patch
git-sas.patch
git-s390.patch
git-scsi-target.patch
git-supertrak.patch
git-watchdog.patch
git-xfs.patch
git-cryptodev.patch

git trees

-time-initialisation-fix.patch
-genirq-ia64-cleanup.patch -lockdep-special-s390-print_symbol-version.patch -bcm43xx-netlink-deadlock-fix.patch
-uml-build-fix.patch
-pnpacpi-support-shareable-interrupts.patch -serial-allow-shared-8250_pnp-interrupts.patch -zvc-zone_reclaim-leave-1%-of-unmapped-pagecache-pages-for-file-i-o.patch -binfmt_elf-fix-checks-for-bad-address.patch -kernel-doc-maintainers.patch -add-mike-isely-as-pvrusb2-maintainer.patch -fbdev-add-framebuffer-and-display-update-module-support.patch -vt-decrement-ref-count-of-the-vt-backend-on-deallocation.patch -make-more-file_operation-structs-static.patch -sparc-i8042-build-fix.patch
-sparc-resource-warning-fixes.patch -lockdep-floppyc-irq-release-fix.patch -lockdep-console_init-after-local_irq_enable.patch -lockdep-add-is_module_address.patch
-lockdep-add-print_ip_sym.patch
-lockdep-add-per_cpu_offset.patch -lockdep-add-disable-enable_irq_lockdep-api.patch -lockdep-add-local_irq_enable_in_hardirq-api.patch -lockdep-add-declare_completion_onstack-api.patch -lockdep-clean-up-rwsems.patch -lockdep-remove-rwsem_debug-remnants.patch -lockdep-rename-debug_warn_on.patch
-lockdep-remove-debug_bug_on.patch -lockdep-remove-mutex-deadlock-checking-code.patch -lockdep-better-lock-debugging.patch -lockdep-mutex-section-binutils-workaround.patch -lockdep-locking-init-debugging-improvement.patch -lockdep-beautify-x86_64-stacktraces.patch -lockdep-x86_64-document-stack-frame-internals.patch -lockdep-i386-remove-multi-entry-backtraces.patch -lockdep-stacktrace-subsystem-core.patch -lockdep-s390-config_frame_pointer-support.patch -lockdep-stacktrace-subsystem-i386-support.patch -lockdep-stacktrace-subsystem-x86_64-support.patch -lockdep-stacktrace-subsystem-s390-support.patch -lockdep-irqtrace-subsystem-core.patch -lockdep-irqtrace-subsystem-docs.patch -lockdep-irqtrace-subsystem-i386-support.patch -lockdep-irqtrace-cleanup-of-include-asm-i386-irqflagsh.patch -lockdep-irqtrace-subsystem-x86_64-support.patch -lockdep-irqtrace-cleanup-of-include-asm-x86_64-irqflagsh.patch -lockdep-irqtrace-subsystem-s390-support.patch -lockdep-locking-api-self-tests.patch
-lockdep-core.patch -lockdep-allow-read_lock-recursion-of-same-class.patch -lockdep-design-docs.patch
-lockdep-procfs.patch
-lockdep-prove-rwsem-locking-correctness.patch -lockdep-prove-spinlock-rwlock-locking-correctness.patch -lockdep-prove-mutex-locking-correctness.patch
-lockdep-kconfig.patch
-lockdep-print-all-lock-classes-on-sysrq-d.patch -lockdep-x86_64-early-init.patch -lockdep-x86-smp-alternatives-workaround.patch -lockdep-do-not-recurse-in-printk.patch -lockdep-fix-rt_hash_lock_sz.patch -lockdep-s390-turn-validator-off-in-machine-check-handler.patch -lockdep-enable-on-i386.patch
-lockdep-enable-on-x86_64.patch
-lockdep-enable-on-s390.patch
-lockdep-annotate-direct-io.patch
-lockdep-annotate-serial.patch
-lockdep-annotate-dcache.patch
-lockdep-annotate-i_mutex.patch
-lockdep-annotate-futex.patch
-lockdep-annotate-genirq.patch
-lockdep-annotate-waitqueues.patch
-lockdep-annotate-mm.patch
-lockdep-annotate-serio.patch -lockdep-annotate-skb_queue_head_init.patch -lockdep-annotate-timer-base-locks.patch -lockdep-annotate-scheduler-runqueue-locks.patch -lockdep-annotate-hrtimer-base-locks.patch -lockdep-annotate-sock_lock_init.patch -lockdep-annotate-af_unix-locking.patch -lockdep-annotate-bh_lock_sock.patch -lockdep-annotate-ieee1394-skb-queue-head-locking.patch -lockdep-annotate-mmap_sem.patch
-lockdep-annotate-sunrpc-code.patch -lockdep-annotate-ntfs-locking-rules.patch -lockdep-annotate-the-quota-code.patch
-lockdep-annotate-usbfs.patch -lockdep-annotate-sound-core-seq-seq_portsc.patch -lockdep-annotate-sound-core-seq-seq_devicec.patch -lockdep-annotate-8390c-disable_irq.patch -lockdep-annotate-3c59xc-disable_irq.patch -lockdep-annotate-enable_in_hardirq.patch -lockdep-annotate-on-stack-completions.patch -lockdep-annotate-qeth-driver.patch
-lockdep-annotate-s_lock.patch
-lockdep-annotate-sb-s_umount.patch
-lockdep-annotate-slab-code.patch
-lockdep-annotate-blkdev-nesting.patch -lockdep-annotate-vlan-net-device-as-being-a-special-class.patch -lockdep-annotate-on-stack-completions-mmc.patch -lockdep-annotate-sk_locks.patch -lockdep-annotate-hostap-netdev-xmit_lock.patch -forcedeth-typecast-cleanup.patch -lockdep-annotate-forcedethc-disable_irq.patch -lockdep-irqtrace-subsystem-move-account_system_vtime-calls-into-kernel-softirqc.patch -sched-clean-up-fallout-of-recent-changes.patch -sched-cleanup-remove-task_t-convert-to-struct-task_struct.patch -sched-cleanup-convert-schedc-internal-typedefs-to-struct.patch -gfs2-get_sb_dev-fix.patch
-8139cp-printk-fix.patch
-git-e1000.patch
-git-e1000-fixup.patch
-lock-validator-fix-ns83820c-irq-flags-bug.patch -ni5010-netcard-cleanup.patch -remove-dead-entry-in-net-wan-kconfig.patch -ioat-fix-sparse-ulong-warning.patch -af_unix-datagram-getpeersec-fix.patch -drivers-dma-iovlockc-make-num_pages_spanned-static.patch -fix-a-warning-in-ioatdma.patch
-ioat-fix-header-file-kernel-doc.patch -ioat-fix-kernel-doc-in-source-files.patch -net-adduse-poison-defines.patch
-atm-adduse-poison-defines.patch -drivers-scsi-megaraidc-add-a-dummy-mega_create_proc_entry-for-proc_fs=y.patch -gregkh-usb-usb-serial-dynamic-id.patch
-gregkh-usb-usbip.patch
-gregkh-usb-usb-usbip-build-fix.patch -gregkh-usb-usb-usbip-more-dead-code-fix.patch -gregkh-usb-usb-usbip-warning-fixes.patch -gregkh-usb-airprime_major_update.patch -fix-sco-on-some-bluetooth-adapters-2.patch -mm-x86_64-mm-init-rdtscp-warning-fix.patch -sleazy-fpu-feature-x86_64-support-fix.patch -x86_64-fix-calgary-copyright-statements-per-ibm-guidelines.patch -x86_64-add-a-maintainers-entry-for-calgary.patch -sched-fix-bug-in-__migrate_task.patch -small-kernel-schedc-cleanup.patch
-enable-oprofile-on-pentium-d.patch -valid_mmap_phys_addr_range-cleanup.patch -reiserfsfix-journaling-issue-regarding-fsync.patch -jmicron-pci-identifiers.patch -vt-remove-vt-specific-declarations-and-definitions-from.patch -vt-remove-vt-specific-declarations-and-definitions-from-fix.patch -tty-remove-include-of-screen_infoh-from-ttyh.patch -tty-remove-include-of-screen_infoh-from-ttyh-fix.patch -tty-remove-include-of-screen_infoh-from-ttyh-fix-fix.patch -md-oops-workaround.patch
-kernel-printkc-export_symbol_unused.patch -mm-bootmemc-export_unused_symbol.patch -mm-memoryc-export_unused_symbol.patch -mm-mmzonec-export_unused_symbol.patch -fs-read_writec-export_unused_symbol.patch -kernel-softirqc-export_unused_symbol.patch

Merged into mainline or a subsystem tree.

+dont-select-config_hotplug.patch +x86_64-e820c-needs-pgtableh.patch +acpi-bus-add-missing-newline.patch
+count_vm_events-fix.patch
+sched-fix-bug-in-__migrate_task.patch +small-kernel-schedc-cleanup.patch +selinux-decouple-fscontext-context-mount-options.patch +selinux-add-rootcontext=-option-to-label-root-inode.patch +reiserfsfix-journaling-issue-regarding-fsync.patch +nfs-update-documentation-nfsroottxt-to-include-dhcp-syslinux-and-isolinux.patch +add-computone-intelliport-plus-serial-hotplug-support.patch +add-specialix-io8-card-support-hotplug-support.patch +partitions-let-partitions-inherit-policy-from-disk.patch +fadvise-remove-dead-comments.patch +minor-cleanup-to-lockdepc.patch +lockdep-add-more-rwsemh-documentation.patch +improve-lockdep-debug-output.patch +lockdep-core-reduce-per-lock-class-cache-size.patch +lockdep-clean-up-completion-initializer-in-smpbootc.patch +put-a-comment-at-register_die_notifier-that-the-export-is-used.patch +rcu-documentation-fix.patch
+vfs-documentation-tweak.patch +cdrom-fix-bad-cgcbuflen-assignment.patch +release_firmware-fixes.patch
+updates-credits-file.patch
+hisax-fix-usage-of-__init.patch +vt-remove-vt-specific-declarations-and-definitions-from.patch +tty-remove-include-of-screen_infoh-from-ttyh.patch +md-possible-fix-for-unplug-problem.patch +md-set-desc_nr-correctly-for-version-1-superblocks.patch +md-delay-starting-md-threads-until-array-is-completely-setup.patch +md-fix-resync-speed-calculation-for-restarted-resyncs.patch +md-fix-a-plug-unplug-race-in-raid5.patch +md-fix-some-small-races-in-bitmap-plugging-in-raid5.patch +md-fix-usage-of-wrong-variable-in-raid1.patch +md-unify-usage-of-symbolic-names-for-perms.patch +md-require-cap_sys_admin-for-re-configuring-md-devices-via-sysfs.patch +md-include-sector-number-in-messages-about-corrected-read-errors.patch +md-oops-workaround.patch +kernel-printkc-export_symbol_unused.patch +mm-bootmemc-export_unused_symbol.patch +mm-memoryc-export_unused_symbol.patch +mm-mmzonec-export_unused_symbol.patch +fs-read_writec-export_unused_symbol.patch +kernel-softirqc-export_unused_symbol.patch +h8300-remove-duplicate-define.patch +acpi-fix-fan-thermal-resume.patch +pi-futex-validate-futex-type-instead-of-oopsing.patch +zvc-add-__inc_zone_state-for-smp-configuration.patch +vmstat-export-all_vm_events.patch +acpi-init-dock-notifier-list.patch +acpi-fix-boot-with-acpi=off.patch +adjust-clock-for-lost-ticks.patch

2.6.18-rc2 queue.

+acpi-do-not-abort-method-execution-if-asked-to-release.patch +acpi-disable-sbs-by-default.patch +acpi-initialise-cm_sbs_sem.patch +acpi-resume-allocation-mode-fix.patch

ACPI fixes.

+cpufreq-add-__find_governor-helper-and-clean-up-some.patch +cpufreq-demand-load-governor-modules.patch

cpufreq updates

+gregkh-driver-device_rename.patch +gregkh-driver-network-class_device-to-device.patch +gregkh-driver-class_device_rename-remove.patch

driver tree updates.

+add-__must_check-to-device-management-code.patch
+add-config_enable_must_check.patch
+v4l-dev2-handle-__must_check.patch

Add __must_check to lots of driver-layer API functions.

+allow-drm-detection-of-new-via-chipsets.patch

DRM device support.

+videodev-check-return-values.patch

Reduce the __must_check warning storm.

+gregkh-i2c-i2c-fix-ignore-module-parameter-handling-in-i2c-core.patch +gregkh-i2c-i2c-iop3xx-avoid-addressing-self.patch +gregkh-i2c-scx200_acb-fix-the-state-machine.patch +gregkh-i2c-scx200_acb-fix-the-block-transactions.patch +gregkh-i2c-i2c-powermac-fix-master-xfer-return.patch +gregkh-i2c-i2c-plan-ite-bus-driver-for-removal.patch +gregkh-i2c-i2c-new-mailing-list.patch +gregkh-i2c-i2c-algo-error-handling-fix.patch +gregkh-i2c-i2c-algo-bit-wipe-out-dead-code.patch +gregkh-i2c-i2c-pca9539-force.patch +gregkh-i2c-i2c-dev-cleanups.patch +gregkh-i2c-i2c-dev-convert-array-to-list.patch +gregkh-i2c-i2c-dev-drop-template-client.patch +gregkh-i2c-i2c-dev-device.patch

i2v tree updates.

-ieee1394-sbp2-enable-auto-spin-up-for-maxtor-disks.patch -ieee1394-fix-calculation-of-csr-expire.patch -ieee1394-fix-cosmetic-problem-in-speed-probe.patch -ieee1394-skip-dummy-loop-in-build_speed_map.patch -ieee1394-replace-__inline__-by-inline.patch -ieee1394-coding-style-and-comment-fixes-in-midlayer.patch -ieee1394-update-include-directives-in-midlayer-header.patch -ieee1394-remove-redundant-code-from-ieee1394_hotplugh.patch -ieee1394-remove-unused-macros-hpsb_panic-and.patch -ieee1394-clean-up-declarations-of-hpsb__config_rom.patch -ieee1394-dv1394-sem2mutex-conversion.patch -ieee1394-raw1394-remove-redundant-counting-semaphore.patch -ieee1394-nodemgr-remove-unnecessary-includes.patch -ieee1394-nodemgr-do-not-spawn-kernel_thread-for-sysfs.patch -ieee1394-nodemgr-make-module-parameter-ignore_drivers.patch -ieee1394-nodemgr-switch-to-kthread-api-replace-reset.patch -ieee1394-nodemgr-convert-nodemgr_serialize-semaphore.patch

Merged.

+git-ieee1394-fixup.patch

Fix reject due to git-ieee1394.patch

+git-input-list_for_each_entry-fix.patch

Fix bug in git-input.patch

+drivers-usb-input-ati_remotec-autorepeat-fix.patch

USB fix.

-git-hdrinstall2.patch

Dropped.

+pata-jmicron-add-quirks-to-force-the-device-into-a-sane-mode.patch +pata-jmicron-configuration.patch +pata-ata_generic-generic-bios-setup-sff-ata-driver.patch +pata-jmicron-ide-old-type-driver.patch +sata-add-pci-id.patch

PATA updates

-git-netdev-all-fixup.patch

Unneeded.

+lockdep-fix-atm-ipcommonc-deadlock.patch
+lockdep-annotate-8390c-disable_irq-2.patch

net fixes.

+8139cp-printk-fix.patch +82596-section-fixes.patch +ac3200-section-fixes.patch +cops-section-fix.patch +cs89x0-section-fix.patch +at1700-section-fix.patch +e2100-section-fix.patch +eepro-section-fix.patch +eexpress-section-fix.patch +es3210-section-fix.patch +eth16i-section-fix.patch +smsc-ircc2-fix-section-reference-mismatches.patch +lance-section-fix.patch +lne390-section-fix.patch +ni52-section-fix.patch +ibmtr-section-fix.patch +smctr-section-fix.patch +wd-section-fix.patch +ni65-section-fix.patch +seeq8005-section-fix.patch +winbond-840-section-fix.patch +fealnx-section-fix.patch +sundance-section-fix.patch

Fix various __init section bloopers. These were done quickly and need a second round.

+drivers-net-e1000-possible-cleanups.patch
+e1000_7033_dump_ring.patch
+forcedeth-deferral-fixup.patch
+forcedeth-watermark-fixup.patch
+freescale-qe-ucc-gigabit-ethernet-driver.patch

Net driver updates.

+via-ircc-fix-memory-leak.patch +lockdep-fix-sk_dst_check-deadlock.patch +netlink-improve-string-attribute-validation.patch

Net things.

+fs-nfs-make-code-static.patch

NFS cleanup

+pcmcia-update-alloc_io_space-for-conflict-checking-for-multifunction-pc-card-for-linux-kernel-26154.patch

PCMCIA update

+git-powerpc-briq_panel-Kconfig-fix.patch
+powermac-combined-fixes-for-backlight-code.patch

powerpc fixes.

-gregkh-pci-msi-merge-existing-msi-disabling-quirks.patch -gregkh-pci-msi-rename-pci_cap_id_ht_irqconf-into-pci_cap_id_ht.patch -gregkh-pci-msi-blacklist-pci-e-chipsets-depending-on-hypertransport-msi-capabality.patch -gregkh-pci-msi-factorize-common-msi-detection-code-from-pci_enable_msi-and-msix.patch -gregkh-pci-msi-stop-inheriting-bus-flags-and-check-root-chipset-bus-flags-instead.patch -gregkh-pci-msi-drop-pci_msi_quirk.patch
gregkh-pci-resources-insert-identical-resources-above-existing-resources.patch
+gregkh-pci-msi-01-merge_msi_disabling_quirks.patch +gregkh-pci-msi-02-factorize_pci_msi_supported.patch +gregkh-pci-msi-03-use_root_chipset_dev_no_msi_instead_of_pci_bus_flags.patch +gregkh-pci-msi-04-rename_pci_cap_id_ht_irqconf.patch +gregkh-pci-msi-05-check_hypertransport_msi_capabilities.patch +gregkh-pci-msi-06-drop_pci_msi_quirk.patch +gregkh-pci-msi-07-drop_pci_bus_flags.patch -revert-gregkh-pci-msi-drop-pci_msi_quirk.patch -revert-gregkh-pci-msi-stop-inheriting-bus-flags-and-check-root-chipset-bus-flags-instead.patch -revert-gregkh-pci-msi-factorize-common-msi-detection-code-from-pci_enable_msi-and-msix.patch -revert-gregkh-pci-msi-blacklist-pci-e-chipsets-depending-on-hypertransport-msi-capabality.patch -revert-gregkh-pci-msi-rename-pci_cap_id_ht_irqconf-into-pci_cap_id_ht.patch -revert-gregkh-pci-msi-merge-existing-msi-disabling-quirks.patch

New set of PCI MSI patches.

-git-scsi-misc-fixup.patch

Unneeded.

+pci-initialize-struct-pci_dev-error_state.patch
+pcie-check-and-return-bus_register-errors.patch
+pcie-cleanup-on-probe-error.patch

PCI later updates.

+make-drivers-scsi-aic7xxx-aic79xx_coreahd_set_tags-static.patch +NCR_D700-section-fix.patch +megaraid-fix-warnings-when-config_proc_fs=n.patch

SCSI updates

+areca-raid-linux-scsi-driver-update7.patch
+areca-raid-linux-scsi-driver-update7-fix.patch

Update drivers-scsi-arcmsr-cleanups.patch

+sparc64-of_device_register-error-checking-fix.patch

Add missing error check.

+gregkh-usb-usb-remove-devfs-information-from-kconfig.patch +gregkh-usb-usb-ipw.c-driver-fix.patch +gregkh-usb-usb-add-support-for-wisegroup.-ltd-smartjoy-dual-plus-adapter.patch +gregkh-usb-usbfs-private-mutex-for-open-release-and-remove.patch +gregkh-usb-usbfs-detect-device-unregistration.patch +gregkh-usb-usb-skeleton-don-t-submit-urbs-after-disconnection.patch

USB tree udpates (part thereof - I dropped ten-odd patches due to oopsing)

+rtl8150_disconnect-needs-tasklet_kill.patch
+usb-storage-wait-for-urb-to-complete.patch

USB fixes.

+x86_64-mm-tif-restore-sigmask.patch
+x86_64-mm-add-ppoll-pselect.patch +x86_64-mm-bring-x86-64-ia32-emul-in-sync-with-i386-on-read_implies_exec-enabling.patch +x86_64-mm-getcpu-vsyscall.patch +x86_64-mm-tif-flags-for-debug-regs-and-io-bitmap-in-ctxsw.patch +x86_64-mm-add-a-maintainers-entry-for-calgary.patch +x86_64-mm-fix-calgary-copyright-statements-per-ibm-guidelines.patch +x86_64-mm-fix-acpi-defaults.patch
+x86_64-mm-oprofile-p4-model.patch

x86_64 updates

Folded into sleazy-fpu-feature-x86_64-support.patch

+x86_64-wire-up-oops_enter-oops_exit.patch

Implement pause_on_oops on x86_64.

+xfs-move-xfs_ioc_getversion-to-main-multiplexer.patch

XFS cleanup

+mmap-zero-length-hugetlb-file-with-prot_none-to-protect-a.patch

hugetlb fixlet.

+convert-i386-numa-kva-space-to-bootmem.patch +convert-i386-numa-kva-space-to-bootmem-tidy.patch +bootmem-remove-useless-__init-in-header-file.patch +bootmem-mark-link_bootmem-as-part-of-the-__init-section.patch +bootmem-remove-useless-parentheses-in-bootmem-header.patch +bootmem-limit-to-80-columns-width.patch +bootmem-remove-useless-headers-inclusions.patch +bootmem-use-pfn-page-conversion-macros.patch +bootmem-miscellaneous-coding-style-fixes.patch +reduce-max_nr_zones-remove-two-strange-uses-of-max_nr_zones.patch +reduce-max_nr_zones-fix-max_nr_zones-array-initializations.patch +reduce-max_nr_zones-make-display-of-highmem-counters-conditional-on-config_highmem.patch +reduce-max_nr_zones-make-display-of-highmem-counters-conditional-on-config_highmem-tidy.patch +reduce-max_nr_zones-move-highmem-counters-into-highmemc-h.patch +reduce-max_nr_zones-page-allocator-zone_highmem-cleanup.patch +reduce-max_nr_zones-use-enum-to-define-zones-reformat-and-comment.patch +reduce-max_nr_zones-use-enum-to-define-zones-reformat-and-comment-cleanup.patch +reduce-max_nr_zones-make-zone_dma32-optional.patch +reduce-max_nr_zones-make-zone_highmem-optional.patch +reduce-max_nr_zones-remove-display-of-counters-for-unconfigured-zones.patch +reduce-max_nr_zones-remove-display-of-counters-for-unconfigured-zones-s390-fix.patch +reduce-max_nr_zones-fix-i386-srat-check-for-max_nr_zones.patch

Memory management updates.

+tiacx-build-fix.patch

Fix acx1xx-wireless-driver.patch

+binfmt_elf-consistently-use-loff_t.patch

binfmt_elf fixlet.

+fdpic-fix-fdpic-compile-errors-2.patch +frv-fix-frv-arch-compile-errors.patch +nommu-fix-execution-off-of-ramfs-with-mmap.patch +fdpic-adjust-the-elf-fdpic-driver-to-conform-more-to-the-codingstyle.patch +fdpic-define-seek_-constants-in-the-linux-kernel-headers.patch +fdpic-move-roundup-into-linux-kernelh.patch +fdpic-move-roundup-into-linux-kernelh-fix.patch +fdpic-add-coredump-capability-for-the-elf-fdpic-binfmt.patch +frv-introduce-asm-offsets-for-frv-arch.patch

FRV/nommu updates

+i386-early-fault-handler.patch +i386-require-acpi-for-numa-with-generic-architecture.patch +add-seccomp_disable_tsc-config-option.patch +i386-defconfig-set-config_pm_std_partition=.patch +get_cmos_time-locking-fix.patch

x86 updates

+swsusp-do-not-use-memcpy-for-snapshotting-memory.patch +swsusp-warning-fix.patch +fix-panic-when-swsusp-signature-cant-be-read.patch +swsusp-write-timer.patch +swsusp-write-speedup.patch +swsusp-read-timer.patch +swsusp-read-speedup.patch +swsusp-read-speedup-fix.patch +swsusp-read-speedup-cleanup.patch +swsusp-read-speedup-cleanup-2.patch

swsusp updates

+cris-switch-to-iminor-imajor.patch +pcf8563-remove-mod_inc_use_count-mod_dec_use_count.patch

cris fixlets.

+uml-clean-up-address-space-limits-code.patch +uml-timer-initialization-cleanup.patch +uml-timer-initialization-cleanup-fix.patch +uml-remove-some-useless-exports.patch +uml-fix-static-binary-segfault.patch +uml-remove-useless-declaration.patch +uml-signal-initialization-cleanup.patch +uml-timer-handler-tidying.patch +uml-ifdef-a-mode-specific-function.patch +uml-mark-forward_interrupts-as-being-mode-specific.patch +uml-remove-spinlock-wrapper-functions.patch +uml-remove-os_isatty.patch +uml-fix-exitcall-ordering-bug.patch +uml-make-some-symbols-static.patch +uml-remove-syscall-debugging.patch +uml-move-_kernc-files.patch +uml-move-_kernc-files-fix.patch +uml-formatting-fixes.patch +uml-add-some-eintr-protection.patch +uml-remove-unused-variable.patch +uml-make-mconsole-version-requests-happen-in-a-process.patch

UML updates

+drivers-edac-make-code-static.patch

EDAC cleanup

+inode-diet-eliminate-i_blksize-and-use-a-per-superblock-default-fix.patch

Fix inode-diet-eliminate-i_blksize-and-use-a-per-superblock-default.patch

-inode-diet-fix-size-of-i_blkbits-i_version-and-i_dnotify_mask.patch

Dropped.

+x86-microcode-add-sysfs-and-hotplug-support-fix-fix.patch

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

+consistently-use-max_errno-in-__syscall_return.patch +consistently-use-max_errno-in-__syscall_return-fix.patch +sanitize-3c589_cs.patch +eisa-bus-modalias-attributes-support-1.patch +add-address_space_operationsbatch_write.patch +add-address_space_operationsbatch_write-tidy.patch +null-terminate-over-long-proc-kallsyms-symbols.patch +fix-weird-logic-in-alloc_fdtable.patch +alloc_fdtable-cleanup.patch +uninline-init_waitqueue_head.patch +aoe-cleanup-i_rdev-usage.patch +remove-leftover-ext3-acl-declarations.patch +reiserfs-warn-about-the-useless-nolargeio-option.patch +pata-pata_qdi-fix-return-code.patch +pata-ide-jmicron-finish-writing.patch +pata-jmicron-it-works-better-if-you-get-the-file-name-right.patch +pata-jmicron-further-clean-up.patch +pata-ata_jmicro-fix-an-escapee.patch +pata-jmicron-jmicron-multifunction-setup.patch +pata-jmicron-missed-one.patch +pata-libata-enable-per-device-speed-setting.patch +remove-kernel-kthreadckthread_stop_sem.patch +include-__param-section-in-read-only-data-range.patch +remove-open_max-check-from-poll-syscall.patch
+# led-class-support-for-soekris-net48xx.patch needs SOB +led-class-support-for-soekris-net48xx.patch +led-class-support-for-soekris-net48xx-fix.patch +pc8736x_gpio-fix-re-modprobe-errors.patch +pc8736x_gpio-fix-re-modprobe-errors-undo-region-reservation.patch +pc8736x_gpio-fix-re-modprobe-errors-fix-finish-cdev-init.patch +pc8736x_gpio-fix-re-modprobe-errors-fix-finish-cdev-init-tidy.patch +snsc-switch-from-force_sig-to-kill_proc.patch +disallow-modular-binfmt_elf32.patch +remove-the-tasklist_lock-export.patch

Misc updates.

+revert-pcmcia-make-ide_cs-work-with-the-memory-space-of-cf-cards-if-io-space-is-not-available.patch

Revert possibly-broken IDE-CS patch.

+vectorize-aio_read-aio_write-fileop-methods.patch +remove-readv-writev-methods-and-use-aio_read-aio_write.patch +streamline-generic_file_-interfaces-and-filemap.patch

Fiddle around with core pagecache APIs, break reiser4.

+per-task-delay-accounting-taskstats-interface-control-exit-data-through-cpumasks.patch +per-task-delay-accounting-taskstats-interface-control-exit-data-through-cpumasks-fix.patch

Improve scalability of the task accounting infrastructure in -mm.

+isdn-cleanup-i_rdev-udage.patch

ISDN cleanup

+knfsd-nfsd4-add-per-operation-server-stats.patch

knfsd update

+reduce-max_nr_zones-swap_prefetch-remove-incorrect-use-of-zone_highmem.patch

Update swap prefetch for other patches in -mm.

+ecryptfs-partial-signed-integer-to-size_t-conversion-updated-ii.patch

Update ecryptfs.

+streamline-generic_file_-interfaces-and-filemap-ecryptfs.patch

Fix ecryptfs for the pagecache fiiddling.

-drivers-ide-legacy-ide-csc-make-2-functions-static.patch

IDE cleanup

+move-ide-to-unmaintained-drop-reference-to-old-git-tree.patch

Seems we don't have an IDE maintainer.

+cirrus-logic-framebuffer-i2c-support.patch
+cirrus-logic-framebuffer-i2c-support-fix.patch

fbdev updates (these need work)

+statistics-infrastructure-update-9.patch

Update statistics-infrastructure.patch

+statistics-replace-inode-ugeneric_ip-with-i_private.patch

Fix it for the inode-diet patches.

-srcu-rcu-variant-permitting-read-side-blocking.patch -srcu-2-rcu-variant-permitting-read-side-blocking.patch -srcu-add-srcu-operations-to-rcutorture.patch -srcu-2-add-srcu-operations-to-rcutorture.patch +srcu-3-rcu-variant-permitting-read-side-blocking.patch +srcu-3-rcu-variant-permitting-read-side-blocking-fix.patch +srcu-3-add-srcu-operations-to-rcutorture.patch

Updated srcu patchset.

+the-scheduled-removal-of-some-oss-drivers-fix.patch

Fix the-scheduled-removal-of-some-oss-drivers.patch

+serial-core-adds-atomic-context-debug-code.patch

Little debugging aid.

All 807 patches:

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

#1 lore raw

Hi,

Quoted 2 lines · Andrew Morton

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

[snip]

Quoted 2 lines

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

make headers_install gives the following error

INSTALL include/linux/wavefront.h
sed: can't read /usr/src/linux-mm/include/linux/wavefront.h: No such file or directory make[3]: *** [wavefront.h] Error 2
make[2]: *** [linux] Error 2
make[1]: *** [headers_install] Error 2
make: *** [headers_install] Error 2

We don't use this file anymore.

Regards,
Michal

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

include/linux/Kbuild +1 -1
diff -uprN -X linux-mm/Documentation/dontdiff linux-mm-clean/include/linux/Kbuild linux-mm/include/linux/Kbuild
@@ -28,7 +28,7 @@ header-y += affs_fs.h affs_hardblocks.h
 	sockios.h som.h sound.h stddef.h synclink.h telephony.h		\
 	termios.h ticable.h times.h tiocl.h tipc.h toshiba.h		\
 	ultrasound.h un.h utime.h utsname.h video_decoder.h		\
-	video_encoder.h videotext.h vt.h wavefront.h wireless.h xattr.h	\
+	video_encoder.h videotext.h vt.h wireless.h xattr.h	\
 	x25.h zorro_ids.h
 
 unifdef-y += acct.h adb.h adfs_fs.h agpgart.h apm_bios.h atalk.h	\
#2 lore raw
In reply to Andrew Morton

This was not present in 2.6.17-mm5:

=======================================================
[ INFO: possible circular locking dependency detected ]
-------------------------------------------------------
cpuspeed/1520 is trying to acquire lock:
(&policy->lock){--..}, at: [<c02c130f>] mutex_lock+0x21/0x24

but task is already holding lock:
(cpucontrol){--..}, at: [<c02c130f>] mutex_lock+0x21/0x24

which lock already depends on the new lock.

the existing dependency chain (in reverse order) is:

-> #2 (cpucontrol){--..}:

      [<c0135b93>] lock_acquire+0x60/0x80
      [<c02c11aa>] __mutex_lock_slowpath+0xb0/0x1f4
      [<c02c130f>] mutex_lock+0x21/0x24
      [<c0138af1>] __lock_cpu_hotplug+0x36/0x56
      [<c0138b2a>] lock_cpu_hotplug+0xa/0xc
      [<c0268315>] __cpufreq_driver_target+0x15/0x6d
      [<c02691c0>] cpufreq_governor_userspace+0x199/0x1cc
      [<c0267d61>] __cpufreq_governor+0x57/0xd8
      [<c0267f85>] __cpufreq_set_policy+0x1a3/0x1bc
      [<c0267fcb>] cpufreq_set_policy+0x2d/0x6f
      [<c02689f8>] cpufreq_add_dev+0x31a/0x496
      [<c0229463>] sysdev_driver_register+0x5d/0xa0
      [<c0267c5a>] cpufreq_register_driver+0x9e/0x14e
      [<f909009b>] 0xf909009b
      [<c013bb34>] sys_init_module+0x162c/0x17bd
      [<c0102d55>] sysenter_past_esp+0x56/0x8d

-> #1 (userspace_mutex){--..}:

      [<c0135b93>] lock_acquire+0x60/0x80
      [<c02c11aa>] __mutex_lock_slowpath+0xb0/0x1f4
      [<c02c130f>] mutex_lock+0x21/0x24
      [<c026907a>] cpufreq_governor_userspace+0x53/0x1cc
      [<c0267d61>] __cpufreq_governor+0x57/0xd8
      [<c0267f30>] __cpufreq_set_policy+0x14e/0x1bc
      [<c0267fcb>] cpufreq_set_policy+0x2d/0x6f
      [<c02689f8>] cpufreq_add_dev+0x31a/0x496
      [<c0229463>] sysdev_driver_register+0x5d/0xa0
      [<c0267c5a>] cpufreq_register_driver+0x9e/0x14e
      [<f909009b>] 0xf909009b
      [<c013bb34>] sys_init_module+0x162c/0x17bd
      [<c0102d55>] sysenter_past_esp+0x56/0x8d

-> #0 (&policy->lock){--..}:

      [<c0135b93>] lock_acquire+0x60/0x80
      [<c02c11aa>] __mutex_lock_slowpath+0xb0/0x1f4
      [<c02c130f>] mutex_lock+0x21/0x24
      [<c0268159>] store_scaling_governor+0x14c/0x1a3
      [<c026774e>] store+0x37/0x48
      [<c018e72c>] sysfs_write_file+0xab/0xd1
      [<c016053a>] vfs_write+0x86/0xea
      [<c0160ac8>] sys_write+0x3b/0x60
      [<c0102d55>] sysenter_past_esp+0x56/0x8d

other info that might help us debug this:

1 lock held by cpuspeed/1520:
#0: (cpucontrol){--..}, at: [<c02c130f>] mutex_lock+0x21/0x24

stack backtrace:
[<c0103dbb>] show_trace+0xd/0x10
[<c01043af>] dump_stack+0x19/0x1b
[<c0134f00>] print_circular_bug_tail+0x59/0x64
[<c0135736>] __lock_acquire+0x82b/0x9b6
[<c0135b93>] lock_acquire+0x60/0x80
[<c02c11aa>] __mutex_lock_slowpath+0xb0/0x1f4
[<c02c130f>] mutex_lock+0x21/0x24
[<c0268159>] store_scaling_governor+0x14c/0x1a3
[<c026774e>] store+0x37/0x48
[<c018e72c>] sysfs_write_file+0xab/0xd1
[<c016053a>] vfs_write+0x86/0xea
[<c0160ac8>] sys_write+0x3b/0x60
[<c0102d55>] sysenter_past_esp+0x56/0x8d
Quoted 810 lines · Andrew Morton

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

- We're getting a relatively large number of crash reports coming out of the core sysfs/kobject/driver/bus code, and they're all really hard to diagnose.

I am suspecting that what's happening is that some registration functions are failing and the caller is ignoring that failure. The code proceeds and crashes much later, in obscure ways.

All these functions return error codes, and we're not checking them. We should. So there's a patch which marks all these things as __must_check, which causes around 1,500 new warnings.

These are all bugs and they all need to be fixed.

In some cases (eg, sysfs file removal) there's not a lot the caller can do apart from warn, so we should probably change those things to return void and put a diagnostic message into the callee itself.

These new warnings can be turned off with CONFIG_ENABLE_MUST_CHECK=n, but I'll probably drop that patch. There's just no excuse for ignoring error codes and then blundering on to crash.

- There are some improvements to the swsusp disk IO handling. You should find that the suspend-time writeout and resume-time readin speeds are approximately doubled.

- reiser4 doesn't build, due to changes in

vectorize-aio_read-aio_write-fileop-methods.patch remove-readv-writev-methods-and-use-aio_read-aio_write.patch streamline-generic_file_-interfaces-and-filemap.patch

- You'll probably see these:

WARNING: drivers/net/3c59x ids 36 bad size (each on 16)
WARNING: drivers/net/depca ids 24 bad size (each on 16)
WARNING: drivers/net/dgrs ids 24 bad size (each on 16)
WARNING: drivers/net/hp100 ids 84 bad size (each on 16)
WARNING: drivers/net/ne3210 ids 36 bad size (each on 16)
WARNING: drivers/net/tulip/de4x5 ids 24 bad size (each on 16)
WARNING: drivers/scsi/aha1740 ids 60 bad size (each on 16)
WARNING: drivers/scsi/aic7xxx/aic7xxx ids 84 bad size (each on 16)

They're triggered by eisa-bus-modalias-attributes-support-1.patch but I don't know where the error lies. But I love the error message! Would be good to see on a tee shirt.

- powerpc (on Mac G5's at least) appears to be dead, probably due to the interrupt management changes in 2.6.18-rc1.

- please read the "Boilerplate", below. Especially the last point.

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.

Changes since 2.6.17-mm6:

origin.patch
git-acpi.patch
git-alsa.patch
git-cifs.patch
git-cpufreq.patch
git-geode.patch
git-gfs2.patch
git-ia64.patch
git-ieee1394.patch
git-infiniband.patch
git-input.patch
git-intelfb.patch
git-jfs.patch
git-klibc.patch
git-libata-all.patch
git-mtd.patch
git-netdev-all.patch
git-ocfs2.patch
git-pcmcia.patch
git-powerpc.patch
git-sas.patch
git-s390.patch
git-scsi-target.patch
git-supertrak.patch
git-watchdog.patch
git-xfs.patch
git-cryptodev.patch

git trees

(quoted diff) +291 -191
-time-initialisation-fix.patch
-genirq-ia64-cleanup.patch
-lockdep-special-s390-print_symbol-version.patch
-bcm43xx-netlink-deadlock-fix.patch
-uml-build-fix.patch
-pnpacpi-support-shareable-interrupts.patch
-serial-allow-shared-8250_pnp-interrupts.patch
-zvc-zone_reclaim-leave-1%-of-unmapped-pagecache-pages-for-file-i-o.patch
-binfmt_elf-fix-checks-for-bad-address.patch
-kernel-doc-maintainers.patch
-add-mike-isely-as-pvrusb2-maintainer.patch
-fbdev-add-framebuffer-and-display-update-module-support.patch
-vt-decrement-ref-count-of-the-vt-backend-on-deallocation.patch
-make-more-file_operation-structs-static.patch
-sparc-i8042-build-fix.patch
-sparc-resource-warning-fixes.patch
-lockdep-floppyc-irq-release-fix.patch
-lockdep-console_init-after-local_irq_enable.patch
-lockdep-add-is_module_address.patch
-lockdep-add-print_ip_sym.patch
-lockdep-add-per_cpu_offset.patch
-lockdep-add-disable-enable_irq_lockdep-api.patch
-lockdep-add-local_irq_enable_in_hardirq-api.patch
-lockdep-add-declare_completion_onstack-api.patch
-lockdep-clean-up-rwsems.patch
-lockdep-remove-rwsem_debug-remnants.patch
-lockdep-rename-debug_warn_on.patch
-lockdep-remove-debug_bug_on.patch
-lockdep-remove-mutex-deadlock-checking-code.patch
-lockdep-better-lock-debugging.patch
-lockdep-mutex-section-binutils-workaround.patch
-lockdep-locking-init-debugging-improvement.patch
-lockdep-beautify-x86_64-stacktraces.patch
-lockdep-x86_64-document-stack-frame-internals.patch
-lockdep-i386-remove-multi-entry-backtraces.patch
-lockdep-stacktrace-subsystem-core.patch
-lockdep-s390-config_frame_pointer-support.patch
-lockdep-stacktrace-subsystem-i386-support.patch
-lockdep-stacktrace-subsystem-x86_64-support.patch
-lockdep-stacktrace-subsystem-s390-support.patch
-lockdep-irqtrace-subsystem-core.patch
-lockdep-irqtrace-subsystem-docs.patch
-lockdep-irqtrace-subsystem-i386-support.patch
-lockdep-irqtrace-cleanup-of-include-asm-i386-irqflagsh.patch
-lockdep-irqtrace-subsystem-x86_64-support.patch
-lockdep-irqtrace-cleanup-of-include-asm-x86_64-irqflagsh.patch
-lockdep-irqtrace-subsystem-s390-support.patch
-lockdep-locking-api-self-tests.patch
-lockdep-core.patch
-lockdep-allow-read_lock-recursion-of-same-class.patch
-lockdep-design-docs.patch
-lockdep-procfs.patch
-lockdep-prove-rwsem-locking-correctness.patch
-lockdep-prove-spinlock-rwlock-locking-correctness.patch
-lockdep-prove-mutex-locking-correctness.patch
-lockdep-kconfig.patch
-lockdep-print-all-lock-classes-on-sysrq-d.patch
-lockdep-x86_64-early-init.patch
-lockdep-x86-smp-alternatives-workaround.patch
-lockdep-do-not-recurse-in-printk.patch
-lockdep-fix-rt_hash_lock_sz.patch
-lockdep-s390-turn-validator-off-in-machine-check-handler.patch
-lockdep-enable-on-i386.patch
-lockdep-enable-on-x86_64.patch
-lockdep-enable-on-s390.patch
-lockdep-annotate-direct-io.patch
-lockdep-annotate-serial.patch
-lockdep-annotate-dcache.patch
-lockdep-annotate-i_mutex.patch
-lockdep-annotate-futex.patch
-lockdep-annotate-genirq.patch
-lockdep-annotate-waitqueues.patch
-lockdep-annotate-mm.patch
-lockdep-annotate-serio.patch
-lockdep-annotate-skb_queue_head_init.patch
-lockdep-annotate-timer-base-locks.patch
-lockdep-annotate-scheduler-runqueue-locks.patch
-lockdep-annotate-hrtimer-base-locks.patch
-lockdep-annotate-sock_lock_init.patch
-lockdep-annotate-af_unix-locking.patch
-lockdep-annotate-bh_lock_sock.patch
-lockdep-annotate-ieee1394-skb-queue-head-locking.patch
-lockdep-annotate-mmap_sem.patch
-lockdep-annotate-sunrpc-code.patch
-lockdep-annotate-ntfs-locking-rules.patch
-lockdep-annotate-the-quota-code.patch
-lockdep-annotate-usbfs.patch
-lockdep-annotate-sound-core-seq-seq_portsc.patch
-lockdep-annotate-sound-core-seq-seq_devicec.patch
-lockdep-annotate-8390c-disable_irq.patch
-lockdep-annotate-3c59xc-disable_irq.patch
-lockdep-annotate-enable_in_hardirq.patch
-lockdep-annotate-on-stack-completions.patch
-lockdep-annotate-qeth-driver.patch
-lockdep-annotate-s_lock.patch
-lockdep-annotate-sb-s_umount.patch
-lockdep-annotate-slab-code.patch
-lockdep-annotate-blkdev-nesting.patch
-lockdep-annotate-vlan-net-device-as-being-a-special-class.patch
-lockdep-annotate-on-stack-completions-mmc.patch
-lockdep-annotate-sk_locks.patch
-lockdep-annotate-hostap-netdev-xmit_lock.patch
-forcedeth-typecast-cleanup.patch
-lockdep-annotate-forcedethc-disable_irq.patch
-lockdep-irqtrace-subsystem-move-account_system_vtime-calls-into-kernel-softirqc.patch
-sched-clean-up-fallout-of-recent-changes.patch
-sched-cleanup-remove-task_t-convert-to-struct-task_struct.patch
-sched-cleanup-convert-schedc-internal-typedefs-to-struct.patch
-gfs2-get_sb_dev-fix.patch
-8139cp-printk-fix.patch
-git-e1000.patch
-git-e1000-fixup.patch
-lock-validator-fix-ns83820c-irq-flags-bug.patch
-ni5010-netcard-cleanup.patch
-remove-dead-entry-in-net-wan-kconfig.patch
-ioat-fix-sparse-ulong-warning.patch
-af_unix-datagram-getpeersec-fix.patch
-drivers-dma-iovlockc-make-num_pages_spanned-static.patch
-fix-a-warning-in-ioatdma.patch
-ioat-fix-header-file-kernel-doc.patch
-ioat-fix-kernel-doc-in-source-files.patch
-net-adduse-poison-defines.patch
-atm-adduse-poison-defines.patch
-drivers-scsi-megaraidc-add-a-dummy-mega_create_proc_entry-for-proc_fs=y.patch
-gregkh-usb-usb-serial-dynamic-id.patch
-gregkh-usb-usbip.patch
-gregkh-usb-usb-usbip-build-fix.patch
-gregkh-usb-usb-usbip-more-dead-code-fix.patch
-gregkh-usb-usb-usbip-warning-fixes.patch
-gregkh-usb-airprime_major_update.patch
-fix-sco-on-some-bluetooth-adapters-2.patch
-mm-x86_64-mm-init-rdtscp-warning-fix.patch
-sleazy-fpu-feature-x86_64-support-fix.patch
-x86_64-fix-calgary-copyright-statements-per-ibm-guidelines.patch
-x86_64-add-a-maintainers-entry-for-calgary.patch
-sched-fix-bug-in-__migrate_task.patch
-small-kernel-schedc-cleanup.patch
-enable-oprofile-on-pentium-d.patch
-valid_mmap_phys_addr_range-cleanup.patch
-reiserfsfix-journaling-issue-regarding-fsync.patch
-jmicron-pci-identifiers.patch
-vt-remove-vt-specific-declarations-and-definitions-from.patch
-vt-remove-vt-specific-declarations-and-definitions-from-fix.patch
-tty-remove-include-of-screen_infoh-from-ttyh.patch
-tty-remove-include-of-screen_infoh-from-ttyh-fix.patch
-tty-remove-include-of-screen_infoh-from-ttyh-fix-fix.patch
-md-oops-workaround.patch
-kernel-printkc-export_symbol_unused.patch
-mm-bootmemc-export_unused_symbol.patch
-mm-memoryc-export_unused_symbol.patch
-mm-mmzonec-export_unused_symbol.patch
-fs-read_writec-export_unused_symbol.patch
-kernel-softirqc-export_unused_symbol.patch
 
 Merged into mainline or a subsystem tree.
 
+dont-select-config_hotplug.patch
+x86_64-e820c-needs-pgtableh.patch
+acpi-bus-add-missing-newline.patch
+count_vm_events-fix.patch
+sched-fix-bug-in-__migrate_task.patch
+small-kernel-schedc-cleanup.patch
+selinux-decouple-fscontext-context-mount-options.patch
+selinux-add-rootcontext=-option-to-label-root-inode.patch
+reiserfsfix-journaling-issue-regarding-fsync.patch
+nfs-update-documentation-nfsroottxt-to-include-dhcp-syslinux-and-isolinux.patch
+add-computone-intelliport-plus-serial-hotplug-support.patch
+add-specialix-io8-card-support-hotplug-support.patch
+partitions-let-partitions-inherit-policy-from-disk.patch
+fadvise-remove-dead-comments.patch
+minor-cleanup-to-lockdepc.patch
+lockdep-add-more-rwsemh-documentation.patch
+improve-lockdep-debug-output.patch
+lockdep-core-reduce-per-lock-class-cache-size.patch
+lockdep-clean-up-completion-initializer-in-smpbootc.patch
+put-a-comment-at-register_die_notifier-that-the-export-is-used.patch
+rcu-documentation-fix.patch
+vfs-documentation-tweak.patch
+cdrom-fix-bad-cgcbuflen-assignment.patch
+release_firmware-fixes.patch
+updates-credits-file.patch
+hisax-fix-usage-of-__init.patch
+vt-remove-vt-specific-declarations-and-definitions-from.patch
+tty-remove-include-of-screen_infoh-from-ttyh.patch
+md-possible-fix-for-unplug-problem.patch
+md-set-desc_nr-correctly-for-version-1-superblocks.patch
+md-delay-starting-md-threads-until-array-is-completely-setup.patch
+md-fix-resync-speed-calculation-for-restarted-resyncs.patch
+md-fix-a-plug-unplug-race-in-raid5.patch
+md-fix-some-small-races-in-bitmap-plugging-in-raid5.patch
+md-fix-usage-of-wrong-variable-in-raid1.patch
+md-unify-usage-of-symbolic-names-for-perms.patch
+md-require-cap_sys_admin-for-re-configuring-md-devices-via-sysfs.patch
+md-include-sector-number-in-messages-about-corrected-read-errors.patch
+md-oops-workaround.patch
+kernel-printkc-export_symbol_unused.patch
+mm-bootmemc-export_unused_symbol.patch
+mm-memoryc-export_unused_symbol.patch
+mm-mmzonec-export_unused_symbol.patch
+fs-read_writec-export_unused_symbol.patch
+kernel-softirqc-export_unused_symbol.patch
+h8300-remove-duplicate-define.patch
+acpi-fix-fan-thermal-resume.patch
+pi-futex-validate-futex-type-instead-of-oopsing.patch
+zvc-add-__inc_zone_state-for-smp-configuration.patch
+vmstat-export-all_vm_events.patch
+acpi-init-dock-notifier-list.patch
+acpi-fix-boot-with-acpi=off.patch
+adjust-clock-for-lost-ticks.patch
 
 2.6.18-rc2 queue.
 
+acpi-do-not-abort-method-execution-if-asked-to-release.patch
+acpi-disable-sbs-by-default.patch
+acpi-initialise-cm_sbs_sem.patch
+acpi-resume-allocation-mode-fix.patch
 
 ACPI fixes.
 
+cpufreq-add-__find_governor-helper-and-clean-up-some.patch
+cpufreq-demand-load-governor-modules.patch
 
 cpufreq updates
 
+gregkh-driver-device_rename.patch
+gregkh-driver-network-class_device-to-device.patch
+gregkh-driver-class_device_rename-remove.patch
 
 driver tree updates.
 
+add-__must_check-to-device-management-code.patch
+add-config_enable_must_check.patch
+v4l-dev2-handle-__must_check.patch
 
 Add __must_check to lots of driver-layer API functions.
 
+allow-drm-detection-of-new-via-chipsets.patch
 
 DRM device support.
 
+videodev-check-return-values.patch
 
 Reduce the __must_check warning storm.
 
+gregkh-i2c-i2c-fix-ignore-module-parameter-handling-in-i2c-core.patch
+gregkh-i2c-i2c-iop3xx-avoid-addressing-self.patch
+gregkh-i2c-scx200_acb-fix-the-state-machine.patch
+gregkh-i2c-scx200_acb-fix-the-block-transactions.patch
+gregkh-i2c-i2c-powermac-fix-master-xfer-return.patch
+gregkh-i2c-i2c-plan-ite-bus-driver-for-removal.patch
+gregkh-i2c-i2c-new-mailing-list.patch
+gregkh-i2c-i2c-algo-error-handling-fix.patch
+gregkh-i2c-i2c-algo-bit-wipe-out-dead-code.patch
+gregkh-i2c-i2c-pca9539-force.patch
+gregkh-i2c-i2c-dev-cleanups.patch
+gregkh-i2c-i2c-dev-convert-array-to-list.patch
+gregkh-i2c-i2c-dev-drop-template-client.patch
+gregkh-i2c-i2c-dev-device.patch
 
 i2v tree updates.
 
-ieee1394-sbp2-enable-auto-spin-up-for-maxtor-disks.patch
-ieee1394-fix-calculation-of-csr-expire.patch
-ieee1394-fix-cosmetic-problem-in-speed-probe.patch
-ieee1394-skip-dummy-loop-in-build_speed_map.patch
-ieee1394-replace-__inline__-by-inline.patch
-ieee1394-coding-style-and-comment-fixes-in-midlayer.patch
-ieee1394-update-include-directives-in-midlayer-header.patch
-ieee1394-remove-redundant-code-from-ieee1394_hotplugh.patch
-ieee1394-remove-unused-macros-hpsb_panic-and.patch
-ieee1394-clean-up-declarations-of-hpsb__config_rom.patch
-ieee1394-dv1394-sem2mutex-conversion.patch
-ieee1394-raw1394-remove-redundant-counting-semaphore.patch
-ieee1394-nodemgr-remove-unnecessary-includes.patch
-ieee1394-nodemgr-do-not-spawn-kernel_thread-for-sysfs.patch
-ieee1394-nodemgr-make-module-parameter-ignore_drivers.patch
-ieee1394-nodemgr-switch-to-kthread-api-replace-reset.patch
-ieee1394-nodemgr-convert-nodemgr_serialize-semaphore.patch
 
 Merged.
 
+git-ieee1394-fixup.patch
 
 Fix reject due to git-ieee1394.patch
 
+git-input-list_for_each_entry-fix.patch
 
 Fix bug in git-input.patch
 
+drivers-usb-input-ati_remotec-autorepeat-fix.patch
 
 USB fix.
 
-git-hdrinstall2.patch
 
 Dropped.
 
+pata-jmicron-add-quirks-to-force-the-device-into-a-sane-mode.patch
+pata-jmicron-configuration.patch
+pata-ata_generic-generic-bios-setup-sff-ata-driver.patch
+pata-jmicron-ide-old-type-driver.patch
+sata-add-pci-id.patch
 
 PATA updates
 
-git-netdev-all-fixup.patch
 
 Unneeded.
 
+lockdep-fix-atm-ipcommonc-deadlock.patch
+lockdep-annotate-8390c-disable_irq-2.patch
 
 net fixes.
 
+8139cp-printk-fix.patch
+82596-section-fixes.patch
+ac3200-section-fixes.patch
+cops-section-fix.patch
+cs89x0-section-fix.patch
+at1700-section-fix.patch
+e2100-section-fix.patch
+eepro-section-fix.patch
+eexpress-section-fix.patch
+es3210-section-fix.patch
+eth16i-section-fix.patch
+smsc-ircc2-fix-section-reference-mismatches.patch
+lance-section-fix.patch
+lne390-section-fix.patch
+ni52-section-fix.patch
+ibmtr-section-fix.patch
+smctr-section-fix.patch
+wd-section-fix.patch
+ni65-section-fix.patch
+seeq8005-section-fix.patch
+winbond-840-section-fix.patch
+fealnx-section-fix.patch
+sundance-section-fix.patch
 
 Fix various __init section bloopers.  These were done quickly and need a
 second round.
 
+drivers-net-e1000-possible-cleanups.patch
+e1000_7033_dump_ring.patch
+forcedeth-deferral-fixup.patch
+forcedeth-watermark-fixup.patch
+freescale-qe-ucc-gigabit-ethernet-driver.patch
 
 Net driver updates.
 
+via-ircc-fix-memory-leak.patch
+lockdep-fix-sk_dst_check-deadlock.patch
+netlink-improve-string-attribute-validation.patch
 
 Net things.
 
+fs-nfs-make-code-static.patch
 
 NFS cleanup
 
+pcmcia-update-alloc_io_space-for-conflict-checking-for-multifunction-pc-card-for-linux-kernel-26154.patch
 
 PCMCIA update
 
+git-powerpc-briq_panel-Kconfig-fix.patch
+powermac-combined-fixes-for-backlight-code.patch
 
 powerpc fixes.
 
-gregkh-pci-msi-merge-existing-msi-disabling-quirks.patch
-gregkh-pci-msi-rename-pci_cap_id_ht_irqconf-into-pci_cap_id_ht.patch
-gregkh-pci-msi-blacklist-pci-e-chipsets-depending-on-hypertransport-msi-capabality.patch
-gregkh-pci-msi-factorize-common-msi-detection-code-from-pci_enable_msi-and-msix.patch
-gregkh-pci-msi-stop-inheriting-bus-flags-and-check-root-chipset-bus-flags-instead.patch
-gregkh-pci-msi-drop-pci_msi_quirk.patch
 gregkh-pci-resources-insert-identical-resources-above-existing-resources.patch
+gregkh-pci-msi-01-merge_msi_disabling_quirks.patch
+gregkh-pci-msi-02-factorize_pci_msi_supported.patch
+gregkh-pci-msi-03-use_root_chipset_dev_no_msi_instead_of_pci_bus_flags.patch
+gregkh-pci-msi-04-rename_pci_cap_id_ht_irqconf.patch
+gregkh-pci-msi-05-check_hypertransport_msi_capabilities.patch
+gregkh-pci-msi-06-drop_pci_msi_quirk.patch
+gregkh-pci-msi-07-drop_pci_bus_flags.patch
-revert-gregkh-pci-msi-drop-pci_msi_quirk.patch
-revert-gregkh-pci-msi-stop-inheriting-bus-flags-and-check-root-chipset-bus-flags-instead.patch
-revert-gregkh-pci-msi-factorize-common-msi-detection-code-from-pci_enable_msi-and-msix.patch
-revert-gregkh-pci-msi-blacklist-pci-e-chipsets-depending-on-hypertransport-msi-capabality.patch
-revert-gregkh-pci-msi-rename-pci_cap_id_ht_irqconf-into-pci_cap_id_ht.patch
-revert-gregkh-pci-msi-merge-existing-msi-disabling-quirks.patch
 
 New set of PCI MSI patches.
 
-git-scsi-misc-fixup.patch
 
 Unneeded.
 
+pci-initialize-struct-pci_dev-error_state.patch
+pcie-check-and-return-bus_register-errors.patch
+pcie-cleanup-on-probe-error.patch
 
 PCI later updates.
 
+make-drivers-scsi-aic7xxx-aic79xx_coreahd_set_tags-static.patch
+NCR_D700-section-fix.patch
+megaraid-fix-warnings-when-config_proc_fs=n.patch
 
 SCSI updates
 
+areca-raid-linux-scsi-driver-update7.patch
+areca-raid-linux-scsi-driver-update7-fix.patch
 
 Update drivers-scsi-arcmsr-cleanups.patch
 
+sparc64-of_device_register-error-checking-fix.patch
 
 Add missing error check.
 
+gregkh-usb-usb-remove-devfs-information-from-kconfig.patch
+gregkh-usb-usb-ipw.c-driver-fix.patch
+gregkh-usb-usb-add-support-for-wisegroup.-ltd-smartjoy-dual-plus-adapter.patch
+gregkh-usb-usbfs-private-mutex-for-open-release-and-remove.patch
+gregkh-usb-usbfs-detect-device-unregistration.patch
+gregkh-usb-usb-skeleton-don-t-submit-urbs-after-disconnection.patch
 
 USB tree udpates (part thereof - I dropped ten-odd patches due to oopsing)
 
+rtl8150_disconnect-needs-tasklet_kill.patch
+usb-storage-wait-for-urb-to-complete.patch
 
 USB fixes.
 
+x86_64-mm-tif-restore-sigmask.patch
+x86_64-mm-add-ppoll-pselect.patch
+x86_64-mm-bring-x86-64-ia32-emul-in-sync-with-i386-on-read_implies_exec-enabling.patch
+x86_64-mm-getcpu-vsyscall.patch
+x86_64-mm-tif-flags-for-debug-regs-and-io-bitmap-in-ctxsw.patch
+x86_64-mm-add-a-maintainers-entry-for-calgary.patch
+x86_64-mm-fix-calgary-copyright-statements-per-ibm-guidelines.patch
+x86_64-mm-fix-acpi-defaults.patch
+x86_64-mm-oprofile-p4-model.patch
 
 x86_64 updates
 
 Folded into sleazy-fpu-feature-x86_64-support.patch
 
+x86_64-wire-up-oops_enter-oops_exit.patch
 
 Implement pause_on_oops on x86_64.
 
+xfs-move-xfs_ioc_getversion-to-main-multiplexer.patch
 
 XFS cleanup
 
+mmap-zero-length-hugetlb-file-with-prot_none-to-protect-a.patch
 
 hugetlb fixlet.
 
+convert-i386-numa-kva-space-to-bootmem.patch
+convert-i386-numa-kva-space-to-bootmem-tidy.patch
+bootmem-remove-useless-__init-in-header-file.patch
+bootmem-mark-link_bootmem-as-part-of-the-__init-section.patch
+bootmem-remove-useless-parentheses-in-bootmem-header.patch
+bootmem-limit-to-80-columns-width.patch
+bootmem-remove-useless-headers-inclusions.patch
+bootmem-use-pfn-page-conversion-macros.patch
+bootmem-miscellaneous-coding-style-fixes.patch
+reduce-max_nr_zones-remove-two-strange-uses-of-max_nr_zones.patch
+reduce-max_nr_zones-fix-max_nr_zones-array-initializations.patch
+reduce-max_nr_zones-make-display-of-highmem-counters-conditional-on-config_highmem.patch
+reduce-max_nr_zones-make-display-of-highmem-counters-conditional-on-config_highmem-tidy.patch
+reduce-max_nr_zones-move-highmem-counters-into-highmemc-h.patch
+reduce-max_nr_zones-page-allocator-zone_highmem-cleanup.patch
+reduce-max_nr_zones-use-enum-to-define-zones-reformat-and-comment.patch
+reduce-max_nr_zones-use-enum-to-define-zones-reformat-and-comment-cleanup.patch
+reduce-max_nr_zones-make-zone_dma32-optional.patch
+reduce-max_nr_zones-make-zone_highmem-optional.patch
+reduce-max_nr_zones-remove-display-of-counters-for-unconfigured-zones.patch
+reduce-max_nr_zones-remove-display-of-counters-for-unconfigured-zones-s390-fix.patch
+reduce-max_nr_zones-fix-i386-srat-check-for-max_nr_zones.patch
 
 Memory management updates.
 
+tiacx-build-fix.patch
 
 Fix acx1xx-wireless-driver.patch
 
+binfmt_elf-consistently-use-loff_t.patch
 
 binfmt_elf fixlet.
 
+fdpic-fix-fdpic-compile-errors-2.patch
+frv-fix-frv-arch-compile-errors.patch
+nommu-fix-execution-off-of-ramfs-with-mmap.patch
+fdpic-adjust-the-elf-fdpic-driver-to-conform-more-to-the-codingstyle.patch
+fdpic-define-seek_-constants-in-the-linux-kernel-headers.patch
+fdpic-move-roundup-into-linux-kernelh.patch
+fdpic-move-roundup-into-linux-kernelh-fix.patch
+fdpic-add-coredump-capability-for-the-elf-fdpic-binfmt.patch
+frv-introduce-asm-offsets-for-frv-arch.patch
 
 FRV/nommu updates
 
+i386-early-fault-handler.patch
+i386-require-acpi-for-numa-with-generic-architecture.patch
+add-seccomp_disable_tsc-config-option.patch
+i386-defconfig-set-config_pm_std_partition=.patch
+get_cmos_time-locking-fix.patch
 
 x86 updates
 
+swsusp-do-not-use-memcpy-for-snapshotting-memory.patch
+swsusp-warning-fix.patch
+fix-panic-when-swsusp-signature-cant-be-read.patch
+swsusp-write-timer.patch
+swsusp-write-speedup.patch
+swsusp-read-timer.patch
+swsusp-read-speedup.patch
+swsusp-read-speedup-fix.patch
+swsusp-read-speedup-cleanup.patch
+swsusp-read-speedup-cleanup-2.patch
 
 swsusp updates
 
+cris-switch-to-iminor-imajor.patch
+pcf8563-remove-mod_inc_use_count-mod_dec_use_count.patch
 
 cris fixlets.
 
+uml-clean-up-address-space-limits-code.patch
+uml-timer-initialization-cleanup.patch
+uml-timer-initialization-cleanup-fix.patch
+uml-remove-some-useless-exports.patch
+uml-fix-static-binary-segfault.patch
+uml-remove-useless-declaration.patch
+uml-signal-initialization-cleanup.patch
+uml-timer-handler-tidying.patch
+uml-ifdef-a-mode-specific-function.patch
+uml-mark-forward_interrupts-as-being-mode-specific.patch
+uml-remove-spinlock-wrapper-functions.patch
+uml-remove-os_isatty.patch
+uml-fix-exitcall-ordering-bug.patch
+uml-make-some-symbols-static.patch
+uml-remove-syscall-debugging.patch
+uml-move-_kernc-files.patch
+uml-move-_kernc-files-fix.patch
+uml-formatting-fixes.patch
+uml-add-some-eintr-protection.patch
+uml-remove-unused-variable.patch
+uml-make-mconsole-version-requests-happen-in-a-process.patch
 
 UML updates
 
+drivers-edac-make-code-static.patch
 
 EDAC cleanup
 
+inode-diet-eliminate-i_blksize-and-use-a-per-superblock-default-fix.patch
 
 Fix inode-diet-eliminate-i_blksize-and-use-a-per-superblock-default.patch
 
-inode-diet-fix-size-of-i_blkbits-i_version-and-i_dnotify_mask.patch
 
 Dropped.
 
+x86-microcode-add-sysfs-and-hotplug-support-fix-fix.patch
 
 Fix x86-microcode-add-sysfs-and-hotplug-support.patch some more.
 
+consistently-use-max_errno-in-__syscall_return.patch
+consistently-use-max_errno-in-__syscall_return-fix.patch
+sanitize-3c589_cs.patch
+eisa-bus-modalias-attributes-support-1.patch
+add-address_space_operationsbatch_write.patch
+add-address_space_operationsbatch_write-tidy.patch
+null-terminate-over-long-proc-kallsyms-symbols.patch
+fix-weird-logic-in-alloc_fdtable.patch
+alloc_fdtable-cleanup.patch
+uninline-init_waitqueue_head.patch
+aoe-cleanup-i_rdev-usage.patch
+remove-leftover-ext3-acl-declarations.patch
+reiserfs-warn-about-the-useless-nolargeio-option.patch
+pata-pata_qdi-fix-return-code.patch
+pata-ide-jmicron-finish-writing.patch
+pata-jmicron-it-works-better-if-you-get-the-file-name-right.patch
+pata-jmicron-further-clean-up.patch
+pata-ata_jmicro-fix-an-escapee.patch
+pata-jmicron-jmicron-multifunction-setup.patch
+pata-jmicron-missed-one.patch
+pata-libata-enable-per-device-speed-setting.patch
+remove-kernel-kthreadckthread_stop_sem.patch
+include-__param-section-in-read-only-data-range.patch
+remove-open_max-check-from-poll-syscall.patch
+# led-class-support-for-soekris-net48xx.patch needs SOB
+led-class-support-for-soekris-net48xx.patch
+led-class-support-for-soekris-net48xx-fix.patch
+pc8736x_gpio-fix-re-modprobe-errors.patch
+pc8736x_gpio-fix-re-modprobe-errors-undo-region-reservation.patch
+pc8736x_gpio-fix-re-modprobe-errors-fix-finish-cdev-init.patch
+pc8736x_gpio-fix-re-modprobe-errors-fix-finish-cdev-init-tidy.patch
+snsc-switch-from-force_sig-to-kill_proc.patch
+disallow-modular-binfmt_elf32.patch
+remove-the-tasklist_lock-export.patch
 
 Misc updates.
 
+revert-pcmcia-make-ide_cs-work-with-the-memory-space-of-cf-cards-if-io-space-is-not-available.patch
 
 Revert possibly-broken IDE-CS patch.
 
+vectorize-aio_read-aio_write-fileop-methods.patch
+remove-readv-writev-methods-and-use-aio_read-aio_write.patch
+streamline-generic_file_-interfaces-and-filemap.patch
 
 Fiddle around with core pagecache APIs, break reiser4.
 
+per-task-delay-accounting-taskstats-interface-control-exit-data-through-cpumasks.patch
+per-task-delay-accounting-taskstats-interface-control-exit-data-through-cpumasks-fix.patch
 
 Improve scalability of the task accounting infrastructure in -mm.
 
+isdn-cleanup-i_rdev-udage.patch
 
 ISDN cleanup
 
+knfsd-nfsd4-add-per-operation-server-stats.patch
 
 knfsd update
 
+reduce-max_nr_zones-swap_prefetch-remove-incorrect-use-of-zone_highmem.patch
 
 Update swap prefetch for other patches in -mm.
 
+ecryptfs-partial-signed-integer-to-size_t-conversion-updated-ii.patch
 
 Update ecryptfs.
 
+streamline-generic_file_-interfaces-and-filemap-ecryptfs.patch
 
 Fix ecryptfs for the pagecache fiiddling.
 
-drivers-ide-legacy-ide-csc-make-2-functions-static.patch
 
 IDE cleanup
 
+move-ide-to-unmaintained-drop-reference-to-old-git-tree.patch
 
 Seems we don't have an IDE maintainer.
 
+cirrus-logic-framebuffer-i2c-support.patch
+cirrus-logic-framebuffer-i2c-support-fix.patch
 
 fbdev updates (these need work)
 
+statistics-infrastructure-update-9.patch
 
 Update statistics-infrastructure.patch
 
+statistics-replace-inode-ugeneric_ip-with-i_private.patch
 
 Fix it for the inode-diet patches.
 
-srcu-rcu-variant-permitting-read-side-blocking.patch
-srcu-2-rcu-variant-permitting-read-side-blocking.patch
-srcu-add-srcu-operations-to-rcutorture.patch
-srcu-2-add-srcu-operations-to-rcutorture.patch
+srcu-3-rcu-variant-permitting-read-side-blocking.patch
+srcu-3-rcu-variant-permitting-read-side-blocking-fix.patch
+srcu-3-add-srcu-operations-to-rcutorture.patch
 
 Updated srcu patchset.
 
+the-scheduled-removal-of-some-oss-drivers-fix.patch
 
 Fix the-scheduled-removal-of-some-oss-drivers.patch
 
+serial-core-adds-atomic-context-debug-code.patch
 
 Little debugging aid.

All 807 patches:

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw
Quoted 10 lines · On Sun, 9 Jul 2006 12:26:45 +0200 "Fabio Comolli" <[email protected]>…

=======================================================
[ INFO: possible circular locking dependency detected ]
-------------------------------------------------------
cpuspeed/1520 is trying to acquire lock:
(&policy->lock){--..}, at: [<c02c130f>] mutex_lock+0x21/0x24

but task is already holding lock:
(cpucontrol){--..}, at: [<c02c130f>] mutex_lock+0x21/0x24

which lock already depends on the new lock.

Yeah, that's lock_cpu_hotplug(). We've made a complete and utter mess of that thing.

And I don't know how to fix it, really. Is it a highly-localised innermost lock? Or a broad-coverage outermost lock? Nobody knows, neither suits.

I'm suspecting is was a bad idea and we should just rip it out altogether.

- If a piece of kernel code is dealing with cpu-local data it needs to be running atomically, and that'll hold off hot hotplug anyway.

- If a piece of kernel code is dealing with per-cpu data and cannot run atomically then it should have its own cpu hotplug handlers anyway. It is up to that code (ie: cpufreq) to provide its own locking against its own CPU hotplug callback.

Voila, no more lock_cpu_hotplug().

#4 lore raw
Quoted 19 lines · Andrew Morton
Quoted 10 lines · On Sun, 9 Jul 2006 12:26:45 +0200 "Fabio Comolli" <[email protected]>…

=======================================================
[ INFO: possible circular locking dependency detected ]
-------------------------------------------------------
cpuspeed/1520 is trying to acquire lock:
(&policy->lock){--..}, at: [<c02c130f>] mutex_lock+0x21/0x24

but task is already holding lock:
(cpucontrol){--..}, at: [<c02c130f>] mutex_lock+0x21/0x24

which lock already depends on the new lock.

Yeah, that's lock_cpu_hotplug(). We've made a complete and utter mess of that thing.

Quoted 7 lines

And I don't know how to fix it, really. Is it a highly-localised innermost lock? Or a broad-coverage outermost lock? Nobody knows, neither suits.

I'm suspecting is was a bad idea and we should just rip it out altogether.

- If a piece of kernel code is dealing with cpu-local data it needs to be running atomically, and that'll hold off hot hotplug anyway.

These guys don't need lock_cpu_hotplug() today.

Quoted 5 lines

- If a piece of kernel code is dealing with per-cpu data and cannot run atomically then it should have its own cpu hotplug handlers anyway. It is up to that code (ie: cpufreq) to provide its own locking against its own CPU hotplug callback.

This still does not solve this cpufreq problem where it is trying to take the same lock twice down the same call path. Whether it is the lock_cpu_hotplug mutex or another one, the code must be just busted.

Signature · 2 lines
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com 
#5 lore raw
Quoted 9 lines · Nick Piggin
Quoted 5 lines · Andrew Morton

- If a piece of kernel code is dealing with per-cpu data and cannot run atomically then it should have its own cpu hotplug handlers anyway. It is up to that code (ie: cpufreq) to provide its own locking against its own CPU hotplug callback.

Quoted 4 lines

This still does not solve this cpufreq problem where it is trying to take the same lock twice down the same call path. Whether it is the lock_cpu_hotplug mutex or another one, the code must be just busted.

Err...

s/twice down the same call path/inverted with another lock

Signature · 2 lines
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com 
#6 lore raw
In reply to Nick Piggin
Quoted 7 lines
Quoted 4 lines

- If a piece of kernel code is dealing with per-cpu data and cannot run atomically then it should have its own cpu hotplug handlers anyway. It is up to that code (ie: cpufreq) to provide its own locking against its own CPU hotplug callback.

This still does not solve this cpufreq problem where it is trying to take the same lock twice down the same call path.

that is broken beyond discussing anyway... "we don't know our locking rules so we do recursive mutexes" is ... NOT a good reason.

#7 lore raw
In reply to Andrew Morton

Hi,

Quoted 3 lines · Andrew Morton

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

This looks like a problem with cpufreq.

=======================================================
[ INFO: possible circular locking dependency detected ]
-------------------------------------------------------
cpuspeed/1426 is trying to acquire lock:
(&inode->i_data.tree_lock){.+..}, at: [<c0151dc7>] find_get_page+0x12/0x70

but task is already holding lock:
(&mm->mmap_sem){----}, at: [<c0116cab>] do_page_fault+0x10d/0x4ea

which lock already depends on the new lock.

the existing dependency chain (in reverse order) is:

-> #1 (cpucontrol){--..}:

      [<c0139a55>] lock_acquire+0x71/0x91
      [<c02ee288>] __mutex_lock_slowpath+0xd2/0x2f5
      [<c02ee4c7>] mutex_lock+0x1c/0x1f
      [<c013dd3b>] __lock_cpu_hotplug+0x34/0x4c
      [<c013dd6c>] lock_cpu_hotplug+0xa/0xc
      [<c029b587>] __cpufreq_driver_target+0x15/0x50
      [<c029c3ca>] cpufreq_governor_performance+0x1a/0x20
      [<c029a89b>] __cpufreq_governor+0x95/0x18c
      [<c029aa72>] __cpufreq_set_policy+0xe0/0x118
      [<c029af49>] cpufreq_set_policy+0x2d/0x6f
      [<c029bc45>] cpufreq_add_dev+0x3ee/0x4f3
      [<c024dccb>] sysdev_driver_register+0x5e/0x9e
      [<c029be70>] cpufreq_register_driver+0x80/0xf4
      [<fdba202a>] 0xfdba202a
      [<c0140f22>] sys_init_module+0xa6/0x21d
      [<c0103179>] sysenter_past_esp+0x56/0x8d

-> #0 (&inode->i_data.tree_lock){.+..}:

      [<c0139a55>] lock_acquire+0x71/0x91
      [<c02ee288>] __mutex_lock_slowpath+0xd2/0x2f5
      [<c02ee4c7>] mutex_lock+0x1c/0x1f
      [<c029b7f2>] store_scaling_governor+0x14a/0x1a2
      [<c029b223>] store+0x37/0x48
      [<c01a9f4b>] sysfs_write_file+0xa6/0xcc
      [<c0172dab>] vfs_write+0xc9/0x172
      [<c017341d>] sys_write+0x3b/0x71
      [<c0103179>] sysenter_past_esp+0x56/0x8d

other info that might help us debug this:

1 lock held by cpuspeed/1426:
#0: (cpucontrol){--..}, at: [<c02ee4c7>] mutex_lock+0x1c/0x1f

stack backtrace:
[<c01041f0>] show_trace_log_lvl+0x54/0x101
[<c0104827>] show_trace+0xd/0x10
[<c0104949>] dump_stack+0x19/0x1b
[<c0138b99>] print_circular_bug_tail+0x59/0x64
[<c013950a>] __lock_acquire+0x966/0xb39
[<c0139a55>] lock_acquire+0x71/0x91
[<c02ee288>] __mutex_lock_slowpath+0xd2/0x2f5
[<c02ee4c7>] mutex_lock+0x1c/0x1f
[<c029b7f2>] store_scaling_governor+0x14a/0x1a2
[<c029b223>] store+0x37/0x48
[<c01a9f4b>] sysfs_write_file+0xa6/0xcc
[<c0172dab>] vfs_write+0xc9/0x172
[<c017341d>] sys_write+0x3b/0x71
[<c0103179>] sysenter_past_esp+0x56/0x8d

Here is a dmesg log
http://www.stardust.webpages.pl/files/mm/2.6.18-rc1-mm1/mm-dmesg

Here is a config file
http://www.stardust.webpages.pl/files/mm/2.6.18-rc1-mm1/mm-config

Regards,
Michal

Signature · 3 lines
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
#8 lore raw

Sorry, I forgot CC.

Quoted 87 lines · Michal Piotrowski

Hi,

Quoted 3 lines · Andrew Morton

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

This looks like a problem with cpufreq.

=======================================================
[ INFO: possible circular locking dependency detected ]
-------------------------------------------------------
cpuspeed/1426 is trying to acquire lock:
(&inode->i_data.tree_lock){.+..}, at: [<c0151dc7>] find_get_page+0x12/0x70

but task is already holding lock:
(&mm->mmap_sem){----}, at: [<c0116cab>] do_page_fault+0x10d/0x4ea

which lock already depends on the new lock.

the existing dependency chain (in reverse order) is:

-> #1 (cpucontrol){--..}:

       [<c0139a55>] lock_acquire+0x71/0x91
       [<c02ee288>] __mutex_lock_slowpath+0xd2/0x2f5
       [<c02ee4c7>] mutex_lock+0x1c/0x1f
       [<c013dd3b>] __lock_cpu_hotplug+0x34/0x4c
       [<c013dd6c>] lock_cpu_hotplug+0xa/0xc
       [<c029b587>] __cpufreq_driver_target+0x15/0x50
       [<c029c3ca>] cpufreq_governor_performance+0x1a/0x20
       [<c029a89b>] __cpufreq_governor+0x95/0x18c
       [<c029aa72>] __cpufreq_set_policy+0xe0/0x118
       [<c029af49>] cpufreq_set_policy+0x2d/0x6f
       [<c029bc45>] cpufreq_add_dev+0x3ee/0x4f3
       [<c024dccb>] sysdev_driver_register+0x5e/0x9e
       [<c029be70>] cpufreq_register_driver+0x80/0xf4
       [<fdba202a>] 0xfdba202a
       [<c0140f22>] sys_init_module+0xa6/0x21d
       [<c0103179>] sysenter_past_esp+0x56/0x8d

-> #0 (&inode->i_data.tree_lock){.+..}:

       [<c0139a55>] lock_acquire+0x71/0x91
       [<c02ee288>] __mutex_lock_slowpath+0xd2/0x2f5
       [<c02ee4c7>] mutex_lock+0x1c/0x1f
       [<c029b7f2>] store_scaling_governor+0x14a/0x1a2
       [<c029b223>] store+0x37/0x48
       [<c01a9f4b>] sysfs_write_file+0xa6/0xcc
       [<c0172dab>] vfs_write+0xc9/0x172
       [<c017341d>] sys_write+0x3b/0x71
       [<c0103179>] sysenter_past_esp+0x56/0x8d

other info that might help us debug this:

1 lock held by cpuspeed/1426:
#0: (cpucontrol){--..}, at: [<c02ee4c7>] mutex_lock+0x1c/0x1f

stack backtrace:
 [<c01041f0>] show_trace_log_lvl+0x54/0x101
 [<c0104827>] show_trace+0xd/0x10
 [<c0104949>] dump_stack+0x19/0x1b
 [<c0138b99>] print_circular_bug_tail+0x59/0x64
 [<c013950a>] __lock_acquire+0x966/0xb39
 [<c0139a55>] lock_acquire+0x71/0x91
 [<c02ee288>] __mutex_lock_slowpath+0xd2/0x2f5
 [<c02ee4c7>] mutex_lock+0x1c/0x1f
 [<c029b7f2>] store_scaling_governor+0x14a/0x1a2
 [<c029b223>] store+0x37/0x48
 [<c01a9f4b>] sysfs_write_file+0xa6/0xcc
 [<c0172dab>] vfs_write+0xc9/0x172
 [<c017341d>] sys_write+0x3b/0x71
 [<c0103179>] sysenter_past_esp+0x56/0x8d

Here is a dmesg log
http://www.stardust.webpages.pl/files/mm/2.6.18-rc1-mm1/mm-dmesg

Here is a config file
http://www.stardust.webpages.pl/files/mm/2.6.18-rc1-mm1/mm-config

Regards,
Michal

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

Signature · 3 lines
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
#9 lore raw
In reply to Michal Piotrowski
Quoted 15 lines · On Sun, 9 Jul 2006 12:32:27 +0200 "Michal Piotrowski"…

Hi,

Quoted 3 lines · Andrew Morton

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

This looks like a problem with cpufreq.

=======================================================
[ INFO: possible circular locking dependency detected ]
-------------------------------------------------------
cpuspeed/1426 is trying to acquire lock:
(&inode->i_data.tree_lock){.+..}, at: [<c0151dc7>] find_get_page+0x12/0x70

Quoted 5 lines

but task is already holding lock:
(&mm->mmap_sem){----}, at: [<c0116cab>] do_page_fault+0x10d/0x4ea

which lock already depends on the new lock.

rofl. You broke lockdep.

Well. I guess it's barely conceivable that you earlier took an oops while holding tree_lock, so lockdep decided that mmap_sem nests inside tree_lock.

Quoted 21 lines

the existing dependency chain (in reverse order) is:

-> #1 (cpucontrol){--..}:

       [<c0139a55>] lock_acquire+0x71/0x91
       [<c02ee288>] __mutex_lock_slowpath+0xd2/0x2f5
       [<c02ee4c7>] mutex_lock+0x1c/0x1f
       [<c013dd3b>] __lock_cpu_hotplug+0x34/0x4c
       [<c013dd6c>] lock_cpu_hotplug+0xa/0xc
       [<c029b587>] __cpufreq_driver_target+0x15/0x50
       [<c029c3ca>] cpufreq_governor_performance+0x1a/0x20
       [<c029a89b>] __cpufreq_governor+0x95/0x18c
       [<c029aa72>] __cpufreq_set_policy+0xe0/0x118
       [<c029af49>] cpufreq_set_policy+0x2d/0x6f
       [<c029bc45>] cpufreq_add_dev+0x3ee/0x4f3
       [<c024dccb>] sysdev_driver_register+0x5e/0x9e
       [<c029be70>] cpufreq_register_driver+0x80/0xf4
       [<fdba202a>] 0xfdba202a
       [<c0140f22>] sys_init_module+0xa6/0x21d
       [<c0103179>] sysenter_past_esp+0x56/0x8d

-> #0 (&inode->i_data.tree_lock){.+..}:

Quoted 9 lines
       [<c0139a55>] lock_acquire+0x71/0x91
       [<c02ee288>] __mutex_lock_slowpath+0xd2/0x2f5
       [<c02ee4c7>] mutex_lock+0x1c/0x1f
       [<c029b7f2>] store_scaling_governor+0x14a/0x1a2
       [<c029b223>] store+0x37/0x48
       [<c01a9f4b>] sysfs_write_file+0xa6/0xcc
       [<c0172dab>] vfs_write+0xc9/0x172
       [<c017341d>] sys_write+0x3b/0x71
       [<c0103179>] sysenter_past_esp+0x56/0x8d

Straightforward ab/ba deadlock between cpufreq_policy.lock and lock_cpu_hotplug(). But lockdep got confused about the identity of the lock.

#10 lore raw
Quoted 21 lines · Andrew Morton
Quoted 18 lines · On Sun, 9 Jul 2006 12:32:27 +0200 "Michal Piotrowski"…

Hi,

Quoted 3 lines · Andrew Morton

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

This looks like a problem with cpufreq.

=======================================================
[ INFO: possible circular locking dependency detected ]
-------------------------------------------------------
cpuspeed/1426 is trying to acquire lock:
(&inode->i_data.tree_lock){.+..}, at: [<c0151dc7>] find_get_page+0x12/0x70

but task is already holding lock:
(&mm->mmap_sem){----}, at: [<c0116cab>] do_page_fault+0x10d/0x4ea

Quoted 7 lines
Quoted 2 lines

which lock already depends on the new lock.

rofl. You broke lockdep.

Well. I guess it's barely conceivable that you earlier took an oops while holding tree_lock, so lockdep decided that mmap_sem nests inside tree_lock.

I think it would be justified to disable lockdep in an oops; after all the kernel state can't really be trusted once that happen....

#11 lore raw
In reply to Andrew Morton
Quoted 8 lines · Andrew Morton
Quoted 8 lines

This looks like a problem with cpufreq.

=======================================================
[ INFO: possible circular locking dependency detected ]
-------------------------------------------------------
cpuspeed/1426 is trying to acquire lock:
(&inode->i_data.tree_lock){.+..}, at: [<c0151dc7>] find_get_page+0x12/0x70

Quoted 7 lines
Quoted 5 lines

but task is already holding lock:
(&mm->mmap_sem){----}, at: [<c0116cab>] do_page_fault+0x10d/0x4ea

which lock already depends on the new lock.

rofl. You broke lockdep.

ouch! the lock identifications look quite funny :-| Never saw that happen before, i'm wondering what's going on. Michal, did this happen straight during bootup? Or did you remove/recompile/reinsert any modules perhaps?

Quoted 3 lines

Well. I guess it's barely conceivable that you earlier took an oops while holding tree_lock, so lockdep decided that mmap_sem nests inside tree_lock.

Arjan is preparing a patch to turn off lockdep when we crash. Although i dont see any trace of an earlier oops in the dmesg.

Ingo

#12 lore raw

Hi Ingo,

Quoted 14 lines · Ingo Molnar
Quoted 11 lines · Andrew Morton
Quoted 11 lines

This looks like a problem with cpufreq.

=======================================================
[ INFO: possible circular locking dependency detected ]
-------------------------------------------------------
cpuspeed/1426 is trying to acquire lock:
(&inode->i_data.tree_lock){.+..}, at: [<c0151dc7>] find_get_page+0x12/0x70

but task is already holding lock:
(&mm->mmap_sem){----}, at: [<c0116cab>] do_page_fault+0x10d/0x4ea

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

which lock already depends on the new lock.

rofl. You broke lockdep.

ouch! the lock identifications look quite funny :-| Never saw that happen before,

:)

Quoted 3 lines

i'm wondering what's going on. Michal, did this happen straight during bootup? Or did you remove/recompile/reinsert any modules perhaps?

It's happening while /etc/init.d/cpuspeed execution.

I forgot about "make O=/dir/ clean". When new -mm is out I always remove kernel directory and create new one.

Quoted 10 lines
Quoted 4 lines

Well. I guess it's barely conceivable that you earlier took an oops while holding tree_lock, so lockdep decided that mmap_sem nests inside tree_lock.

Arjan is preparing a patch to turn off lockdep when we crash. Although i dont see any trace of an earlier oops in the dmesg.

Ingo

Regards,
Michal

Signature · 3 lines
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
#13 lore raw
Quoted 7 lines · Michal Piotrowski
Quoted 4 lines
Quoted 1 line

rofl. You broke lockdep.

ouch! the lock identifications look quite funny :-| Never saw that happen before,

:)

Quoted 8 lines
Quoted 3 lines

i'm wondering what's going on. Michal, did this happen straight during bootup? Or did you remove/recompile/reinsert any modules perhaps?

It's happening while /etc/init.d/cpuspeed execution.

I forgot about "make O=/dir/ clean". When new -mm is out I always remove kernel directory and create new one.

ah, ok. So i'll put this under the 'unclean-build artifact' section, i.e. not a lockdep bug for now, it seems. Please re-report if it ever occurs again with a clean kernel build.

Ingo

#14 lore raw
Quoted 14 lines · Ingo Molnar
Quoted 11 lines · Michal Piotrowski
Quoted 4 lines
Quoted 1 line

rofl. You broke lockdep.

ouch! the lock identifications look quite funny :-| Never saw that happen before,

:)

Quoted 3 lines

i'm wondering what's going on. Michal, did this happen straight during bootup? Or did you remove/recompile/reinsert any modules perhaps?

Quoted 8 lines
Quoted 4 lines

It's happening while /etc/init.d/cpuspeed execution.

I forgot about "make O=/dir/ clean". When new -mm is out I always remove kernel directory and create new one.

ah, ok. So i'll put this under the 'unclean-build artifact' section, i.e. not a lockdep bug for now, it seems. Please re-report if it ever occurs again with a clean kernel build.

Unfortunately "make O=/dir clean" doesn't help. I'll disable lockdep, and see what happens.

Quoted 3 lines

Ingo

Regards,
Michal

Signature · 3 lines
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
#15 lore raw
Quoted 8 lines · Michal Piotrowski
Quoted 3 lines · Ingo Molnar

ah, ok. So i'll put this under the 'unclean-build artifact' section, i.e. not a lockdep bug for now, it seems. Please re-report if it ever occurs again with a clean kernel build.

Unfortunately "make O=/dir clean" doesn't help. I'll disable lockdep, and see what happens.

When I set DEBUG_LOCK_ALLOC=n and CONFIG_PROVE_LOCKING=n everything is ok. It maybe a gcc 4.2 bug.

Regards,
Michal

Signature · 3 lines
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
#16 lore raw
Quoted 6 lines · Michal Piotrowski
Quoted 5 lines · Michal Piotrowski
Quoted 3 lines · Ingo Molnar

ah, ok. So i'll put this under the 'unclean-build artifact' section, i.e. not a lockdep bug for now, it seems. Please re-report if it ever occurs again with a clean kernel build.

Quoted 6 lines
Quoted 3 lines

Unfortunately "make O=/dir clean" doesn't help. I'll disable lockdep, and see what happens.

When I set DEBUG_LOCK_ALLOC=n and CONFIG_PROVE_LOCKING=n everything is ok. It maybe a gcc 4.2 bug.

well ... if you disable lockdep then you wont get lockdep messages - that's normal. Or did i miss what the bug is about?

Ingo

#17 lore raw
Quoted 9 lines · Ingo Molnar
Quoted 6 lines · Michal Piotrowski
Quoted 5 lines · Michal Piotrowski
Quoted 3 lines · Ingo Molnar

ah, ok. So i'll put this under the 'unclean-build artifact' section, i.e. not a lockdep bug for now, it seems. Please re-report if it ever occurs again with a clean kernel build.

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines

Unfortunately "make O=/dir clean" doesn't help. I'll disable lockdep, and see what happens.

When I set DEBUG_LOCK_ALLOC=n and CONFIG_PROVE_LOCKING=n everything is ok. It maybe a gcc 4.2 bug.

It's not gcc 4.2 bug.

Quoted 3 lines

well ... if you disable lockdep then you wont get lockdep messages - that's normal.

I'm just checking ;).

Quoted 4 lines

Or did i miss what the bug is about?

Ingo

Regards,
Michal

Signature · 3 lines
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
#18 lore raw
In reply to Andrew Morton
Quoted 3 lines · Andrew Morton

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

LTP hangs on

<<<test_output>>>

setrlimit01    1  PASS  :  RLIMIT_NOFILE functionality is correct
setrlimit01    0  WARN  :  caught signal 2, not SIGSEGV

<<<execution_status>>>
duration=1071 termination_type=driver_interrupt termination_id=1 corefile=no cutime=0 cstime=1
<<<test_end>>>

[michal@ltg01-fedora linux-mm]$ ps aux | grep setr
root 5155 99.1 0.0 1612 188 pts/0 R 12:39 20:30 setrlimit01

sudo kill -9 5155

[michal@ltg01-fedora linux-mm]$ ps aux | grep setr
root 5155 99.0 0.0 1612 188 pts/0 R 12:39 20:57 setrlimit01

unkillable process? I'll try to strace this.

Regards,
Michal

Signature · 3 lines
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
#19 lore raw
Quoted 18 lines · Michal Piotrowski
Quoted 3 lines · Andrew Morton

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

LTP hangs on

<<<test_output>>>

setrlimit01    1  PASS  :  RLIMIT_NOFILE functionality is correct
setrlimit01    0  WARN  :  caught signal 2, not SIGSEGV

<<<execution_status>>>
duration=1071 termination_type=driver_interrupt termination_id=1 corefile=no cutime=0 cstime=1
<<<test_end>>>

[michal@ltg01-fedora linux-mm]$ ps aux | grep setr
root 5155 99.1 0.0 1612 188 pts/0 R 12:39 20:30 setrlimit01

Quoted 7 lines

sudo kill -9 5155

[michal@ltg01-fedora linux-mm]$ ps aux | grep setr
root 5155 99.0 0.0 1612 188 pts/0 R 12:39 20:57 setrlimit01

unkillable process? I'll try to strace this.

Here is a strace output
http://www.stardust.webpages.pl/files/mm/2.6.18-rc1-mm1/strace.txt

Regards,
Michal

Signature · 3 lines
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
#20 lore raw
In reply to Michal Piotrowski
Quoted 9 lines · On Sun, 9 Jul 2006 13:02:48 +0200 "Michal Piotrowski"…

TP hangs on

<<<test_output>>>

setrlimit01    1  PASS  :  RLIMIT_NOFILE functionality is correct
setrlimit01    0  WARN  :  caught signal 2, not SIGSEGV

<<<execution_status>>>
duration=1071 termination_type=driver_interrupt termination_id=1 corefile=no cutime=0 cstime=1
<<<test_end>>>

Yep, thanks.

RLIMIT_FSIZE can cause generic_write_checks() to reduce count'. So we cannot assume that count' is equal to the total length size of the incoming iovec.

mm/filemap.c renamed from mm/filemap.c~add-address_space_operationsbatch_write-fix +2 -2
@@ -2205,9 +2205,9 @@ generic_file_buffered_write(struct kiocb
 	do {
 		/* do not walk over current segment */
 		desc.buf = cur_iov->iov_base + iov_base;
-		desc.count = cur_iov->iov_len - iov_base;
+		desc.count = min(count, cur_iov->iov_len - iov_base);
 		if (desc.count > 0)
-			status = batch_write(file, &desc, &copied);
+			status = (*batch_write)(file, &desc, &copied);
 		else {
 			copied = 0;
 			status = 0;

_

#21 lore raw
Quoted 13 lines · Andrew Morton
Quoted 9 lines · On Sun, 9 Jul 2006 13:02:48 +0200 "Michal Piotrowski"…

TP hangs on

<<<test_output>>>

setrlimit01    1  PASS  :  RLIMIT_NOFILE functionality is correct
setrlimit01    0  WARN  :  caught signal 2, not SIGSEGV

<<<execution_status>>>
duration=1071 termination_type=driver_interrupt termination_id=1 corefile=no cutime=0 cstime=1
<<<test_end>>>

Quoted 6 lines

Yep, thanks.

RLIMIT_FSIZE can cause generic_write_checks() to reduce count'. So we cannot assume that count' is equal to the total length size of the incoming iovec.

Problem solved, thanks.

Regards,
Michal

Signature · 3 lines
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
#22 lore raw
In reply to Andrew Morton
Quoted 9 lines · Andrew Morton

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

- We're getting a relatively large number of crash reports coming out of the core sysfs/kobject/driver/bus code, and they're all really hard to diagnose.

I am suspecting that what's happening is that some registration functions are failing and the caller is ignoring that failure. The code proceeds and crashes much later, in obscure ways.

Quoted 5 lines

All these functions return error codes, and we're not checking them. We should. So there's a patch which marks all these things as __must_check, which causes around 1,500 new warnings.

These are all bugs and they all need to be fixed.

Works. Well, it boots without crashing here and has been up for 30 or so minutes without incident or so much as a log entry.

I assume that the bulk of those warnings about the return error codes will be largely dealt with by individual maintainers as there are far too many to post here?

Some minor problems noted - possibly PCI/ACPI related (read on past the IDE bit if that's not your cup of tea).

1. I've disabled the old IDE stuff and enabled Alan's IDE support (CONFIG_SCSI_ATA_GENERIC=y). But it seems to be a bit unhappy with my IDE CD burner:

ata_piix 0000:00:1f.1: version 2.00ac5
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1f.1 to 64
ata5: PATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0x30B0 irq 14 scsi4 : ata_piix
ata5.00: ATAPI, max UDMA/66
ata5.00: configured for UDMA/66
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata5.00: (BMDMA stat 0x24)
ata5.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
ata5: soft resetting port
ata5.00: configured for UDMA/66
ata5: EH complete
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata5.00: (BMDMA stat 0x24)
ata5.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
ata5: soft resetting port
ata5.00: configured for UDMA/66
Losing some ticks... checking if CPU frequency changed.
ata5: EH complete
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata5.00: (BMDMA stat 0x24)
ata5.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
ata5: soft resetting port
ata5.00: configured for UDMA/66
ata5: EH complete
ata5.00: limiting speed to UDMA/44
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata5.00: (BMDMA stat 0x24)
ata5.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
ata5: soft resetting port
ata5.00: configured for UDMA/44
ata5: EH complete
ata6: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x30B8 irq 15 scsi5 : ata_piix
ata6: port disabled. ignoring.
ATA: abnormal status 0xFF on port 0x177
SCSI device sda: 586072368 512-byte hdwr sectors (300069 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back

Note also the message midway through about losing some ticks, which if I recall correctly is not new to this -mm release. I'm not sure who to cc about this.

The IDE device obviously ended up not being detected by the system. Usually this device comes up as:

Jul  2 12:03:28 tornado kernel: hda: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache, UDMA(66)

2. Onto some more minor warnings:

ACPI: bus type pci registered
PCI: BIOS Bug: MCFG area at f0000000 is not E820-reserved
PCI: Not using MMCONFIG.
PCI: Using configuration type 1
ACPI: Interpreter enabled

Is there any way to verify that there really is a BIOS bug there? If it is, is there anyone within Intel or are there any known contacts who can push and poke to get this looked at/fixed? (It's a new Intel board, I'd hope they could get it right..).

Plus we're not using MMCONFIG - even though I have it enabled.

Based on previous postings to lkml, I believe Randy Dunlap may have one of these boards too - Randy are you seeing this and the next bunch of warnings I am seeing?

3. Power Management warnings, been there ages, but I've had bigger things to worry about (like fatal oopses) so haven't bothered asking:

Device `[PEX0]' is not power manageable
ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1c.0 to 64 Device `[PEX2]' is not power manageable
ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1c.2 to 64 Device `[PEX3]' is not power manageable
ACPI: PCI Interrupt 0000:00:1c.3[D] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1c.3 to 64 Device `[PEX4]' is not power manageable
ACPI: PCI Interrupt 0000:00:1c.4[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1c.4 to 64 Device `[PEX5]' is not power manageable
ACPI: PCI Interrupt 0000:00:1c.5[B] -> GSI 16 (level, low) -> IRQ 16

and

Device `[IDES]' is not power manageable

[root@tornado ~]# cat /proc/interrupts
CPU0 CPU1

  0:     258266          0   IO-APIC-edge     timer
  4:        355          0   IO-APIC-edge     serial
  6:          5          0   IO-APIC-edge     floppy
  8:          1          0   IO-APIC-edge     rtc
  9:          0          0   IO-APIC-fasteoi  acpi
 14:         28          0   IO-APIC-edge     libata
 15:          0          0   IO-APIC-edge     libata
 16:          0          0   IO-APIC-fasteoi  uhci_hcd:usb5
 18:          0          0   IO-APIC-fasteoi  uhci_hcd:usb4
 19:        980          0   IO-APIC-fasteoi  uhci_hcd:usb3, serial
 23:        105          0   IO-APIC-fasteoi  ehci_hcd:usb1, uhci_hcd:usb2
313:      82513          0   PCI-MSI-<NULL>  eth0
314:      57370          0   PCI-MSI-<NULL>  libata
NMI:        217        188
LOC:     258118     257890
ERR:          0
MIS:          0

[root@tornado ~]#

The full dmesg is up at http://www.reub.net/files/kernel/2.6.18-rc1-mm1.dmesg and config is up at http://www.reub.net/files/kernel/2.6.18-rc1-mm1.config

Minor issues and possibly most if not all are not of concern, but occasionally supposedly minor things show up much bigger problems when questions are asked and people start poking around :)

Reuben

#23 lore raw
Quoted 12 lines · On Sun, 09 Jul 2006 23:22:14 +1200 Reuben Farrelly <[email protected]> wrote:
Quoted 9 lines · Andrew Morton

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

- We're getting a relatively large number of crash reports coming out of the core sysfs/kobject/driver/bus code, and they're all really hard to diagnose.

I am suspecting that what's happening is that some registration functions are failing and the caller is ignoring that failure. The code proceeds and crashes much later, in obscure ways.

Quoted 8 lines
Quoted 5 lines

All these functions return error codes, and we're not checking them. We should. So there's a patch which marks all these things as __must_check, which causes around 1,500 new warnings.

These are all bugs and they all need to be fixed.

Works. Well, it boots without crashing here and has been up for 30 or so minutes without incident or so much as a log entry.

Shock. Have you tested suspend-to-ram and suspend-to-disk?

Quoted 2 lines

I assume that the bulk of those warnings about the return error codes will be largely dealt with by individual maintainers as there are far too many to post here?

I admire your faith in your fellow man. I'll see what can be done to reduce the warnings by changing some deregistration/removal API functions so they return void. That should remove maybe half of them.

As for the rest I guess we just need to slam that patch into mainline and start bitching at people.

Quoted 40 lines

Some minor problems noted - possibly PCI/ACPI related (read on past the IDE bit if that's not your cup of tea).

1. I've disabled the old IDE stuff and enabled Alan's IDE support (CONFIG_SCSI_ATA_GENERIC=y). But it seems to be a bit unhappy with my IDE CD burner:

ata_piix 0000:00:1f.1: version 2.00ac5
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1f.1 to 64
ata5: PATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0x30B0 irq 14 scsi4 : ata_piix
ata5.00: ATAPI, max UDMA/66
ata5.00: configured for UDMA/66
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata5.00: (BMDMA stat 0x24)
ata5.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
ata5: soft resetting port
ata5.00: configured for UDMA/66
ata5: EH complete
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata5.00: (BMDMA stat 0x24)
ata5.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
ata5: soft resetting port
ata5.00: configured for UDMA/66
Losing some ticks... checking if CPU frequency changed.
ata5: EH complete
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata5.00: (BMDMA stat 0x24)
ata5.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
ata5: soft resetting port
ata5.00: configured for UDMA/66
ata5: EH complete
ata5.00: limiting speed to UDMA/44
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata5.00: (BMDMA stat 0x24)
ata5.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
ata5: soft resetting port
ata5.00: configured for UDMA/44
ata5: EH complete

Quoted 8 lines

ata6: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x30B8 irq 15 scsi5 : ata_piix
ata6: port disabled. ignoring.
ATA: abnormal status 0xFF on port 0x177
SCSI device sda: 586072368 512-byte hdwr sectors (300069 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back

Alan stuff.

Quoted 2 lines

Note also the message midway through about losing some ticks, which if I recall correctly is not new to this -mm release. I'm not sure who to cc about this.

John stuff. I suspect it's natural and normal, if the IDE error handling did something rude with interrupt holdoff.

Quoted 15 lines

The IDE device obviously ended up not being detected by the system. Usually this device comes up as:

Jul  2 12:03:28 tornado kernel: hda: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 

2000kB Cache, UDMA(66)

2. Onto some more minor warnings:

ACPI: bus type pci registered
PCI: BIOS Bug: MCFG area at f0000000 is not E820-reserved
PCI: Not using MMCONFIG.
PCI: Using configuration type 1
ACPI: Interpreter enabled

Quoted 6 lines

Is there any way to verify that there really is a BIOS bug there? If it is, is there anyone within Intel or are there any known contacts who can push and poke to get this looked at/fixed? (It's a new Intel board, I'd hope they could get it right..).

Plus we're not using MMCONFIG - even though I have it enabled.

Andi stuff.

Quoted 6 lines

Based on previous postings to lkml, I believe Randy Dunlap may have one of these boards too - Randy are you seeing this and the next bunch of warnings I am seeing?

3. Power Management warnings, been there ages, but I've had bigger things to worry about (like fatal oopses) so haven't bothered asking:

Quoted 14 lines

Device `[PEX0]' is not power manageable
ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1c.0 to 64 Device `[PEX2]' is not power manageable
ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1c.2 to 64 Device `[PEX3]' is not power manageable
ACPI: PCI Interrupt 0000:00:1c.3[D] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1c.3 to 64 Device `[PEX4]' is not power manageable
ACPI: PCI Interrupt 0000:00:1c.4[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1c.4 to 64 Device `[PEX5]' is not power manageable
ACPI: PCI Interrupt 0000:00:1c.5[B] -> GSI 16 (level, low) -> IRQ 16

ACPI stuff. I suspect the kernel isn't doing anything wrong here.

Quoted 3 lines

and

Device `[IDES]' is not power manageable

I don't know what device that is.

Quoted 19 lines

[root@tornado ~]# cat /proc/interrupts
CPU0 CPU1

   0:     258266          0   IO-APIC-edge     timer
   4:        355          0   IO-APIC-edge     serial
   6:          5          0   IO-APIC-edge     floppy
   8:          1          0   IO-APIC-edge     rtc
   9:          0          0   IO-APIC-fasteoi  acpi
  14:         28          0   IO-APIC-edge     libata
  15:          0          0   IO-APIC-edge     libata
  16:          0          0   IO-APIC-fasteoi  uhci_hcd:usb5
  18:          0          0   IO-APIC-fasteoi  uhci_hcd:usb4
  19:        980          0   IO-APIC-fasteoi  uhci_hcd:usb3, serial
  23:        105          0   IO-APIC-fasteoi  ehci_hcd:usb1, uhci_hcd:usb2
313:      82513          0   PCI-MSI-<NULL>  eth0
314:      57370          0   PCI-MSI-<NULL>  libata
NMI:        217        188
LOC:     258118     257890
ERR:          0
MIS:          0
Quoted 9 lines

[root@tornado ~]#

The full dmesg is up at http://www.reub.net/files/kernel/2.6.18-rc1-mm1.dmesg
and config is up at http://www.reub.net/files/kernel/2.6.18-rc1-mm1.config

Minor issues and possibly most if not all are not of concern, but occasionally supposedly minor things show up much bigger problems when questions are asked and people start poking around :)

Thanks.

#24 lore raw

Ar Sul, 2006-07-09 am 05:22 -0700, ysgrifennodd Andrew Morton:

Quoted 4 lines
Quoted 4 lines

ata5: PATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0x30B0 irq 14 scsi4 : ata_piix
ata5.00: ATAPI, max UDMA/66
ata5.00: configured for UDMA/66

More ATAPI devices getting uppity about mode setting.

Quoted 2 lines

John stuff. I suspect it's natural and normal, if the IDE error handling did something rude with interrupt holdoff.

The new libata should be more polite than that, although since the ATA drive can stall the CPU indefinitely you lose anyway 8(

Quoted 2 lines
Quoted 2 lines
Jul  2 12:03:28 tornado kernel: hda: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 

2000kB Cache, UDMA(66)

Can you send me the full hdparm identify stuff for this ?

The old drivers/ide code uses much longer delays than the spec for some ATAPI commands, and it looks as if there is a good reason for doing so ...

That or I've got a mistuning case I've missed.

Alan

#25 lore raw
Quoted 6 lines · Alan Cox

Ar Sul, 2006-07-09 am 05:22 -0700, ysgrifennodd Andrew Morton:

Quoted 4 lines
Quoted 4 lines

ata5: PATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0x30B0 irq 14 scsi4 : ata_piix
ata5.00: ATAPI, max UDMA/66
ata5.00: configured for UDMA/66

Quoted 7 lines

More ATAPI devices getting uppity about mode setting.

Quoted 2 lines

John stuff. I suspect it's natural and normal, if the IDE error handling did something rude with interrupt holdoff.

The new libata should be more polite than that, although since the ATA drive can stall the CPU indefinitely you lose anyway 8(

It may not be related to ATA. I just reloaded into 2.6.17-mm6 to get the info for Alan and saw it when booting up on that too:

PCI: Setting latency timer of device 0000:00:1d.7 to 64 ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1 Losing some ticks... checking if CPU frequency changed. ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 128 is not supported by device 0000:00:1d.7

Note it was in a different place in here than in -rc1-mm1 (slightly later in the bootup).

I'm fairly sure it's not new to this release.

Quoted 3 lines
Quoted 1 line
Quoted 1 line
Jul  2 12:03:28 tornado kernel: hda: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache, UDMA(66)

Can you send me the full hdparm identify stuff for this ?

sh-3.1# hdparm -I /dev/hda

/dev/hda:

ATAPI CD-ROM, with removable media

        Model Number:       PIONEER DVD-RW  DVR-111D
        Serial Number:      FADC005671WL
        Firmware Revision:  1.23

Standards:
Likely used CD-ROM ATAPI-1
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(can be disabled)
Buffer size: 64.0kB
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 *udma4
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=240ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* Power Management feature set
* PACKET command feature set
* DEVICE_RESET command
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
sh-3.1#
sh-3.1# hdparm -i /dev/hda

/dev/hda:

Model=PIONEER DVD-RW DVR-111D, FwRev=1.23, SerialNo=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic } RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=13395, BuffSize=64kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 *udma4
AdvancedPM=no
Drive conforms to: Unspecified: ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5

* signifies the current active mode

sh-3.1#

Reuben

#26 lore raw
In reply to Alan Cox
Quoted 3 lines · Alan Cox

The old drivers/ide code uses much longer delays than the spec for some ATAPI commands, and it looks as if there is a good reason for doing so ...

FWIW, the code that ATADRVR (http://www.ata-atapi.com/) uses to issue commands does something like

	write Command register to start command
	if (device == ATAPI)			# i.e. not ATA
		delay(150 msec)
	pound Status / AltStatus, kick DMA engine, whatever else

ATADRVR is open code (for an MS-DOS-level driver), and really worth a read. Between ATADRVR and drivers/ide, you get a pretty good idea about what __field experience__ has shown is needed for ATAPI devices.

Jeff

#27 lore raw
In reply to Andrew Morton
Quoted 6 lines · Andrew Morton
Quoted 6 lines

ACPI: bus type pci registered
PCI: BIOS Bug: MCFG area at f0000000 is not E820-reserved
PCI: Not using MMCONFIG.
PCI: Using configuration type 1
ACPI: Interpreter enabled

Quoted 8 lines
Quoted 6 lines

Is there any way to verify that there really is a BIOS bug there? If it is, is there anyone within Intel or are there any known contacts who can push and poke to get this looked at/fixed? (It's a new Intel board, I'd hope they could get it right..).

Plus we're not using MMCONFIG - even though I have it enabled.

Andi stuff.

Greg has patches to relax the checking a bit.

I don't know when he intends to merge them.

Anyways it should be completely harmless - mmconfig does nothing essential right now.

-Andi

#28 lore raw
Quoted 12 lines · Andi Kleen
Quoted 11 lines · Andrew Morton
Quoted 11 lines

ACPI: bus type pci registered
PCI: BIOS Bug: MCFG area at f0000000 is not E820-reserved
PCI: Not using MMCONFIG.
PCI: Using configuration type 1
ACPI: Interpreter enabled

Is there any way to verify that there really is a BIOS bug there? If it is, is there anyone within Intel or are there any known contacts who can push and poke to get this looked at/fixed? (It's a new Intel board, I'd hope they could get it right..).

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Plus we're not using MMCONFIG - even though I have it enabled.

Andi stuff.

Greg has patches to relax the checking a bit.

I don't know when he intends to merge them.

I think they are all merged into 2.6.18-rc1, as I do't see any MMCONFIG patches in my tree right now, nor in my queue.

thanks,

greg k-h

#29 lore raw
In reply to Andrew Morton
Quoted 7 lines · Andrew Morton
Quoted 2 lines · On Sun, 09 Jul 2006 23:22:14 +1200 Reuben Farrelly <[email protected]> wrote:

Note also the message midway through about losing some ticks, which if I recall correctly is not new to this -mm release. I'm not sure who to cc about this.

John stuff. I suspect it's natural and normal, if the IDE error handling did something rude with interrupt holdoff.

Actually that's an x86-64 system, so the timekeeping changes shouldn't really being affecting it.

thanks
-john

#30 lore raw
In reply to Reuben Farrelly
Quoted 14 lines · On Sun, 09 Jul 2006 23:22:14 +1200 Reuben Farrelly wrote:
Quoted 13 lines · Andrew Morton

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

- We're getting a relatively large number of crash reports coming out of the core sysfs/kobject/driver/bus code, and they're all really hard to diagnose.

I am suspecting that what's happening is that some registration functions are failing and the caller is ignoring that failure. The code proceeds and crashes much later, in obscure ways.

All these functions return error codes, and we're not checking them. We should. So there's a patch which marks all these things as __must_check, which causes around 1,500 new warnings.

Quoted 7 lines
Quoted 1 line

These are all bugs and they all need to be fixed.

Works. Well, it boots without crashing here and has been up for 30 or so minutes without incident or so much as a log entry.

I assume that the bulk of those warnings about the return error codes will be largely dealt with by individual maintainers as there are far too many to post here?

Yeah, right. (quoting Kathy Mallory with her usual sarcasm)

Quoted 16 lines

Some minor problems noted - possibly PCI/ACPI related (read on past the IDE bit if that's not your cup of tea).

2. Onto some more minor warnings:

ACPI: bus type pci registered
PCI: BIOS Bug: MCFG area at f0000000 is not E820-reserved
PCI: Not using MMCONFIG.
PCI: Using configuration type 1
ACPI: Interpreter enabled

Is there any way to verify that there really is a BIOS bug there? If it is, is there anyone within Intel or are there any known contacts who can push and poke to get this looked at/fixed? (It's a new Intel board, I'd hope they could get it right..).

Quoted 4 lines

Plus we're not using MMCONFIG - even though I have it enabled.

Based on previous postings to lkml, I believe Randy Dunlap may have one of these boards too - Randy are you seeing this and the next bunch of warnings I am seeing?

I just found 2.6.18-rc1-mm1. I'll build + check. I have an Intel ICH7 motherboard with SATA. Is that close to what you have?

Quoted 18 lines

3. Power Management warnings, been there ages, but I've had bigger things to worry about (like fatal oopses) so haven't bothered asking:

Device `[PEX0]' is not power manageable
ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1c.0 to 64 Device `[PEX2]' is not power manageable
ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1c.2 to 64 Device `[PEX3]' is not power manageable
ACPI: PCI Interrupt 0000:00:1c.3[D] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1c.3 to 64 Device `[PEX4]' is not power manageable
ACPI: PCI Interrupt 0000:00:1c.4[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1c.4 to 64 Device `[PEX5]' is not power manageable
ACPI: PCI Interrupt 0000:00:1c.5[B] -> GSI 16 (level, low) -> IRQ 16

Quoted 3 lines

and

Device `[IDES]' is not power manageable

I guess that's from here:

/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/IDES

which contains 2 directories: PRID and SECD. Apparently ATA/IDE primary and secondary controllers, but I'm not sure. Those empty directory structures don't tell me much.

Quoted 15 lines

[root@tornado ~]# cat /proc/interrupts
CPU0 CPU1

   0:     258266          0   IO-APIC-edge     timer
   4:        355          0   IO-APIC-edge     serial
   6:          5          0   IO-APIC-edge     floppy
   8:          1          0   IO-APIC-edge     rtc
   9:          0          0   IO-APIC-fasteoi  acpi
  14:         28          0   IO-APIC-edge     libata
  15:          0          0   IO-APIC-edge     libata
  16:          0          0   IO-APIC-fasteoi  uhci_hcd:usb5
  18:          0          0   IO-APIC-fasteoi  uhci_hcd:usb4
  19:        980          0   IO-APIC-fasteoi  uhci_hcd:usb3, serial
  23:        105          0   IO-APIC-fasteoi  ehci_hcd:usb1, uhci_hcd:usb2
313:      82513          0   PCI-MSI-<NULL>  eth0
314:      57370          0   PCI-MSI-<NULL>  libata

"We" need to fix that <NULL> there.

Quoted 8 lines
NMI:        217        188
LOC:     258118     257890
ERR:          0
MIS:          0

[root@tornado ~]#

The full dmesg is up at http://www.reub.net/files/kernel/2.6.18-rc1-mm1.dmesg
and config is up at http://www.reub.net/files/kernel/2.6.18-rc1-mm1.config

---
~Randy

#31 lore raw
Quoted 16 lines · On Sun, 9 Jul 2006 10:33:12 -0700 "Randy.Dunlap" <[email protected]> wrote:
Quoted 15 lines

[root@tornado ~]# cat /proc/interrupts
CPU0 CPU1

   0:     258266          0   IO-APIC-edge     timer
   4:        355          0   IO-APIC-edge     serial
   6:          5          0   IO-APIC-edge     floppy
   8:          1          0   IO-APIC-edge     rtc
   9:          0          0   IO-APIC-fasteoi  acpi
  14:         28          0   IO-APIC-edge     libata
  15:          0          0   IO-APIC-edge     libata
  16:          0          0   IO-APIC-fasteoi  uhci_hcd:usb5
  18:          0          0   IO-APIC-fasteoi  uhci_hcd:usb4
  19:        980          0   IO-APIC-fasteoi  uhci_hcd:usb3, serial
  23:        105          0   IO-APIC-fasteoi  ehci_hcd:usb1, uhci_hcd:usb2
313:      82513          0   PCI-MSI-<NULL>  eth0
314:      57370          0   PCI-MSI-<NULL>  libata
Quoted 1 line

"We" need to fix that <NULL> there.

Seems that irq_desc[i].handle_irq is msi_irq_wo_maskbit_type or msi_irq_w_maskbit_type and kernel/irq/chip.c:handle_irq_name() doesn't know about that.

handle_irq_name() is a bit of a crock - this info should be in the irq_desc struct or somewhere like that.

#32 lore raw
In reply to Reuben Farrelly
Quoted 17 lines · On Sun, 09 Jul 2006 23:22:14 +1200 Reuben Farrelly wrote:
Quoted 2 lines · Andrew Morton

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

2. Onto some more minor warnings:

ACPI: bus type pci registered
PCI: BIOS Bug: MCFG area at f0000000 is not E820-reserved
PCI: Not using MMCONFIG.
PCI: Using configuration type 1
ACPI: Interpreter enabled

Is there any way to verify that there really is a BIOS bug there? If it is, is there anyone within Intel or are there any known contacts who can push and poke to get this looked at/fixed? (It's a new Intel board, I'd hope they could get it right..).

Quoted 4 lines

Plus we're not using MMCONFIG - even though I have it enabled.

Based on previous postings to lkml, I believe Randy Dunlap may have one of these boards too - Randy are you seeing this and the next bunch of warnings I am seeing?

I don't get far enough to see that.

Has this already been addressed?

[   82.315906] ----------- [cut here ] --------- [please bite here ] ---------
[   82.329754] Kernel BUG at mm/page_alloc.c:252
[   82.338412] invalid opcode: 0000 [1] SMP 
[   82.346396] last sysfs file: 
[   82.352287] CPU 0 
[   82.356283] Modules linked in:
[   82.362356] Pid: 1, comm: swapper Not tainted 2.6.18-rc1-mm1 #6
[   82.374126] RIP: 0010:[<ffffffff80156911>]  [<ffffffff80156911>] get_page_from_free7
[   82.392140] RSP: 0000:ffff81007f61fdc8  EFLAGS: 00010246
[   82.402700] RAX: 0000000000000000 RBX: ffffffff80456c80 RCX: 0000000000001000
[   82.416892] RDX: 0000000000000000 RSI: ffff8100010cf900 RDI: ffffffff80456c00
[   82.431083] RBP: ffff81007f61fe28 R08: 0000000000000000 R09: 0000000000000000
[   82.445275] R10: 000000000007b9b7 R11: 0000000000000000 R12: ffff8100010cf900
[   82.459467] R13: 0000000000000246 R14: 0000000000000001 R15: ffffffff80456c00
[   82.473659] FS:  0000000000000000(0000) GS:ffffffff8054c000(0000) knlGS:000000000000
[   82.489754] CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
[   82.501179] CR2: 0000000000000000 CR3: 0000000000101000 CR4: 00000000000006e0
[   82.515372] Process swapper (pid: 1, threadinfo ffff81007f61e000, task ffff81000332)
[   82.531465] Stack:  00000044033d6700 0002802000000000 ffffffff80457b00 0000000100006
[   82.547431]  0000000000000001 0000000000000000 ffff81007f61fe88 ffffffff80457b00
[   82.562177]  0000000000008020 ffffffffff600000 ffffffff80457b00 ffff81000332c760
[   82.576568] Call Trace:
[   82.581779]  [<ffffffff80156a2c>] __alloc_pages+0x6e/0x2c2
[   82.592688]  [<ffffffff801f5b38>] kobject_add+0xd9/0x19a
[   82.603250]  [<ffffffff80156cb3>] get_zeroed_page+0x33/0x5e
[   82.614331]  [<ffffffff8057621d>] spp_getpage+0x17/0x62
[   82.624719]  [<ffffffff80576aa4>] __set_fixmap+0x126/0x202
[   82.635627]  [<ffffffff8056dd67>] vsyscall_init+0x89/0x9b
[   82.646361]  [<ffffffff80107163>] init+0x13b/0x2b4
[   82.655884]  [<ffffffff803b4773>] _spin_unlock_irq+0x9/0xc
[   82.666792]  [<ffffffff801253ec>] schedule_tail+0x43/0xbe
[   82.677527]  [<ffffffff8010a00a>] child_rip+0x8/0x12
[   82.687397]  [<ffffffff80107028>] init+0x0/0x2b4
[   82.696574]  [<ffffffff8010a002>] child_rip+0x0/0x12
[   82.706442] 
[   82.709392] 
[   82.709393] Code: 0f 0b 68 d4 84 3e 80 c2 fc 00 eb ec 48 89 df 48 2b 3d 71 9e 
[   82.728279] RIP  [<ffffffff80156911>] get_page_from_freelist+0x2da/0x387
[   82.741617]  RSP <ffff81007f61fdc8>
[   82.748545]  <0>Kernel panic - not syncing: Attempted to kill init!

Pentium-D 3 GHz, 2 GB RAM, SATA.
config attached.

---
~Randy

#33 lore raw
Quoted 5 lines · On Sun, 9 Jul 2006 21:56:49 -0700 "Randy.Dunlap" <[email protected]> wrote:

Has this already been addressed?

[   82.315906] ----------- [cut here ] --------- [please bite here ] ---------
[   82.329754] Kernel BUG at mm/page_alloc.c:252

CONFIG_DEBUG_VM=n should make that go away.

#34 lore raw
In reply to Reuben Farrelly
Quoted 6 lines · On Sun, 09 Jul 2006 23:22:14 +1200 Reuben Farrelly wrote:

2. Onto some more minor warnings:

ACPI: bus type pci registered
PCI: BIOS Bug: MCFG area at f0000000 is not E820-reserved
PCI: Not using MMCONFIG.
PCI: Using configuration type 1

Yes, I have all of those.

Quoted 11 lines

ACPI: Interpreter enabled

Is there any way to verify that there really is a BIOS bug there? If it is, is there anyone within Intel or are there any known contacts who can push and poke to get this looked at/fixed? (It's a new Intel board, I'd hope they could get it right..).

Plus we're not using MMCONFIG - even though I have it enabled.

Based on previous postings to lkml, I believe Randy Dunlap may have one of these boards too - Randy are you seeing this and the next bunch of warnings I am seeing?

Yes, but Len says that they (*/namespace/*) will be going away.

---
~Randy

#35 lore raw

2.6.18-rc1-mm1 fails on amd64 (smp_call_function_single)

In reply to Andrew Morton

Hello,

can't compil it :

  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

arch/x86_64/kernel/built-in.o: In function `vsyscall_set_cpu':
(.init.text+0x1e87): undefined reference to `smp_call_function_single'
make: *** [.tmp_vmlinux1] Error 1

Please CC to me if some more infos are needed as I am not on the list.

Signature · 1 line
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
#36 lore raw

Re: 2.6.18-rc1-mm1 fails on amd64 (smp_call_function_single)

Quoted 4 lines · Gregoire Favre

Hello,

can't compil it :

Quoted 8 lines
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

arch/x86_64/kernel/built-in.o: In function `vsyscall_set_cpu':
(.init.text+0x1e87): undefined reference to `smp_call_function_single'
make: *** [.tmp_vmlinux1] Error 1

Thanks for your report, it seems x86_64-mm-getcpu-vsyscall.patch broke COMFIG_SMP=n x86_64 compiles.

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#37 lore raw

Re: 2.6.18-rc1-mm1 fails on amd64 (smp_call_function_single)

Quoted 2 lines · Adrian Bunk

Thanks for your report, it seems x86_64-mm-getcpu-vsyscall.patch broke COMFIG_SMP=n x86_64 compiles.

Thanks you very much : reverting x86_64-mm-getcpu-vsyscall.patch I can compil it again :-)

Signature · 1 line
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
#38 lore raw

Re: 2.6.18-rc1-mm1 fails on amd64 (smp_call_function_single)

In reply to Gregoire Favre
Quoted 4 lines · Gregoire Favre

Hello,

can't compil it :

Quoted 8 lines
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

arch/x86_64/kernel/built-in.o: In function `vsyscall_set_cpu':
(.init.text+0x1e87): undefined reference to `smp_call_function_single'
make: *** [.tmp_vmlinux1] Error 1

This is because of x86_64-mm-getcpu-vsyscall.patch which breaks compilation without SMP and is not obviously fixable.

I think you can safely revert it.

Greetings,
Rafael

#39 lore raw

Re: 2.6.18-rc1-mm1 fails on amd64 (smp_call_function_single)

Quoted 14 lines · On Sun, 9 Jul 2006 22:39:48 +0200 "Rafael J. Wysocki" <[email protected]> wrote:
Quoted 4 lines · Gregoire Favre

Hello,

can't compil it :

Quoted 8 lines
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

arch/x86_64/kernel/built-in.o: In function `vsyscall_set_cpu':
(.init.text+0x1e87): undefined reference to `smp_call_function_single'
make: *** [.tmp_vmlinux1] Error 1

Quoted 2 lines

This is because of x86_64-mm-getcpu-vsyscall.patch which breaks compilation without SMP and is not obviously fixable.

Is it not as simple as adding a !SMP implementation of smp_call_function_single(), which just calls the thing?

Quoted 1 line

I think you can safely revert it.

That works, too.

#40 lore raw

Re: 2.6.18-rc1-mm1 fails on amd64 (smp_call_function_single)

Quoted 17 lines · Andrew Morton
Quoted 14 lines · On Sun, 9 Jul 2006 22:39:48 +0200 "Rafael J. Wysocki" <[email protected]> wrote:
Quoted 12 lines · Gregoire Favre

Hello,

can't compil it :

  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

arch/x86_64/kernel/built-in.o: In function `vsyscall_set_cpu':
(.init.text+0x1e87): undefined reference to `smp_call_function_single'
make: *** [.tmp_vmlinux1] Error 1

Quoted 5 lines
Quoted 2 lines

This is because of x86_64-mm-getcpu-vsyscall.patch which breaks compilation without SMP and is not obviously fixable.

Is it not as simple as adding a !SMP implementation of smp_call_function_single(), which just calls the thing?

Like this:

 arch/x86_64/kernel/vsyscall.c |    6 ++++++
 1 files changed, 6 insertions(+)
arch/x86_64/kernel/vsyscall.c +6 -0
Index: linux-2.6.18-rc1-mm1/arch/x86_64/kernel/vsyscall.c
===================================================================
@@ -241,10 +241,12 @@ static ctl_table kernel_root_table2[] = 
 
 #endif
 
+#ifdef CONFIG_SMP
 static void __cpuinit write_rdtscp_cb(void *info)
 {
 	write_rdtscp_aux((unsigned long)info);
 }
+#endif
 
 void __cpuinit vsyscall_set_cpu(int cpu)
 {
@@ -254,10 +256,14 @@ void __cpuinit vsyscall_set_cpu(int cpu)
 	node = cpu_to_node[cpu];
 #endif
 	if (cpu_has(&cpu_data[cpu], X86_FEATURE_RDTSCP)) {
+#ifdef CONFIG_SMP
 		/* the notifier is unfortunately not executed on the
 		   target CPU */
 		void *info = (void *)((node << 12) | cpu);
 		smp_call_function_single(cpu, write_rdtscp_cb, info, 0, 1);
+#else
+		write_rdtscp_aux(0);
+#endif
 	}
 
 	/* Store cpu number in limit so that it can be loaded quickly
#41 lore raw

Re: 2.6.18-rc1-mm1 fails on amd64 (smp_call_function_single)

Quoted 51 lines · On Mon, 10 Jul 2006 00:37:14 +0200 "Rafael J. Wysocki" <[email protected]> wrote:
Quoted 17 lines · Andrew Morton
Quoted 14 lines · On Sun, 9 Jul 2006 22:39:48 +0200 "Rafael J. Wysocki" <[email protected]> wrote:
Quoted 12 lines · Gregoire Favre

Hello,

can't compil it :

  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

arch/x86_64/kernel/built-in.o: In function `vsyscall_set_cpu':
(.init.text+0x1e87): undefined reference to `smp_call_function_single'
make: *** [.tmp_vmlinux1] Error 1

Quoted 5 lines
Quoted 2 lines

This is because of x86_64-mm-getcpu-vsyscall.patch which breaks compilation without SMP and is not obviously fixable.

Is it not as simple as adding a !SMP implementation of smp_call_function_single(), which just calls the thing?

Like this:

 arch/x86_64/kernel/vsyscall.c |    6 ++++++
 1 files changed, 6 insertions(+)

Index: linux-2.6.18-rc1-mm1/arch/x86_64/kernel/vsyscall.c
===================================================================

arch/x86_64/kernel/vsyscall.c +3 -0
@@ -241,10 +241,12 @@ static ctl_table kernel_root_table2[] = 
 
 #endif
 
+#ifdef CONFIG_SMP
 static void __cpuinit write_rdtscp_cb(void *info)
 {
 	write_rdtscp_aux((unsigned long)info);
 }
+#endif
 
 void __cpuinit vsyscall_set_cpu(int cpu)
 {
@@ -254,10 +256,14 @@ void __cpuinit vsyscall_set_cpu(int cpu)
 	node = cpu_to_node[cpu];
 #endif
 	if (cpu_has(&cpu_data[cpu], X86_FEATURE_RDTSCP)) {
+#ifdef CONFIG_SMP

arch/x86_64/kernel/vsyscall.c void __cpuinit vsyscall_set_cpu(int cpu) · line 269

Quoted 10 lines
arch/x86_64/kernel/vsyscall.c +3 -0
 		/* the notifier is unfortunately not executed on the
 		   target CPU */
 		void *info = (void *)((node << 12) | cpu);
 		smp_call_function_single(cpu, write_rdtscp_cb, info, 0, 1);
+#else
+		write_rdtscp_aux(0);
+#endif
 	}
 
 	/* Store cpu number in limit so that it can be loaded quickly

I meant, in smp.h:

#else /* CONFIG_SMP */
#define smp_call_function_single(cpu, fn, arg, x, y) fn(arg)
#endif /* CONFIG_SMP */

#42 lore raw

Re: 2.6.18-rc1-mm1 fails on amd64 (smp_call_function_single)

Quoted 5 lines
Quoted 5 lines

Like this:

 arch/x86_64/kernel/vsyscall.c |    6 ++++++
 1 files changed, 6 insertions(+)

Sorry will do a proper patch.

-Andi

#43 lore raw

modpost error about size inconsitency

In reply to Andrew Morton
Quoted 11 lines

- You'll probably see these:

WARNING: drivers/net/3c59x ids 36 bad size (each on 16)
WARNING: drivers/net/depca ids 24 bad size (each on 16)
WARNING: drivers/net/dgrs ids 24 bad size (each on 16)
WARNING: drivers/net/hp100 ids 84 bad size (each on 16)
WARNING: drivers/net/ne3210 ids 36 bad size (each on 16)
WARNING: drivers/net/tulip/de4x5 ids 24 bad size (each on 16)
WARNING: drivers/scsi/aha1740 ids 60 bad size (each on 16)
WARNING: drivers/scsi/aic7xxx/aic7xxx ids 84 bad size (each on 16)

Quoted 3 lines

They're triggered by eisa-bus-modalias-attributes-support-1.patch but I don't know where the error lies. But I love the error message! Would be good to see on a tee shirt.

Following does make the errormessage more descriptive. Will be pushed to kbuild.git soon.
Sample error message (not for real - I provoked it):

FATAL: drivers/net/s2io: sizeof(struct pci_device_id)=33 is not a modulo of the size of section __mod_pci_device_table=160.
Fix definition of struct pci_device_id in mod_devicetable.h

The error is now fatal.

Sam

scripts/mod/file2alias.c +43 -19
index 37f67c2..c522f16 100644
@@ -52,6 +52,23 @@ do {                                    
                 sprintf(str + strlen(str), "*");                \
 } while(0)
 
+/**
+ * Check that sizeof(device_id type) are consistent with size of section
+ * in .o file. If in-consistent then userspace and kernel does not agree
+ * on actual size which is a bug.
+ **/
+static void device_id_size_check(const char *modname, const char *device_id,
+				 unsigned long size, unsigned long id_size)
+{
+	if (size % id_size || size < id_size) {
+		fatal("%s: sizeof(struct %s_device_id)=%lu is not a modulo "
+		      "of the size of section __mod_%s_device_table=%lu.\n"
+		      "Fix definition of struct %s_device_id "
+		      "in mod_devicetable.h\n",
+		      modname, device_id, id_size, device_id, size, device_id);
+	}
+}
+
 /* USB is special because the bcdDevice can be matched against a numeric range */
 /* Looks like "usb:vNpNdNdcNdscNdpNicNiscNipN" */
 static void do_usb_entry(struct usb_device_id *id,
@@ -152,10 +169,8 @@ static void do_usb_table(void *symval, u
 	unsigned int i;
 	const unsigned long id_size = sizeof(struct usb_device_id);
 
-	if (size % id_size || size < id_size) {
-		warn("%s ids %lu bad size "
-		     "(each on %lu)\n", mod->name, size, id_size);
-	}
+	device_id_size_check(mod->name, "usb", size, id_size);
+
 	/* Leave last one: it's the terminator. */
 	size -= id_size;
 
@@ -434,6 +449,7 @@ static inline int sym_is(const char *sym
 
 static void do_table(void *symval, unsigned long size,
 		     unsigned long id_size,
+		     const char *device_id,
 		     void *function,
 		     struct module *mod)
 {
@@ -441,10 +457,7 @@ static void do_table(void *symval, unsig
 	char alias[500];
 	int (*do_entry)(const char *, void *entry, char *alias) = function;
 
-	if (size % id_size || size < id_size) {
-		warn("%s ids %lu bad size "
-		     "(each on %lu)\n", mod->name, size, id_size);
-	}
+	device_id_size_check(mod->name, device_id, size, id_size);
 	/* Leave last one: it's the terminator. */
 	size -= id_size;
 
@@ -476,40 +489,51 @@ void handle_moddevtable(struct module *m
 		+ sym->st_value;
 
 	if (sym_is(symname, "__mod_pci_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct pci_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct pci_device_id), "pci",
 			 do_pci_entry, mod);
 	else if (sym_is(symname, "__mod_usb_device_table"))
 		/* special case to handle bcdDevice ranges */
 		do_usb_table(symval, sym->st_size, mod);
 	else if (sym_is(symname, "__mod_ieee1394_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct ieee1394_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct ieee1394_device_id), "ieee1394",
 			 do_ieee1394_entry, mod);
 	else if (sym_is(symname, "__mod_ccw_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct ccw_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct ccw_device_id), "ccw",
 			 do_ccw_entry, mod);
 	else if (sym_is(symname, "__mod_serio_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct serio_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct serio_device_id), "serio",
 			 do_serio_entry, mod);
 	else if (sym_is(symname, "__mod_pnp_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct pnp_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct pnp_device_id), "pnp",
 			 do_pnp_entry, mod);
 	else if (sym_is(symname, "__mod_pnp_card_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct pnp_card_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct pnp_card_device_id), "pnp_card",
 			 do_pnp_card_entry, mod);
 	else if (sym_is(symname, "__mod_pcmcia_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct pcmcia_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct pcmcia_device_id), "pcmia",
 			 do_pcmcia_entry, mod);
         else if (sym_is(symname, "__mod_of_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct of_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct of_device_id), "of",
 			 do_of_entry, mod);
         else if (sym_is(symname, "__mod_vio_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct vio_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct vio_device_id), "vio",
 			 do_vio_entry, mod);
 	else if (sym_is(symname, "__mod_i2c_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct i2c_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct i2c_device_id), "i2c",
 			 do_i2c_entry, mod);
 	else if (sym_is(symname, "__mod_input_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct input_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct input_device_id), "input",
 			 do_input_entry, mod);
 }
 
#44 lore raw

Re: modpost error about size inconsitency

On Sun, Jul 09, 2006 at 02:46:40PM +0200, Sam Ravnborg wrote:

Patch below is on top of -rc1 - not -mm by the way. So you will see some minor conflicts with the eisa stuff.

Sam

Quoted 129 lines
scripts/mod/file2alias.c +43 -20
index 37f67c2..c522f16 100644
@@ -52,6 +52,23 @@ do {                                    
                 sprintf(str + strlen(str), "*");                \
 } while(0)
 
+/**
+ * Check that sizeof(device_id type) are consistent with size of section
+ * in .o file. If in-consistent then userspace and kernel does not agree
+ * on actual size which is a bug.
+ **/
+static void device_id_size_check(const char *modname, const char *device_id,
+				 unsigned long size, unsigned long id_size)
+{
+	if (size % id_size || size < id_size) {
+		fatal("%s: sizeof(struct %s_device_id)=%lu is not a modulo "
+		      "of the size of section __mod_%s_device_table=%lu.\n"
+		      "Fix definition of struct %s_device_id "
+		      "in mod_devicetable.h\n",
+		      modname, device_id, id_size, device_id, size, device_id);
+	}
+}
+
 /* USB is special because the bcdDevice can be matched against a numeric range */
 /* Looks like "usb:vNpNdNdcNdscNdpNicNiscNipN" */
 static void do_usb_entry(struct usb_device_id *id,
@@ -152,10 +169,8 @@ static void do_usb_table(void *symval, u
 	unsigned int i;
 	const unsigned long id_size = sizeof(struct usb_device_id);
 
-	if (size % id_size || size < id_size) {
-		warn("%s ids %lu bad size "
-		     "(each on %lu)\n", mod->name, size, id_size);
-	}
+	device_id_size_check(mod->name, "usb", size, id_size);
+
 	/* Leave last one: it's the terminator. */
 	size -= id_size;
 
@@ -434,6 +449,7 @@ static inline int sym_is(const char *sym
 
 static void do_table(void *symval, unsigned long size,
 		     unsigned long id_size,
+		     const char *device_id,
 		     void *function,
 		     struct module *mod)
 {
@@ -441,10 +457,7 @@ static void do_table(void *symval, unsig
 	char alias[500];
 	int (*do_entry)(const char *, void *entry, char *alias) = function;
 
-	if (size % id_size || size < id_size) {
-		warn("%s ids %lu bad size "
-		     "(each on %lu)\n", mod->name, size, id_size);
-	}
+	device_id_size_check(mod->name, device_id, size, id_size);
 	/* Leave last one: it's the terminator. */
 	size -= id_size;
 
@@ -476,40 +489,51 @@ void handle_moddevtable(struct module *m
 		+ sym->st_value;
 
 	if (sym_is(symname, "__mod_pci_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct pci_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct pci_device_id), "pci",
 			 do_pci_entry, mod);
 	else if (sym_is(symname, "__mod_usb_device_table"))
 		/* special case to handle bcdDevice ranges */
 		do_usb_table(symval, sym->st_size, mod);
 	else if (sym_is(symname, "__mod_ieee1394_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct ieee1394_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct ieee1394_device_id), "ieee1394",
 			 do_ieee1394_entry, mod);
 	else if (sym_is(symname, "__mod_ccw_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct ccw_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct ccw_device_id), "ccw",
 			 do_ccw_entry, mod);
 	else if (sym_is(symname, "__mod_serio_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct serio_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct serio_device_id), "serio",
 			 do_serio_entry, mod);
 	else if (sym_is(symname, "__mod_pnp_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct pnp_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct pnp_device_id), "pnp",
 			 do_pnp_entry, mod);
 	else if (sym_is(symname, "__mod_pnp_card_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct pnp_card_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct pnp_card_device_id), "pnp_card",
 			 do_pnp_card_entry, mod);
 	else if (sym_is(symname, "__mod_pcmcia_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct pcmcia_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct pcmcia_device_id), "pcmia",
 			 do_pcmcia_entry, mod);
         else if (sym_is(symname, "__mod_of_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct of_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct of_device_id), "of",
 			 do_of_entry, mod);
         else if (sym_is(symname, "__mod_vio_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct vio_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct vio_device_id), "vio",
 			 do_vio_entry, mod);
 	else if (sym_is(symname, "__mod_i2c_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct i2c_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct i2c_device_id), "i2c",
 			 do_i2c_entry, mod);
 	else if (sym_is(symname, "__mod_input_device_table"))
-		do_table(symval, sym->st_size, sizeof(struct input_device_id),
+		do_table(symval, sym->st_size,
+			 sizeof(struct input_device_id), "input",
 			 do_input_entry, mod);
 }
 
-

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/

#45 lore raw

PATCH 1/1 fix MODULES=n compile

In reply to Andrew Morton
Quoted 7 lines · Andrew Morton

...
Changes since 2.6.17-mm6:
...
+null-terminate-over-long-proc-kallsyms-symbols.patch
...
Misc updates.
...

This patch fixes the following compile error with CONFIG_MODULES=n:

<-- snip -->

...
CC kernel/kallsyms.o
kernel/kallsyms.c: In function ‘get_ksymbol_mod’:
kernel/kallsyms.c:279: error: too many arguments to function ‘module_get_kallsym’ make[1]: *** [kernel/kallsyms.o] Error 1

<-- snip -->

include/linux/module.h renamed from include/linux/module.h.old +2 -2
@@ -533,8 +533,8 @@
 
 static inline struct module *module_get_kallsym(unsigned int symnum,
 						unsigned long *value,
-						char *type,
-						char namebuf[128])
+						char *type, char *name,
+						size_t namelen)
 {
 	return NULL;
 }
#46 lore raw

PATCH 1/1 proper prototype for drivers/scsi/arcmsr/arcmsr_attr.c:arcmsr_free_sysfs_attr()

In reply to Andrew Morton
Quoted 7 lines · Andrew Morton

...
Changes since 2.6.17-mm6:
...
+areca-raid-linux-scsi-driver-update7.patch
...
Update drivers-scsi-arcmsr-cleanups.patch
...

<-- snip -->

...
CC drivers/scsi/arcmsr/arcmsr_hba.o
drivers/scsi/arcmsr/arcmsr_hba.c: In function ‘arcmsr_remove’:
drivers/scsi/arcmsr/arcmsr_hba.c:410: error: implicit declaration of function ‘arcmsr_free_sysfs_attr’

<-- snip -->

Let's add a proper prototype for arcmsr_free_sysfs_attr().

drivers/scsi/arcmsr/arcmsr.h renamed from drivers/scsi/arcmsr/arcmsr.h.old +2 -0
@@ -468,3 +468,5 @@
 extern void arcmsr_post_Qbuffer(struct AdapterControlBlock *acb);
 extern struct class_device_attribute *arcmsr_host_attrs[];
 extern int arcmsr_alloc_sysfs_attr(struct AdapterControlBlock *acb);
+void arcmsr_free_sysfs_attr(struct AdapterControlBlock *acb);
+

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#47 lore raw

Re: 2.6.18-rc1-mm1 oops on x86_64

In reply to Andrew Morton

Hello !

Quoted 1 line · Andrew Morton

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

Kernel BUG at ...home/legoater/linux/2.6.18-rc1-mm1/mm/page_alloc.c:252
invalid opcode: 0000 [1] SMP
last sysfs file:
CPU 0
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.18-rc1-mm1 #1
RIP: 0010:[<ffffffff8025a119>]  [<ffffffff8025a119>]
get_page_from_freelist+0x2ea/0x3aa
RSP: 0018:ffff810001659d88  EFLAGS: 00010246
RAX: 0000000000000001 RBX: ffff81000162ccc0 RCX: ffff8100de776380
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000008010e
RBP: ffff810001659de8 R08: ffff81000162ccce R09: 000000000005ddd1
R10: 0000000000000000 R11: 0000000000000001 R12: ffff8100de776380
R13: 0000000000000286 R14: ffff810080000380 R15: ffff8100de709040
FS:  0000000000000000(0000) GS:ffffffff805dc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000000000459d28 CR3: 0000000000201000 CR4: 00000000000006e0
Process swapper (pid: 1, threadinfo ffff810001658000, task ffff8100de709040)
Stack:  ffff8100de4ca000 ffffffff80277817 0000000100000000 ffff810080000a80
 0000004400000286 ffff810080000a80 0002802000000000 ffff810080000a80
 0000000000008020 00000000005f0000 ffff810080000a80 ffff8100de709040
Call Trace:
 [<ffffffff80277817>] kfree+0x71/0x79
 [<ffffffff8025a242>] __alloc_pages+0x69/0x2b6
 [<ffffffff802718d5>] alloc_page_interleave+0x3b/0x6f
 [<ffffffff8027196e>] alloc_pages_current+0x65/0x83
 [<ffffffff8025926b>] get_zeroed_page+0x11/0x33
 [<ffffffff80609bd8>] spp_getpage+0x17/0x62
 [<ffffffff80609d4c>] __set_fixmap+0x129/0x20e
 [<ffffffff8060033e>] vsyscall_init+0x89/0x9b
 [<ffffffff80207172>] init+0x145/0x2bb
 [<ffffffff8041c040>] _spin_unlock_irq+0x9/0xc
 [<ffffffff802244cb>] schedule_tail+0x44/0xb7
 [<ffffffff8020a33a>] child_rip+0x8/0x12
 [<ffffffff80315f90>] acpi_ds_init_one_object+0x0/0xa0
 [<ffffffff8020702d>] init+0x0/0x2bb
 [<ffffffff8020a332>] child_rip+0x0/0x12


Code: 0f 0b 68 c3 ea 43 80 c2 fc 00 31 db 0f b6 4d d0 d3 e0 39 c3
RIP  [<ffffffff8025a119>] get_page_from_freelist+0x2ea/0x3aa
 RSP <ffff810001659d88>
 <0>Kernel panic - not syncing: Attempted to kill init!

attached is the config file and full log.

thanks,

C.

#
# Automatically generated make config: don't edit # Linux kernel version: 2.6.18-rc1-mm1
# Sun Jul 9 17:59:22 2006
#
CONFIG_X86_64=y
CONFIG_64BIT=y
CONFIG_X86=y
CONFIG_ZONE_DMA32=y
CONFIG_LOCKDEP_SUPPORT=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_MMU=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_X86_CMPXCHG=y
CONFIG_EARLY_PRINTK=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=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_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=y
CONFIG_POSIX_MQUEUE=y
CONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not set
# CONFIG_TASKSTATS is not set
CONFIG_SYSCTL=y
CONFIG_UTS_NS=y
CONFIG_AUDIT=y
CONFIG_AUDITSYSCALL=y
# CONFIG_IKCONFIG is not set
# CONFIG_CPUSETS is not set
# CONFIG_RELAY is not set
CONFIG_INITRAMFS_SOURCE=""
CONFIG_KLIBC_ERRLIST=y
CONFIG_KLIBC_ZLIB=y
CONFIG_UID16=y
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_KALLSYMS_EXTRA_PASS=y
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 is not set
CONFIG_MODVERSIONS=y
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y
CONFIG_STOP_MACHINE=y

#
# Block layer
#
CONFIG_LBD=y
# 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_X86_PC=y
# CONFIG_X86_VSMP is not set
# CONFIG_MK8 is not set
# CONFIG_MPSC is not set
CONFIG_GENERIC_CPU=y
CONFIG_X86_L1_CACHE_BYTES=128
CONFIG_X86_L1_CACHE_SHIFT=7
CONFIG_X86_INTERNODE_CACHE_BYTES=128
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_MICROCODE=m
CONFIG_MICROCODE_OLD_INTERFACE=y
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
CONFIG_X86_HT=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_MTRR=y
CONFIG_SMP=y
CONFIG_SCHED_SMT=y
CONFIG_SCHED_MC=y
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
CONFIG_PREEMPT_BKL=y
CONFIG_NUMA=y
CONFIG_K8_NUMA=y
CONFIG_NODES_SHIFT=6
CONFIG_X86_64_ACPI_NUMA=y
# CONFIG_NUMA_EMU is not set
CONFIG_ARCH_DISCONTIGMEM_ENABLE=y
CONFIG_ARCH_DISCONTIGMEM_DEFAULT=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_SELECT_MEMORY_MODEL=y
# CONFIG_FLATMEM_MANUAL is not set
CONFIG_DISCONTIGMEM_MANUAL=y
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_DISCONTIGMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_NEED_MULTIPLE_NODES=y
# CONFIG_SPARSEMEM_STATIC is not set
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_MIGRATION=y
CONFIG_RESOURCES_64BIT=y
CONFIG_ADAPTIVE_READAHEAD=y
# CONFIG_READAHEAD_ALLOW_OVERHEADS is not set
CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID=y
CONFIG_OUT_OF_LINE_PFN_TO_PAGE=y
CONFIG_NR_CPUS=8
# CONFIG_HOTPLUG_CPU is not set
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_IOMMU=y
CONFIG_CALGARY_IOMMU=y
CONFIG_SWIOTLB=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_INTEL=y
CONFIG_X86_MCE_AMD=y
# CONFIG_KEXEC is not set
# CONFIG_CRASH_DUMP is not set
CONFIG_PHYSICAL_START=0x200000
CONFIG_SECCOMP=y
# CONFIG_SECCOMP_DISABLE_TSC is not set
# CONFIG_HZ_100 is not set
CONFIG_HZ_250=y
# CONFIG_HZ_1000 is not set
CONFIG_HZ=250
# CONFIG_REORDER is not set
CONFIG_K8_NB=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_ISA_DMA_API=y
CONFIG_GENERIC_PENDING_IRQ=y

#
# Power management options
#
CONFIG_PM=y
CONFIG_PM_LEGACY=y
# CONFIG_PM_DEBUG is not set

#
# ACPI (Advanced Configuration and Power Interface) Support #
CONFIG_ACPI=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_VIDEO=y
# CONFIG_ACPI_HOTKEY is not set
CONFIG_ACPI_FAN=y
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_NUMA=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_ATLAS is not set
# CONFIG_ACPI_IBM is not set
# CONFIG_ACPI_TOSHIBA is not set CONFIG_ACPI_SONY=m
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
# CONFIG_ACPI_CONTAINER is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# Bus options (PCI etc.)
#
CONFIG_PCI=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
# CONFIG_PCIEPORTBUS is not set
CONFIG_PCI_MSI=y
# CONFIG_PCI_DEBUG is not set

#
# PCCARD (PCMCIA/CardBus) support
#
# CONFIG_PCCARD is not set

#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set

#
# Executable file formats / Emulations
#
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=y
CONFIG_IA32_EMULATION=y
# CONFIG_IA32_AOUT is not set
CONFIG_COMPAT=y
CONFIG_SYSVIPC_COMPAT=y

#
# Networking
#
CONFIG_NET=y

#
# Networking options
#
# CONFIG_NETDEBUG is not set
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
CONFIG_UNIX=y
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set
CONFIG_NET_KEY=m
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_ASK_IP_FIB_HASH=y
# CONFIG_IP_FIB_TRIE is not set
CONFIG_IP_FIB_HASH=y
CONFIG_IP_MULTIPLE_TABLES=y
# CONFIG_IP_ROUTE_FWMARK is not set
CONFIG_IP_ROUTE_MULTIPATH=y
# CONFIG_IP_ROUTE_MULTIPATH_CACHED is not set
CONFIG_IP_ROUTE_VERBOSE=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
CONFIG_IP_MROUTE=y
CONFIG_IP_PIMSM_V1=y
CONFIG_IP_PIMSM_V2=y
# 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

#
# IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
# CONFIG_IPV6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
# CONFIG_NETWORK_SECMARK is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set

#
# Core Netfilter Configuration
#
# CONFIG_NETFILTER_NETLINK is not set
# CONFIG_NF_CONNTRACK is not set
# CONFIG_NETFILTER_XTABLES is not set

#
# IP: Netfilter Configuration
#
# CONFIG_IP_NF_CONNTRACK is not set
# CONFIG_IP_NF_QUEUE 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=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_SYS_HYPERVISOR is not set

#
# Connector - unified userspace <-> kernelspace linker #
# CONFIG_CONNECTOR is not set

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

#
# Parallel port support
#
# CONFIG_PARPORT is not set

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

#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=m
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_UB is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=16384
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=y
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set CONFIG_BLK_DEV_IDESCSI=m
# 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=y
# CONFIG_IDEDMA_ONLYDISK 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_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 is not set
# 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_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_BLK_DEV_HD is not set

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

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

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

#
# SCSI Transports
#
CONFIG_SCSI_SPI_ATTRS=y
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_DOMAIN_ATTRS 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_ACARD 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_ARCMSR is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_MEGARAID_SAS is not set
CONFIG_SCSI_SATA=m
# CONFIG_SCSI_SATA_AHCI is not set
# CONFIG_SCSI_PATA_ALI is not set
# CONFIG_SCSI_PATA_AMD is not set
# CONFIG_SCSI_PATA_ARTOP is not set
# CONFIG_SCSI_PATA_ATIIXP is not set
# CONFIG_SCSI_PATA_CMD64X is not set
# CONFIG_SCSI_PATA_CS5520 is not set
# CONFIG_SCSI_PATA_CS5530 is not set
# CONFIG_SCSI_PATA_CYPRESS is not set
# CONFIG_SCSI_PATA_EFAR is not set
# CONFIG_SCSI_ATA_GENERIC is not set
# CONFIG_SCSI_PATA_HPT366 is not set
# CONFIG_SCSI_PATA_HPT37X is not set
# CONFIG_SCSI_PATA_HPT3X2N is not set
# CONFIG_SCSI_PATA_HPT3X3 is not set
# CONFIG_SCSI_PATA_IT8172 is not set
# CONFIG_SCSI_PATA_IT821X is not set
# CONFIG_SCSI_ATA_JMICRON is not set
# CONFIG_SCSI_PATA_LEGACY is not set
# CONFIG_SCSI_SATA_SVW is not set
# CONFIG_SCSI_PATA_TRIFLEX is not set
# CONFIG_SCSI_PATA_MPIIX is not set
# CONFIG_SCSI_PATA_OLDPIIX is not set
CONFIG_SCSI_ATA_PIIX=m
# CONFIG_SCSI_SATA_MV is not set
# CONFIG_SCSI_PATA_NETCELL is not set
# CONFIG_SCSI_PATA_NS87410 is not set
# CONFIG_SCSI_SATA_NV is not set
# CONFIG_SCSI_PATA_OPTI is not set
# CONFIG_SCSI_PATA_OPTIDMA is not set
# CONFIG_SCSI_PATA_PDC_OLD is not set
# CONFIG_SCSI_PATA_QDI is not set
# CONFIG_SCSI_PATA_RADISYS is not set
# CONFIG_SCSI_PATA_RZ1000 is not set
# CONFIG_SCSI_PATA_SC1200 is not set
# CONFIG_SCSI_PATA_SERVERWORKS is not set
# CONFIG_SCSI_PDC_ADMA is not set
# CONFIG_SCSI_HPTIOP is not set
# CONFIG_SCSI_SATA_QSTOR is not set
# CONFIG_SCSI_PATA_PDC2027X is not set
# CONFIG_SCSI_SATA_PROMISE is not set
# CONFIG_SCSI_SATA_SX4 is not set
# CONFIG_SCSI_SATA_SIL is not set
# CONFIG_SCSI_SATA_SIL24 is not set
# CONFIG_SCSI_PATA_SIL680 is not set
# CONFIG_SCSI_PATA_SIS is not set
# CONFIG_SCSI_SATA_SIS is not set
# CONFIG_SCSI_SATA_ULI is not set
# CONFIG_SCSI_PATA_VIA is not set
# CONFIG_SCSI_SATA_VIA is not set
# CONFIG_SCSI_SATA_VITESSE is not set
CONFIG_SCSI_SATA_INTEL_COMBINED=y
# CONFIG_SCSI_PATA_WINBOND is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_STEX is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR 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_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_SRP is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set

#
# Fusion MPT device support
#
CONFIG_FUSION=y
CONFIG_FUSION_SPI=y
# CONFIG_FUSION_FC is not set
# CONFIG_FUSION_SAS is not set
CONFIG_FUSION_MAX_SGE=128
# CONFIG_FUSION_CTL 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
#

#
# Ethernet (10 or 100Mbit)
#
# CONFIG_NET_ETHERNET 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_TIGON3=m
# 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=m
CONFIG_NETPOLL=y
# CONFIG_NETPOLL_RX is not set
CONFIG_NETPOLL_TRAP=y
CONFIG_NET_POLL_CONTROLLER=y

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_EFFECTS is not set

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=m
# CONFIG_INPUT_TSDEV is not set
CONFIG_INPUT_EVDEV=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_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_VSXXXAA is not set
CONFIG_INPUT_JOYSTICK=y
# CONFIG_JOYSTICK_ANALOG is not set
# CONFIG_JOYSTICK_A3D is not set
# CONFIG_JOYSTICK_ADI is not set
# CONFIG_JOYSTICK_COBRA is not set
# CONFIG_JOYSTICK_GF2K is not set
# CONFIG_JOYSTICK_GRIP is not set
# CONFIG_JOYSTICK_GRIP_MP is not set
# CONFIG_JOYSTICK_GUILLEMOT is not set
# CONFIG_JOYSTICK_INTERACT is not set
# CONFIG_JOYSTICK_SIDEWINDER is not set
# CONFIG_JOYSTICK_TMDC is not set
# CONFIG_JOYSTICK_IFORCE is not set
# CONFIG_JOYSTICK_WARRIOR is not set
# CONFIG_JOYSTICK_MAGELLAN is not set
# CONFIG_JOYSTICK_SPACEORB is not set
# CONFIG_JOYSTICK_SPACEBALL is not set
# CONFIG_JOYSTICK_STINGER is not set
# CONFIG_JOYSTICK_TWIDJOY is not set
# CONFIG_JOYSTICK_JOYDUMP is not set
CONFIG_INPUT_TOUCHSCREEN=y
# CONFIG_TOUCHSCREEN_GUNZE is not set
# CONFIG_TOUCHSCREEN_ELO is not set
# CONFIG_TOUCHSCREEN_MTOUCH is not set
# CONFIG_TOUCHSCREEN_MK712 is not set
CONFIG_INPUT_MISC=y
# CONFIG_INPUT_PCSPKR is not set
# CONFIG_INPUT_UINPUT is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_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

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_PCI=y
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
# CONFIG_SERIAL_8250_MANY_PORTS is not set
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_8250_DETECT_IRQ=y
CONFIG_SERIAL_8250_RSA=y

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set

#
# IPMI
#
CONFIG_IPMI_HANDLER=y
# CONFIG_IPMI_PANIC_EVENT is not set
# CONFIG_IPMI_DEVICE_INTERFACE is not set
# CONFIG_IPMI_SI is not set
# CONFIG_IPMI_WATCHDOG is not set
# CONFIG_IPMI_POWEROFF is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set

#
# Ftape, the floppy tape device driver
#
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_DRM is not set
# CONFIG_MWAVE is not set
# CONFIG_PC8736x_GPIO is not set
CONFIG_RAW_DRIVER=y
CONFIG_MAX_RAW_DEVS=8192
# CONFIG_HPET is not set
CONFIG_HANGCHECK_TIMER=m

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

#
# I2C support
#
# CONFIG_I2C is not set

#
# SPI support
#
# CONFIG_SPI is not set
# CONFIG_SPI_MASTER is not set

#
# Dallas's 1-wire bus
#

#
# Hardware Monitoring support
#
# CONFIG_HWMON is not set
# CONFIG_HWMON_VID is not set

#
# Misc devices
#
CONFIG_IBM_ASM=m

#
# 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_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 is not set
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
# CONFIG_FB_IMAC 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_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 is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_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 is not set
CONFIG_DUMMY_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE is not set

#
# Logo configuration
#
# CONFIG_LOGO is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

#
# Sound
#
# CONFIG_SOUND 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=y
# 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=y
# CONFIG_USB_OTG is not set

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

#
# USB Device Class drivers
#
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=m

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

#

# may also be needed; see USB_STORAGE Help for more information
#
# CONFIG_USB_STORAGE is not set
# CONFIG_USB_LIBUSUAL is not set

#
# USB Input Devices
#
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_USB_HIDINPUT_POWERBOOK is not set
CONFIG_USB_HIDDEV=y
# 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

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

#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
CONFIG_USB_MON=y

#
# USB port drivers
#

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_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_GOTEMP is not set
# CONFIG_USB_PHIDGETKIT is not set
# CONFIG_USB_PHIDGETSERVO 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

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

#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=m
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_JBD=m
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISER4_FS is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
CONFIG_QUOTA=y
# CONFIG_QFMT_V1 is not set
CONFIG_QFMT_V2=y
CONFIG_QUOTACTL=y
CONFIG_DNOTIFY=y
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=m
# CONFIG_FUSE_FS is not set

#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set

#
# DOS/FAT/NT Filesystems
#
# CONFIG_MSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
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=m
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
CONFIG_NFS_V4=y
CONFIG_NFS_DIRECTIO=y
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=m
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=m
CONFIG_SUNRPC_GSS=m
CONFIG_RPCSEC_GSS_KRB5=m
# CONFIG_RPCSEC_GSS_SPKM3 is not set
# CONFIG_SMB_FS 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="utf8"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# 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=y
# CONFIG_NLS_ISO8859_1 is not set
# 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 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set

#
# Distributed Lock Manager
#

#
# Instrumentation Support
#
CONFIG_PROFILING=y
# CONFIG_OPROFILE 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=y
CONFIG_UNUSED_SYMBOLS=y
# CONFIG_DEBUG_SHIRQ is not set
CONFIG_DEBUG_KERNEL=y
CONFIG_LOG_BUF_SHIFT=17
CONFIG_DETECT_SOFTLOCKUP=y
# CONFIG_SCHEDSTATS is not set
CONFIG_DEBUG_SLAB=y
CONFIG_DEBUG_SLAB_LEAK=y
CONFIG_DEBUG_RT_MUTEXES=y
CONFIG_DEBUG_PI_LIST=y
# CONFIG_RT_MUTEX_TESTER is not set
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
# CONFIG_DEBUG_RWSEMS is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
CONFIG_DEBUG_SPINLOCK_SLEEP=y
CONFIG_DEBUG_LOCKING_API_SELFTESTS=y
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_INFO=y
# CONFIG_PAGE_OWNER is not set
CONFIG_DEBUG_FS=y
CONFIG_DEBUG_VM=y
CONFIG_FRAME_POINTER=y
# CONFIG_UNWIND_INFO is not set
# CONFIG_PROFILE_LIKELY is not set
CONFIG_FORCED_INLINING=y
# CONFIG_DEBUG_SYNCHRO_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_DEBUG_RODATA is not set
# CONFIG_IOMMU_DEBUG is not set
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_DEBUG_STACK_USAGE is not set

#
# Security options
#
# CONFIG_KEYS is not set
CONFIG_SECURITY=y
CONFIG_SECURITY_NETWORK=y
# CONFIG_SECURITY_NETWORK_XFRM is not set
CONFIG_SECURITY_CAPABILITIES=y
# CONFIG_SECURITY_ROOTPLUG is not set
# CONFIG_SECURITY_SECLVL is not set
# CONFIG_SECURITY_SELINUX is not set

#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_MANAGER=m
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not set
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=y
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_WP512 is not set
# CONFIG_CRYPTO_TGR192 is not set
CONFIG_CRYPTO_DES=m
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_TWOFISH_X86_64 is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_AES is not set
# CONFIG_CRYPTO_AES_X86_64 is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_ARC4 is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_DEFLATE=y
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_TEST is not set

#
# Hardware crypto devices
#

#
# Library routines
#
# CONFIG_CRC_CCITT is not set
# CONFIG_CRC16 is not set
CONFIG_CRC32=y
# CONFIG_LIBCRC32C is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_PLIST=y

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz-2.6.18-rc1-mm1 ro root=LABEL=/1 console=ttyS0,115200n8 rhgb
[Linux-bzImage, setup=0x1400, size=0x1a54ce]
initrd /initrd-2.6.18-rc1-mm1.img
[Linux-initrd @ 0x37f25000, 0xca35a bytes]

Bootdata ok (command line is ro root=LABEL=/1 console=ttyS0,115200n8 rhgb )
Linux version 2.6.18-rc1-mm1 ([email protected]) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Sun Jul 9 18:08:43 CEST 2006 BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009a400 (usable)
BIOS-e820: 000000000009a400 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000d2000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 00000000dff70000 (usable)
BIOS-e820: 00000000dff70000 - 00000000dff7b000 (ACPI data)
BIOS-e820: 00000000dff7b000 - 00000000dff80000 (ACPI NVS)
BIOS-e820: 00000000dff80000 - 00000000e0000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fec00400 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
DMI 2.3 present.
Scanning NUMA topology in Northbridge 24
Number of nodes 2
Node 0 MemBase 0000000000000000 Limit 0000000080000000
Node 1 MemBase 0000000080000000 Limit 00000000dff70000
Using node hash shift of 31
Bootmem setup node 0 0000000000000000-0000000080000000
Bootmem setup node 1 0000000080000000-00000000dff70000
ACPI: PM-Timer IO Port: 0x8008
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:5 APIC version 16
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 15:5 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
ACPI: IOAPIC (id[0x03] address[0xe8000000] gsi_base[24])
IOAPIC[1]: apic_id 3, version 17, address 0xe8000000, GSI 24-27
ACPI: IOAPIC (id[0x04] address[0xe8001000] gsi_base[28])
IOAPIC[2]: apic_id 4, version 17, address 0xe8001000, GSI 28-31
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
Setting APIC routing to flat
ACPI: HPET id: 0x102282a0 base: 0xfed00000
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at e2000000 (gap: e0000000:1ec00000)
Built 2 zonelists. Total pages: 901573
Kernel command line: ro root=LABEL=/1 console=ttyS0,115200n8 rhgb
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Console: colour VGA+ 80x25
------------------------
| Locking API testsuite:
----------------------------------------------------------------------------
| spin |wlock |rlock |mutex | wsem | rsem |
--------------------------------------------------------------------------

                     A-A deadlock:failed|failed|  ok  |failed|failed|failed|
                 A-B-B-A deadlock:failed|failed|  ok  |failed|failed|failed|
             A-B-B-C-C-A deadlock:failed|failed|  ok  |failed|failed|failed|
             A-B-C-A-B-C deadlock:failed|failed|  ok  |failed|failed|failed|
         A-B-B-C-C-D-D-A deadlock:failed|failed|  ok  |failed|failed|failed|
         A-B-C-D-B-D-D-A deadlock:failed|failed|  ok  |failed|failed|failed|
         A-B-C-D-B-C-D-A deadlock:failed|failed|  ok  |failed|failed|failed|
                    double unlock:  ok  |  ok  |failed|  ok  |failed|failed|
                  initialize held:failed|failed|failed|failed|failed|failed|
                 bad unlock order:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
  --------------------------------------------------------------------------
              recursive read-lock:             |  ok  |             |failed|
           recursive read-lock #2:             |  ok  |             |failed|
            mixed read-write-lock:             |failed|             |failed|
            mixed write-read-lock:             |failed|             |failed|
  --------------------------------------------------------------------------
     hard-irqs-on + irq-safe-A/12:failed|failed|  ok  |
     soft-irqs-on + irq-safe-A/12:failed|failed|  ok  |
     hard-irqs-on + irq-safe-A/21:failed|failed|  ok  |
     soft-irqs-on + irq-safe-A/21:failed|failed|  ok  |
       sirq-safe-A => hirqs-on/12:failed|failed|  ok  |
       sirq-safe-A => hirqs-on/21:failed|failed|  ok  |
         hard-safe-A + irqs-on/12:failed|failed|  ok  |
         soft-safe-A + irqs-on/12:failed|failed|  ok  |
         hard-safe-A + irqs-on/21:failed|failed|  ok  |
         soft-safe-A + irqs-on/21:failed|failed|  ok  |
    hard-safe-A + unsafe-B #1/123:failed|failed|  ok  |
    soft-safe-A + unsafe-B #1/123:failed|failed|  ok  |
    hard-safe-A + unsafe-B #1/132:failed|failed|  ok  |
    soft-safe-A + unsafe-B #1/132:failed|failed|  ok  |
    hard-safe-A + unsafe-B #1/213:failed|failed|  ok  |
    soft-safe-A + unsafe-B #1/213:failed|failed|  ok  |
    hard-safe-A + unsafe-B #1/231:failed|failed|  ok  |
    soft-safe-A + unsafe-B #1/231:failed|failed|  ok  |
    hard-safe-A + unsafe-B #1/312:failed|failed|  ok  |
    soft-safe-A + unsafe-B #1/312:failed|failed|  ok  |
    hard-safe-A + unsafe-B #1/321:failed|failed|  ok  |
    soft-safe-A + unsafe-B #1/321:failed|failed|  ok  |
    hard-safe-A + unsafe-B #2/123:failed|failed|  ok  |
    soft-safe-A + unsafe-B #2/123:failed|failed|  ok  |
    hard-safe-A + unsafe-B #2/132:failed|failed|  ok  |
    soft-safe-A + unsafe-B #2/132:failed|failed|  ok  |
    hard-safe-A + unsafe-B #2/213:failed|failed|  ok  |
    soft-safe-A + unsafe-B #2/213:failed|failed|  ok  |
    hard-safe-A + unsafe-B #2/231:failed|failed|  ok  |
    soft-safe-A + unsafe-B #2/231:failed|failed|  ok  |
    hard-safe-A + unsafe-B #2/312:failed|failed|  ok  |
    soft-safe-A + unsafe-B #2/312:failed|failed|  ok  |
    hard-safe-A + unsafe-B #2/321:failed|failed|  ok  |
    soft-safe-A + unsafe-B #2/321:failed|failed|  ok  |
      hard-irq lock-inversion/123:failed|failed|  ok  |
      soft-irq lock-inversion/123:failed|failed|  ok  |
      hard-irq lock-inversion/132:failed|failed|  ok  |
      soft-irq lock-inversion/132:failed|failed|  ok  |
      hard-irq lock-inversion/213:failed|failed|  ok  |
      soft-irq lock-inversion/213:failed|failed|  ok  |
      hard-irq lock-inversion/231:failed|failed|  ok  |
      soft-irq lock-inversion/231:failed|failed|  ok  |
      hard-irq lock-inversion/312:failed|failed|  ok  |
      soft-irq lock-inversion/312:failed|failed|  ok  |
      hard-irq lock-inversion/321:failed|failed|  ok  |
      soft-irq lock-inversion/321:failed|failed|  ok  |
      hard-irq read-recursion/123:  ok  |
      soft-irq read-recursion/123:  ok  |
      hard-irq read-recursion/132:  ok  |
      soft-irq read-recursion/132:  ok  |
      hard-irq read-recursion/213:  ok  |
      soft-irq read-recursion/213:  ok  |
      hard-irq read-recursion/231:  ok  |
      soft-irq read-recursion/231:  ok  |
      hard-irq read-recursion/312:  ok  |
      soft-irq read-recursion/312:  ok  |
      hard-irq read-recursion/321:  ok  |
      soft-irq read-recursion/321:  ok  |

--------------------------------------------------------
142 out of 218 testcases failed, as expected. |
----------------------------------------------------
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Checking aperture...
CPU 0: aperture @ 0 size 32 MB
No AGP bridge found
Memory: 3599040k/3669440k available (2170k kernel code, 69992k reserved, 1201k data, 236k init) Calibrating delay using timer specific routine.. 4792.47 BogoMIPS (lpj=9584943) Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 0/0 -> Node 0
Freeing SMP alternatives: 24k freed
ACPI: Core revision 20060623
Using local APIC timer interrupts.
result 12463290
Detected 12.463 MHz APIC timer.
Booting processor 1/2 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 4785.17 BogoMIPS (lpj=9570340)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 1/1 -> Node 1
AMD Opteron(tm) Processor 250 stepping 0a
CPU 1: Syncing TSC to CPU 0.
CPU 1: synchronized TSC with CPU 0 (last diff -5 cycles, maxerr 1285 cycles) Brought up 2 CPUs
testing NMI watchdog ... OK.
time.c: Using 14.318180 MHz WALL HPET GTOD HPET timer.
time.c: Detected 2392.949 MHz processor.
migration_cost=0,526
checking if image is initramfs... it is
Freeing initrd memory: 808k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 5 10 11) *7
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 5 *10 11)
ACPI: PCI Interrupt Link [LNKC] (IRQs *3 5 10 11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 5 10 *11)
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
PCI-DMA: Disabling IOMMU.
PCI: Bridge: 0000:00:06.0
IO window: 2000-2fff
MEM window: e8100000-e81fffff
PREFETCH window: e2000000-e20fffff
PCI: Bridge: 0000:00:0a.0
IO window: 3000-3fff
MEM window: e8200000-e82fffff
PREFETCH window: e2100000-e21fffff
PCI: Bridge: 0000:00:0b.0
IO window: 4000-4fff
MEM window: e8300000-e83fffff
PREFETCH window: f0000000-f7ffffff
NET: Registered protocol family 2
IP route cache hash table entries: 131072 (order: 8, 1048576 bytes)
TCP established hash table entries: 131072 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 9, 2097152 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
----------- [cut here ] --------- [please bite here ] ---------

Kernel BUG at ...home/legoater/linux/2.6.18-rc1-mm1/mm/page_alloc.c:252
invalid opcode: 0000 [1] SMP
last sysfs file:
CPU 0
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.18-rc1-mm1 #1
RIP: 0010:[<ffffffff8025a119>]  [<ffffffff8025a119>] get_page_from_freelist+0x2ea/0x3aa
RSP: 0018:ffff810001659d88  EFLAGS: 00010246
RAX: 0000000000000001 RBX: ffff81000162ccc0 RCX: ffff8100de776380
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000008010e
RBP: ffff810001659de8 R08: ffff81000162ccce R09: 000000000005ddd1
R10: 0000000000000000 R11: 0000000000000001 R12: ffff8100de776380
R13: 0000000000000286 R14: ffff810080000380 R15: ffff8100de709040
FS:  0000000000000000(0000) GS:ffffffff805dc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000000000459d28 CR3: 0000000000201000 CR4: 00000000000006e0
Process swapper (pid: 1, threadinfo ffff810001658000, task ffff8100de709040)
Stack:  ffff8100de4ca000 ffffffff80277817 0000000100000000 ffff810080000a80
 0000004400000286 ffff810080000a80 0002802000000000 ffff810080000a80
 0000000000008020 00000000005f0000 ffff810080000a80 ffff8100de709040
Call Trace:
 [<ffffffff80277817>] kfree+0x71/0x79
 [<ffffffff8025a242>] __alloc_pages+0x69/0x2b6
 [<ffffffff802718d5>] alloc_page_interleave+0x3b/0x6f
 [<ffffffff8027196e>] alloc_pages_current+0x65/0x83
 [<ffffffff8025926b>] get_zeroed_page+0x11/0x33
 [<ffffffff80609bd8>] spp_getpage+0x17/0x62
 [<ffffffff80609d4c>] __set_fixmap+0x129/0x20e
 [<ffffffff8060033e>] vsyscall_init+0x89/0x9b
 [<ffffffff80207172>] init+0x145/0x2bb
 [<ffffffff8041c040>] _spin_unlock_irq+0x9/0xc
 [<ffffffff802244cb>] schedule_tail+0x44/0xb7
 [<ffffffff8020a33a>] child_rip+0x8/0x12
 [<ffffffff80315f90>] acpi_ds_init_one_object+0x0/0xa0
 [<ffffffff8020702d>] init+0x0/0x2bb
 [<ffffffff8020a332>] child_rip+0x0/0x12


Code: 0f 0b 68 c3 ea 43 80 c2 fc 00 31 db 0f b6 4d d0 d3 e0 39 c3
RIP  [<ffffffff8025a119>] get_page_from_freelist+0x2ea/0x3aa
 RSP <ffff810001659d88>
 <0>Kernel panic - not syncing: Attempted to kill init!
#48 lore raw

Re: 2.6.18-rc1-mm1 oops on x86_64

Quoted 4 lines · On Sun, 09 Jul 2006 18:19:00 +0200 Cedric Le Goater <[email protected]> wrote:
Quoted 1 line · Andrew Morton

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

Kernel BUG at ...home/legoater/linux/2.6.18-rc1-mm1/mm/page_alloc.c:252
	VM_BUG_ON((gfp_flags & (__GFP_WAIT | __GFP_HIGHMEM)) == __GFP_HIGHMEM);

With your config, __GFP_HIGHMEM=0, so wham.

I dunno, Christoph. I think those patches are going to significantly increase the number of works-with-my-config, doesnt-with-yours scenarios.

We're going to hurt ourselves if we do this.

#49 lore raw

Re: 2.6.18-rc1-mm1 oops on x86_64

Quoted 6 lines · Andrew Morton
Quoted 3 lines · On Sun, 09 Jul 2006 18:19:00 +0200 Cedric Le Goater <[email protected]> wrote:
Quoted 1 line · Andrew Morton

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

Quoted 8 lines
Quoted 1 line
Kernel BUG at ...home/legoater/linux/2.6.18-rc1-mm1/mm/page_alloc.c:252
	VM_BUG_ON((gfp_flags & (__GFP_WAIT | __GFP_HIGHMEM)) == __GFP_HIGHMEM);

With your config, __GFP_HIGHMEM=0, so wham.

I dunno, Christoph. I think those patches are going to significantly increase the number of works-with-my-config, doesnt-with-yours scenarios.

This particular one has no chance to work on x86_64 at all. So well, which one is it?

Rafael

#50 lore raw

Re: 2.6.18-rc1-mm1 oops on x86_64

Quoted 9 lines · On Sun, 9 Jul 2006 22:35:32 +0200 "Rafael J. Wysocki" <[email protected]> wrote:
Quoted 8 lines · Andrew Morton
Quoted 4 lines · On Sun, 09 Jul 2006 18:19:00 +0200 Cedric Le Goater <[email protected]> wrote:
Quoted 1 line · Andrew Morton

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

Kernel BUG at ...home/legoater/linux/2.6.18-rc1-mm1/mm/page_alloc.c:252
Quoted 9 lines
Quoted 6 lines
	VM_BUG_ON((gfp_flags & (__GFP_WAIT | __GFP_HIGHMEM)) == __GFP_HIGHMEM);

With your config, __GFP_HIGHMEM=0, so wham.

I dunno, Christoph. I think those patches are going to significantly increase the number of works-with-my-config, doesnt-with-yours scenarios.

This particular one has no chance to work on x86_64 at all.

Fortunately in -mm we can make this BUG go away by setting CONFIG_DEBUG_VM=n.

But in 2.6.18-rc1 that's a simple BUG_ON().

Quoted 1 line

So well, which one is it?

I don't understand that question, sorry. Right now, I'm inclined to drop the patches:

reduce-max_nr_zones-remove-two-strange-uses-of-max_nr_zones.patch reduce-max_nr_zones-fix-max_nr_zones-array-initializations.patch reduce-max_nr_zones-make-display-of-highmem-counters-conditional-on-config_highmem.patch reduce-max_nr_zones-make-display-of-highmem-counters-conditional-on-config_highmem-tidy.patch reduce-max_nr_zones-move-highmem-counters-into-highmemc-h.patch reduce-max_nr_zones-page-allocator-zone_highmem-cleanup.patch reduce-max_nr_zones-use-enum-to-define-zones-reformat-and-comment.patch reduce-max_nr_zones-use-enum-to-define-zones-reformat-and-comment-cleanup.patch reduce-max_nr_zones-make-zone_dma32-optional.patch reduce-max_nr_zones-make-zone_highmem-optional.patch reduce-max_nr_zones-remove-display-of-counters-for-unconfigured-zones.patch reduce-max_nr_zones-remove-display-of-counters-for-unconfigured-zones-s390-fix.patch reduce-max_nr_zones-fix-i386-srat-check-for-max_nr_zones.patch

It's a question of whether the runtime gain merits the additional developer load. Hard call.

#51 lore raw

Re: 2.6.18-rc1-mm1 oops on x86_64

Quoted 22 lines · Andrew Morton
Quoted 9 lines · On Sun, 9 Jul 2006 22:35:32 +0200 "Rafael J. Wysocki" <[email protected]> wrote:
Quoted 8 lines · Andrew Morton
Quoted 4 lines · On Sun, 09 Jul 2006 18:19:00 +0200 Cedric Le Goater <[email protected]> wrote:
Quoted 1 line · Andrew Morton

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

Kernel BUG at ...home/legoater/linux/2.6.18-rc1-mm1/mm/page_alloc.c:252
Quoted 9 lines
Quoted 6 lines
	VM_BUG_ON((gfp_flags & (__GFP_WAIT | __GFP_HIGHMEM)) == __GFP_HIGHMEM);

With your config, __GFP_HIGHMEM=0, so wham.

I dunno, Christoph. I think those patches are going to significantly increase the number of works-with-my-config, doesnt-with-yours scenarios.

This particular one has no chance to work on x86_64 at all.

Quoted 8 lines

Fortunately in -mm we can make this BUG go away by setting CONFIG_DEBUG_VM=n.

But in 2.6.18-rc1 that's a simple BUG_ON().

Quoted 1 line

So well, which one is it?

I don't understand that question, sorry.

I meant which of the patches added this VM_BUG_ON(). Sorry for not being clear.

Rafael

#52 lore raw

Re: 2.6.18-rc1-mm1 oops on x86_64

In reply to Andrew Morton
Quoted 11 lines · Andrew Morton
Quoted 4 lines · On Sun, 09 Jul 2006 18:19:00 +0200 Cedric Le Goater <[email protected]> wrote:
Quoted 1 line · Andrew Morton

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

Kernel BUG at ...home/legoater/linux/2.6.18-rc1-mm1/mm/page_alloc.c:252
	VM_BUG_ON((gfp_flags & (__GFP_WAIT | __GFP_HIGHMEM)) == __GFP_HIGHMEM);

With your config, __GFP_HIGHMEM=0, so wham.

Hmm.. What this should be then is

VM_BUG_ON(gfp_flags & __GFP_WAIT)

in case of !CONFIG_HIGHMEM

So (not that nice though...)

mm/page_alloc.c +4 -0
Index: linux-2.6.17-mm6/mm/page_alloc.c
===================================================================
@@ -255,7 +255,11 @@ static inline void prep_zero_page(struct
 {
 	int i;
 
+#ifdef CONFIG_HIGHMEM
 	VM_BUG_ON((gfp_flags & (__GFP_WAIT | __GFP_HIGHMEM)) == __GFP_HIGHMEM);
+#else
+	VM_BUG_ON((gfp_flags & __GFP_WAIT);
+#endif
 	/*
 	 * clear_highpage() will use KM_USER0, so it's a bug to use __GFP_ZERO
 	 * and __GFP_HIGHMEM from hard or soft interrupt context.
#53 lore raw

Re: 2.6.18-rc1-mm1 oops on x86_64

Quoted 3 lines · Christoph Lameter

Hmm.. What this should be then is

VM_BUG_ON(gfp_flags & __GFP_WAIT

Wrong.

Review

Quoted 5 lines
(quoted diff) +3 -0
+#ifdef CONFIG_HIGHMEM
 	VM_BUG_ON((gfp_flags & (__GFP_WAIT | __GFP_HIGHMEM)) == __GFP_HIGHMEM);
 
+#else
+	VM_BUG_ON((gfp_flags & __GFP_WAIT);

We would have to drop these two. sigh.

Quoted 1 line

+#endif

Disregard the earlier stuff. Sigh.

mm/page_alloc.c +2 -0
Index: linux-2.6.17-mm6/mm/page_alloc.c
===================================================================
@@ -255,7 +255,9 @@ static inline void prep_zero_page(struct
 {
 	int i;
 
+#ifdef CONFIG_HIGHMEM
 	VM_BUG_ON((gfp_flags & (__GFP_WAIT | __GFP_HIGHMEM)) == __GFP_HIGHMEM);
+#endif
 	/*
 	 * clear_highpage() will use KM_USER0, so it's a bug to use __GFP_ZERO
 	 * and __GFP_HIGHMEM from hard or soft interrupt context.
#54 lore raw

Re: 2.6.18-rc1-mm1 oops on x86_64

In reply to Andrew Morton
Quoted 4 lines · Andrew Morton

I dunno, Christoph. I think those patches are going to significantly increase the number of works-with-my-config, doesnt-with-yours scenarios.

We're going to hurt ourselves if we do this.

On the other hand we also clean up a lot of strange uses of HIGHMEM. The more we increase common memory the more we will go to 64 bit configurationa and at that point we want HIGHMEM to have the least impact possible.

Hmm... Actually we could leave __GFP_HIGHMEM at it prior value since GFP_ZONEMASK masks it out anyways. Need to test this though. This may also make some of the __GFP_DMA32 ifdefs unnecessary.

The advantages of zone reduction are:

1. It shortens traversal times of zones lists and significantly reduces the amounts of cachelines touched (all the for_each_zone constructs). See __drain_pages, nr_free_pages, show_free_areas, multiple uses in swap prefetch, shrink_all_zones, shrink_all_memory, refresh_cpu_vm_stats.

2. It reduces the number of allocations for pagesets significantly. In an extreme case (1024p 1024 nodes) we currently have 4*1024*4*1024 = 16 mio allocations of pagesets. The reduction brings that down to 2*1024*2*1024 = 4 mio. The number of pagesets grows by the square.

3. The macro changes allow lots of tests to be performed at compile time rather than at run time.

4. The changes in mmzone.h allow easy additions/removal of zones should this become necessary in the future.

5. Clean up the output from /proc/meminfo /proc/vmstat /sys/devices/system/node/nodeX/meminfo for the !CONFIG_HIGHMEM case.

6. Shrink zones struct through removal of useless counters and shrink pgdat structure by reducing the size of node_zonelists.

7. The reduces zonelists significantly reduce the work to build the zonelists at startup time.

#55 lore raw

Re: 2.6.18-rc1-mm1 oops on x86_64

Quoted 3 lines · Christoph Lameter

Hmm... Actually we could leave __GFP_HIGHMEM at it prior value since GFP_ZONEMASK masks it out anyways. Need to test this though. This may also make some of the __GFP_DMA32 ifdefs unnecessary.

Here is the patch that fixes __GFP_DMA32 and __GFP_HIGHMEM to always be nonzero. However, after the #ifdef in my last patch there is no remaining instance of this left. The cure here adds some complexity:

Avoid __GFP_xx becoming 0

We sometimes do comparisons like

xx & (__GFP_x| __GFP_y)) == GFP_y

This becomes a problem if GFP_y is redefined to be zero.

Both __GFP_HIGHMEM (caused by me) and __GFP_DMA32 (was this way before) can become zero in order to cause a fall back to ZONE_NORMAL.

We also have a GFP_MASK that is applied before indexing into the nodelists array. We can use that mask to avoid having both become zero and instead use the GFP_MASK to clear the respective bits before retrieving the zonelist.

- Remove #ifdefs that cause __GFP_HIGHMEM or __GFP_DMA32 to become zero.

- GFP_MASK works nicely to cause fall back to ZONE_NORMAL except if CONFIG_ZONE_DMA32 and !CONFIG_HIGHMEM are set. In that case the fallback to ZONE_NORMAL does not work. So add a special case to mmzone.h to define a special mask that switches off the highmem bit for this particular configuration.

include/linux/gfp.h +1 -8
Index: linux-2.6.18-rc1-mm1/include/linux/gfp.h
===================================================================
@@ -12,17 +12,10 @@ struct vm_area_struct;
  */
 /* Zone modifiers in GFP_ZONEMASK (see linux/mmzone.h - low three bits) */
 #define __GFP_DMA	((__force gfp_t)0x01u)
-
-#ifdef CONFIG_HIGHMEM
 #define __GFP_HIGHMEM	((__force gfp_t)0x02u)
-#else
-#define __GFP_HIGHMEM	((__force gfp_t)0x00)	/* NORMAL is HIGHMEM */
-#endif
 
-#ifndef CONFIG_ZONE_DMA32
+#if !defined(CONFIG_ZONE_DMA32) && BITS_PER_LONG >= 64
 #define __GFP_DMA32	((__force gfp_t)0x01)	/* ZONE_DMA is ZONE_DMA32 */
-#elif BITS_PER_LONG < 64
-#define __GFP_DMA32	((__force gfp_t)0x00)	/* ZONE_NORMAL is ZONE_DMA32 */
 #else
 #define __GFP_DMA32	((__force gfp_t)0x04)	/* Has own ZONE_DMA32 */
 #endif
include/linux/mmzone.h +18 -3
Index: linux-2.6.18-rc1-mm1/include/linux/mmzone.h
===================================================================
@@ -162,18 +162,33 @@ enum zone_type {
  *
  * NOTE! Make sure this matches the zones in <linux/gfp.h>
  */
-#define GFP_ZONETYPES		((GFP_ZONEMASK + 1) / 2 + 1)    /* Loner */
 
 #ifdef CONFIG_ZONE_DMA32
+
+#ifdef CONFIG_HIGHMEM
+#define GFP_ZONETYPES		((GFP_ZONEMASK + 1) / 2 + 1)    /* Loner */
 #define GFP_ZONEMASK		0x07
-#define	ZONES_SHIFT		2	/* ceil(log2(MAX_NR_ZONES)) */
+#define ZONES_SHIFT		2	/* ceil(log2(MAX_NR_ZONES)) */
+#else
+#define GFP_ZONETYPES		((0x07 + 1) / 2 + 1)    /* Loner */
+/* Mask __GFP_HIGHMEM */
+#define GFP_ZONEMASK		0x05
+#define ZONES_SHIFT		2
+#endif
+
 #else
 #ifdef CONFIG_HIGHMEM
+
 #define GFP_ZONEMASK		0x03
-#define	ZONES_SHIFT		2
+#define ZONES_SHIFT		2
+#define GFP_ZONETYPES		3
+
 #else
+
 #define GFP_ZONEMASK		0x01
 #define ZONES_SHIFT		1
+#define GFP_ZONETYPES		2
+
 #endif
 #endif
 
#56 lore raw

Re: 2.6.18-rc1-mm1 oops on x86_64

Quoted 9 lines · Christoph Lameter
Quoted 3 lines · Christoph Lameter

Hmm... Actually we could leave __GFP_HIGHMEM at it prior value since GFP_ZONEMASK masks it out anyways. Need to test this though. This may also make some of the __GFP_DMA32 ifdefs unnecessary.

Here is the patch that fixes __GFP_DMA32 and __GFP_HIGHMEM to always be nonzero. However, after the #ifdef in my last patch there is no remaining instance of this left. The cure here adds some complexity:

My 2.6.18-rc1-mm1 is now much more friendly with the last 2 patches.

Thanks !

C.

#57 lore raw

Re: 2.6.18-rc1-mm1 oops on x86_64

Quoted 7 lines · Cedric Le Goater
Quoted 6 lines · Christoph Lameter
Quoted 3 lines · Christoph Lameter

Hmm... Actually we could leave __GFP_HIGHMEM at it prior value since GFP_ZONEMASK masks it out anyways. Need to test this though. This may also make some of the __GFP_DMA32 ifdefs unnecessary.

Quoted 5 lines
Quoted 3 lines

Here is the patch that fixes __GFP_DMA32 and __GFP_HIGHMEM to always be nonzero. However, after the #ifdef in my last patch there is no remaining instance of this left. The cure here adds some complexity:

My 2.6.18-rc1-mm1 is now much more friendly with the last 2 patches.

Confirmed.

Thanks,
Rafael

#59 lore raw
Quoted 10 lines · On Sun, 9 Jul 2006 19:28:07 +0200 Dominik Karall <[email protected]> wrote:
Quoted 2 lines · Andrew Morton

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.1 8-rc1/2.6.18-rc1-mm1/

There are stil problems with initializing the bt878 chip. I'm not sure if it is the same bug, but I had problems with all -mm versions since 2.6.17-mm1
Screenshot:
http://stud4.tuwien.ac.at/~e0227135/kernel/060709_190546.jpg

Right - this is one of those mysterious crashes deep in sysfs from calling code which basically hasn't changed. Mauro and Greg are vacationing or otherwise offline so not much is likely to happen short-term.

Is 2.6.18-rc1 OK?

#60 lore raw

Em Dom, 2006-07-09 às 13:24 -0700, Andrew Morton escreveu:

Quoted 14 lines
Quoted 10 lines · On Sun, 9 Jul 2006 19:28:07 +0200 Dominik Karall <[email protected]> wrote:
Quoted 2 lines · Andrew Morton

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.1 8-rc1/2.6.18-rc1-mm1/

There are stil problems with initializing the bt878 chip. I'm not sure if it is the same bug, but I had problems with all -mm versions since 2.6.17-mm1
Screenshot:
http://stud4.tuwien.ac.at/~e0227135/kernel/060709_190546.jpg

Quoted 3 lines

Right - this is one of those mysterious crashes deep in sysfs from calling code which basically hasn't changed. Mauro and Greg are vacationing or otherwise offline so not much is likely to happen short-term.

I should be returning back from vacations by the end of this week.

About the errors you are suffering, image is not clean enough to allow reading the log. There were some changes on -mm that may affect people with third-party drivers (like, for example, some webcam drivers). This is due to a change at video_device structure, used to register video devices. Several third-party drivers just have a copy of videodev.h. So, those drivers compile using the old struct definition, but tries to register the device by calling a function that is expecting the newer struct. Maybe this is your case.

Quoted 2 lines

Is 2.6.18-rc1 OK?

Cheers,
Mauro.

#61 lore raw
Quoted 9 lines · Mauro Carvalho Chehab

Em Dom, 2006-07-09 às 13:24 -0700, Andrew Morton escreveu:

Quoted 5 lines

On Sun, 9 Jul 2006 19:28:07 +0200
Right - this is one of those mysterious crashes deep in sysfs from calling code which basically hasn't changed. Mauro and Greg are vacationing or otherwise offline so not much is likely to happen short-term.

I should be returning back from vacations by the end of this week.

Quoted 9 lines

About the errors you are suffering, image is not clean enough to allow reading the log. There were some changes on -mm that may affect people with third-party drivers (like, for example, some webcam drivers). This is due to a change at video_device structure, used to register video devices. Several third-party drivers just have a copy of videodev.h. So, those drivers compile using the old struct definition, but tries to register the device by calling a function that is expecting the newer struct. Maybe this is your case.

hi,
thx for your reply, but I'm not using any binary drivers, neither other external driver sources.

Quoted 1 line
Quoted 1 line

Is 2.6.18-rc1 OK?

I will check it tomorrow and let you know if it works!

cheers,
dominik

#62 lore raw
In reply to Mauro Carvalho Chehab
Quoted 21 lines · Mauro Carvalho Chehab

Em Dom, 2006-07-09 às 13:24 -0700, Andrew Morton escreveu:

Quoted 13 lines

On Sun, 9 Jul 2006 19:28:07 +0200

Quoted 9 lines · Dominik Karall
Quoted 2 lines · Andrew Morton

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6 /2.6.1 8-rc1/2.6.18-rc1-mm1/

There are stil problems with initializing the bt878 chip. I'm not sure if it is the same bug, but I had problems with all -mm versions since 2.6.17-mm1
Screenshot:
http://stud4.tuwien.ac.at/~e0227135/kernel/060709_190546.jpg

Quoted 4 lines

Right - this is one of those mysterious crashes deep in sysfs from calling code which basically hasn't changed. Mauro and Greg are vacationing or otherwise offline so not much is likely to happen short-term.

I should be returning back from vacations by the end of this week.

Quoted 11 lines

About the errors you are suffering, image is not clean enough to allow reading the log. There were some changes on -mm that may affect people with third-party drivers (like, for example, some webcam drivers). This is due to a change at video_device structure, used to register video devices. Several third-party drivers just have a copy of videodev.h. So, those drivers compile using the old struct definition, but tries to register the device by calling a function that is expecting the newer struct. Maybe this is your case.

Quoted 1 line

Is 2.6.18-rc1 OK?

It's the same bug with 2.6.18-rc1.

cheers,
dominik

#63 lore raw

PATCH 1/1 make arch/i386/kernel/cpu/cpufreq/longhaul.c:longhaul_walk_callback() static

In reply to Andrew Morton
Quoted 7 lines · Andrew Morton

...
Changes since 2.6.17-mm6:
...
git-cpufreq.patch
...
git trees
...

This patch makes the needlessly global longhaul_walk_callback() static.

arch/i386/kernel/cpu/cpufreq/longhaul.c renamed from arch/i386/kernel/cpu/cpufreq/longhaul.c.old +3 -3
@@ -524,9 +524,9 @@
 	return calc_speed(longhaul_get_cpu_mult());
 }
 
-acpi_status longhaul_walk_callback(acpi_handle obj_handle,
-				  u32 nesting_level,
-				  void *context, void **return_value)
+static acpi_status longhaul_walk_callback(acpi_handle obj_handle,
+					  u32 nesting_level,
+					  void *context, void **return_value)
 {
 	struct acpi_device *d;
 
#64 lore raw

PATCH 1/1 kernel/rcutorture.c: make code static

In reply to Andrew Morton

Review

Quoted 13 lines · Andrew Morton

...
Changes since 2.6.17-mm6:
...

(quoted diff) +3 -4
-srcu-rcu-variant-permitting-read-side-blocking.patch
-srcu-2-rcu-variant-permitting-read-side-blocking.patch
-srcu-add-srcu-operations-to-rcutorture.patch
-srcu-2-add-srcu-operations-to-rcutorture.patch
+srcu-3-rcu-variant-permitting-read-side-blocking.patch
+srcu-3-rcu-variant-permitting-read-side-blocking-fix.patch
+srcu-3-add-srcu-operations-to-rcutorture.patch
 
 Updated srcu patchset.
...

The contents of the patch below somehow got lost during these updates.

cu
Adrian

<-- snip -->

This patch makes needlessly global code static.

---

 kernel/rcutorture.c |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
kernel/rcutorture.c renamed from kernel/rcutorture.c.old +7 -7
@@ -105,11 +105,11 @@
 static DEFINE_PER_CPU(long [RCU_TORTURE_PIPE_LEN + 1], rcu_torture_batch) =
 	{ 0 };
 static atomic_t rcu_torture_wcount[RCU_TORTURE_PIPE_LEN + 1];
-atomic_t n_rcu_torture_alloc;
-atomic_t n_rcu_torture_alloc_fail;
-atomic_t n_rcu_torture_free;
-atomic_t n_rcu_torture_mberror;
-atomic_t n_rcu_torture_error;
+static atomic_t n_rcu_torture_alloc;
+static atomic_t n_rcu_torture_alloc_fail;
+static atomic_t n_rcu_torture_free;
+static atomic_t n_rcu_torture_mberror;
+static atomic_t n_rcu_torture_error;
 
 /*
  * Allocate an element from the rcu_tortures pool.
@@ -338,7 +338,7 @@
 	}
 }
 
-int srcu_torture_stats(char *page)
+static int srcu_torture_stats(char *page)
 {
 	int cnt = 0;
 	int cpu;
@@ -567,7 +567,7 @@
 /* Shuffle tasks such that we allow @rcu_idle_cpu to become idle. A special case
  * is when @rcu_idle_cpu = -1, when we allow the tasks to run on all CPUs.
  */
-void rcu_torture_shuffle_tasks(void)
+static void rcu_torture_shuffle_tasks(void)
 {
 	cpumask_t tmp_mask = CPU_MASK_ALL;
 	int i;
Acked-by on v1 1/1
#65 lore raw

Re: [-mm patch] kernel/rcutorture.c: make code static

Quoted 12 lines · Adrian Bunk
Quoted 11 lines · Andrew Morton

...
Changes since 2.6.17-mm6:
...

(quoted diff) +3 -4
-srcu-rcu-variant-permitting-read-side-blocking.patch
-srcu-2-rcu-variant-permitting-read-side-blocking.patch
-srcu-add-srcu-operations-to-rcutorture.patch
-srcu-2-add-srcu-operations-to-rcutorture.patch
+srcu-3-rcu-variant-permitting-read-side-blocking.patch
+srcu-3-rcu-variant-permitting-read-side-blocking-fix.patch
+srcu-3-add-srcu-operations-to-rcutorture.patch
Quoted 7 lines
Quoted 2 lines

Updated srcu patchset.
...

The contents of the patch below somehow got lost during these updates.

cu
Adrian

My bad... I have applied this to my local view.

Andrew, please apply.

Thanx, Paul

Quoted 4 lines

<-- snip -->

This patch makes needlessly global code static.

Quoted 46 lines

---

 kernel/rcutorture.c |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
kernel/rcutorture.c renamed from kernel/rcutorture.c.old +7 -7
@@ -105,11 +105,11 @@
 static DEFINE_PER_CPU(long [RCU_TORTURE_PIPE_LEN + 1], rcu_torture_batch) =
 	{ 0 };
 static atomic_t rcu_torture_wcount[RCU_TORTURE_PIPE_LEN + 1];
-atomic_t n_rcu_torture_alloc;
-atomic_t n_rcu_torture_alloc_fail;
-atomic_t n_rcu_torture_free;
-atomic_t n_rcu_torture_mberror;
-atomic_t n_rcu_torture_error;
+static atomic_t n_rcu_torture_alloc;
+static atomic_t n_rcu_torture_alloc_fail;
+static atomic_t n_rcu_torture_free;
+static atomic_t n_rcu_torture_mberror;
+static atomic_t n_rcu_torture_error;
 
 /*
  * Allocate an element from the rcu_tortures pool.
@@ -338,7 +338,7 @@
 	}
 }
 
-int srcu_torture_stats(char *page)
+static int srcu_torture_stats(char *page)
 {
 	int cnt = 0;
 	int cpu;
@@ -567,7 +567,7 @@
 /* Shuffle tasks such that we allow @rcu_idle_cpu to become idle. A special case
  * is when @rcu_idle_cpu = -1, when we allow the tasks to run on all CPUs.
  */
-void rcu_torture_shuffle_tasks(void)
+static void rcu_torture_shuffle_tasks(void)
 {
 	cpumask_t tmp_mask = CPU_MASK_ALL;
 	int i;
#66 lore raw

2.6.18-rc1-mm1: /sys/class/net/ethN becoming symlink befuddled /sbin/ifup

In reply to Andrew Morton

Greetings,

As $subject says, up-to-date SuSE 10.0 /sbin/ifup became confused...

-[pid 8191] lstat64("/sys/class/net/eth1", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0 -[pid 8191] lstat64("/sys/block/eth1", 0xafec0f9c) = -1 ENOENT (No such file or directory)

...and wandered off into lala-land.

It used to do...

+[pid  8905] lstat64("/sys/class/net/eth1", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
+[pid  8905] readlink("/sys/class/net/eth1/device", "../../../devices/pci0000:00/0000:00:1e.0/0000:02:09.0", 255) = 53
+[pid  8905] readlink("/sys/class/net/eth1/device", "../../../devices/pci0000:00/0000:00:1e.0/0000:02:09.0", 255) = 53

...and made working network interface.

-Mike

#67 lore raw

Re: 2.6.18-rc1-mm1: /sys/class/net/ethN becoming symlink befuddled /sbin/ifup

Quoted 6 lines · Mike Galbraith

Greetings,

As $subject says, up-to-date SuSE 10.0 /sbin/ifup became confused...

-[pid 8191] lstat64("/sys/class/net/eth1", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0 -[pid 8191] lstat64("/sys/block/eth1", 0xafec0f9c) = -1 ENOENT (No such file or directory)

Slight correction: it's /sbin/getcfg that did the above, resulting in ipup failing.

#68 lore raw

Re: 2.6.18-rc1-mm1: /sys/class/net/ethN becoming symlink befuddled /sbin/ifup

In reply to Mike Galbraith
Quoted 8 lines · On Sun, 09 Jul 2006 20:22:09 +0200 Mike Galbraith <[email protected]> wrote:

Greetings,

As $subject says, up-to-date SuSE 10.0 /sbin/ifup became confused...

-[pid 8191] lstat64("/sys/class/net/eth1", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0 -[pid 8191] lstat64("/sys/block/eth1", 0xafec0f9c) = -1 ENOENT (No such file or directory)

...and wandered off into lala-land.

Well that's amusing. Ethernet-over-scsi?

Quoted 8 lines

It used to do...

+[pid  8905] lstat64("/sys/class/net/eth1", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
+[pid  8905] readlink("/sys/class/net/eth1/device", "../../../devices/pci0000:00/0000:00:1e.0/0000:02:09.0", 255) = 53
+[pid  8905] readlink("/sys/class/net/eth1/device", "../../../devices/pci0000:00/0000:00:1e.0/0000:02:09.0", 255) = 53

...and made working network interface.

I'd be suspecting ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc1/2.6.18-rc1-mm1/broken-out/gregkh-driver-network-class_device-to-device.patch.

If you could do a `patch -R' of that one it'd really help, thanks.

maintainer
#69 lore raw

Re: 2.6.18-rc1-mm1: /sys/class/net/ethN becoming symlink befuddled /sbin/ifup

From: Andrew Morton <[email protected]>
Date: Sun, 9 Jul 2006 13:51:48 -0700

...

Quoted 1 line
Quoted 1 line

As $subject says, up-to-date SuSE 10.0 /sbin/ifup became confused...

...

Quoted 2 lines

I'd be suspecting ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc1/2.6.18-rc1-mm1/broken-out/gregkh-driver-network-class_device-to-device.patch.

Oh well, it means we can't apply that patch as it does break things.

Greg, do you test on SuSE installations? :-)

#70 lore raw

Re: 2.6.18-rc1-mm1: /sys/class/net/ethN becoming symlink befuddled /sbin/ifup

Quoted 11 lines · David Miller

From: Andrew Morton <[email protected]>
Date: Sun, 9 Jul 2006 13:51:48 -0700

...

Quoted 1 line
Quoted 1 line

As $subject says, up-to-date SuSE 10.0 /sbin/ifup became confused...

...

Quoted 2 lines

I'd be suspecting ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc1/2.6.18-rc1-mm1/broken-out/gregkh-driver-network-class_device-to-device.patch.

Oh well, it means we can't apply that patch as it does break things.

Ugh, that stinks. I'll work on fixing up those helper applications so this doesn't happen, and try to get an update into the 10.1 pipeline

So, I guess I'll just carry this forward for the next 6 months or so till SuSE 10.0 support goes away.

Quoted 1 line

Greg, do you test on SuSE installations? :-)

Heh, most of the time yes, but this stuff only on a Gentoo box for some reason. Sorry about that.

thanks,

greg k-h

#71 lore raw

Re: 2.6.18-rc1-mm1: /sys/class/net/ethN becoming symlink befuddled /sbin/ifup

Quoted 10 lines · Greg KH
Quoted 9 lines · David Miller

From: Andrew Morton <[email protected]>
Date: Sun, 9 Jul 2006 13:51:48 -0700

...

Quoted 1 line
Quoted 1 line

As $subject says, up-to-date SuSE 10.0 /sbin/ifup became confused...

...

Quoted 2 lines

I'd be suspecting ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc1/2.6.18-rc1-mm1/broken-out/gregkh-driver-network-class_device-to-device.patch.

Quoted 8 lines
Quoted 2 lines

Oh well, it means we can't apply that patch as it does break things.

Ugh, that stinks. I'll work on fixing up those helper applications so this doesn't happen, and try to get an update into the 10.1 pipeline

So, I guess I'll just carry this forward for the next 6 months or so till SuSE 10.0 support goes away.

Looks like an old version of libsysfs (1.3) is used and causes this failure.

Kay

#72 lore raw

Re: 2.6.18-rc1-mm1: /sys/class/net/ethN becoming symlink befuddled /sbin/ifup

In reply to Andrew Morton
Quoted 4 lines · Andrew Morton

I'd be suspecting ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc1/2.6.18-rc1-mm1/broken-out/gregkh-driver-network-class_device-to-device.patch.

If you could do a `patch -R' of that one it'd really help, thanks.

This broke gnome NetworkManager as well. Reverting the two patches makes it happy.

J

#73 lore raw

Re: 2.6.18-rc1-mm1: /sys/class/net/ethN becoming symlink befuddled /sbin/ifup

In reply to Andrew Morton
Quoted 2 lines · Andrew Morton

I'd be suspecting ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc1/2.6.18-rc1-mm1/broken-out/gregkh-driver-network-class_device-to-device.patch.

Yeah, that and gregkh-driver-class_device_rename-remove.patch brought it back to reality.

-Mike

#74 lore raw
In reply to Andrew Morton
Quoted 2 lines · Andrew Morton

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

Congrats to all the maintainers I've hassled the last few -mm's (in particular, Alan Cox, Roman Zippel, and John Stultz) - this one came up basically OK..

1) The timer issues with booting with 'vga=794' causing slow console output and confusing the error correcting seem resolved - the problem section of early userspace is back to the 2-3 seconds it used to be, rather than 2-3 mins.

2) libata is now setting the speeds sanely for both IDE devices:

[    7.808637] libata version 2.00 loaded.
[    7.808888] ata_piix 0000:00:1f.1: version 2.00ac5
[    7.808908] PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
[    7.810374] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
[    7.810910] ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[    7.811767] PCI: Setting latency timer of device 0000:00:1f.1 to 64
[    7.811855] ata1: PATA max UDMA/100 cmd 0x1F0 ctl 0x3F6 bmdma 0xBFA0 irq 14
[    7.812510] scsi0 : ata_piix
[    7.964218] ata1.00: ATA-6, max UDMA/100, 117210240 sectors: LBA 
[    7.964790] ata1.00: ata1: dev 0 multi count 8
[    8.116060] ata1.01: ATAPI, max UDMA/33
[    8.121104] ata1.00: configured for UDMA/100
[    8.272621] ata1.01: configured for UDMA/33
[    8.273139]   Vendor: ATA       Model: FUJITSU MHV2060A  Rev: 0000
[    8.274258]   Type:   Direct-Access                      ANSI SCSI revision:05
[    8.277954]   Vendor: TOSHIBA   Model: CDRW/DVD SDR2102  Rev: 1D13
[    8.279074]   Type:   CD-ROM                             ANSI SCSI revision:05

(Alan - I *did* have to apply the piix_pata_ops to ich_pata_ops one-liner, that didn't seem to be in -rc1-mm1).

#75 lore raw
Quoted 10 lines · On Sun, 2006-07-09 at 15:24 -0400, [email protected] wrote:
Quoted 2 lines · Andrew Morton

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

Congrats to all the maintainers I've hassled the last few -mm's (in particular, Alan Cox, Roman Zippel, and John Stultz) - this one came up basically OK..

1) The timer issues with booting with 'vga=794' causing slow console output and confusing the error correcting seem resolved - the problem section of early userspace is back to the 2-3 seconds it used to be, rather than 2-3 mins.

Great to hear! Thanks for all the testing and feedback! I really appreciate it!

-john

#76 lore raw

Re: 2.6.18-rc1-mm1 inconsistent lock state in netpoll_send_skb

In reply to Andrew Morton

eth0: RealTek RTL-8029 found at 0xa400, IRQ 10, 00:40:95:46:6E:2D.
netconsole: device eth0 not up yet, forcing it
netconsole: carrier detect appears untrustworthy, waiting 4 seconds

=================================
[ INFO: inconsistent lock state ]
---------------------------------
inconsistent {in-softirq-W} -> {softirq-on-W} usage. swapper/1 [HC0[0]:SC0[0]:HE1:SE1] takes:
(&dev->_xmit_lock){-+..}, at: [<c0252bcb>] netpoll_send_skb+0x6b/0xdb
{in-softirq-W} state was registered at:

  [<c012cfb3>] lock_acquire+0x60/0x80
  [<c02923a0>] _spin_lock+0x19/0x28
  [<c02547dd>] dev_watchdog+0x11/0xaf
  [<c011df77>] run_timer_softirq+0xed/0x145
  [<c011b0c9>] __do_softirq+0x46/0x9c
  [<c0104fc1>] do_softirq+0x4d/0xab
irq event stamp: 616842
hardirqs last  enabled at (616841): [<c0292668>] _spin_unlock_irqrestore+0x36/0x3c
hardirqs last disabled at (616842): [<c02926b9>] _spin_lock_irqsave+0xf/0x32
softirqs last  enabled at (616802): [<c024afd5>] dev_mc_upload+0x36/0x3a
softirqs last disabled at (616798): [<c02923ba>] _spin_lock_bh+0xb/0x2d

other info that might help us debug this:
1 lock held by swapper/1:
#0: (&dev->_xmit_lock){-+..}, at: [<c0252bcb>] netpoll_send_skb+0x6b/0xdb

stack backtrace:
 [<c0104d2c>] show_trace+0xd/0x10
 [<c0104d48>] dump_stack+0x19/0x1d
 [<c012b5cd>] print_usage_bug+0x1cc/0x1d9
 [<c012c15c>] mark_lock+0x22d/0x349
 [<c012c2bf>] mark_held_locks+0x47/0x65
 [<c012c468>] trace_hardirqs_on+0xef/0x119
 [<c022395a>] ei_start_xmit+0x242/0x260
 [<c0252be9>] netpoll_send_skb+0x89/0xdb
 [<c02538a6>] netpoll_send_udp+0x1fd/0x207
 [<c0223b18>] write_msg+0x42/0x6a
 [<c01167f3>] __call_console_drivers+0x3b/0x48
 [<c0116a0c>] release_console_sem+0x118/0x1ed
 [<c0116d77>] register_console+0x190/0x197
 [<c0223ac2>] init_netconsole+0x4e/0x62
 [<c0100378>] init+0x88/0x1e1
 [<c0101005>] kernel_thread_helper+0x5/0xb

netconsole: network logging started

full dmesg and .config attached.
~~
laurent

Linux version 2.6.18-rc1-mm1 ([email protected]) (gcc version 4.1.1 20060330 (prerelease)) #67 Sun Jul 9 19:41:56 CEST 2006 BIOS-provided physical RAM map:
sanitize start
sanitize end
copy_e820_map() start: 0000000000000000 size: 000000000009fc00 end: 000000000009fc00 type: 1
copy_e820_map() type is E820_RAM
add_memory_region(0000000000000000, 000000000009fc00, 1)
copy_e820_map() start: 000000000009fc00 size: 0000000000000400 end: 00000000000a0000 type: 2
add_memory_region(000000000009fc00, 0000000000000400, 2)
copy_e820_map() start: 00000000000f0000 size: 0000000000010000 end: 0000000000100000 type: 2
add_memory_region(00000000000f0000, 0000000000010000, 2)
copy_e820_map() start: 0000000000100000 size: 000000001feec000 end: 000000001ffec000 type: 1
copy_e820_map() type is E820_RAM
add_memory_region(0000000000100000, 000000001feec000, 1)
copy_e820_map() start: 000000001ffec000 size: 0000000000003000 end: 000000001ffef000 type: 3
add_memory_region(000000001ffec000, 0000000000003000, 3)
copy_e820_map() start: 000000001ffef000 size: 0000000000010000 end: 000000001ffff000 type: 2
add_memory_region(000000001ffef000, 0000000000010000, 2)
copy_e820_map() start: 000000001ffff000 size: 0000000000001000 end: 0000000020000000 type: 4
add_memory_region(000000001ffff000, 0000000000001000, 4)
copy_e820_map() start: 00000000ffff0000 size: 0000000000010000 end: 0000000100000000 type: 2
add_memory_region(00000000ffff0000, 0000000000010000, 2)
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001ffec000 (usable)
BIOS-e820: 000000001ffec000 - 000000001ffef000 (ACPI data)
BIOS-e820: 000000001ffef000 - 000000001ffff000 (reserved)
BIOS-e820: 000000001ffff000 - 0000000020000000 (ACPI NVS)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131052
DMA zone: 4096 pages, LIFO batch:0
Normal zone: 126956 pages, LIFO batch:31
DMI 2.3 present.
ACPI: RSDP (v000 ASUS ) @ 0x000f6a80
ACPI: RSDT (v001 ASUS A7V133-C 0x30303031 MSFT 0x31313031) @ 0x1ffec000
ACPI: FADT (v001 ASUS A7V133-C 0x30303031 MSFT 0x31313031) @ 0x1ffec080
ACPI: BOOT (v001 ASUS A7V133-C 0x30303031 MSFT 0x31313031) @ 0x1ffec040
ACPI: DSDT (v001 ASUS A7V133-C 0x00001000 MSFT 0x0100000b) @ 0x00000000
ACPI: PM-Timer IO Port: 0xe408
Allocating PCI resources starting at 30000000 (gap: 20000000:dfff0000)
Detected 1410.216 MHz processor.
Built 1 zonelists. Total pages: 131052
Kernel command line: root=/dev/vglinux1/lvroot video=vesafb:ywrap,mtrr splash=silent resume=/dev/hdb6 [email protected]/,@192.168.0.1/00:0E:9B:91:ED:72
netconsole: local port 6665
netconsole: local IP 192.163.0.3
netconsole: interface eth0
netconsole: remote port 6666
netconsole: remote IP 192.168.0.1
netconsole: remote ethernet address 00:0e:9b:91:ed:72
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (01407000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c03ed000 soft=c03ec000
PID hash table entries: 2048 (order: 11, 8192 bytes)
Console: colour VGA+ 80x25
Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
... MAX_LOCKDEP_SUBCLASSES: 8
... MAX_LOCK_DEPTH: 30
... MAX_LOCKDEP_KEYS: 2048
... CLASSHASH_SIZE: 1024

... MAX_LOCKDEP_ENTRIES:     8192
... MAX_LOCKDEP_CHAINS:      8192
... CHAINHASH_SIZE:          4096

memory used by lock dependency info: 696 kB
per task-struct memory footprint: 1200 bytes
------------------------
| Locking API testsuite:
----------------------------------------------------------------------------
| spin |wlock |rlock |mutex | wsem | rsem |
--------------------------------------------------------------------------

                     A-A deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
                 A-B-B-A deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
             A-B-B-C-C-A deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
             A-B-C-A-B-C deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
         A-B-B-C-C-D-D-A deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
         A-B-C-D-B-D-D-A deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
         A-B-C-D-B-C-D-A deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
                    double unlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
                  initialize held:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
                 bad unlock order:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
  --------------------------------------------------------------------------
              recursive read-lock:             |  ok  |             |  ok  |
           recursive read-lock #2:             |  ok  |             |  ok  |
            mixed read-write-lock:             |  ok  |             |  ok  |
            mixed write-read-lock:             |  ok  |             |  ok  |
  --------------------------------------------------------------------------
     hard-irqs-on + irq-safe-A/12:  ok  |  ok  |  ok  |
     soft-irqs-on + irq-safe-A/12:  ok  |  ok  |  ok  |
     hard-irqs-on + irq-safe-A/21:  ok  |  ok  |  ok  |
     soft-irqs-on + irq-safe-A/21:  ok  |  ok  |  ok  |
       sirq-safe-A => hirqs-on/12:  ok  |  ok  |  ok  |
       sirq-safe-A => hirqs-on/21:  ok  |  ok  |  ok  |
         hard-safe-A + irqs-on/12:  ok  |  ok  |  ok  |
         soft-safe-A + irqs-on/12:  ok  |  ok  |  ok  |
         hard-safe-A + irqs-on/21:  ok  |  ok  |  ok  |
         soft-safe-A + irqs-on/21:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #1/123:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #1/123:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #1/132:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #1/132:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #1/213:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #1/213:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #1/231:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #1/231:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #1/312:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #1/312:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #1/321:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #1/321:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #2/123:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #2/123:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #2/132:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #2/132:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #2/213:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #2/213:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #2/231:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #2/231:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #2/312:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #2/312:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #2/321:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #2/321:  ok  |  ok  |  ok  |
      hard-irq lock-inversion/123:  ok  |  ok  |  ok  |
      soft-irq lock-inversion/123:  ok  |  ok  |  ok  |
      hard-irq lock-inversion/132:  ok  |  ok  |  ok  |
      soft-irq lock-inversion/132:  ok  |  ok  |  ok  |
      hard-irq lock-inversion/213:  ok  |  ok  |  ok  |
      soft-irq lock-inversion/213:  ok  |  ok  |  ok  |
      hard-irq lock-inversion/231:  ok  |  ok  |  ok  |
      soft-irq lock-inversion/231:  ok  |  ok  |  ok  |
      hard-irq lock-inversion/312:  ok  |  ok  |  ok  |
      soft-irq lock-inversion/312:  ok  |  ok  |  ok  |
      hard-irq lock-inversion/321:  ok  |  ok  |  ok  |
      soft-irq lock-inversion/321:  ok  |  ok  |  ok  |
      hard-irq read-recursion/123:  ok  |
      soft-irq read-recursion/123:  ok  |
      hard-irq read-recursion/132:  ok  |
      soft-irq read-recursion/132:  ok  |
      hard-irq read-recursion/213:  ok  |
      soft-irq read-recursion/213:  ok  |
      hard-irq read-recursion/231:  ok  |
      soft-irq read-recursion/231:  ok  |
      hard-irq read-recursion/312:  ok  |
      soft-irq read-recursion/312:  ok  |
      hard-irq read-recursion/321:  ok  |
      soft-irq read-recursion/321:  ok  |

-------------------------------------------------------
Good, all 218 testcases passed! |
---------------------------------
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 514484k/524208k available (1612k kernel code, 9184k reserved, 1175k data, 176k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 2824.42 BogoMIPS (lpj=5648858)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383f9ff c1cbf9ff 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0383f9ff c1cbf9ff 00000000 00000000 00000000 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 0383f9ff c1cbf9ff 00000000 00000420 00000000 00000000 00000000 Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD Athlon(TM) XP 1600+ stepping 02
Checking 'hlt' instruction... OK.
ACPI: Core revision 20060623
tbxface-0107 [01] load_tables : ACPI Tables successfully acquired
Parsing all Control Methods:
Table [DSDT](id 0005) - 356 Objects with 38 Devices 115 Methods 24 Regions
ACPI Namespace successfully loaded at root c053e5f0
ACPI: setting ELCR to 0200 (from 0c20)
evxfevnt-0089 [02] enable : Transition to ACPI mode successful
checking if image is initramfs... it is
Freeing initrd memory: 224k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf1180, last bus=1
Setting up standard PCI resources
evgpeblk-0951 [04] ev_create_gpe_block : GPE 00 to 0F [_GPE] 2 regs on int 0x9
evgpeblk-1048 [03] ev_initialize_gpe_bloc: Found 4 Wake, Enabled 0 Runtime GPEs in this block Completing Region/Field/Buffer/Package initialization:....................................................... Initialized 23/24 Regions 2/2 Fields 19/19 Buffers 11/14 Packages (365 nodes)
Initializing Device/Processor/Thermal objects by executing _INI methods:
Executed 0 _INI methods requiring 0 _STA executions (examined 41 objects)
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
PCI quirk: region e200-e27f claimed by vt82c686 HW-mon
PCI quirk: region e800-e80f claimed by vt82c686 SMB
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
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: c6000000-c7efffff
PREFETCH window: c7f00000-cfffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 7, 655360 bytes)
TCP bind hash table entries: 8192 (order: 6, 360448 bytes)
TCP: Hash tables configured (established 16384 bind 8192)
TCP reno registered
Simple Boot Flag at 0x3a set to 0x1
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Applying VIA southbridge workaround.
PCI: Disabling Via external APIC routing
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 16 throttling states)
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
http://www.scyld.com/network/ne2k-pci.html
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
eth0: RealTek RTL-8029 found at 0xa400, IRQ 10, 00:40:95:46:6E:2D.
netconsole: device eth0 not up yet, forcing it
netconsole: carrier detect appears untrustworthy, waiting 4 seconds

=================================
[ INFO: inconsistent lock state ]
---------------------------------
inconsistent {in-softirq-W} -> {softirq-on-W} usage. swapper/1 [HC0[0]:SC0[0]:HE1:SE1] takes:
(&dev->_xmit_lock){-+..}, at: [<c0252bcb>] netpoll_send_skb+0x6b/0xdb
{in-softirq-W} state was registered at:

  [<c012cfb3>] lock_acquire+0x60/0x80
  [<c02923a0>] _spin_lock+0x19/0x28
  [<c02547dd>] dev_watchdog+0x11/0xaf
  [<c011df77>] run_timer_softirq+0xed/0x145
  [<c011b0c9>] __do_softirq+0x46/0x9c
  [<c0104fc1>] do_softirq+0x4d/0xab
irq event stamp: 616842
hardirqs last  enabled at (616841): [<c0292668>] _spin_unlock_irqrestore+0x36/0x3c
hardirqs last disabled at (616842): [<c02926b9>] _spin_lock_irqsave+0xf/0x32
softirqs last  enabled at (616802): [<c024afd5>] dev_mc_upload+0x36/0x3a
softirqs last disabled at (616798): [<c02923ba>] _spin_lock_bh+0xb/0x2d

other info that might help us debug this:
1 lock held by swapper/1:
#0: (&dev->_xmit_lock){-+..}, at: [<c0252bcb>] netpoll_send_skb+0x6b/0xdb

stack backtrace:
 [<c0104d2c>] show_trace+0xd/0x10
 [<c0104d48>] dump_stack+0x19/0x1d
 [<c012b5cd>] print_usage_bug+0x1cc/0x1d9
 [<c012c15c>] mark_lock+0x22d/0x349
 [<c012c2bf>] mark_held_locks+0x47/0x65
 [<c012c468>] trace_hardirqs_on+0xef/0x119
 [<c022395a>] ei_start_xmit+0x242/0x260
 [<c0252be9>] netpoll_send_skb+0x89/0xdb
 [<c02538a6>] netpoll_send_udp+0x1fd/0x207
 [<c0223b18>] write_msg+0x42/0x6a
 [<c01167f3>] __call_console_drivers+0x3b/0x48
 [<c0116854>] _call_console_drivers+0x54/0x58
 [<c0116a0c>] release_console_sem+0x118/0x1ed
 [<c0116d77>] register_console+0x190/0x197
 [<c0223ac2>] init_netconsole+0x4e/0x62
 [<c0100378>] init+0x88/0x1e1
 [<c0101005>] kernel_thread_helper+0x5/0xb

netconsole: network logging started
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
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
TCP bic registered
NET: Registered protocol family 1
Using IPI Shortcut mode
ACPI: (supports S0 S1 S3 S4 S5)
BIOS EDD facility v0.16 2004-Jun-25, 2 devices found
Freeing unused kernel memory: 176k freed
Write protecting the kernel read-only data: 698k
Time: tsc clocksource has been installed.
VP_IDE: IDE controller at PCI slot 0000:00:04.1
Device `[IDE0]' is not power manageable
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:04.1

    ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:DMA

Probing IDE interface ide0...
Time: acpi_pm clocksource has been installed.
input: AT Translated Set 2 keyboard as /class/input/input0
input: ImExPS/2 Generic Explorer Mouse as /class/input/input1
hda: ST340016A, ATA DISK drive
hdb: Maxtor 6Y080L0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes not supported
hda: hda1 hda2 hda3 < hda5 hda6 hda7 > hda4
hdb: max request size: 128KiB
hdb: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hdb: cache flushes supported
hdb: hdb1 hdb2 < hdb5 hdb6 hdb7 hdb8 hdb9 >
Probing IDE interface ide1...
hdc: HL-DT-ST DVDRAM GSA-4165B, ATAPI CD/DVD-ROM drive
hdd: CD-950E/AKU, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
device-mapper: ioctl: 4.8.0-ioctl (2006-06-24) initialised: [email protected]
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v3.0
Device `[USB0]' is not power manageable
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:00:04.2[D] -> Link [LNKD] -> GSI 5 (level, low) -> IRQ 5
uhci_hcd 0000:00:04.2: UHCI Host Controller
uhci_hcd 0000:00:04.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:04.2: irq 5, io base 0x0000d400
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-rc1-mm1 uhci_hcd
usb usb1: SerialNumber: 0000:00:04.2
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Device `[USB1]' is not power manageable
ACPI: PCI Interrupt 0000:00:04.3[D] -> Link [LNKD] -> GSI 5 (level, low) -> IRQ 5
uhci_hcd 0000:00:04.3: UHCI Host Controller
uhci_hcd 0000:00:04.3: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:04.3: irq 5, io base 0x0000d000
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-rc1-mm1 uhci_hcd
usb usb2: SerialNumber: 0000:00:04.3
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:09.0[A] -> Link [LNKD] -> GSI 5 (level, low) -> IRQ 5
usb 1-2: new low speed USB device using uhci_hcd and address 2
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[5] MMIO=[c5800000-c58007ff] Max Packet=[2048] IR/IT contexts=[8/8]
usb 1-2: new device found, idVendor=044f, idProduct=b303
usb 1-2: new device strings: Mfr=4, Product=30, SerialNumber=0
usb 1-2: Product: FireStorm Dual Analog 2
usb 1-2: Manufacturer: THRUSTMASTER
usb 1-2: configuration #1 chosen from 1 choice
ohci1394: fw-host0: Running dma failed because Node ID is not valid
input: THRUSTMASTER FireStorm Dual Analog 2 as /class/input/input2
input: USB HID v1.10 Gamepad [THRUSTMASTER FireStorm Dual Analog 2] on usb-0000:00:04.2-2
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
ohci1394: fw-host0: AT dma reset ctx=0, aborting transmission
ieee1394: Current remote IRM is not 1394a-2000 compliant, resetting...
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected VIA Twister-K/KT133x/KM133 chipset
agpgart: AGP aperture is 256M @ 0xd0000000
input: PC Speaker as /class/input/input3
ieee1394: Host added: ID:BUS[0-00:1023] GUID[00308d0120e085ca]
Using specific hotkey driver
EXT3 FS on dm-4, internal journal
Adding 257000k swap on /dev/hdb6. Priority:1 extents:1 across:257000k
Adding 64220k swap on /dev/hda5. Priority:2 extents:1 across:64220k
Adding 795208k swap on /dev/hdb7. Priority:2 extents:1 across:795208k
ReiserFS: dm-1: found reiserfs format "3.6" with standard journal
ReiserFS: dm-1: using ordered data mode
ReiserFS: dm-1: journal params: device dm-1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: dm-1: checking transaction log (dm-1)
ReiserFS: dm-1: Using r5 hash to sort names
Loading Reiser4. See www.namesys.com for a description of Reiser4.
ps_hash_table: 32 buckets
d_cursor_hash_table: 256 buckets
z_hash_table: 8192 buckets
z_hash_table: 8192 buckets
j_hash_table: 16384 buckets
loading reiser4 bitmap......done (33 jiffies)
ReiserFS: hda7: found reiserfs format "3.6" with standard journal
ReiserFS: hda7: using ordered data mode
ReiserFS: hda7: journal params: device hda7, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda7: checking transaction log (hda7)
ReiserFS: hda7: Using r5 hash to sort names
ReiserFS: dm-0: found reiserfs format "3.6" with standard journal
ReiserFS: dm-0: using ordered data mode
ReiserFS: dm-0: journal params: device dm-0, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: dm-0: checking transaction log (dm-0)
ReiserFS: dm-0: Using r5 hash to sort names
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ReiserFS: dm-6: found reiserfs format "3.6" with standard journal
ReiserFS: dm-6: using ordered data mode
ReiserFS: dm-6: journal params: device dm-6, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: dm-6: checking transaction log (dm-6)
ReiserFS: dm-6: Using r5 hash to sort names
loop: loaded (max 8 devices)
hdc: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 48X CD-ROM drive, 128kB Cache, DMA
hda: cache flushes not supported
Using specific hotkey driver
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 5 (level, low) -> IRQ 5
NET: Registered protocol family 17
zcip uses obsolete (PF_INET,SOCK_PACKET)
device eth0 entered promiscuous mode
device eth0 left promiscuous mode
martian source 255.255.255.255 from 82.64.105.254, on dev eth0
ll header: ff:ff:ff:ff:ff:ff:00:07:cb:0e:8e:f9:08:00

#
# Automatically generated make config: don't edit # Linux kernel version: 2.6.18-rc1-mm1
# Sun Jul 9 19:03:00 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_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=y
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
CONFIG_SYSCTL=y
# CONFIG_UTS_NS is not set
# CONFIG_AUDIT is not set
# CONFIG_IKCONFIG is not set
# CONFIG_RELAY is not set
CONFIG_INITRAMFS_SOURCE=""
CONFIG_KLIBC_ERRLIST=y
CONFIG_KLIBC_ZLIB=y
CONFIG_UID16=y
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_EMBEDDED=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_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_LBD is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set

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

#
# Processor type and features
#
# CONFIG_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 is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
CONFIG_MK7=y
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=6
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_USE_3DNOW=y
CONFIG_X86_TSC=y
CONFIG_HPET_TIMER=y
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=m
CONFIG_X86_MCE_P4THERMAL=y
CONFIG_VM86=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
CONFIG_X86_REBOOTFIXUPS=y
# CONFIG_MICROCODE is not set
CONFIG_X86_MSR=m
# CONFIG_X86_CPUID is not set

#
# Firmware Drivers
#
CONFIG_EDD=y
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
CONFIG_VMSPLIT_3G=y
# CONFIG_VMSPLIT_3G_OPT is not set
# CONFIG_VMSPLIT_2G is not set
# CONFIG_VMSPLIT_1G is not set
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_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=y
# CONFIG_DEBUG_READAHEAD is not set
# CONFIG_READAHEAD_HIT_FEEDBACK is not set
# CONFIG_READAHEAD_SMOOTH_AGING is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_EFI is not set
CONFIG_REGPARM=y
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=y
CONFIG_PHYSICAL_START=0x100000
# CONFIG_COMPAT_VDSO is not set

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
CONFIG_PM_LEGACY=y
# CONFIG_PM_DEBUG is not set
CONFIG_SOFTWARE_SUSPEND=y
CONFIG_PM_STD_PARTITION="/dev/hdb6"

#
# ACPI (Advanced Configuration and Power Interface) Support #
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
# CONFIG_ACPI_SLEEP_PROC_SLEEP is not set CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_HOTKEY=m
CONFIG_ACPI_FAN=y
# CONFIG_ACPI_DOCK is not set CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_ATLAS is not set
# CONFIG_ACPI_IBM is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_SONY is not set CONFIG_ACPI_BLACKLIST_YEAR=0
CONFIG_ACPI_DEBUG=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
# CONFIG_ACPI_CONTAINER is not set
# CONFIG_ACPI_SBS is not set

#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
# CONFIG_PCIEPORTBUS is not set
# CONFIG_PCI_MSI is not set
# CONFIG_PCI_DEBUG is not set
CONFIG_ISA_DMA_API=y
CONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set

#
# PCCARD (PCMCIA/CardBus) support
#
# CONFIG_PCCARD is not set

#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set

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

#
# Networking
#
CONFIG_NET=y

#
# Networking options
#
# CONFIG_NETDEBUG is not set
CONFIG_PACKET=m
# CONFIG_PACKET_MMAP is not set
CONFIG_UNIX=y
CONFIG_XFRM=y
CONFIG_XFRM_USER=m
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_ASK_IP_FIB_HASH=y
# CONFIG_IP_FIB_TRIE is not set
CONFIG_IP_FIB_HASH=y
# CONFIG_IP_MULTIPLE_TABLES is not set
# CONFIG_IP_ROUTE_MULTIPATH is not set
CONFIG_IP_ROUTE_VERBOSE=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
CONFIG_SYN_COOKIES=y
CONFIG_INET_AH=m
CONFIG_INET_ESP=m
CONFIG_INET_IPCOMP=m
CONFIG_INET_XFRM_TUNNEL=m
CONFIG_INET_TUNNEL=m
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
CONFIG_INET_DIAG=m
CONFIG_INET_TCP_DIAG=m
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_BIC=y

#
# IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
# CONFIG_IPV6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
# CONFIG_NETWORK_SECMARK is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set

#
# Core Netfilter Configuration
#
# CONFIG_NETFILTER_NETLINK is not set
# CONFIG_NETFILTER_XTABLES is not set

#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=m
# CONFIG_IP_NF_CT_ACCT is not set
# CONFIG_IP_NF_CONNTRACK_MARK is not set
# CONFIG_IP_NF_CONNTRACK_EVENTS is not set
# CONFIG_IP_NF_CT_PROTO_SCTP is not set
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_IRC=m
# CONFIG_IP_NF_NETBIOS_NS is not set
CONFIG_IP_NF_TFTP=m
CONFIG_IP_NF_AMANDA=m
# CONFIG_IP_NF_PPTP is not set
# CONFIG_IP_NF_H323 is not set
# CONFIG_IP_NF_SIP is not set
CONFIG_IP_NF_QUEUE=m

#
# 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=y
CONFIG_NET_SCH_CLK_JIFFIES=y
# CONFIG_NET_SCH_CLK_GETTIMEOFDAY is not set
# CONFIG_NET_SCH_CLK_CPU is not set

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

#
# Classification
#
CONFIG_NET_CLS=y
CONFIG_NET_CLS_BASIC=m
CONFIG_NET_CLS_TCINDEX=m
CONFIG_NET_CLS_ROUTE4=m
CONFIG_NET_CLS_ROUTE=y
CONFIG_NET_CLS_FW=m
CONFIG_NET_CLS_U32=m
CONFIG_CLS_U32_PERF=y
CONFIG_CLS_U32_MARK=y
CONFIG_NET_CLS_RSVP=m
# CONFIG_NET_CLS_RSVP6 is not set
# CONFIG_NET_EMATCH is not set
# CONFIG_NET_CLS_ACT is not set
CONFIG_NET_CLS_POLICE=y
# CONFIG_NET_CLS_IND is not set
CONFIG_NET_ESTIMATOR=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_IEEE80211 is not set
CONFIG_WIRELESS_EXT=y

#
# Device Drivers
#

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

#
# Connector - unified userspace <-> kernelspace linker #
# CONFIG_CONNECTOR is not set

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

#
# Parallel port support
#
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
# CONFIG_PARPORT_PC_FIFO is not set
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_AX88796 is not set
CONFIG_PARPORT_1284=y

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

#
# Block devices
#
CONFIG_BLK_DEV_FD=m
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=m
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SX8 is not set
CONFIG_BLK_DEV_UB=m
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_BLK_DEV_INITRD=y
CONFIG_CDROM_PKTCDVD=m
CONFIG_CDROM_PKTCDVD_BUFFERS=8
# CONFIG_CDROM_PKTCDVD_WCACHE is not set
# CONFIG_ATA_OVER_ETH is not set

#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_IDE_MAX_HWIFS=2
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=m
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set CONFIG_BLK_DEV_IDESCSI=m
# CONFIG_IDE_TASK_IOCTL is not set

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=m
# 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 is not set
# 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=y
# CONFIG_IDEDMA_ONLYDISK 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 is not set
# 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=m
# 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=y
# CONFIG_BLK_DEV_HD is not set

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

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

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

#
# SCSI Transports
#
CONFIG_SCSI_SPI_ATTRS=m
CONFIG_SCSI_FC_ATTRS=m
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_DOMAIN_ATTRS 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_SATA is not set
# CONFIG_SCSI_HPTIOP is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_STEX is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_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

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

#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=m
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
# CONFIG_MD_RAID10 is not set
# CONFIG_MD_RAID456 is not set
# CONFIG_MD_MULTIPATH is not set
# CONFIG_MD_FAULTY is not set
CONFIG_BLK_DEV_DM=m
CONFIG_DM_CRYPT=m
# CONFIG_DM_SNAPSHOT is not set
CONFIG_DM_MIRROR=m
# CONFIG_DM_ZERO is not set
# CONFIG_DM_MULTIPATH is not set

#
# Fusion MPT device support
#
# CONFIG_FUSION is not set
# CONFIG_FUSION_SPI is not set
# CONFIG_FUSION_FC is not set
# CONFIG_FUSION_SAS is not set

#
# IEEE 1394 (FireWire) support
#
CONFIG_IEEE1394=m

#
# Subsystem Options
#
# CONFIG_IEEE1394_VERBOSEDEBUG is not set
CONFIG_IEEE1394_OUI_DB=y
# CONFIG_IEEE1394_EXTRA_CONFIG_ROMS is not set
# CONFIG_IEEE1394_EXPORT_FULL_API is not set

#
# Device Drivers
#
# CONFIG_IEEE1394_PCILYNX is not set
CONFIG_IEEE1394_OHCI1394=m

#
# Protocol Drivers
#
CONFIG_IEEE1394_VIDEO1394=m
# CONFIG_IEEE1394_SBP2 is not set
# CONFIG_IEEE1394_ETH1394 is not set
CONFIG_IEEE1394_DV1394=m
CONFIG_IEEE1394_RAWIO=m

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Network device support
#
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
CONFIG_TUN=m

#
# ARCnet devices
#
# CONFIG_ARCNET is not set

#
# PHY device support
#
# CONFIG_PHYLIB is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MII=m
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_CASSINI is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_B44 is not set
# CONFIG_FORCEDETH is not set
# CONFIG_CS89x0 is not set
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
CONFIG_NE2K_PCI=y
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_NET_POCKET is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SIS190 is not set
# CONFIG_SKGE is not set
# CONFIG_SKY2 is not set
# CONFIG_SK98LIN is not set
# CONFIG_VIA_VELOCITY is not set
# CONFIG_TIGON3 is not set
# CONFIG_BNX2 is not set
# CONFIG_QLA3XXX is not set

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

#
# Obsolete Wireless cards support (pre-802.11)
#
# CONFIG_STRIP is not set
# CONFIG_ARLAN is not set
# CONFIG_WAVELAN is not set

#
# Wireless 802.11b ISA/PCI cards support
#
# CONFIG_IPW2100 is not set
# CONFIG_IPW2200 is not set
# CONFIG_AIRO is not set
# CONFIG_HERMES is not set
# CONFIG_ATMEL is not set

#
# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support #
CONFIG_PRISM54=m
# CONFIG_USB_ZD1201 is not set
# CONFIG_HOSTAP is not set
# CONFIG_ACX is not set CONFIG_NET_WIRELESS=y

#
# Wan interfaces
#
# CONFIG_WAN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
CONFIG_PPP=m
# CONFIG_PPP_MULTILINK is not set
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=m
CONFIG_PPP_SYNC_TTY=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
# CONFIG_PPP_MPPE is not set
CONFIG_PPPOE=m
# CONFIG_SLIP is not set
# CONFIG_NET_FC is not set
# CONFIG_SHAPER is not set
CONFIG_NETCONSOLE=y
CONFIG_NETPOLL=y
# CONFIG_NETPOLL_RX is not set
# CONFIG_NETPOLL_TRAP is not set
CONFIG_NET_POLL_CONTROLLER=y

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_EFFECTS is not set

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

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_INPORT is not set
# CONFIG_MOUSE_LOGIBM is not set
# CONFIG_MOUSE_PC110PAD is not set
# CONFIG_MOUSE_VSXXXAA is not set
CONFIG_INPUT_JOYSTICK=y
CONFIG_JOYSTICK_ANALOG=m
# CONFIG_JOYSTICK_A3D is not set
# CONFIG_JOYSTICK_ADI is not set
# CONFIG_JOYSTICK_COBRA is not set
# CONFIG_JOYSTICK_GF2K is not set
# CONFIG_JOYSTICK_GRIP is not set
# CONFIG_JOYSTICK_GRIP_MP is not set
# CONFIG_JOYSTICK_GUILLEMOT is not set
# CONFIG_JOYSTICK_INTERACT is not set
# CONFIG_JOYSTICK_SIDEWINDER is not set
# CONFIG_JOYSTICK_TMDC is not set
# CONFIG_JOYSTICK_IFORCE is not set
# CONFIG_JOYSTICK_WARRIOR is not set
# CONFIG_JOYSTICK_MAGELLAN is not set
# CONFIG_JOYSTICK_SPACEORB is not set
# CONFIG_JOYSTICK_SPACEBALL is not set
# CONFIG_JOYSTICK_STINGER is not set
# CONFIG_JOYSTICK_TWIDJOY is not set
# CONFIG_JOYSTICK_DB9 is not set
# CONFIG_JOYSTICK_GAMECON is not set
# CONFIG_JOYSTICK_TURBOGRAFX is not set
# CONFIG_JOYSTICK_JOYDUMP is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=m
# CONFIG_INPUT_WISTRON_BTNS is not set
# CONFIG_INPUT_UINPUT is not set

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

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

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

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=m
# CONFIG_SERIAL_JSM is not set
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set
CONFIG_PRINTER=m
# CONFIG_LP_CONSOLE is not set
# CONFIG_PPDEV is not set
# CONFIG_TIPAR is not set

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
CONFIG_RTC=m
# CONFIG_GEN_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=m
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
CONFIG_AGP_VIA=m
# CONFIG_AGP_EFFICEON is not set
CONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_MWAVE is not set
# CONFIG_PC8736x_GPIO is not set
# CONFIG_NSC_GPIO is not set
# CONFIG_CS5535_GPIO is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HPET is not set
# CONFIG_HANGCHECK_TIMER is not set

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

#
# I2C support
#
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=m

#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=m
CONFIG_I2C_ALGOPCF=m
CONFIG_I2C_ALGOPCA=m

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

#
# Miscellaneous I2C Chip support
#
# CONFIG_SENSORS_DS1337 is not set
# CONFIG_SENSORS_DS1374 is not set
# CONFIG_SENSORS_EEPROM is not set
# CONFIG_SENSORS_PCF8574 is not set
# CONFIG_SENSORS_PCA9539 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_SENSORS_MAX6875 is not set
# CONFIG_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
#

#
# Hardware Monitoring support
#
CONFIG_HWMON=y
CONFIG_HWMON_VID=m
# CONFIG_SENSORS_ABITUGURU is not set
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_FSCHER is not set
# CONFIG_SENSORS_FSCPOS is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
CONFIG_SENSORS_LM80=m
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
CONFIG_SENSORS_VIA686A=m
# CONFIG_SENSORS_VT8231 is not set
CONFIG_SENSORS_W83781D=m
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_HWMON_DEBUG_CHIP is not set

#
# Misc devices
#
# CONFIG_IBM_ASM is not set

#
# Multimedia devices
#
CONFIG_VIDEO_DEV=m
# CONFIG_VIDEO_V4L1 is not set
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_V4L2=y

#
# Video Capture Adapters
#

#
# Video Capture Adapters
#
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_VIVI is not set
# CONFIG_VIDEO_BT848 is not set
# CONFIG_VIDEO_CPIA2 is not set
# CONFIG_VIDEO_SAA5249 is not set
# CONFIG_TUNER_3036 is not set
# CONFIG_VIDEO_SAA7134 is not set
# CONFIG_VIDEO_CX88 is not set

#
# Encoders and Decoders
#
# CONFIG_VIDEO_MSP3400 is not set
# CONFIG_VIDEO_CS53L32A is not set
# CONFIG_VIDEO_TLV320AIC23B is not set
# CONFIG_VIDEO_WM8775 is not set
# CONFIG_VIDEO_WM8739 is not set
# CONFIG_VIDEO_CX2341X is not set
# CONFIG_VIDEO_CX25840 is not set
# CONFIG_VIDEO_SAA711X is not set
# CONFIG_VIDEO_SAA7127 is not set
# CONFIG_VIDEO_UPD64031A is not set
# CONFIG_VIDEO_UPD64083 is not set

#
# V4L USB devices
#
# CONFIG_VIDEO_PVRUSB2 is not set
# CONFIG_USB_QUICKCAM_MESSENGER is not set

#
# Radio Adapters
#

#
# 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_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 is not set
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
# CONFIG_FB_IMAC is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not set
CONFIG_FB_NVIDIA=m
CONFIG_FB_NVIDIA_I2C=y
CONFIG_FB_RIVA=m
CONFIG_FB_RIVA_I2C=y
# CONFIG_FB_RIVA_DEBUG 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 is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_CYBLA is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_VIRTUAL is not set

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

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

#
# Sound
#
CONFIG_SOUND=m

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

#
# Generic devices
#
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_AC97_BUS=m
# 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=m
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDA_INTEL is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set

#
# 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=y
CONFIG_USB_DYNAMIC_MINORS=y
CONFIG_USB_SUSPEND=y
# CONFIG_USB_OTG is not set

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

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

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

#

# may also be needed; see USB_STORAGE Help for more information
#
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_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_LIBUSUAL is not set

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

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_ACECAD is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_TOUCHSCREEN is not set
# CONFIG_USB_YEALINK is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set
# CONFIG_USB_ATI_REMOTE2 is not set
# CONFIG_USB_KEYSPAN_REMOTE is not set
# CONFIG_USB_APPLETOUCH is not set

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

#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_MON is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_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_GOTEMP is not set
# CONFIG_USB_PHIDGETKIT is not set
# CONFIG_USB_PHIDGETSERVO 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

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

#
# Reporting subsystems
#
# CONFIG_EDAC_DEBUG is not set
CONFIG_EDAC_MM_EDAC=m
CONFIG_EDAC_AMD76X=m
CONFIG_EDAC_E7XXX=m
# CONFIG_EDAC_E752X is not set
CONFIG_EDAC_I82875P=m
# CONFIG_EDAC_I82860 is not set
# CONFIG_EDAC_K8 is not set
CONFIG_EDAC_R82600=m
CONFIG_EDAC_POLL=y

#
# Real Time Clock
#
# CONFIG_RTC_CLASS is not set

#
# DMA Engine support
#
CONFIG_DMA_ENGINE=y

#
# DMA Clients
#
CONFIG_NET_DMA=y

#
# DMA Devices
#
# CONFIG_INTEL_IOATDMA is not set

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

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

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

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

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Network File Systems
#
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
CONFIG_NFS_V4=y
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=m
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=m
CONFIG_SUNRPC_GSS=m
CONFIG_RPCSEC_GSS_KRB5=m
# CONFIG_RPCSEC_GSS_SPKM3 is not set
CONFIG_SMB_FS=m
# CONFIG_SMB_NLS_DEFAULT is not set
CONFIG_CIFS=m
CONFIG_CIFS_STATS=y
# CONFIG_CIFS_STATS2 is not set
# CONFIG_CIFS_WEAK_PW_HASH is not set
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_EXPERIMENTAL is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
# CONFIG_9P_FS is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
# CONFIG_EFI_PARTITION is not set

#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=m
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=m
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ASCII=m
CONFIG_NLS_ISO8859_1=m
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=m
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set

#
# 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=y
CONFIG_UNUSED_SYMBOLS=y
CONFIG_DEBUG_SHIRQ=y
CONFIG_DEBUG_KERNEL=y
CONFIG_LOG_BUF_SHIFT=15
CONFIG_DETECT_SOFTLOCKUP=y
# CONFIG_SCHEDSTATS is not set
CONFIG_DEBUG_SLAB=y
CONFIG_DEBUG_SLAB_LEAK=y
CONFIG_DEBUG_RT_MUTEXES=y
CONFIG_DEBUG_PI_LIST=y
# CONFIG_RT_MUTEX_TESTER is not set
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
CONFIG_DEBUG_RWSEMS=y
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_PROVE_LOCKING=y
CONFIG_LOCKDEP=y
CONFIG_DEBUG_LOCKDEP=y
CONFIG_TRACE_IRQFLAGS=y
CONFIG_DEBUG_SPINLOCK_SLEEP=y
CONFIG_DEBUG_LOCKING_API_SELFTESTS=y
CONFIG_STACKTRACE=y
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_INFO is not set
# CONFIG_PAGE_OWNER is not set
CONFIG_DEBUG_FS=y
# CONFIG_DEBUG_VM is not set
CONFIG_FRAME_POINTER=y
CONFIG_UNWIND_INFO=y
# CONFIG_STACK_UNWIND is not set
# CONFIG_PROFILE_LIKELY is not set
CONFIG_FORCED_INLINING=y
# CONFIG_DEBUG_SYNCHRO_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not set
CONFIG_EARLY_PRINTK=y
CONFIG_DEBUG_STACKOVERFLOW=y
CONFIG_DEBUG_STACK_USAGE=y

#
# Page alloc debug is incompatible with Software Suspend on i386 #
CONFIG_DEBUG_RODATA=y
CONFIG_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=y
CONFIG_CRYPTO_MANAGER=m
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not set
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=m
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_WP512 is not set
# CONFIG_CRYPTO_TGR192 is not set
CONFIG_CRYPTO_DES=m
CONFIG_CRYPTO_BLOWFISH=m
# CONFIG_CRYPTO_TWOFISH is not set
CONFIG_CRYPTO_TWOFISH_COMMON=m
CONFIG_CRYPTO_TWOFISH_586=m
# CONFIG_CRYPTO_SERPENT is not set
CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_AES_586=m
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_TEA is not set
CONFIG_CRYPTO_ARC4=m
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_DEFLATE=m
CONFIG_CRYPTO_MICHAEL_MIC=m
CONFIG_CRYPTO_CRC32C=m
# CONFIG_CRYPTO_TEST is not set

#
# Hardware crypto devices
#
# CONFIG_CRYPTO_DEV_PADLOCK is not set

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

#77 lore raw

Re: 2.6.18-rc1-mm1 inconsistent lock state in netpoll_send_skb

Quoted 1 line · Laurent Riffard

ei_start_xmit

please try this patch

---
 drivers/net/8390.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/net/8390.c +5 -5
Index: linux-2.6.17-mm4/drivers/net/8390.c
===================================================================
@@ -299,7 +299,7 @@ static int ei_start_xmit(struct sk_buff 
 	 *	Slow phase with lock held.
 	 */
 	 
-	disable_irq_nosync(dev->irq);
+	disable_irq_nosync_lockdep(dev->irq);
 	
 	spin_lock(&ei_local->page_lock);
 	
@@ -338,7 +338,7 @@ static int ei_start_xmit(struct sk_buff 
 		netif_stop_queue(dev);
 		outb_p(ENISR_ALL, e8390_base + EN0_IMR);
 		spin_unlock(&ei_local->page_lock);
-		enable_irq(dev->irq);
+		enable_irq_lockdep(dev->irq);
 		ei_local->stat.tx_errors++;
 		return 1;
 	}
@@ -379,7 +379,7 @@ static int ei_start_xmit(struct sk_buff 
 	outb_p(ENISR_ALL, e8390_base + EN0_IMR);
 	
 	spin_unlock(&ei_local->page_lock);
-	enable_irq(dev->irq);
+	enable_irq_lockdep(dev->irq);
 
 	dev_kfree_skb (skb);
 	ei_local->stat.tx_bytes += send_length;
@@ -505,9 +505,9 @@ irqreturn_t ei_interrupt(int irq, void *
 #ifdef CONFIG_NET_POLL_CONTROLLER
 void ei_poll(struct net_device *dev)
 {
-	disable_irq(dev->irq);
+	disable_irq_lockdep(dev->irq);
 	ei_interrupt(dev->irq, dev, NULL);
-	enable_irq(dev->irq);
+	enable_irq_lockdep(dev->irq);
 }
 #endif
 
#78 lore raw

Re: 2.6.18-rc1-mm1 inconsistent lock state in netpoll_send_skb

Quoted 41 lines · Arjan van de Ven
Quoted 1 line · Laurent Riffard

ei_start_xmit

please try this patch

---
 drivers/net/8390.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Index: linux-2.6.17-mm4/drivers/net/8390.c
===================================================================

drivers/net/8390.c +3 -3
@@ -299,7 +299,7 @@ static int ei_start_xmit(struct sk_buff 
 	 *	Slow phase with lock held.
 	 */
 
-	disable_irq_nosync(dev->irq);
+	disable_irq_nosync_lockdep(dev->irq);
 
 	spin_lock(&ei_local->page_lock);
 
@@ -338,7 +338,7 @@ static int ei_start_xmit(struct sk_buff 
 		netif_stop_queue(dev);
 		outb_p(ENISR_ALL, e8390_base + EN0_IMR);
 		spin_unlock(&ei_local->page_lock);
-		enable_irq(dev->irq);
+		enable_irq_lockdep(dev->irq);
 		ei_local->stat.tx_errors++;
 		return 1;
 	}
@@ -379,7 +379,7 @@ static int ei_start_xmit(struct sk_buff 
 	outb_p(ENISR_ALL, e8390_base + EN0_IMR);
 
 	spin_unlock(&ei_local->page_lock);
-	enable_irq(dev->irq);
+	enable_irq_lockdep(dev->irq);
 
 	dev_kfree_skb (skb);
 	ei_local->stat.tx_bytes += send_length;

drivers/net/8390.c irqreturn_t ei_interrupt(int irq, void * · line 512

Quoted 10 lines
drivers/net/8390.c +2 -2
@@ -505,9 +505,9 @@ irqreturn_t ei_interrupt(int irq, void *
 #ifdef CONFIG_NET_POLL_CONTROLLER
 void ei_poll(struct net_device *dev)
 {
-	disable_irq(dev->irq);
+	disable_irq_lockdep(dev->irq);
 	ei_interrupt(dev->irq, dev, NULL);
-	enable_irq(dev->irq);
+	enable_irq_lockdep(dev->irq);
 }
 #endif

Reversed (or previously applied) patch detected!

Wrong patch ? This one won't apply, it seems to be already applied to 2.6.18-rc1-mm1.

Signature · 1 line
laurent
#79 lore raw

Re: 2.6.18-rc1-mm1 inconsistent lock state in netpoll_send_skb

Quoted 4 lines

Reversed (or previously applied) patch detected!

Wrong patch ? This one won't apply, it seems to be already applied to 2.6.18-rc1-mm1.

ok these patches ought to fix this for real (sorry I don't have this hardware so I cannot actually do the testing)

I hope you have time to test these..

Greetings,
Arjan van de Ven

From: Arjan van de Ven <[email protected]>
Subject: lockdep: core, add enable/disable_irq_irqsave/irqrestore() APIs

Introduce the disable_irq_nosync_lockdep_irqsave() and enable_irq_lockdep_irqrestore() APIs. These are needed for NE2000; basically NE2000 calls disable_irq and enable_irq as locking against the IRQ handler, but both in cases where interrupts are on and off. This means that lockdep needs to track the old state of the virtual irq flags on disable_irq, and restore these at enable_irq time.

include/linux/interrupt.h +16 -0
Index: linux-2.6.18-rc1/include/linux/interrupt.h
===================================================================
@@ -123,6 +123,14 @@ static inline void disable_irq_nosync_lo
 #endif
 }
 
+static inline void disable_irq_nosync_lockdep_irqsave(unsigned int irq, unsigned long *flags)
+{
+	disable_irq_nosync(irq);
+#ifdef CONFIG_LOCKDEP
+	local_irq_save(*flags);
+#endif
+}
+
 static inline void disable_irq_lockdep(unsigned int irq)
 {
 	disable_irq(irq);
@@ -139,6 +147,14 @@ static inline void enable_irq_lockdep(un
 	enable_irq(irq);
 }
 
+static inline void enable_irq_lockdep_irqrestore(unsigned int irq, unsigned long *flags)
+{
+#ifdef CONFIG_LOCKDEP
+	local_irq_restore(*flags);
+#endif
+	enable_irq(irq);
+}
+
 /* IRQ wakeup (PM) control: */
 extern int set_irq_wake(unsigned int irq, unsigned int on);
 

From: Arjan van de Ven <[email protected]>
Subject: lockdep: annotate the ne2000 driver with the new disable_irq API addition

The ne2000 driver's xmit function gets called from netpoll with the _xmit_lock spinlock held as _irqsave. This means the xmit function needs to preserve this irq-off state throughout to avoid deadlock. It does, but we need to also tell lockdep that the function indeed does this by using the proper disable_irq annotation.

drivers/net/8390.c +3 -3
Index: linux-2.6.18-rc1/drivers/net/8390.c
===================================================================
@@ -299,7 +299,7 @@ static int ei_start_xmit(struct sk_buff 
 	 *	Slow phase with lock held.
 	 */
 	 
-	disable_irq_nosync_lockdep(dev->irq);
+	disable_irq_nosync_lockdep_irqsave(dev->irq, &flags);
 	
 	spin_lock(&ei_local->page_lock);
 	
@@ -338,7 +338,7 @@ static int ei_start_xmit(struct sk_buff 
 		netif_stop_queue(dev);
 		outb_p(ENISR_ALL, e8390_base + EN0_IMR);
 		spin_unlock(&ei_local->page_lock);
-		enable_irq_lockdep(dev->irq);
+		enable_irq_lockdep_irqrestore(dev->irq, &flags);
 		ei_local->stat.tx_errors++;
 		return 1;
 	}
@@ -379,7 +379,7 @@ static int ei_start_xmit(struct sk_buff 
 	outb_p(ENISR_ALL, e8390_base + EN0_IMR);
 	
 	spin_unlock(&ei_local->page_lock);
-	enable_irq_lockdep(dev->irq);
+	enable_irq_lockdep_irqrestore(dev->irq, &flags);
 
 	dev_kfree_skb (skb);
 	ei_local->stat.tx_bytes += send_length;
#80 lore raw

Re: 2.6.18-rc1-mm1 inconsistent lock state in netpoll_send_skb

Quoted 94 lines · Arjan van de Ven
Quoted 4 lines

Reversed (or previously applied) patch detected!

Wrong patch ? This one won't apply, it seems to be already applied to 2.6.18-rc1-mm1.

ok these patches ought to fix this for real (sorry I don't have this hardware so I cannot actually do the testing)

I hope you have time to test these..

Greetings,
Arjan van de Ven

From: Arjan van de Ven <[email protected]>
Subject: lockdep: core, add enable/disable_irq_irqsave/irqrestore() APIs

Introduce the disable_irq_nosync_lockdep_irqsave() and enable_irq_lockdep_irqrestore() APIs. These are needed for NE2000; basically NE2000 calls disable_irq and enable_irq as locking against the IRQ handler, but both in cases where interrupts are on and off. This means that lockdep needs to track the old state of the virtual irq flags on disable_irq, and restore these at enable_irq time.

Index: linux-2.6.18-rc1/include/linux/interrupt.h
===================================================================

include/linux/interrupt.h +16 -0
@@ -123,6 +123,14 @@ static inline void disable_irq_nosync_lo
 #endif
 }
 
+static inline void disable_irq_nosync_lockdep_irqsave(unsigned int irq, unsigned long *flags)
+{
+	disable_irq_nosync(irq);
+#ifdef CONFIG_LOCKDEP
+	local_irq_save(*flags);
+#endif
+}
+
 static inline void disable_irq_lockdep(unsigned int irq)
 {
 	disable_irq(irq);
@@ -139,6 +147,14 @@ static inline void enable_irq_lockdep(un
 	enable_irq(irq);
 }
 
+static inline void enable_irq_lockdep_irqrestore(unsigned int irq, unsigned long *flags)
+{
+#ifdef CONFIG_LOCKDEP
+	local_irq_restore(*flags);
+#endif
+	enable_irq(irq);
+}
+
 /* IRQ wakeup (PM) control: */
 extern int set_irq_wake(unsigned int irq, unsigned int on);
 

From: Arjan van de Ven <[email protected]>
Subject: lockdep: annotate the ne2000 driver with the new disable_irq API addition

The ne2000 driver's xmit function gets called from netpoll with the _xmit_lock spinlock held as _irqsave. This means the xmit function needs to preserve this irq-off state throughout to avoid deadlock. It does, but we need to also tell lockdep that the function indeed does this by using the proper disable_irq annotation.

Index: linux-2.6.18-rc1/drivers/net/8390.c
===================================================================

drivers/net/8390.c +2 -2
@@ -299,7 +299,7 @@ static int ei_start_xmit(struct sk_buff 
 	 *	Slow phase with lock held.
 	 */
 
-	disable_irq_nosync_lockdep(dev->irq);
+	disable_irq_nosync_lockdep_irqsave(dev->irq, &flags);
 
 	spin_lock(&ei_local->page_lock);
 
@@ -338,7 +338,7 @@ static int ei_start_xmit(struct sk_buff 
 		netif_stop_queue(dev);
 		outb_p(ENISR_ALL, e8390_base + EN0_IMR);
 		spin_unlock(&ei_local->page_lock);
-		enable_irq_lockdep(dev->irq);
+		enable_irq_lockdep_irqrestore(dev->irq, &flags);
 		ei_local->stat.tx_errors++;
 		return 1;
 	}

drivers/net/8390.c static int ei_start_xmit(struct sk_buff · line 385

Quoted 8 lines
drivers/net/8390.c +1 -1
@@ -379,7 +379,7 @@ static int ei_start_xmit(struct sk_buff 
 	outb_p(ENISR_ALL, e8390_base + EN0_IMR);
 
 	spin_unlock(&ei_local->page_lock);
-	enable_irq_lockdep(dev->irq);
+	enable_irq_lockdep_irqrestore(dev->irq, &flags);
 
 	dev_kfree_skb (skb);
 	ei_local->stat.tx_bytes += send_length;

Well, the warning did not go away:

=================================
[ INFO: inconsistent lock state ]
---------------------------------
inconsistent {in-softirq-W} -> {softirq-on-W} usage. swapper/1 [HC0[0]:SC0[0]:HE1:SE1] takes:
(&dev->_xmit_lock){-+..}, at: [<c0252bfb>] netpoll_send_skb+0x6b/0xdb
{in-softirq-W} state was registered at:

  [<c012cfb7>] lock_acquire+0x60/0x80
  [<c02923d0>] _spin_lock+0x19/0x28
  [<c025480d>] dev_watchdog+0x11/0xaf
  [<c011df77>] run_timer_softirq+0xed/0x145
  [<c011b0c9>] __do_softirq+0x46/0x9c
  [<c0104fc1>] do_softirq+0x4d/0xab
irq event stamp: 616419
hardirqs last  enabled at (616419): [<c0102c8b>] restore_nocheck+0x12/0x15
hardirqs last disabled at (616417): [<c011b0e2>] __do_softirq+0x5f/0x9c
softirqs last  enabled at (616418): [<c011b11a>] __do_softirq+0x97/0x9c
softirqs last disabled at (616413): [<c0104fc1>] do_softirq+0x4d/0xab

other info that might help us debug this:
no locks held by swapper/1.

stack backtrace:
 [<c0104d2c>] show_trace+0xd/0x10
 [<c0104d48>] dump_stack+0x19/0x1d
 [<c012b5d1>] print_usage_bug+0x1cc/0x1d9
 [<c012c160>] mark_lock+0x22d/0x349
 [<c012ca15>] __lock_acquire+0x463/0x9a5
 [<c012cfb7>] lock_acquire+0x60/0x80
 [<c02923d0>] _spin_lock+0x19/0x28
 [<c0252bfb>] netpoll_send_skb+0x6b/0xdb
 [<c02538d6>] netpoll_send_udp+0x1fd/0x207
 [<c0223b50>] write_msg+0x42/0x6a
 [<c01167f3>] __call_console_drivers+0x3b/0x48
 [<c0116854>] _call_console_drivers+0x54/0x58
 [<c0116a0c>] release_console_sem+0x118/0x1ed
 [<c0116d77>] register_console+0x190/0x197
 [<c0223afa>] init_netconsole+0x4e/0x62
 [<c0100378>] init+0x88/0x1e1
 [<c0101005>] kernel_thread_helper+0x5/0xb

FYI, here is a diff between previous dmesg and current one (with above patch applied). Please note the "+no locks held by swapper/1." line.

- renamed from dmesg-2.6.18-rc1-mm1 +27 -33
@@ -1,4 +1,4 @@
-Linux version 2.6.18-rc1-mm1 ([email protected]) (gcc version 4.1.1 20060330 (prerelease)) #67 Sun Jul 9 19:41:56 CEST 2006
+Linux version 2.6.18-rc1-mm1 ([email protected]) (gcc version 4.1.1 20060330 (prerelease)) #68 Tue Jul 11 23:13:20 CEST 2006
 BIOS-provided physical RAM map:
 sanitize start
 sanitize end
@@ -40,7 +40,7 @@
 ACPI: DSDT (v001   ASUS A7V133-C 0x00001000 MSFT 0x0100000b) @ 0x00000000
 ACPI: PM-Timer IO Port: 0xe408
 Allocating PCI resources starting at 30000000 (gap: 20000000:dfff0000)
-Detected 1410.216 MHz processor.
+Detected 1410.384 MHz processor.
 Built 1 zonelists.  Total pages: 131052
 Kernel command line: root=/dev/vglinux1/lvroot video=vesafb:ywrap,mtrr splash=silent resume=/dev/hdb6 [email protected]/,@192.168.0.1/00:0E:9B:91:ED:72
 netconsole: local port 6665
@@ -153,7 +153,7 @@
 Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
 Memory: 514484k/524208k available (1612k kernel code, 9184k reserved, 1175k data, 176k init, 0k highmem)
 Checking if this processor honours the WP bit even in supervisor mode... Ok.
-Calibrating delay using timer specific routine.. 2824.42 BogoMIPS (lpj=5648858)
+Calibrating delay using timer specific routine.. 2824.46 BogoMIPS (lpj=5648924)
 Mount-cache hash table entries: 512
 CPU: After generic identify, caps: 0383f9ff c1cbf9ff 00000000 00000000 00000000 00000000 00000000
 CPU: After vendor identify, caps: 0383f9ff c1cbf9ff 00000000 00000000 00000000 00000000 00000000
@@ -236,40 +236,39 @@
 ---------------------------------
 inconsistent {in-softirq-W} -> {softirq-on-W} usage.
 swapper/1 [HC0[0]:SC0[0]:HE1:SE1] takes:
- (&dev->_xmit_lock){-+..}, at: [<c0252bcb>] netpoll_send_skb+0x6b/0xdb
+ (&dev->_xmit_lock){-+..}, at: [<c0252bfb>] netpoll_send_skb+0x6b/0xdb
 {in-softirq-W} state was registered at:
-  [<c012cfb3>] lock_acquire+0x60/0x80
-  [<c02923a0>] _spin_lock+0x19/0x28
-  [<c02547dd>] dev_watchdog+0x11/0xaf
+  [<c012cfb7>] lock_acquire+0x60/0x80
+  [<c02923d0>] _spin_lock+0x19/0x28
+  [<c025480d>] dev_watchdog+0x11/0xaf
   [<c011df77>] run_timer_softirq+0xed/0x145
   [<c011b0c9>] __do_softirq+0x46/0x9c
   [<c0104fc1>] do_softirq+0x4d/0xab
-irq event stamp: 616842
-hardirqs last  enabled at (616841): [<c0292668>] _spin_unlock_irqrestore+0x36/0x3c
-hardirqs last disabled at (616842): [<c02926b9>] _spin_lock_irqsave+0xf/0x32
-softirqs last  enabled at (616802): [<c024afd5>] dev_mc_upload+0x36/0x3a
-softirqs last disabled at (616798): [<c02923ba>] _spin_lock_bh+0xb/0x2d
+irq event stamp: 616419
+hardirqs last  enabled at (616419): [<c0102c8b>] restore_nocheck+0x12/0x15
+hardirqs last disabled at (616417): [<c011b0e2>] __do_softirq+0x5f/0x9c
+softirqs last  enabled at (616418): [<c011b11a>] __do_softirq+0x97/0x9c
+softirqs last disabled at (616413): [<c0104fc1>] do_softirq+0x4d/0xab
 
 other info that might help us debug this:
-1 lock held by swapper/1:
- #0:  (&dev->_xmit_lock){-+..}, at: [<c0252bcb>] netpoll_send_skb+0x6b/0xdb
+no locks held by swapper/1.
 
 stack backtrace:
  [<c0104d2c>] show_trace+0xd/0x10
  [<c0104d48>] dump_stack+0x19/0x1d
- [<c012b5cd>] print_usage_bug+0x1cc/0x1d9
- [<c012c15c>] mark_lock+0x22d/0x349
- [<c012c2bf>] mark_held_locks+0x47/0x65
- [<c012c468>] trace_hardirqs_on+0xef/0x119
- [<c022395a>] ei_start_xmit+0x242/0x260
- [<c0252be9>] netpoll_send_skb+0x89/0xdb
- [<c02538a6>] netpoll_send_udp+0x1fd/0x207
- [<c0223b18>] write_msg+0x42/0x6a
+ [<c012b5d1>] print_usage_bug+0x1cc/0x1d9
+ [<c012c160>] mark_lock+0x22d/0x349
+ [<c012ca15>] __lock_acquire+0x463/0x9a5
+ [<c012cfb7>] lock_acquire+0x60/0x80
+ [<c02923d0>] _spin_lock+0x19/0x28
+ [<c0252bfb>] netpoll_send_skb+0x6b/0xdb
+ [<c02538d6>] netpoll_send_udp+0x1fd/0x207
+ [<c0223b50>] write_msg+0x42/0x6a
  [<c01167f3>] __call_console_drivers+0x3b/0x48
  [<c0116854>] _call_console_drivers+0x54/0x58
  [<c0116a0c>] release_console_sem+0x118/0x1ed
  [<c0116d77>] register_console+0x190/0x197
- [<c0223ac2>] init_netconsole+0x4e/0x62
+ [<c0223afa>] init_netconsole+0x4e/0x62
  [<c0100378>] init+0x88/0x1e1
  [<c0101005>] kernel_thread_helper+0x5/0xb
 netconsole: network logging started
@@ -347,8 +346,8 @@
 hub 2-0:1.0: USB hub found
 hub 2-0:1.0: 2 ports detected
 ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKD] -> GSI 5 (level, low) -> IRQ 5
-usb 1-2: new low speed USB device using uhci_hcd and address 2
 ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[5]  MMIO=[c5800000-c58007ff]  Max Packet=[2048]  IR/IT contexts=[8/8]
+usb 1-2: new low speed USB device using uhci_hcd and address 2
 usb 1-2: new device found, idVendor=044f, idProduct=b303
 usb 1-2: new device strings: Mfr=4, Product=30, SerialNumber=0
 usb 1-2: Product: FireStorm Dual Analog 2
@@ -359,14 +358,14 @@
 input: USB HID v1.10 Gamepad [THRUSTMASTER FireStorm Dual Analog 2] on usb-0000:00:04.2-2
 usbcore: registered new driver usbhid
 drivers/usb/input/hid-core.c: v2.6:USB HID core driver
-ohci1394: fw-host0: AT dma reset ctx=0, aborting transmission
-ieee1394: Current remote IRM is not 1394a-2000 compliant, resetting...
 Linux agpgart interface v0.101 (c) Dave Jones
 agpgart: Detected VIA Twister-K/KT133x/KM133 chipset
+ohci1394: fw-host0: AT dma reset ctx=0, aborting transmission
+ieee1394: Current remote IRM is not 1394a-2000 compliant, resetting...
 agpgart: AGP aperture is 256M @ 0xd0000000
 input: PC Speaker as /class/input/input3
-ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00308d0120e085ca]
 Using specific hotkey driver
+ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00308d0120e085ca]
 EXT3 FS on dm-4, internal journal
 Adding 257000k swap on /dev/hdb6.  Priority:1 extents:1 across:257000k
 Adding 64220k swap on /dev/hda5.  Priority:2 extents:1 across:64220k
@@ -382,7 +381,7 @@
 z_hash_table: 8192 buckets
 z_hash_table: 8192 buckets
 j_hash_table: 16384 buckets
-loading reiser4 bitmap......done (33 jiffies)
+loading reiser4 bitmap......done (31 jiffies)
 ReiserFS: hda7: found reiserfs format "3.6" with standard journal
 ReiserFS: hda7: using ordered data mode
 ReiserFS: hda7: journal params: device hda7, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
@@ -409,8 +408,3 @@
 Using specific hotkey driver
 ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 5 (level, low) -> IRQ 5
 NET: Registered protocol family 17
-zcip uses obsolete (PF_INET,SOCK_PACKET)
-device eth0 entered promiscuous mode
-device eth0 left promiscuous mode
-martian source 255.255.255.255 from 82.64.105.254, on dev eth0
-ll header: ff:ff:ff:ff:ff:ff:00:07:cb:0e:8e:f9:08:00
Signature · 1 line
laurent
#81 lore raw

Re: 2.6.18-rc1-mm1 reiser4 module calls generic_file_read

In reply to Andrew Morton

generic_file_read has been dropped from 2.6.18-rc1-mm1. This patch works for me. Does it look good to reiser4 devloppers ?

---
 fs/reiser4/plugin/file/cryptcompress.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
fs/reiser4/plugin/file/cryptcompress.c +1 -1
Index: linux-2.6-mm/fs/reiser4/plugin/file/cryptcompress.c
===================================================================
@@ -2883,7 +2883,7 @@ ssize_t read_cryptcompress(struct file *
 	down_read(&info->lock);
 	LOCK_CNT_INC(inode_sem_r);
 
-	result = generic_file_read(file, buf, size, off);
+	result = do_sync_read(file, buf, size, off);
 
 	up_read(&info->lock);
 	LOCK_CNT_DEC(inode_sem_r);
#82 lore raw

Re: 2.6.18-rc1-mm1 reiser4 module calls generic_file_read

Quoted 2 lines · Laurent Riffard

generic_file_read has been dropped from 2.6.18-rc1-mm1. This patch works for me. Does it look good to reiser4 devloppers ?

No, it does not.
I have attached the correct one.
Andrew, please apply

Thanks,
Edward.

Use do_sync_read() instead of generic_file_read()

---
 linux-2.6.18-rc1-mm1/fs/reiser4/plugin/file/cryptcompress.c |    2 +-
 linux-2.6.18-rc1-mm1/fs/reiser4/plugin/object.c             |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
fs/reiser4/plugin/file/cryptcompress.c renamed from fs/reiser4/plugin/file/cryptcompress.c.orig +1 -1
Index: linux-2.6.18-rc1-mm1/fs/reiser4/plugin/file/cryptcompress.c
===================================================================
@@ -2883,7 +2883,7 @@
 	down_read(&info->lock);
 	LOCK_CNT_INC(inode_sem_r);
 
-	result = generic_file_read(file, buf, size, off);
+	result = do_sync_read(file, buf, size, off);
 
 	up_read(&info->lock);
 	LOCK_CNT_DEC(inode_sem_r);
fs/reiser4/plugin/object.c renamed from fs/reiser4/plugin/object.c.orig +1 -0
Index: linux-2.6.18-rc1-mm1/fs/reiser4/plugin/object.c
===================================================================
@@ -305,6 +305,7 @@
 			.llseek = generic_file_llseek,
 			.read = read_cryptcompress,
 			.write = write_cryptcompress,
+			.aio_read = generic_file_aio_read,
 			.mmap = mmap_cryptcompress,
 			.release = release_cryptcompress,
 			.fsync = sync_common,
#83 lore raw

PATCH 1/1 fs/ocfs2/ioctl.c should #include "ioctl.h"

In reply to Andrew Morton
Quoted 7 lines · Andrew Morton

...
Changes since 2.6.17-mm6:
...
git-ocfs2.patch
...
git trees
...

Every file should #include the headers containing the prototypes for its global functions.

fs/ocfs2/ioctl.c renamed from fs/ocfs2/ioctl.c.old +2 -0
@@ -18,6 +18,8 @@
 #include "journal.h"
 
 #include "ocfs2_fs.h"
+#include "ioctl.h"
+
 #include <linux/ext2_fs.h>
 
 static int ocfs2_get_inode_attr(struct inode *inode, unsigned *flags)
#84 lore raw
In reply to Andrew Morton
Quoted 3 lines · Andrew Morton

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

Booted fine and running, after changing my fstab to match the libata SATA/PATA ordering.

More questions on this:
I also built in the sata-promise driver. With both ata_piix and sata_promise builtin, host detenction seems to go in PCI order but... promise detects first the SATA drives. I'm trying to get a way to predict what switchng from IDE to libata will do on my boxes, but...

current state:

00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02) 03:04.0 RAID bus controller: Promise Technology, Inc. PDC20378 (FastTrak 378/SATA 378) (rev 02)

ata_piix 0000:00:1f.1: version 2.00ac5
ata1: PATA max UDMA/100 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xF008 irq 15
ata3: SATA max UDMA/133 cmd 0xC000 ctl 0xC402 bmdma 0xD000 irq 16
ata4: SATA max UDMA/133 cmd 0xC800 ctl 0xCC02 bmdma 0xD008 irq 16 sata_promise 0000:03:04.0: version 1.04
ata5: SATA max UDMA/133 cmd 0xF8804200 ctl 0xF8804238 bmdma 0x0 irq 17
ata6: SATA max UDMA/133 cmd 0xF8804280 ctl 0xF88042B8 bmdma 0x0 irq 17
ata7: PATA max UDMA/133 cmd 0xF8804300 ctl 0xF8804338 bmdma 0x0 irq 17

full dmesg:

libata version 2.00 loaded.
ata_piix 0000:00:1f.1: version 2.00ac5
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1f.1 to 64
ata1: PATA max UDMA/100 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14 scsi0 : ata_piix
in ich_pata_cbl_detect
controller has 80c support
... and we defaulted to 40-pin
ata1.00: ATAPI, max UDMA/33
ata1.01: ATAPI, max MWDMA0, CDB intr
ata1.00: configured for UDMA/33
ata1.01: configured for PIO3

  Vendor: HL-DT-ST  Model: DVDRAM GSA-4120B  Rev: A111
  Type:   CD-ROM                             ANSI SCSI revision: 05
  Vendor: IOMEGA    Model: ZIP 250           Rev: 51.G
  Type:   Direct-Access                      ANSI SCSI revision: 05

ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xF008 irq 15 scsi1 : ata_piix
in ich_pata_cbl_detect
controller has 80c support
... and we found an 80-pin cable
ata2.00: ATA-6, max UDMA/100, 234441648 sectors: LBA48 ata2.00: ata2: dev 0 multi count 16
ata2.01: ATAPI, max UDMA/33
ata2.00: configured for UDMA/100
ata2.01: configured for UDMA/33

  Vendor: ATA       Model: ST3120022A        Rev: 3.06
  Type:   Direct-Access                      ANSI SCSI revision: 05
  Vendor: TOSHIBA   Model: DVD-ROM SD-M1712  Rev: 1004
  Type:   CD-ROM                             ANSI SCSI revision: 05

ata_piix 0000:00:1f.2: MAP [ P0 -- P1 -- ]
ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata3: SATA max UDMA/133 cmd 0xC000 ctl 0xC402 bmdma 0xD000 irq 16
ata4: SATA max UDMA/133 cmd 0xC800 ctl 0xCC02 bmdma 0xD008 irq 16 scsi2 : ata_piix
ata3: ENTER, pcs=0x13 base=0
ata3: LEAVE, pcs=0x13 present_mask=0x1
ata3.00: ATA-6, max UDMA/133, 390721968 sectors: LBA48 ata3.00: ata3: dev 0 multi count 16
ata3.00: configured for UDMA/133
scsi3 : ata_piix
ata4: ENTER, pcs=0x13 base=2
ata4: LEAVE, pcs=0x11 present_mask=0x0
ata4: SATA port has no device.
ATA: abnormal status 0x7F on port 0xC807
Vendor: ATA Model: ST3200822AS Rev: 3.01
Type: Direct-Access ANSI SCSI revision: 05
sata_promise 0000:03:04.0: version 1.04
ACPI: PCI Interrupt 0000:03:04.0[A] -> GSI 23 (level, low) -> IRQ 17 sata_promise PATA port found
ata5: SATA max UDMA/133 cmd 0xF8804200 ctl 0xF8804238 bmdma 0x0 irq 17
ata6: SATA max UDMA/133 cmd 0xF8804280 ctl 0xF88042B8 bmdma 0x0 irq 17
ata7: PATA max UDMA/133 cmd 0xF8804300 ctl 0xF8804338 bmdma 0x0 irq 17 scsi4 : sata_promise
ata5: SATA link down (SStatus 0 SControl 300)
scsi5 : sata_promise
ata6: SATA link down (SStatus 0 SControl 0)
scsi6 : sata_promise
ATA: abnormal status 0x7F on port 0xF880431C
ata7: disabling port
sd 0:0:1:0: Attached scsi removable disk sda
SCSI device sdb: 234441648 512-byte hdwr sectors (120034 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
SCSI device sdb: 234441648 512-byte hdwr sectors (120034 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
sdb: sdb1
sd 1:0:0:0: Attached scsi disk sdb
SCSI device sdc: 390721968 512-byte hdwr sectors (200050 MB)
sdc: Write Protect is off
sdc: Mode Sense: 00 3a 00 00
SCSI device sdc: drive cache: write back
SCSI device sdc: 390721968 512-byte hdwr sectors (200050 MB)
sdc: Write Protect is off
sdc: Mode Sense: 00 3a 00 00
SCSI device sdc: drive cache: write back
sdc: sdc1 sdc2 sdc3
sd 2:0:0:0: Attached scsi disk sdc
sr0: scsi3-mmc drive: 40x/40x writer dvd-ram cd/rw xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.20
sr 0:0:0:0: Attached scsi CD-ROM sr0
sr1: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
sr 1:0:1:0: Attached scsi CD-ROM sr1
...

--
J.A. Magallon <jamagallon()ono!com> \ Software is like sex:
\ It's better when it's free
Mandriva Linux release 2007.0 (Cooker) for i586
Linux 2.6.17-jam03 (gcc 4.1.1 20060518 (prerelease)) #3 SMP PREEMPT Mon

#85 lore raw

Ar Llu, 2006-07-10 am 02:33 +0200, ysgrifennodd J.A. Magallón:

Quoted 3 lines

builtin, host detenction seems to go in PCI order but... promise detects first the SATA drives. I'm trying to get a way to predict what switchng from IDE to libata will do on my boxes, but...

PCI order. Some controllers put the PATA ports before the SATA ones, some controllers the reverse, some even mix them up according to BIOS setup. Generally they are doing this so the user can land their preferred disk type as BIOS disk 0x80 (C:) for booting.

Alan

#86 lore raw
In reply to Andrew Morton
Quoted 4 lines · Andrew Morton

All these functions return error codes, and we're not checking them. We should. So there's a patch which marks all these things as __must_check, which causes around 1,500 new warnings.

Hi Andrew,

The following patch fixes such a warning in myri10ge.

thanks,
Brice

Check pci_enable_device() return value in myri10ge_resume().

---
 drivers/net/myri10ge/myri10ge.c |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
drivers/net/myri10ge/myri10ge.c +10 -3
Index: linux-mm/drivers/net/myri10ge/myri10ge.c
===================================================================
@@ -2412,14 +2412,20 @@
 		return -EIO;
 	}
 	myri10ge_restore_state(mgp);
-	pci_enable_device(pdev);
+
+	status = pci_enable_device(pdev);
+	if (status < 0) {
+		dev_err(&pdev->dev, "failed to enable device\n");
+		return -EIO;
+	}
+
 	pci_set_master(pdev);
 
 	status = request_irq(pdev->irq, myri10ge_intr, IRQF_SHARED,
 			     netdev->name, mgp);
 	if (status != 0) {
 		dev_err(&pdev->dev, "failed to allocate IRQ\n");
-		goto abort_with_msi;
+		goto abort_with_enabled;
 	}
 
 	myri10ge_reset(mgp);
@@ -2438,7 +2444,8 @@
 
 	return 0;
 
-abort_with_msi:
+abort_with_enabled:
+	pci_disable_device(pdev);
 	return -EIO;
 
 }
#87 lore raw
In reply to Andrew Morton
Quoted 2 lines · Andrew Morton

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

The sk98lin driver stopped working on my box. It loads, but doesn't seem to do anything else. Fortunately skge forks just fine, so it's not a big deal.

]--snip--[

Quoted 3 lines

- There are some improvements to the swsusp disk IO handling. You should find that the suspend-time writeout and resume-time readin speeds are approximately doubled.

The swsusp IO changes work very well for me, and that's a huge improvement. Thanks a lot for it.

Rafael

#88 lore raw

PATCH 1/1 include/scsi/libsas.h should #include <linux/scatterlist.h>

In reply to Andrew Morton
Quoted 7 lines · Andrew Morton

...
Changes since 2.6.17-mm6:
...
git-sas.patch
...
git trees
...

This patch fixes the following compile error (on s390):

<-- snip -->

...
CC drivers/scsi/sas/sas_init.o
In file included from drivers/scsi/sas/sas_internal.h:31,
from drivers/scsi/sas/sas_init.c:35:
include/scsi/libsas.h:479: error: field 'smp_req' has incomplete type include/scsi/libsas.h:480: error: field 'smp_resp' has incomplete type make[3]: *** [drivers/scsi/sas/sas_init.o] Error 1

<-- snip -->

include/scsi/libsas.h renamed from include/scsi/libsas.h.old +1 -0
@@ -31,6 +31,7 @@
 #include <linux/pci.h>
 #include <scsi/sas.h>
 #include <linux/list.h>
+#include <linux/scatterlist.h>
 #include <asm/semaphore.h>
 #include <scsi/scsi_device.h>
 #include <scsi/scsi_cmnd.h>
#89 lore raw

PATCH 1/1 sysfs_remove_bin_file: no return value, no check needed

In reply to Andrew Morton

From: Randy Dunlap <[email protected]>

Quoted 3 lines

In some cases (eg, sysfs file removal) there's not a lot the caller can do apart from warn, so we should probably change those things to return void and put a diagnostic message into the callee itself.

sysfs_remove_bin_file() cannot tell if there is an error and cannot return an error, so "fix" around 40 must-check warnings.

Convert sysfs_remove_bin_file() from int to void since it
cannot return an error.
Remove __must_check from its declaration.
Convert the only function that checked the return value of
sysfs_remove_bin_file().

---
 drivers/pci/hotplug/acpiphp_ibm.c |    4 +---
 fs/sysfs/bin.c                    |    5 ++---
 include/linux/sysfs.h             |    2 +-
 3 files changed, 4 insertions(+), 7 deletions(-)
fs/sysfs/bin.c +2 -3
@@ -194,10 +194,9 @@ int sysfs_create_bin_file(struct kobject
  *
  */
 
-int sysfs_remove_bin_file(struct kobject * kobj, struct bin_attribute * attr)
+void sysfs_remove_bin_file(struct kobject * kobj, struct bin_attribute * attr)
 {
-	sysfs_hash_and_remove(kobj->dentry,attr->attr.name);
-	return 0;
+	sysfs_hash_and_remove(kobj->dentry, attr->attr.name);
 }
 
 EXPORT_SYMBOL_GPL(sysfs_create_bin_file);
drivers/pci/hotplug/acpiphp_ibm.c +1 -3
@@ -487,9 +487,7 @@ static void __exit ibm_acpiphp_exit(void
 	if (ACPI_FAILURE(status))
 		err("%s: Notification handler removal failed\n", __FUNCTION__);
 	/* remove the /sys entries */
-	if (sysfs_remove_bin_file(sysdir, &ibm_apci_table_attr))
-		err("%s: removal of sysfs file apci_table failed\n",
-				__FUNCTION__);
+	sysfs_remove_bin_file(sysdir, &ibm_apci_table_attr);
 }
 
 module_init(ibm_acpiphp_init);
include/linux/sysfs.h +1 -1
@@ -116,7 +116,7 @@ sysfs_remove_link(struct kobject *, cons
 
 int __must_check sysfs_create_bin_file(struct kobject * kobj,
 					struct bin_attribute * attr);
-int __must_check sysfs_remove_bin_file(struct kobject * kobj,
+void sysfs_remove_bin_file(struct kobject * kobj,
 					struct bin_attribute * attr);
 
 int __must_check sysfs_create_group(struct kobject *,

---

#90 lore raw

Re: [PATCH -mm] sysfs_remove_bin_file: no return value, no check needed

Quoted 6 lines · On Mon, 10 Jul 2006 12:29:10 -0700 "Randy.Dunlap" <[email protected]> wrote:

From: Randy Dunlap <[email protected]>

Quoted 3 lines

In some cases (eg, sysfs file removal) there's not a lot the caller can do apart from warn, so we should probably change those things to return void and put a diagnostic message into the callee itself.

Quoted 9 lines

sysfs_remove_bin_file() cannot tell if there is an error and cannot return an error, so "fix" around 40 must-check warnings.

Convert sysfs_remove_bin_file() from int to void since it
cannot return an error.
Remove __must_check from its declaration.
Convert the only function that checked the return value of
sysfs_remove_bin_file().

Yes, I think that's the best way to handle this case.

But it's still an error if the file isn't there, or if the removal fails for some other reason. It means that someone tried to remove a file which they didn't add, and that a subsequent attempt to add that file will fail, etc.

So I think a better policy would be to emit a warning from within sysfs_remove_bin_file(), then return void. The warning should include the stack trace and the filename (if poss).

#91 lore raw

Re: [PATCH -mm] sysfs_remove_bin_file: no return value, no check needed

Quoted 21 lines · On Mon, 10 Jul 2006 14:43:42 -0700 Andrew Morton wrote:
Quoted 6 lines · On Mon, 10 Jul 2006 12:29:10 -0700 "Randy.Dunlap" <[email protected]> wrote:

From: Randy Dunlap <[email protected]>

Quoted 3 lines

In some cases (eg, sysfs file removal) there's not a lot the caller can do apart from warn, so we should probably change those things to return void and put a diagnostic message into the callee itself.

Quoted 9 lines

sysfs_remove_bin_file() cannot tell if there is an error and cannot return an error, so "fix" around 40 must-check warnings.

Convert sysfs_remove_bin_file() from int to void since it
cannot return an error.
Remove __must_check from its declaration.
Convert the only function that checked the return value of
sysfs_remove_bin_file().

Yes, I think that's the best way to handle this case.

Quoted 8 lines

But it's still an error if the file isn't there, or if the removal fails for some other reason. It means that someone tried to remove a file which they didn't add, and that a subsequent attempt to add that file will fail, etc.

So I think a better policy would be to emit a warning from within sysfs_remove_bin_file(), then return void. The warning should include the stack trace and the filename (if poss).

Hm, OK. Like I wrote, sysfs_remove_bin_file() cannot tell if there was an error. I can convert sysfs_hash_and_remove() to return error or success so that sysfs_remove_bin_file() can do as you suggest.

WIP. (work-in-progress, not a whip)

---
~Randy

#92 lore raw

PATCH 1/1 sysfs_remove_bin_file: no return value, dump_stack on error

From: Randy Dunlap <[email protected]>

Quoted 3 lines

So I think a better policy would be to emit a warning from within sysfs_remove_bin_file(), then return void. The warning should include the stack trace and the filename (if possible).

Make sysfs_remove_bin_file() void. If it detects an error, printk the file name and call dump_stack().

sysfs_hash_and_remove() now returns an error code indicating its success or failure so that sysfs_remove_bin_file() can know success/failure.

Convert the only driver that checked the return value of sysfs_remove_bin_file().

---
 drivers/pci/hotplug/acpiphp_ibm.c |    4 +---
 fs/sysfs/bin.c                    |   13 ++++++++-----
 fs/sysfs/inode.c                  |   11 ++++++++---
 fs/sysfs/sysfs.h                  |    2 +-
 include/linux/sysfs.h             |    2 +-
 5 files changed, 19 insertions(+), 13 deletions(-)
fs/sysfs/bin.c +8 -5
@@ -10,6 +10,7 @@
 
 #include <linux/errno.h>
 #include <linux/fs.h>
+#include <linux/kernel.h>
 #include <linux/kobject.h>
 #include <linux/module.h>
 #include <linux/slab.h>
@@ -176,7 +177,6 @@ const struct file_operations bin_fops = 
  *	sysfs_create_bin_file - create binary file for object.
  *	@kobj:	object.
  *	@attr:	attribute descriptor.
- *
  */
 
 int sysfs_create_bin_file(struct kobject * kobj, struct bin_attribute * attr)
@@ -191,13 +191,16 @@ int sysfs_create_bin_file(struct kobject
  *	sysfs_remove_bin_file - remove binary file for object.
  *	@kobj:	object.
  *	@attr:	attribute descriptor.
- *
  */
 
-int sysfs_remove_bin_file(struct kobject * kobj, struct bin_attribute * attr)
+void sysfs_remove_bin_file(struct kobject * kobj, struct bin_attribute * attr)
 {
-	sysfs_hash_and_remove(kobj->dentry,attr->attr.name);
-	return 0;
+	if (sysfs_hash_and_remove(kobj->dentry, attr->attr.name) < 0) {
+		printk(KERN_ERR "%s: "
+			"bad dentry or inode or no such file: \"%s\"\n",
+			__FUNCTION__, attr->attr.name);
+		dump_stack();
+	}
 }
 
 EXPORT_SYMBOL_GPL(sysfs_create_bin_file);
fs/sysfs/inode.c +8 -3
@@ -12,6 +12,7 @@
 #include <linux/namei.h>
 #include <linux/backing-dev.h>
 #include <linux/capability.h>
+#include <linux/errno.h>
 #include "sysfs.h"
 
 extern struct super_block * sysfs_sb;
@@ -221,17 +222,18 @@ void sysfs_drop_dentry(struct sysfs_dire
 	}
 }
 
-void sysfs_hash_and_remove(struct dentry * dir, const char * name)
+int sysfs_hash_and_remove(struct dentry * dir, const char * name)
 {
 	struct sysfs_dirent * sd;
 	struct sysfs_dirent * parent_sd;
+	int found = 0;
 
 	if (!dir)
-		return;
+		return -ENOENT;
 
 	if (dir->d_inode == NULL)
 		/* no inode means this hasn't been made visible yet */
-		return;
+		return -ENOENT;
 
 	parent_sd = dir->d_fsdata;
 	mutex_lock(&dir->d_inode->i_mutex);
@@ -242,8 +244,11 @@ void sysfs_hash_and_remove(struct dentry
 			list_del_init(&sd->s_sibling);
 			sysfs_drop_dentry(sd, dir);
 			sysfs_put(sd);
+			found = 1;
 			break;
 		}
 	}
 	mutex_unlock(&dir->d_inode->i_mutex);
+
+	return found ? 0 : -ENOENT;
 }
fs/sysfs/sysfs.h +1 -1
@@ -10,7 +10,7 @@ extern int sysfs_make_dirent(struct sysf
 				umode_t, int);
 
 extern int sysfs_add_file(struct dentry *, const struct attribute *, int);
-extern void sysfs_hash_and_remove(struct dentry * dir, const char * name);
+extern int sysfs_hash_and_remove(struct dentry * dir, const char * name);
 extern struct sysfs_dirent *sysfs_find(struct sysfs_dirent *dir, const char * name);
 
 extern int sysfs_create_subdir(struct kobject *, const char *, struct dentry **);
include/linux/sysfs.h +1 -1
@@ -116,7 +116,7 @@ sysfs_remove_link(struct kobject *, cons
 
 int __must_check sysfs_create_bin_file(struct kobject * kobj,
 					struct bin_attribute * attr);
-int __must_check sysfs_remove_bin_file(struct kobject * kobj,
+void sysfs_remove_bin_file(struct kobject * kobj,
 					struct bin_attribute * attr);
 
 int __must_check sysfs_create_group(struct kobject *,
drivers/pci/hotplug/acpiphp_ibm.c +1 -3
@@ -487,9 +487,7 @@ static void __exit ibm_acpiphp_exit(void
 	if (ACPI_FAILURE(status))
 		err("%s: Notification handler removal failed\n", __FUNCTION__);
 	/* remove the /sys entries */
-	if (sysfs_remove_bin_file(sysdir, &ibm_apci_table_attr))
-		err("%s: removal of sysfs file apci_table failed\n",
-				__FUNCTION__);
+	sysfs_remove_bin_file(sysdir, &ibm_apci_table_attr);
 }
 
 module_init(ibm_acpiphp_init);
#93 lore raw
In reply to Andrew Morton
Quoted 3 lines · Andrew Morton

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

Hi...

I'm using this plus Jeff Garzik's alloc/free cleanup patch for libata. In my home box it works fine wrt CD-ROMs (ata-piix).

My RAID box at work has this hardware:

00:00.0 Host bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266] (rev 01)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP]
00:07.0 RAID bus controller: Promise Technology, Inc. PDC20319 (FastTrak S150 TX4) (rev 02) 00:08.0 RAID bus controller: Promise Technology, Inc. PDC20319 (FastTrak S150 TX4) (rev 02) 00:0a.0 SCSI storage controller: Adaptec AIC-7892B U160/m (rev 02)
00:0b.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
00:0c.0 RAID bus controller: Promise Technology, Inc. PDC20267 (FastTrak100/Ultra100) (rev 02) 00:0d.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) 00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b) 00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b) 00:11.4 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b) 01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a4)

ie, a VIA PATA on-board (with just a DVD-RW), a Promise 20267 also on board (anything hung there), an Adaptec 7892 for the system disk and 2 Promise SATA cards for a RAID5 (software md).

I have aic driver builtin, and sata_promise and pata_via as modules. In previous kernels I used the IDE drivers for the CD, but I have tried to switch to libata. I looked here:

http://zeniv.linux.org.uk/~alan/IDE/STATUS.txt

and read:

VIA:
Added IRQ masking support
Completed

Now the problems. pata_via takes an eon to load:

nada:~# time modprobe pata_via0.00user 0.01system 2:13.17elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k0inputs+0outputs (0major+208minor)pagefaults 0swaps
and it does not detect the burner, as ata_piix did in my home box:
Jul 10 16:15:28 nada kernel: pata_via 0000:00:11.1: version 0.1.13
Jul 10 16:15:28 nada kernel: PCI: VIA IRQ fixup for 0000:00:11.1, from 255 to 0
Jul 10 16:15:28 nada kernel: ata9: PATA max UDMA/100 cmd 0x1F0 ctl 0x3F6 bmdma 0xD800 irq 14
Jul 10 16:15:28 nada kernel: scsi9 : pata_via
Jul 10 16:15:29 nada kernel: ata9.00: ATAPI, max UDMA/33
Jul 10 16:15:59 nada kernel: ata9.00: qc timeout (cmd 0xa1)
Jul 10 16:15:59 nada kernel: ata9.00: failed to IDENTIFY (I/O error, err_mask=0x4)
Jul 10 16:15:59 nada kernel: ata9.00: revalidation failed (errno=-5)
Jul 10 16:15:59 nada kernel: ata9.00: limiting speed to UDMA/25
Jul 10 16:15:59 nada kernel: ata9: failed to recover some devices, retrying in 5 secs
Jul 10 16:16:34 nada kernel: ata9.00: qc timeout (cmd 0xa1)
Jul 10 16:16:34 nada kernel: ata9.00: failed to IDENTIFY (I/O error, err_mask=0x4)
Jul 10 16:16:34 nada kernel: ata9.00: revalidation failed (errno=-5)
Jul 10 16:16:34 nada kernel: ata9: failed to recover some devices, retrying in 5 secs
Jul 10 16:17:10 nada kernel: ata9.00: qc timeout (cmd 0xa1)
Jul 10 16:17:10 nada kernel: ata9.00: failed to IDENTIFY (I/O error, err_mask=0x4)
Jul 10 16:17:10 nada kernel: ata9.00: revalidation failed (errno=-5)
Jul 10 16:17:10 nada kernel: ata9.00: disabled
Jul 10 16:17:10 nada kernel: ata10: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xD808 irq 15
Jul 10 16:17:10 nada kernel: scsi10 : pata_via
Jul 10 16:17:17 nada kernel: ata10: port is slow to respond, please be patient
Jul 10 16:17:40 nada kernel: ata10: port failed to respond (30 secs)
Jul 10 16:17:40 nada kernel: ata10: SRST failed (status 0xFF)
Jul 10 16:17:40 nada kernel: ata10: SRST failed (err_mask=0x100)
Jul 10 16:17:40 nada kernel: ata10: softreset failed, retrying in 5 secs
Jul 10 16:17:45 nada kernel: ata10: SRST failed (status 0xFF)
Jul 10 16:17:45 nada kernel: ata10: SRST failed (err_mask=0x100)
Jul 10 16:17:45 nada kernel: ata10: softreset failed, retrying in 5 secs
Jul 10 16:17:51 nada kernel: ata10: SRST failed (status 0xFF)
Jul 10 16:17:51 nada kernel: ata10: SRST failed (err_mask=0x100)
Jul 10 16:17:51 nada kernel: ata10: reset failed, giving up

(note: the previous ata channels are:
libata version 2.00 loaded.
sata_promise 0000:00:07.0: version 1.04
ACPI: PCI Interrupt 0000:00:07.0[A] -> GSI 17 (level, low) -> IRQ 17
ata1: SATA max UDMA/133 cmd 0xF8818200 ctl 0xF8818238 bmdma 0x0 irq 17
ata2: SATA max UDMA/133 cmd 0xF8818280 ctl 0xF88182B8 bmdma 0x0 irq 17
ata3: SATA max UDMA/133 cmd 0xF8818300 ctl 0xF8818338 bmdma 0x0 irq 17
ata4: SATA max UDMA/133 cmd 0xF8818380 ctl 0xF88183B8 bmdma 0x0 irq 17
ata5: SATA max UDMA/133 cmd 0xF881A200 ctl 0xF881A238 bmdma 0x0 irq 18
ata6: SATA max UDMA/133 cmd 0xF881A280 ctl 0xF881A2B8 bmdma 0x0 irq 18
ata7: SATA max UDMA/133 cmd 0xF881A300 ctl 0xF881A338 bmdma 0x0 irq 18
ata8: SATA max UDMA/133 cmd 0xF881A380 ctl 0xF881A3B8 bmdma 0x0 irq 18 )

nada:/var/log# lsscsi -H
[0]    aic7xxx     
[1]    sata_promise
[2]    sata_promise
[3]    sata_promise
[4]    sata_promise
[5]    sata_promise
[6]    sata_promise
[7]    sata_promise
[8]    sata_promise
[9]    pata_via    
[10]    pata_via    
nada:/var/log# lsscsi
[0:0:0:0]    disk    IBM      DDYS-T18350N     S96H  /dev/sda
[1:0:0:0]    disk    ATA      Maxtor 7Y250M0   YAR5  /dev/sdb
[2:0:0:0]    disk    ATA      Maxtor 7Y250M0   YAR5  /dev/sdc
[3:0:0:0]    disk    ATA      Maxtor 7Y250M0   YAR5  /dev/sdd
[4:0:0:0]    disk    ATA      Maxtor 7Y250M0   YAR5  /dev/sde
[5:0:0:0]    disk    ATA      Maxtor 7Y250M0   YAR5  /dev/sdf
[6:0:0:0]    disk    ATA      Maxtor 7Y250M0   YAR5  /dev/sdg
[7:0:0:0]    disk    ATA      Maxtor 7Y250M0   YAR5  /dev/sdh

In my home box I get:

werewolf:~> lsscsi -H

[0]    ata_piix    
[1]    ata_piix    
[2]    ata_piix    
[3]    ata_piix    
[4]    sata_promise
[5]    sata_promise
[6]    sata_promise
[7]    usb-storage 

werewolf:~> lsscsi

[0:0:0:0]    cd/dvd  HL-DT-ST DVDRAM GSA-4120B A111  /dev/sr0
[0:0:1:0]    disk    IOMEGA   ZIP 250          51.G  /dev/sda
[1:0:0:0]    disk    ATA      ST3120022A       3.06  /dev/sdb
[1:0:1:0]    cd/dvd  TOSHIBA  DVD-ROM SD-M1712 1004  /dev/sr1
[2:0:0:0]    disk    ATA      ST3200822AS      3.01  /dev/sdc
[7:0:0:0]    disk    LG       USBDrive         1100  /dev/sdd

Any ideas ? There is a CDRW in ata9...

--
J.A. Magallon <jamagallon()ono!com> \ Software is like sex:
\ It's better when it's free
Mandriva Linux release 2007.0 (Cooker) for i586
Linux 2.6.17-jam03 (gcc 4.1.1 20060518 (prerelease)) #3 SMP PREEMPT Mon

#94 lore raw

PATCH 1/1 MICROCODE should select FW_LOADER

In reply to Andrew Morton
Quoted 7 lines · Andrew Morton

...
Changes since 2.6.17-mm6:
...
+x86-microcode-add-sysfs-and-hotplug-support-fix-fix.patch

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

FW_LOADER is a helper variable that should be select'ed.

Please replace this patch with the patch below.

cu
Adrian

<-- snip -->

MICROCODE requires FW_LOADER.

---

 arch/i386/Kconfig   |    1 +
 arch/x86_64/Kconfig |    1 +
 2 files changed, 2 insertions(+)
arch/i386/Kconfig renamed from arch/i386/Kconfig.old +1 -0
@@ -399,6 +399,7 @@
 
 config MICROCODE
 	tristate "/dev/cpu/microcode - Intel IA32 CPU microcode support"
+	select FW_LOADER
 	---help---
 	  If you say Y here and also to "/dev file system support" in the
 	  'File systems' section, you will be able to update the microcode on
arch/x86_64/Kconfig renamed from arch/x86_64/Kconfig.old +1 -0
@@ -163,6 +163,7 @@
 
 config MICROCODE
 	tristate "/dev/cpu/microcode - Intel CPU microcode support"
+	select FW_LOADER
 	---help---
 	  If you say Y here the 'File systems' section, you will be
 	  able to update the microcode on Intel processors. You will
#95 lore raw

2.6.18-rc1-mm1: drivers/ide/pci/jmicron.c warning

In reply to Andrew Morton

gcc gives the following warning:

<-- snip -->

...
CC drivers/ide/pci/jmicron.o
drivers/ide/pci/jmicron.c: In function ‘ata66_jmicron’:
drivers/ide/pci/jmicron.c:99: warning: control reaches end of non-void function
...

<-- snip -->

At least from gcc's perspective, this warning is correct, and it should therefore be fixed.

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#96 lore raw

Re: 2.6.18-rc1-mm1: drivers/ide/pci/jmicron.c warning

Quoted 3 lines · Adrian Bunk

CC drivers/ide/pci/jmicron.o
drivers/ide/pci/jmicron.c: In function ???ata66_jmicron???:
drivers/ide/pci/jmicron.c:99: warning: control reaches end of non-void function

If your gcc does this please file a gcc bug report

Quoted 2 lines

At least from gcc's perspective, this warning is correct, and it should therefore be fixed.

No. port_type is an enum. Each enum value in question is present in the switch (and gcc knows this), each has a return. Your compiler is buggy.

#97 lore raw

Re: 2.6.18-rc1-mm1: drivers/ide/pci/jmicron.c warning

Quoted 5 lines · Alan Cox
Quoted 3 lines · Adrian Bunk

CC drivers/ide/pci/jmicron.o
drivers/ide/pci/jmicron.c: In function ???ata66_jmicron???:
drivers/ide/pci/jmicron.c:99: warning: control reaches end of non-void function

Quoted 7 lines

If your gcc does this please file a gcc bug report

Quoted 2 lines

At least from gcc's perspective, this warning is correct, and it should therefore be fixed.

No. port_type is an enum. Each enum value in question is present in the switch (and gcc knows this), each has a return. Your compiler is buggy.

I'm not a C expert myself, so I asked a gcc developer on irc.

The problem is that C allows you to assign other values than the ones listed in the enum to the variable.

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#98 lore raw

Re: 2.6.18-rc1-mm1: drivers/ide/pci/jmicron.c warning

Quoted 4 lines · Adrian Bunk

I'm not a C expert myself, so I asked a gcc developer on irc.

The problem is that C allows you to assign other values than the ones listed in the enum to the variable.

Its still a gcc bug in that case because you can show by static analysis that no value is assigned into that array which isn't a member of the enum and also that nobody takes the address of the object in question...

[Ok its a harder one]

I'd say that gcc warning in the case that all the enum values are enumerated and have returns is a broken warning irrespective of that so I won't "fix" it because it isn't broken. Its just like various other bogus gcc warnings

Alan

#99 lore raw

Re: 2.6.18-rc1-mm1: drivers/ide/pci/jmicron.c warning

Quoted 5 lines · Alan Cox

I'd say that gcc warning in the case that all the enum values are enumerated and have returns is a broken warning irrespective of that so I won't "fix" it because it isn't broken. Its just like various other bogus gcc warnings

But we work around gcc problems all the time.

Warnings like this have a cost - they make the build noisy and that causes people to miss real bugs which the compiler is trying to tell them about.

So if we can implement a low-cost fix for this then we should do so.

drivers/ide/pci/jmicron.c renamed from drivers/ide/pci/jmicron.c~a +2 -1
@@ -94,8 +94,9 @@ static int __devinit ata66_jmicron(ide_h
 			return 0;
 		return 1;
 	case PORT_SATA:
-		return 1;
+		break;
 	}
+	return 1; /* Avoid bogus "control reaches end of non-void function" */
 }
 
 static void jmicron_tuneproc (ide_drive_t *drive, byte mode_wanted)

_

#100 lore raw

Re: 2.6.18-rc1-mm1: drivers/ide/pci/jmicron.c warning

Quoted 18 lines · Andrew Morton
Quoted 5 lines · Alan Cox

I'd say that gcc warning in the case that all the enum values are enumerated and have returns is a broken warning irrespective of that so I won't "fix" it because it isn't broken. Its just like various other bogus gcc warnings

But we work around gcc problems all the time.

Warnings like this have a cost - they make the build noisy and that causes people to miss real bugs which the compiler is trying to tell them about.

So if we can implement a low-cost fix for this then we should do so.

drivers/ide/pci/jmicron.c static int __devinit ata66_jmicron(ide_h · line 97

Quoted 5 lines
drivers/ide/pci/jmicron.c renamed from drivers/ide/pci/jmicron.c~a +1 -1
@@ -94,8 +94,9 @@ static int __devinit ata66_jmicron(ide_h
 			return 0;
 		return 1;
 	case PORT_SATA:
-		return 1;
+		break;

The part above isn't required to avoid the warning, and it does IMHO decrease readability.

drivers/ide/pci/jmicron.c static int __devinit ata66_jmicron(ide_h · line 99

Quoted 3 lines
drivers/ide/pci/jmicron.c renamed from drivers/ide/pci/jmicron.c~a +1 -0
 	}
+	return 1; /* Avoid bogus "control reaches end of non-void function" */
...

This is what is required to fix the warning.

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#101 lore raw
In reply to Andrew Morton
Quoted 4 lines · Andrew Morton

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

- We're getting a relatively large number of crash reports coming out of the core sysfs/kobject/driver/bus code, and they're all really hard to diagnose.

Just noticed this in the logs from yesterday. It didn't cause the machine to go down so I didn't notice it at the time:

Jul 12 13:48:47 tornado smartd[1853]: Device: /dev/sdb, SMART Usage Attribute: 195 Hardware_ECC_Recovered changed from 64 to 63
Jul 12 13:51:24 tornado kernel: rpmq[11203]: segfault at 00002b3f41eb445f rip 00002b3f44aa7108 rsp 00007fff667aef80 error 4
Jul 12 13:51:24 tornado kernel: general protection fault: 0000 [1] SMP
Jul 12 13:51:24 tornado kernel: last sysfs file: /block/fd0/dev
Jul 12 13:51:24 tornado kernel: CPU 1
Jul 12 13:51:24 tornado kernel: Modules linked in: hidp rfcomm l2cap bluetooth ipv6 ip_gre iptable_filter iptable_nat ip_nat ip_conntrack nfnetlink iptable_man
gle ip_tables binfmt_misc i2c_i801 iTCO_wdt serio_raw
Jul 12 13:51:24 tornado kernel: Pid: 5067, comm: nagios Not tainted 2.6.18-rc1-mm1 #1
Jul 12 13:51:24 tornado kernel: RIP: 0010:[<ffffffff8028f3a1>] [<ffffffff8028f3a1>] notifier_call_chain+0x1e/0x45
Jul 12 13:51:24 tornado kernel: RSP: 0018:ffff810012979d58  EFLAGS: 00010202
Jul 12 13:51:24 tornado kernel: RAX: 6b6b6b6b6b6b6b6b RBX: ffff810014ae5040 RCX: 6b6b6b6b6b6b6b6b
Jul 12 13:51:24 tornado kernel: RDX: ffff810014ae5040 RSI: 0000000000000001 RDI: ffff810008034f88
Jul 12 13:51:24 tornado kernel: RBP: ffff810012979d78 R08: 0000000000000000 R09: 0000000000000001
Jul 12 13:51:24 tornado kernel: R10: 0000000000000001 R11: 0000000000000001 R12: ffff810014ae5040
Jul 12 13:51:24 tornado kernel: R13: 0000000000000001 R14: ffff810014ae5040 R15: ffff810014ae5040
Jul 12 13:51:24 tornado kernel: FS:  00002b8b610af6f0(0000) GS:ffff81003f6eb430(0000) knlGS:0000000000000000
Jul 12 13:51:24 tornado kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Jul 12 13:51:24 tornado kernel: CR2: 0000000000678ae8 CR3: 000000000c86e000 CR4: 00000000000006e0
Jul 12 13:51:24 tornado kernel: Process nagios (pid: 5067, threadinfo ffff810012978000, task ffff810020fce080)
Jul 12 13:51:24 tornado kernel: Stack:  ffff810012979d88 ffff810014ae5040 0000000000000001 0000000001200011
Jul 12 13:51:24 tornado kernel:  ffff810012979d88 ffffffff8028f3f6 ffff810012979da8 ffffffff8028f76f
Jul 12 13:51:24 tornado kernel:  ffff81002375e000 ffff810020fce080 ffff810012979e78 ffffffff8021ea6c
Jul 12 13:51:24 tornado kernel: Call Trace:
Jul 12 13:51:24 tornado kernel:  [<ffffffff8028f3f6>] raw_notifier_call_chain+0x9/0x13
Jul 12 13:51:24 tornado kernel:  [<ffffffff8028f76f>] notify_watchers+0x64/0x69
Jul 12 13:51:24 tornado kernel:  [<ffffffff8021ea6c>] copy_process+0x4dc/0x15c0
Jul 12 13:51:24 tornado kernel:  [<ffffffff80231837>] do_fork+0xf7/0x208
Jul 12 13:51:24 tornado kernel:  [<ffffffff80268ad0>] sys_clone+0x23/0x25
Jul 12 13:51:24 tornado kernel:  [<ffffffff8025f4c7>] ptregscall_common+0x67/0xac
Jul 12 13:51:24 tornado kernel:  [<ffffffff8025f182>] system_call+0x7e/0x83
Jul 12 13:51:24 tornado kernel:  [<00002b8b60df8aa9>]
Jul 12 13:51:24 tornado kernel:
Jul 12 13:51:24 tornado kernel: Code: 48 8b 59 08 4c 89 e2 4c 89 ee 48 89 cf ff 11 66 85 c0 78 08
Jul 12 13:51:24 tornado kernel: RIP  [<ffffffff8028f3a1>] notifier_call_chain+0x1e/0x45
Jul 12 13:51:24 tornado kernel:  RSP <ffff810012979d58>
Jul 12 14:18:46 tornado smartd[1853]: Device: /dev/sdb, SMART Prefailure Attribute: 1 Raw_Read_Error_Rate changed from 63 to 64

I'm not sure who the relevant people are to look at this in more detail.

Reuben

#102 lore raw

PATCH 1/1 DEBUG_SHIRQ should depend on DEBUG_KERNEL

In reply to Andrew Morton

DEBUG_SHIRQ is clearly a debugging option.

While moving the option below DEBUG_KERNEL, I also adjusted the help text to be completely visible in "make menuconfig" with a 80 char width.

---

 lib/Kconfig.debug |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
lib/Kconfig.debug renamed from lib/Kconfig.debug.old +9 -9
@@ -46,21 +46,21 @@
 	  you really need it, and what the merge plan to the mainline kernel for
 	  your module is.
 
-config DEBUG_SHIRQ
-       bool "Debug shared IRQ handlers"
-       depends on GENERIC_HARDIRQS
-       help
-         Enable this to generate a spurious interrupt as soon as a shared interrupt
-	 handler is registered, and just before one is deregistered. Drivers ought
-	 to be able to handle interrupts coming in at those points; some don't and
-	 need to be caught.
-
 config DEBUG_KERNEL
 	bool "Kernel debugging"
 	help
 	  Say Y here if you are developing drivers or trying to debug and
 	  identify kernel problems.
 
+config DEBUG_SHIRQ
+	bool "Debug shared IRQ handlers"
+	depends on DEBUG_KERNEL && GENERIC_HARDIRQS
+	help
+	  Enable this to generate a spurious interrupt as soon as a shared
+	  interrupt handler is registered, and just before one is deregistered.
+	  Drivers ought to be able to handle interrupts coming in at those
+	  points; some don't and need to be caught.
+
 config LOG_BUF_SHIFT
 	int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" if DEBUG_KERNEL
 	range 12 21
Acked-by on v1 1/1
#103 lore raw

Re: [-mm patch] DEBUG_SHIRQ should depend on DEBUG_KERNEL

At Thu, 13 Jul 2006 22:18:26 +0200,

Quoted 8 lines · Adrian Bunk

DEBUG_SHIRQ is clearly a debugging option.

While moving the option below DEBUG_KERNEL, I also adjusted the help text to be completely visible in "make menuconfig" with a 80 char width.

Quoted 44 lines

---

 lib/Kconfig.debug |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
lib/Kconfig.debug renamed from lib/Kconfig.debug.old +9 -10
@@ -46,21 +46,21 @@
 	  you really need it, and what the merge plan to the mainline kernel for
 	  your module is.
 
-config DEBUG_SHIRQ
-       bool "Debug shared IRQ handlers"
-       depends on GENERIC_HARDIRQS
-       help
-         Enable this to generate a spurious interrupt as soon as a shared interrupt
-	 handler is registered, and just before one is deregistered. Drivers ought
-	 to be able to handle interrupts coming in at those points; some don't and
-	 need to be caught.
-
 config DEBUG_KERNEL
 	bool "Kernel debugging"
 	help
 	  Say Y here if you are developing drivers or trying to debug and
 	  identify kernel problems.
 
+config DEBUG_SHIRQ
+	bool "Debug shared IRQ handlers"
+	depends on DEBUG_KERNEL && GENERIC_HARDIRQS
+	help
+	  Enable this to generate a spurious interrupt as soon as a shared
+	  interrupt handler is registered, and just before one is deregistered.
+	  Drivers ought to be able to handle interrupts coming in at those
+	  points; some don't and need to be caught.
+
 config LOG_BUF_SHIFT
 	int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" if DEBUG_KERNEL
 	range 12 21
 
-

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/