2.6.20-rc4-mm1
Subsystems (17)
Andrew Morton
AppliedTemporarily at
http://userweb.kernel.org/~akpm/2.6.20-rc4-mm1/
Will appear later at
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc3/2.6.20-rc4-mm1/
- Added the e1000 driver development tree, as git-e1000.patch (Auke Kok <[email protected]>)
- Added the HID development tree, as git-hid.patch (Jiri Kosina <[email protected]>)
- Added the unionfs filesystem driver as git-unionfs.patch (Josef "Jeff" Sipek <[email protected]>)
- Merged the "filesystem AIO patches".
Boilerplate:
- See the `hot-fixes' directory for any important updates to this patchset.
- To fetch an -mm tree using git, use (for example)
git-fetch git://git.kernel.org/pub/scm/linux/kernel/git/smurf/linux-trees.git tag v2.6.16-rc2-mm1 git-checkout -b local-v2.6.16-rc2-mm1 v2.6.16-rc2-mm1
- -mm kernel commit activity can be reviewed by subscribing to the mm-commits mailing list.
echo "subscribe mm-commits" | mail [email protected]
- If you hit a bug in -mm and it is not obvious which patch caused it, it is most valuable if you can perform a bisection search to identify which patch introduced the bug. Instructions for this process are at
http://www.zip.com.au/~akpm/linux/patches/stuff/bisecting-mm-trees.txt
But beware that this process takes some time (around ten rebuilds and reboots), so consider reporting the bug first and if we cannot immediately identify the faulty patch, then perform the bisection search.
- When reporting bugs, please try to Cc: the relevant maintainer and mailing list on any email.
- When reporting bugs in this kernel via email, please also rewrite the email Subject: in some manner to reflect the nature of the bug. Some developers filter by Subject: when looking for messages to read.
- Semi-daily snapshots of the -mm lineup are uploaded to ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/ and are announced on the mm-commits list.
Changes since 2.6.20-rc3-mm1:
origin.patch
git-acpi.patch
git-ibm-acpi.patch
git-alsa.patch
git-arm.patch
git-avr32.patch
git-cifs.patch
git-cpufreq.patch
git-drm.patch
git-dvb.patch
git-gfs2-nmw.patch
git-hid.patch
git-ieee1394.patch
git-infiniband.patch
git-input.patch
git-jfs.patch
git-libata-all.patch
git-lxdialog.patch
git-mips.patch
git-mmc.patch
git-mtd.patch
git-ubi.patch
git-netdev-all.patch
git-e1000.patch
git-net.patch
git-ioat.patch
git-ocfs2.patch
git-pcmcia.patch
git-pciseg.patch
git-s390.patch
git-sh.patch
git-scsi-rc-fixes.patch
git-block.patch
git-sas.patch
git-unionfs.patch
git-watchdog.patch
git-wireless.patch
git-cryptodev.patch
git-gccbug.patch
git trees
-add-afs_super_magic-to-magich.patch -fix-implicit-declarations-in-via-pmu.patch -fix-leds-s3c24xx-hardwareh-reference.patch -start_kernel-test-if-irqs-got-enabled-early-barf-and-disable-them-again.patch -start_kernel-test-if-irqs-got-enabled-early-barf-and-disable-them-again-fix.patch -kernelparams-detect-if-and-which-parameter-parsing-enabled-irqs.patch -kernelparams-detect-if-and-which-parameter-parsing-enabled-irqs-fix.patch -pci-prevent-down_read-when-pci_devices-is-empty.patch -pci-prevent-down_read-when-pci_devices-is-empty-fix.patch -via82cxxx-fix-cable-detection.patch -kvm-fix-gfp_kernel-alloc-in-atomic-section-bug.patch -kvm-use-raw_smp_processor_id-instead-of-smp_processor_id-where-applicable.patch -kvm-recover-after-an-arch-module-load-failure.patch -kvm-improve-interrupt-response.patch
-rtc-at91rm9200-build-fix.patch -fix-bug-at-drivers-scsi-scsi_libc1118-caused-by-pktsetup-dvd-dev-sr0.patch -atiixp-old-drivers-ide-layer-driver-for-the-atiixp-hang.patch -atiixp-old-drivers-ide-layer-driver-for-the-atiixp-hang-tidy.patch -adfs-fix-filename-handling.patch -swsusp-do-not-fail-if-resume-device-is-not-set.patch -profiling-fix-sched-profiling-typo.patch -i386-restore-config_physical_start-option.patch -sanely-size-hash-tables-when-using-large-base-pages-take-2.patch -i386-fix-modpost-warning-in-smp-trampoline-code.patch -i386-fix-another-modpost-warning.patch -i386-modpost-smpboot-code-warning-fix.patch
-ip2-warning-fix.patch -fix-memory-corruption-from-misinterpreted-bad_inode_ops.patch -fix-memory-corruption-from-misinterpreted-bad_inode_ops-tidy.patch -fix-bug_onpageslab-from-fallback_alloc.patch -update-the-rtc-rs5c372-driver.patch -kvm-prevent-stale-bits-in-cr0-and-cr4.patch -kvm-mmu-implement-simple-reverse-mapping.patch -kvm-mmu-teach-the-page-table-walker-to-track-guest-page-table-gfns.patch -kvm-mmu-load-the-pae-pdptrs-on-cr3-change-like-the-processor-does.patch -kvm-mmu-fold-fetch_guest-into-init_walker.patch -kvm-mu-special-treatment-for-shadow-pae-root-pages.patch -kvm-mmu-use-the-guest-pdptrs-instead-of-mapping-cr3-in-pae-mode.patch -kvm-mmu-make-the-shadow-page-tables-also-special-case-pae.patch -kvm-mmu-make-kvm_mmu_alloc_page-return-a-kvm_mmu_page-pointer.patch -kvm-mmu-shadow-page-table-caching.patch -kvm-mmu-write-protect-guest-pages-when-a-shadow-is-created-for-them.patch -kvm-mmu-let-the-walker-extract-the-target-page-gfn-from-the-pte.patch -kvm-mmu-support-emulated-writes-into-ram.patch -kvm-mmu-zap-shadow-page-table-entries-on-writes-to-guest-page-tables.patch -kvm-mmu-if-emulating-an-instruction-fails-try-unprotecting-the-page.patch -kvm-mmu-implement-child-shadow-unlinking.patch -kvm-mmu-kvm_mmu_put_page-only-removes-one-link-to-the-page.patch -kvm-mmu-oom-handling.patch
-kvm-mmu-remove-invlpg-interception.patch -kvm-mmu-remove-release_pt_page_64.patch -kvm-mmu-handle-misaligned-accesses-to-write-protected-guest-page-tables.patch -kvm-mmu-ove-is_empty_shadow_page-above-kvm_mmu_free_page.patch -kvm-mmu-ensure-freed-shadow-pages-are-clean.patch -kvm-mmu-if-an-empty-shadow-page-is-not-empty-report-more-info.patch -kvm-mmu-page-table-write-flood-protection.patch -kvm-mmu-never-free-a-shadow-page-actively-serving-as-a-root.patch -kvm-mmu-fix-cmpxchg8b-emulation.patch -kvm-mmu-treat-user-mode-faults-as-a-hint-that-a-page-is-no-longer-a-page-table.patch -kvm-mmu-free-pages-on-kvm-destruction.patch -kvm-mmu-replace-atomic-allocations-by-preallocated-objects.patch -kvm-mmu-detect-oom-conditions-and-propagate-error-to-userspace.patch -kvm-mmu-flush-guest-tlb-when-reducing-permissions-on-a-pte.patch -kvm-mmu-destroy-mmu-while-we-still-have-a-vcpu-left.patch -kvm-mmu-add-audit-code-to-check-mappings-etc-are-correct.patch -pata_optidma-typo-in-kconfig.patch
-hpt37x-two-important-bug-fixes.patch -check-for-populated-zone-in-__drain_pages.patch -fix-the-toshiba_acpi-write_lcd-return-value.patch -pci-avoid-taking-pci_bus_sem-early-in-boot.patch -fix-garbage-instead-of-zeroes-in-ufs.patch -shrink_all_memory-fix-lru_pages-handling.patch -connector-some-fixes-for-ia64-unaligned-access-errors.patch -sound-hda-detect-alc883-on-msi-k9a-platinum-motherboards.patch -fix-bogus-bug_on-in-in-hugetlb_get_unmapped_area.patch -error-handling-in-sysfs-fill_read_buffer.patch -make-usbvision_rvfree-static.patch -maintainers-tag-pvrusb2-list-as-subscribers-only.patch -ks0127-status-flags.patch -jdelvare-i2c-i2c-pnx-fix-interrupt-handler.patch -jdelvare-i2c-i2c-pnx-add-maintainer.patch -jdelvare-i2c-i2c-migration-aids-for-i2c_adapter.dev-removal.patch -jdelvare-i2c-i2c-01-hwmon-drivers-stop-using-i2c_adapter.dev.patch -jdelvare-i2c-i2c-02-i2c-bus-drivers-stop-using-i2c_adapter.dev.patch -jdelvare-i2c-i2c-03-misc-i2c-drivers-stop-using-i2c_adapter.dev.patch -jdelvare-i2c-i2c-04-other-drivers-stop-using-i2c_adapter.dev.patch -jdelvare-i2c-i2c-05-remove-i2c_adapter.dev-from-all-i2c-adapters.patch -i2c-m41t00-do-not-forget-to-write-year.patch -qconf-immediately-update-integer-and-string-values-in-xconfig-display.patch -sata_nv-add-suspend-resume-support.patch
-ubiioc-needs-schedh.patch -qeth-fix-uaccess-handling-and-get-rid-of-unused-variable.patch -forcedeth-sideband-management-fix.patch -gregkh-pci-pci-disable-pci_multithread_probe.patch -gregkh-pci-pci-quirks.c-cleanup.patch -gregkh-pci-pciehp-cleanup-pciehp.h.patch -iscsi-fix-crypto_alloc_hash-error-check.patch -scsi-lpfc-error-path-fix.patch -gregkh-usb-uhci-make-test-for-asus-motherboard-more-specific.patch -gregkh-usb-uhci-support-device_may_wakeup.patch -gregkh-usb-usb-fix-interaction-between-different-interfaces-in-an-option-usb-device.patch -gregkh-usb-usb-funsoft-is-borken-on-sparc.patch -gregkh-usb-usb-omap_udc-build-fixes.patch -gregkh-usb-usb-storage-unusual_devs-add-supertop-drives.patch -gregkh-usb-usb-storage-fix-ipod-ejecting-issue.patch -gregkh-usb-usb-small-update-to-documentation-usb-acmtxt.patch -gregkh-usb-usb-fixed-bug-in-endpoint-release-function.patch -gregkh-usb-usb-linux-usb_ch9.h-becomes-linux-usb-ch9.h.patch -gregkh-usb-usb-define-usb_class_misc-in-linux-usb-ch9.h.patch -gregkh-usb-usb-remove-unneeded-void-casts-in-idmouse.c.patch -gregkh-usb-usb-devio.c-add-missing-init_list_head.patch -gregkh-usb-usb-gadget-file_storage.c-remove-unnecessary-casts.patch -gregkh-usb-usb-add-usb_endpoint_xfer_control-to-usb.h.patch -gregkh-usb-usb-serial-serqt_usb.patch -usblpc-add-kyocera-mita-fs-820-to-list-of-quirky-printers.patch -usb-usbmixer-error-path-fix.patch
-sisusb_con-warning-fixes.patch
-x86_64-mm-fix-aout-warning.patch -revert-i386-fix-the-verify_quirk_intel_irqbalance.patch -revert-x86_64-mm-add-genapic_force.patch -revert-x86_64-mm-fix-the-irqbalance-quirk-for-e7320-e7520-e7525.patch -revert-x86_64-mm-copy-user-nocache.patch -convert-i386-pda-code-to-use-%fs.patch -x86_64-i386-kernel-mode-faults-pollute-current-thead.patch -genapic-optimize-fix-apic-mode-setup-2.patch -genapic-always-use-physical-delivery-mode-on-8-cpus.patch -genapic-remove-es7000-workaround.patch -genapic-remove-clustered-apic-mode.patch -genapic-default-to-physical-mode-on-hotplug-cpu-kernels.patch -x86_64-make-the-numa-hash-function-nodemap-allocation-fix-2.patch -i386-io_apic-fix-a-typo-in-an-irq-handler-name.patch -pci-mmconfig-share-whats-shareable.patch -pci-mmconfig-only-call-unreachable_devices-when-type-1-is-available.patch -pci-mmconfig-only-map-whats-necessary.patch -pci-mmconfig-detect-and-support-the-e7520-and-the-945g-gz-p-pl.patch -pci-mmconfig-reserve-resources-but-only-when-were-sure-about-them.patch -get-rid-of-arch_have_xtime_lock.patch
-add-memcpy_uncached_read.patch -ib-ipath-use-memcpy_uncached_read-in-rdma-interrupt.patch -x86_64-improved-iommu-documentation.patch -x86_64-do-not-always-end-the-stack-trace-with-ulong_max.patch -arch-i386-kernel-e820c-should-include-asm-setuph.patch -paravirt-page-allocation-hooks-for-vmi-backend.patch -paravirt-paravirt-cpu-hypercall-batching-mode.patch -paravirt-iopl-handling-for-paravirt-guests.patch -paravirt-smp-boot-hook-for-paravirt.patch -paravirt-vmi-backend-for-paravirt-ops.patch -paravirt-vmi-backend-for-paravirt-ops-compile-fix.patch -paravirt-vmi-backend-for-paravirt-ops-initialize-fs-for-smp.patch -paravirt-vmi-backend-for-paravirt-ops-native-fix.patch -paravirt-vmi-timer-patches.patch -i386-cpu-hotplug-smpboot-misc-modpost-warning-fixes.patch -convert-some-functions-to-__init-to-avoid-modpost-warnings.patch -i386-move-startup_32-in-texthead-section.patch -break-init-in-two-parts-to-avoid-modpost-warnings.patch -i386-fix-memory-hotplug-related-modpost-generated-warning.patch -arch-i386-kernel-cpu-mcheck-mcec-should-include-asm-mceh.patch -add-i386-idle-notifier-take-3.patch -sched-improve-sched_clock-on-i686.patch -romsignature-checksum-cleanup.patch -i386-make-apic-probe-function-non-init.patch -modpost-add-more-symbols-to-whitelist-pattern2.patch -modpost-whitelist-reference-to-more-symbols-pattern-3.patch -fix-fake-numa-for-x86_64-machines-with-big-io-hole.patch -x86-64-calgary-tighten-up-printks.patch -remove-fastcall-references-in-x86_64-code.patch -use-constant-instead-of-raw-number-in-x86_64-iopermc.patch -bluetooth-blacklist-lenovo-r60e.patch
Merged into mainline or a subsystem tree.
+sched-tasks-cannot-run-on-cpus-onlined-after-boot.patch +increment-pos-before-looking-for-the-next-cap-in-__pci_find_next_ht_cap.patch +fix-sparsemem-on-cell.patch +rtc-sh-correctly-report-rtc_wkalrmenabled.patch +change-cpu_up-and-co-from-__devinit-to-__cpuinit.patch +kdump-documentation-update-for-2620.patch +i386-sched_clock-using-init-data-tsc_disable-fix.patch +md-pass-down-bio_rw_sync-in-raid110.patch +kvm-add-vm-exit-profiling.patch +nfs-fix-race-in-nfs_release_page.patch +really-fix-funsoft-driver.patch +revert-bd_mount_mutex-back-to-a-semaphore.patch +intel-rng-workarounds.patch +fix-hwrng-built-in-initcalls-priority.patch +fix-typo-in-geode_configre-cyrixc.patch
+fd_zero-build-fix.patch +revert-nmi_known_cpu-check-during-boot-option-parsing.patch +blockdev-direct_io-fix-signedness-bug.patch +submitchecklist-update.patch +paravirt-mark-the-paravirt_ops-export-internal.patch +kvm-make-sure-there-is-a-vcpu-context-loaded-when.patch +kvm-fix-race-between-mmio-reads-and-injected-interrupts.patch +kvm-x86-emulator-fix-bit-string-instructions.patch +kvm-fix-asm-constraints-with-config_frame_pointer=n.patch +kvm-fix-bogus-pagefault-on-writable-pages.patch +rtc-sh-act-on-rtc_wkalrmenabled-when-setting-an-alarm.patch +fix-blk_direct_io-bio-preparation.patch +tlclk-bug-fix-misc-fixes.patch +tlclk-bug-fix-misc-fixes-tidy.patch +reiserfs-avoid-tail-packing-if-an-inode-was-ever-mmapped.patch
2.6.20 queue
-down_write-preserve-local-irqs.patch
Dropped
+acpi-bay-remove-acpi-driver-struct.patch +exit-acpi-processor-module-gracefully-if-acpi-is-disabled.patch +exit-acpi-processor-module-gracefully-if-acpi-is-disabled-tidy.patch +acpi-make-bay-depend-on-dock.patch
ACPI things
+sony_acpi-addacpi_bus_generate-event-fix.patch
Fix sony_acpi-addacpi_bus_generate-event.patch
-git-alsa-fixup.patch
Unneeded
+agpgart-allow-drm-populated-agp-memory-types.patch +agpgart-allow-drm-populated-agp-memory-types-tidy.patch
AGP feature work.
+arm-imx-serial-fix-tx-buffer-overflows.patch
+arm-imx-serial-fix-irq-allocation.patch
ARM serial driver fixes
+cifs-remove-2-unneeded-kzalloc-casts.patch
CIFS cleanup
+rewrite-lock-in-cpufreq-to-eliminate-cpufreq-hotplug-related-issues-fix-2.patch +rewrite-lock-in-cpufreq-to-eliminate-cpufreq-hotplug-related-issues-fix-3.patch
Fix rewrite-lock-in-cpufreq-to-eliminate-cpufreq-hotplug-related-issues.patch some more.
+cpu_freq_table-shouldnt-be-a-def_tristate.patch
cpufreq Kconfig fix
+gregkh-driver-sysfs-error-handling-in-sysfs-fill_read_buffer.patch
Driver tree update
+driver-core-remove-device_is_registered-in.patch
+driver-core-allow-device_movedev-null.patch
More driver core work
+drivers-char-drm-drm_mmc-remove-unused-exports.patch
DRM cleanup
+cpiac-buffer-overflow.patch +fix-bttv-and-friends-on-64bit-machines-with-lots-of-memory.patch
DVB things
+jdelvare-i2c-i2c-01-hwmon-drivers-stop-using-i2c_adapterdev.patch +jdelvare-i2c-i2c-02-i2c-bus-drivers-stop-using-i2c_adapterdev.patch +jdelvare-i2c-i2c-03-misc-i2c-drivers-stop-using-i2c_adapterdev.patch +jdelvare-i2c-i2c-04-other-drivers-stop-using-i2c_adapterdev.patch +jdelvare-i2c-i2c-05-remove-i2c_adapterdev-from-all-i2c-adapters.patch +jdelvare-i2c-i2c-ali1563-fix-initialization.patch +jdelvare-i2c-i2c-i801-document-unhiding-quirk.patch +jdelvare-i2c-i2c-update-bus-id-list.patch +jdelvare-i2c-i2c-add-ids-to-bus-drivers.patch
I2C tree updates
+jdelvare-hwmon-hwmon-w83793-datasheet-refresh.patch +jdelvare-hwmon-hwmon-vid-fix-vrm11.patch +jdelvare-hwmon-hwmon-adm1029-new-driver.patch
hwmon tree updates
+ia64-add-pci_get_legacy_ide_irq.patch
ia64 IDE fix
+input-atlas-button-driver.patch
New Input driver
+qconf-immediately-update-integer-and-string-values-in-xconfig-display-take-2.patch +kbuild-dont-ignore-localversion-files-if-the-path-includes-a.patch +qconf-relocate-search-command.patch
Kconfig things
+add-suport-for-marvell-88se6121-in-pata_marvell.patch +sata_promise-atapi-cleanup.patch +libata-piix3-support.patch +libata-piix3-support-warning-fix.patch
ATA things.
+mips-turbochannel-update-to-the-driver-model-fix.patch
Fix mips-turbochannel-update-to-the-driver-model.patch
+mips-remove-smp_tune_scheduling.patch
MIPS cleanup
+ubi-printk-fix.patch
UBI tree fix
+ucc-ether-driver-kmalloc-casting-cleanups.patch
+forcedeth-dma-access.patch
+forcedeth-ring-access.patch
+forcedeth-tx-locking.patch
+forcedeth-rx-skb-recycle.patch
+forcedeth-optimized-routines.patch
+forcedeth-tx-limiting.patch
+forcedeth-tx-data-path-optimization.patch
+forcedeth-rx-data-path-optimization.patch
+forcedeth-irq-data-path-optimization.patch
+forcedeth-tx-max-work.patch
+forcedeth-statistics-supported.patch
+forcedeth-statistics-optimization.patch
+broadcom-4400-resume-small-fix-v2.patch
netdev updates
+z85230-spinlock-logic.patch +x25-add-missing-sock_put-in-x25_receive_data.patch +bonding-replace-kmalloc-memset-pairs-with-the-appropriate-kzalloc-calls.patch +bonding-replace-kmalloc-memset-pairs-with-the-appropriate-kzalloc-calls-fix.patch +net-wanrouter-wanmainc-cleanups.patch
Net things
+remove-useless-find_first_bit-macro-from-cardbusc.patch
PCMCIA cleanup
+gregkh-pci-pci-quirksc-cleanup.patch
+gregkh-pci-pciehp-cleanup-pciehph.patch
PCI tree updates
+make-isa_bridge-alpha-only.patch
OCI fix
+s390-kmalloc-kzalloc-casting-cleanups.patch
s390 cleanup
+scsi-megaraid_mmmbox-init-fix-for-kdump.patch +megaraid-fix-kernel-doc.patch +dac960-kmalloc-kzalloc-casting-cleanups.patch +scsi-scan-fix-logging-message-for-pq3-devices.patch +fix-the-reproducible-oops-in-scsi.patch +megaraid-more-kernel-doc-fixes.patch
scsi fixes
+git-block-fixup.patch
Fix rejects in git-block.patch
+gregkh-usb-usb-linux-usb_ch9h-becomes-linux-usb-ch9h.patch +gregkh-usb-usb-define-usb_class_misc-in-linux-usb-ch9h.patch +gregkh-usb-usb-remove-unneeded-void-casts-in-idmousec.patch +gregkh-usb-usb-devioc-add-missing-init_list_head.patch +gregkh-usb-usb-gadget-file_storagec-remove-unnecessary-casts.patch +gregkh-usb-usb-add-usb_endpoint_xfer_control-to-usbh.patch +gregkh-usb-usb-add-binary-api-to-usbmon.patch
USB tree updates
+usb-mass-storage-us_fl_ignore_residue-needed-for-aiptek-mp3-player.patch
USB fix
+x86_64-mm-convert-i386-pda-code-to-use-%fs.patch +x86_64-mm-kernel-mode-faults-pollute-current-thead.patch +x86_64-mm-revert-i386-fix-the-verify_quirk_intel_irqbalance.patch +x86_64-mm-revert-x86_64-mm-add-genapic_force.patch +x86_64-mm-revert-x86_64-mm-fix-the-irqbalance-quirk-for-e7320-e7520-e7525.patch +x86_64-mm-optimize-fix-apic-mode-setup.patch +x86_64-mm-always-use-physical-delivery-mode-on-8-cpus.patch +x86_64-mm-remove-es7000-workaround.patch +x86_64-mm-remove-clustered-apic-mode.patch +x86_64-mm-default-to-physical-mode-on-hotplug-cpu-kernels.patch +x86_64-mm-x86_64-make-the-numa-hash-function-nodemap-allocation-fix-fix.patch +x86_64-mm-fix-a-typo-in-an-irq-handler-name.patch +x86_64-mm-share-whats-shareable.patch +x86_64-mm-only-call-unreachable_devices-when-type-1-is-available.patch +x86_64-mm-only-map-whats-necessary.patch +x86_64-mm-detect-and-support-the-e7520-and-the-945g-gz-p-pl.patch +x86_64-mm-reserve-resources-but-only-when-were-sure-about-them.patch +x86_64-mm-get-rid-of-arch_have_xtime_lock.patch +x86_64-mm-a-memcpy-that-tries-to-reduce-cache-pressure.patch +x86_64-mm-use-memcpy_uncached_read-in-rdma-interrupt-handler-to-reduce-packet-loss.patch +x86_64-mm-improved-iommu-documentation.patch +x86_64-mm-do-not-always-end-the-stack-trace-with-ulong_max.patch +x86_64-mm-e820-include.patch +x86_64-mm-page-allocation-hooks-for-vmi-backend.patch +x86_64-mm-paravirt-cpu-hypercall-batching-mode.patch +x86_64-mm-iopl-handling-for-paravirt-guests.patch +x86_64-mm-smp-boot-hook-for-paravirt.patch +x86_64-mm-vmi-backend-for-paravirt-ops.patch
+x86_64-mm-vmi-timer.patch +x86_64-mm-move-startup_32-in-texthead-section.patch +x86_64-mm-break-init-in-two-parts-to-avoid-modpost-warnings.patch +x86_64-mm-mcheck-include.patch
+x86_64-mm-add-idle-notifier.patch +x86_64-mm-improve-sched_clock-on-i686.patch +x86_64-mm-fix-x86_64-ioremap-base_address.patch +x86_64-mm-romsignature-checksum-cleanup.patch +x86_64-mm-fix-fake-numa-for-x86_64-machines-with-big-io-hole.patch +x86_64-mm-remove-fastcall-references-in-x86_64-code.patch +x86_64-mm-use-constant-instead-of-raw-number-in-x86_64-iopermc.patch +x86_64-mm-handle-32-bit-perfmon-counter-writes-cleanly-in-x86_64-nmi_watchdog.patch +x86_64-mm-handle-32-bit-perfmon-counter-writes-cleanly-in-i386-nmi_watchdog.patch +x86_64-mm-handle-32-bit-perfmon-counter-writes-cleanly-in-oprofile.patch +x86_64-mm-config_physical_align-limited-to-4m.patch +x86_64-mm-cleanup-doc-x86_64-files.patch +x86_64-mm-list-x86_64-quilt-tree.patch +x86_64-mm-simplify-notify_page_fault.patch
+x86_64-mm-mce_amd-issues.patch
+x86_64-mm-mce-trigger.patch
x86_64 tree updates
+add-i386-idle-notifier-take-3-fix.patch
x86 fix
+spin_lock_irq-enable-interrupts-while-spinning-i386-implementation-fix.patch +spin_lock_irq-enable-interrupts-while-spinning-i386-implementation-fix-fix.patch +x86-fix-dev_to_node-for-x86-and-x86_64.patch +math-emu-setcc-avoid-gcc-extension.patch +i386-adjustments-to-page-table-dump-during-oops.patch +x86_64-re-add-a-newline-to-restore_context.patch +mmconfig-cleanup.patch
+mmconfig-fix-unreachable_devices.patch +pci-mmconfig-support-for-intel-915-bridges.patch +seq_file-conversion-apm-on-i386.patch
x86/x86_64 things
+slab-cache-alloc-cleanups.patch +mbind-restrict-nodes-to-the-currently-allowed-cpuset.patch
MM fixes
+uml-network-driver-locking-and-code-cleanup.patch +uml-use-list_head-where-possible.patch +uml-locking-commentary-in-the-random-driver.patch +uml-mostly-const-a-structure.patch +uml-chan_userh-formatting-fices.patch +uml-console-locking-commentary-and-code-cleanup.patch +uml-fix-previous-console-locking.patch +uml-locking-comments-in-iomem-driver.patch +uml-memc-and-physmemc-formatting-fixes.patch +uml-initialize-a-list-head.patch +uml-make-time-data-per-cpu.patch +uml-delete-unused-file.patch +uml-remove-unused-variable-and-function.patch +uml-make-signal-handlers-static.patch +uml-const-a-variable.patch +uml-remove-code-controlled-by-non-existent-config-option.patch
UML updates
+char-mxser_new-upgrade-to-1915.patch
serial driver fix
+add-taint_user-and-ability-to-set-taint-flags-from-userspace-fix.patch +add-taint_user-and-ability-to-set-taint-flags-from-userspace-fix-2.patch
Fix add-taint_user-and-ability-to-set-taint-flags-from-userspace.patch
+char-moxa-macros-cleanup.patch
+char-moxa-use-del_timer_sync.patch
+char-moxa-remove-moxa_pci_devinfo.patch
+char-moxa-variables-cleanup.patch
+char-moxa-remove-useless-vairables.patch
+char-moxa-pci_probing-prepare.patch
+char-moxa-pci-probing.patch
Moxa driver cleanups
+remove-unnecessary-memset0-calls-after-kzalloc-calls.patch +kernel-doc-allow-a-little-whitespace.patch +proc-remove-useless-and-buggy-nlink-settings.patch +sysrq-showblockedtasks-is-sysrq-w.patch +sysrq-alphabetize-command-keys-doc.patch +kernel-doc-allow-more-whitespace.patch +tty-improve-encode_baud_rate-logic.patch +simplify-the-stacktrace-code.patch +discuss-a-couple-common-errors-in-kernel-doc-usage.patch +numerous-fixes-to-kernel-doc-info-in-source-files.patch +common-compat_sys_sysinfo-v2.patch +remove-a-couple-final-references-to-obsolete-verify_area.patch +local_t-documentation.patch +local_t-documentation-fix.patch +ecryptfs-xattr-flags-and-mount-options.patch +ecryptfs-generalize-metadata-read-write.patch +ecryptfs-encrypted-passthrough.patch +rtc-framework-driver-for-cmos-rtcs.patch +make-bh_unwritten-a-first-class-bufferhead-flag-v2.patch +make-xfs-use-bh_unwritten-and-bh_delay-correctly.patch +docbook-add-edd-firmware-interfaces.patch +kernel-doc-fix-some-odd-spacing-issues.patch +spi-freescale-imx-spi-controller-driver.patch +serial-support-for-new-board.patch +make-hdlc_setup-static-again.patch +more-ftape-removal.patch +cleanup-linux-byteorder-swabbh.patch +ext3-refuse-ro-to-rw-remount-of-fs-with-orphan.patch +ext4-refuse-ro-to-rw-remount-of-fs-with-orphan.patch +minix-v3-support.patch
Misc
+revert-x86_64-mm-ignore-long-smi-interrupts-in-clock-calibration.patch +reapply-x86_64-mm-ignore-long-smi-interrupts-in-clock-calibration.patch
These are just for tree-maintenance convenience.
+flush_cpu_workqueue-dont-flush-an-empty-worklist.patch +extend-notifier_call_chain-to-count-nr_calls-made-fixes-2.patch +call-cpu_chain-with-cpu_down_failed-if-cpu_down_prepare-failed.patch -fix-flush_workqueue-vs-cpu_dead-race.patch +slab-use-cpu_lock_.patch +workqueue-fix-freezeable-workqueues-implementation.patch +workqueue-fix-flush_workqueue-vs-cpu_dead-race.patch +workqueue-dont-clear-cwq-thread-until-it-exits.patch
Work on the workqueue code.
+include-linux-nfsd-consth-remove-nfs_super_magic.patch
nfsd cleanup
+fsaio-add-a-wait-queue-arg-to-the-wait_bit-action-routine.patch +fsaio-rename-__lock_page-to-lock_page_blocking.patch +fsaio-interfaces-to-initialize-and-to-test-a-wait-bit-key.patch +fsaio-add-a-default-io-wait-bit-field-in-task-struct.patch +fsaio-enable-wait-bit-based-filtered-wakeups-to-work-for-aio.patch +fsaio-enable-wait-bit-based-filtered-wakeups-to-work-for-aio-fix.patch +fsaio-enable-asynchronous-wait-page-and-lock-page.patch +fsaio-filesystem-aio-read.patch +fsaio-aio-o_sync-filesystem-write.patch
async I/O for regularly-opened files.
+user-namespace-add-the-framework-fixes.patch +user-ns-add-user_namespace-ptr-to-vfsmount-fixes.patch +user-ns-implement-shared-mounts-fixes.patch
Fix the user_ns patches in -mm.
+rename-attach_pid-to-find_attach_pid.patch
+attach_pid-with-struct-pid-parameter.patch
Fiddle with function names and calling conventions.
+readahead-sysctl-parameters-set-readahead_hit_rate=1.patch +readahead-min-max-sizes-remove-get_readahead_bounds.patch +readahead-context-based-method-update-ra_min.patch +readahead-context-based-method-remove-readahead_ratio.patch +readahead-call-scheme-remove-get_readahead_bounds.patch +readahead-nfsd-case-remove-ra_min.patch
Update the adaptive readahead patches in -mm.
+reiser4-sb_sync_inodes-fix.patch
Fix reiser4-sb_sync_inodes.patch
+atiixpc-remove-unused-code.patch +atiixpc-sb600-ide-only-has-one-channel.patch +atiixpc-add-cable-detection-support-for-ati-ide.patch +ide-generic-jmicron-has-its-own-drivers-now.patch
IDE fixes
+remove-bogus-con_is_present-prototypes.patch +cyber2010-framebuffer-on-arm-netwinder-fix.patch +cyber2010-framebuffer-on-arm-netwinder-fix-tidy.patch
fbdev updates
All 1035 patches:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc3/2.6.20-rc4-mm1/patch-list
Early ACPI lockup (was Re: 2.6.20-rc4-mm1)
Quoted 3 lines · Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc3/2.6.20-rc4-mm1/
Hi,
The git-acpi.patch replaces earlier "if(!handler) return -EINVAL" by "BUG_ON(!handler)". This locks my machine early at boot with a message along the lines of (It's hand copied):
Int 6: cr2: 00000000 eip: c0570e05 flags: 00010046 cs: 60
stack: c054ffac c011db2b c04936d0 c054ff68 c054ffc0 c054fff4 c057da2c
Reverting the change as follows, allows booting:
Any ideas to debug this further?
Regards,
Frederik
drivers/acpi/tables.c +3 -1
@@ -414,7 +414,9 @@ int __init acpi_table_parse(enum acpi_taunsigned int index;unsigned int count =0 ; -BUG_ON (!handler); +if (!handler) +return -EINVAL ; +/*BUG_ON(!handler);*/ for (i =0 ; i < sdt_count; i++) {if (sdt_entry[i].id != id)
Len Brown
reviewerRe: Early ACPI lockup (was Re: 2.6.20-rc4-mm1)
Quoted 21 lines · Frederik Deweerdt
Quoted 3 lines · Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc3/2.6.20-rc4-mm1/
Hi,
The git-acpi.patch replaces earlier "if(!handler) return
-EINVAL" by "BUG_ON(!handler)". This locks my machine early at boot with a message along the lines of (It's hand copied):
Int 6: cr2: 00000000 eip:c0570e05flags: 00010046 cs: 60
stack:c054ffacc011db2bc04936d0c054ff68c054ffc0c054fff4c057da2cReverting the change as follows, allows booting:
Any ideas to debug this further?drivers/acpi/tables.c +0
-0
drivers/acpi/tables.c int __init acpi_table_parse(enum acpi_ta · line 422
Quoted 10 lines
drivers/acpi/tables.c +3
-1@@ -414,7 +414,9 @@ int __init acpi_table_parse(enum acpi_taunsigned int index;unsigned int count =0 ; -BUG_ON (!handler); +if (!handler) +return -EINVAL ; +/*BUG_ON(!handler);*/ for (i =0 ; i < sdt_count; i++) {if (sdt_entry[i].id != id)
What do you see if on failure you also print out the params, like below?
thanks,
-Len
drivers/acpi/tables.c +6 -1
@@ -415,7 +415,12 @@ int __init acpi_table_parse(enum acpi_table_id id, acpi_table_handler handler)unsigned int index =0 ;unsigned int count =0 ; -BUG_ON (!handler); +if (!handler) { + printk(KERN_WARNING PREFIX +"acpi_table_parse(%d, %p) %s NULL handler!\n" , + id, handler, acpi_table_signatures[id]); +return -EINVAL ; + }for (i =0 ; i < sdt_count; i++) {if (sdt_entry[i].id != id)
Re: Early ACPI lockup (was Re: 2.6.20-rc4-mm1)
Quoted 30 lines · Len Brown
Quoted 29 lines · Frederik Deweerdt
Quoted 3 lines · Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc3/2.6.20-rc4-mm1/
Hi,
The git-acpi.patch replaces earlier "if(!handler) return
-EINVAL" by "BUG_ON(!handler)". This locks my machine early at boot with a message along the lines of (It's hand copied):
Int 6: cr2: 00000000 eip:c0570e05flags: 00010046 cs: 60
stack:c054ffacc011db2bc04936d0c054ff68c054ffc0c054fff4c057da2cReverting the change as follows, allows booting:
Any ideas to debug this further?drivers/acpi/tables.c +3
-1@@ -414,7 +414,9 @@ int __init acpi_table_parse(enum acpi_taunsigned int index;unsigned int count =0 ; -BUG_ON (!handler); +if (!handler) +return -EINVAL ; +/*BUG_ON(!handler);*/
Quoted 5 lines
drivers/acpi/tables.c int __init acpi_table_parse(enum acpi_table_id id, acpi_table_handler handler) · line 426
Quoted 2 lines
drivers/acpi/tables.c +0
-0for (i =0 ; i < sdt_count; i++) {if (sdt_entry[i].id != id)What do you see if on failure you also print out the params, like below?
I'm sorry, I might not be able to try it until monday. Michal reported a similar problem though, adding him to CC list.
Regards,
Frederik
Quoted 24 lines
thanks,
(quoted diff) +0
-1-Lendrivers/acpi/tables.c +6
-1@@ -415,7 +415,12 @@ int __init acpi_table_parse(enum acpi_table_id id, acpi_table_handler handler)unsigned int index =0 ;unsigned int count =0 ; -BUG_ON (!handler); +if (!handler) { + printk(KERN_WARNING PREFIX +"acpi_table_parse(%d, %p) %s NULL handler!\n" , + id, handler, acpi_table_signatures[id]); +return -EINVAL ; + }for (i =0 ; i < sdt_count; i++) {if (sdt_entry[i].id != id)
Re: Early ACPI lockup (was Re: 2.6.20-rc4-mm1)
Quoted 24 lines · Frederik Deweerdt
Quoted 23 lines · Len Brown
Quoted 22 lines · Frederik Deweerdt
Quoted 2 lines · Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc3/2.6.20-rc4-mm1/
Hi,
The git-acpi.patch replaces earlier "if(!handler) return
-EINVAL" by "BUG_ON(!handler)". This locks my machine early at boot with a message along the lines of (It's hand copied):
Int 6: cr2: 00000000 eip:c0570e05flags: 00010046 cs: 60
stack:c054ffacc011db2bc04936d0c054ff68c054ffc0c054fff4c057da2cReverting the change as follows, allows booting:
Any ideas to debug this further?drivers/acpi/tables.c +0
-0@@ -414,7 +414,9 @@ int __init acpi_table_parse(enum acpi_taunsigned int index;unsigned int count =0 ;
Quoted 8 lines
Quoted 8 lines
drivers/acpi/tables.c int __init acpi_table_parse(enum acpi_table_id id, acpi_table_handler handler) · line 426
Quoted 7 lines
drivers/acpi/tables.c +3
-1-BUG_ON (!handler); +if (!handler) +return -EINVAL ; +/*BUG_ON(!handler);*/ for (i =0 ; i < sdt_count; i++) {if (sdt_entry[i].id != id)What do you see if on failure you also print out the params, like below?
I get this:
ACPI: RSDP (v000 GBT ) @ 0x000f6e80
ACPI: RSDT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x3fff3000
ACPI: FADT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x3fff3040
ACPI: MADT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x3fff7100
ACPI: DSDT (v001 GBT AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
ACPI: PM-Timer IO Port: 0x1008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) Processor #0 15:2 APIC version 20
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) Processor #1 15:2 APIC version 20
ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode: Flat. Using 1 I/O APICs
ACPI: acpi_table_parse(17, 00000000) HPET NULL handler! Using ACPI (MADT) for SMP configuration information
reagrds,
Signature · 4 lines
http://www.fi.muni.cz/~xslaby/ Jiri Slaby faculty of informatics, masaryk university, brno, cz e-mail: jirislaby gmail com, gpg pubkey fingerprint: B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E
Re: Early ACPI lockup (was Re: 2.6.20-rc4-mm1)
Jiri Slaby napisał(a):
Quoted 50 lines
Quoted 23 lines · Frederik Deweerdt
Quoted 22 lines · Len Brown
Quoted 21 lines · Frederik Deweerdt
Quoted 2 lines · Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc3/2.6.20-rc4-mm1/
Hi,
The git-acpi.patch replaces earlier "if(!handler) return
-EINVAL" by "BUG_ON(!handler)". This locks my machine early at boot with a message along the lines of (It's hand copied):
Int 6: cr2: 00000000 eip:c0570e05flags: 00010046 cs: 60
stack:c054ffacc011db2bc04936d0c054ff68c054ffc0c054fff4c057da2cReverting the change as follows, allows booting:
Any ideas to debug this further?drivers/acpi/tables.c +0
-0@@ -414,7 +414,9 @@ int __init acpi_table_parse(enum acpi_taunsigned int index;unsigned int count =0 ;Quoted 8 lines
Quoted 8 lines
drivers/acpi/tables.c int __init acpi_table_parse(enum acpi_table_id id, acpi_table_handler handler) · line 426
Quoted 7 lines
drivers/acpi/tables.c +3
-1-BUG_ON (!handler); +if (!handler) +return -EINVAL ; +/*BUG_ON(!handler);*/ for (i =0 ; i < sdt_count; i++) {if (sdt_entry[i].id != id)What do you see if on failure you also print out the params, like below?
I get this:
ACPI: RSDP (v000 GBT ) @
0x000f6e80
ACPI: RSDT (v001 GBT AWRDACPI0x42302e31AWRD0x01010101) @0x3fff3000
ACPI: FADT (v001 GBT AWRDACPI0x42302e31AWRD0x01010101) @0x3fff3040
ACPI: MADT (v001 GBT AWRDACPI0x42302e31AWRD0x01010101) @0x3fff7100
ACPI: DSDT (v001 GBT AWRDACPI0x00001000MSFT0x0100000c) @0x00000000
ACPI: PM-Timer IO Port:0x1008
ACPI: Local APIC address0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) Processor #0 15:2 APIC version 20
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) Processor #1 15:2 APIC version 20
ACPI:LAPIC_NMI(acpi_id[0x00] dfl dfl lint[0x1])
ACPI:LAPIC_NMI(acpi_id[0x01] dfl dfl lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) IOAPIC[0]:apic_id2, version 32, address0xfec00000, GSI 0-23
Quoted 9 lines
ACPI:
INT_SRC_OVR(bus 0bus_irq0global_irq2 dfl dfl)
ACPI:INT_SRC_OVR(bus 0bus_irq9global_irq9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode: Flat. Using 1 I/O APICs
ACPI:acpi_table_parse(17, 00000000)HPET NULL handler! Using ACPI (MADT) for SMP configuration information
ACPI: RSDP (v000 ACPIAM ) @ 0x000f9e30
ACPI: RSDT (v001 A M I OEMRSDT 0x10000414 MSFT 0x00000097) @ 0x7ff30000
ACPI: FADT (v002 A M I OEMFACP 0x10000414 MSFT 0x00000097) @ 0x7ff30200
ACPI: MADT (v001 A M I OEMAPIC 0x10000414 MSFT 0x00000097) @ 0x7ff30390
ACPI: OEMB (v001 A M I OEMBIOS 0x10000414 MSFT 0x00000097) @ 0x7ff40040
ACPI: DSDT (v001 P4P81 P4P81104 0x00000104 INTL 0x02002026) @ 0x00000000
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:2 APIC version 20
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 15:2 APIC version 20
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode: Flat. Using 1 I/O APICs
ACPI: acpi_table_parse(17, 00000000) HPET NULL handler!
Using ACPI (MADT) for SMP configuration information
Regards,
Michal
Signature · 3 lines
Michal K. K. Piotrowski LTG - Linux Testers Group (http://www.stardust.webpages.pl/ltg/)
Re: Early ACPI lockup (was Re: 2.6.20-rc4-mm1)
Quoted 61 lines · Michal Piotrowski
Jiri Slaby napisał(a):
Quoted 50 lines
Quoted 23 lines · Frederik Deweerdt
Quoted 22 lines · Len Brown
Quoted 21 lines · Frederik Deweerdt
Quoted 2 lines · Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc3/2.6.20-rc4-mm1/
Hi,
The git-acpi.patch replaces earlier "if(!handler) return
-EINVAL" by "BUG_ON(!handler)". This locks my machine early at boot with a message along the lines of (It's hand copied):
Int 6: cr2: 00000000 eip:c0570e05flags: 00010046 cs: 60
stack:c054ffacc011db2bc04936d0c054ff68c054ffc0c054fff4c057da2cReverting the change as follows, allows booting:
Any ideas to debug this further?drivers/acpi/tables.c +0
-0@@ -414,7 +414,9 @@ int __init acpi_table_parse(enum acpi_taunsigned int index;unsigned int count =0 ;Quoted 8 lines
Quoted 8 lines
drivers/acpi/tables.c int __init acpi_table_parse(enum acpi_table_id id, acpi_table_handler handler) · line 426
Quoted 7 lines
drivers/acpi/tables.c +3
-1-BUG_ON (!handler); +if (!handler) +return -EINVAL ; +/*BUG_ON(!handler);*/ for (i =0 ; i < sdt_count; i++) {if (sdt_entry[i].id != id)What do you see if on failure you also print out the params, like below?
I get this:
ACPI: RSDP (v000 GBT ) @
0x000f6e80
ACPI: RSDT (v001 GBT AWRDACPI0x42302e31AWRD0x01010101) @0x3fff3000
ACPI: FADT (v001 GBT AWRDACPI0x42302e31AWRD0x01010101) @0x3fff3040
ACPI: MADT (v001 GBT AWRDACPI0x42302e31AWRD0x01010101) @0x3fff7100
ACPI: DSDT (v001 GBT AWRDACPI0x00001000MSFT0x0100000c) @0x00000000
ACPI: PM-Timer IO Port:0x1008
ACPI: Local APIC address0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) Processor #0 15:2 APIC version 20
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) Processor #1 15:2 APIC version 20
ACPI:LAPIC_NMI(acpi_id[0x00] dfl dfl lint[0x1])
ACPI:LAPIC_NMI(acpi_id[0x01] dfl dfl lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) IOAPIC[0]:apic_id2, version 32, address0xfec00000, GSI 0-23Quoted 9 lines
ACPI:
INT_SRC_OVR(bus 0bus_irq0global_irq2 dfl dfl)
ACPI:INT_SRC_OVR(bus 0bus_irq9global_irq9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode: Flat. Using 1 I/O APICs
ACPI:acpi_table_parse(17, 00000000)HPET NULL handler! Using ACPI (MADT) for SMP configuration information
Quoted 1 line
ACPI:
acpi_table_parse(17, 00000000)HPET NULL handler!
So the BUG_ON is triggered by CONFIG_HPET_TIMER not being defined, causing acpi_parse_hpet to be NULL.
Should the acpi_table_parse() called be ifdef'ed of is the previous behaviour (returning -EINVAL) just OK?
Regards,
Frederik
Re: Early ACPI lockup (was Re: 2.6.20-rc4-mm1)
In reply to Jiri SlabyQuoted 2 lines · Jiri Slaby
Quoted 2 lines · Len Brown
Quoted 1 line
What do you see if on failure you also print out the params, like below?
[...]
Quoted 1 line
ACPI:
acpi_table_parse(17, 00000000)HPET NULL handler!
After re-enabling HPET, it disappeared.
regards,
Signature · 4 lines
http://www.fi.muni.cz/~xslaby/ Jiri Slaby faculty of informatics, masaryk university, brno, cz e-mail: jirislaby gmail com, gpg pubkey fingerprint: B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E
Hello,
Doesn't build on my laptop.
drivers/mmc/mmc.c: In function 'mmc_lock_unlock':drivers/mmc/mmc.c:1527: error: dereferencing pointer to incomplete type drivers/mmc/mmc.c:1527: warning: type defaults to 'int' in declaration of '_________p1' drivers/mmc/mmc.c:1527: error: dereferencing pointer to incomplete type drivers/mmc/mmc.c:1527: warning: assignment makes pointer from integer without a cast make[2]: *** [drivers/mmc/mmc.o] Error 1
make[1]: *** [drivers/mmc] Error 2
make: *** [drivers] Error 2
processor : 0vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 2.40GHz
stepping : 9
cpu MHz : 2392.320
cache size : 512 KBfdiv_bug : nohlt_bug : nof00f_bug : nocoma_bug : no
fpu : yesfpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips : 4787.56
clflush size : 64
Gnu C 4.1.1 Gnu make 3.81 binutils 2.17 util-linux 2.12r mount 2.12r module-init-tools 3.2.2 e2fsprogs 1.39 pcmciautils 014 pcmcia-cs 3.2.9 nfs-utils 1.0.6 Linux C Library > libc.2.4 Dynamic linker (ldd) 2.4 Procps 3.2.6 Net-tools 1.60 Kbd 1.12 Sh-utils 6.4 udev 103 wireless-tools 29 Modules Loaded orinoco_cs orinoco hermes pcmcia firmware_class 8139too yenta_socket rsrc_nonstatic pcmcia_core
Signature · 3 lines
Regards, Mariusz Kozlowski
#
# Automatically generated make config: don't edit # Linux kernel version: 2.6.20-rc4-mm1
# Fri Jan 12 11:07:58 2007
#CONFIG_X86_32=yCONFIG_GENERIC_TIME=yCONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_SEMAPHORE_SLEEPERS=yCONFIG_X86=yCONFIG_MMU=yCONFIG_ZONE_DMA=yCONFIG_GENERIC_ISA_DMA=yCONFIG_GENERIC_IOMAP=yCONFIG_GENERIC_BUG=yCONFIG_GENERIC_HWEIGHT=y CONFIG_ARCH_MAY_HAVE_PC_FDC=yCONFIG_DMI=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
#
# Code maturity level options
#CONFIG_EXPERIMENTAL=yCONFIG_BROKEN_ON_SMP=yCONFIG_LOCK_KERNEL=yCONFIG_INIT_ENV_ARG_LIMIT=32
#
# General setup
#CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not setCONFIG_SWAP=yCONFIG_SWAP_PREFETCH=yCONFIG_SYSVIPC=y
# CONFIG_IPC_NS is not setCONFIG_POSIX_MQUEUE=yCONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not set
# CONFIG_TASKSTATS is not set
# CONFIG_UTS_NS is not setCONFIG_USER_NS=yCONFIG_AUDIT=yCONFIG_AUDITSYSCALL=yCONFIG_IKCONFIG=yCONFIG_IKCONFIG_PROC=yCONFIG_SYSFS_DEPRECATED=y
# CONFIG_RELAY is not setCONFIG_INITRAMFS_SOURCE=""
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not setCONFIG_SYSCTL=y
# CONFIG_EMBEDDED is not setCONFIG_UID16=yCONFIG_SYSCTL_SYSCALL=yCONFIG_KALLSYMS=yCONFIG_KALLSYMS_ALL=y
# CONFIG_KALLSYMS_EXTRA_PASS is not setCONFIG_HOTPLUG=yCONFIG_PRINTK=yCONFIG_BUG=yCONFIG_ELF_CORE=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_SHMEM=yCONFIG_SLAB=yCONFIG_VM_EVENT_COUNTERS=yCONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not setCONFIG_BASE_SMALL=0
# CONFIG_SLOB is not set
#
# Loadable module support
#CONFIG_MODULES=yCONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not setCONFIG_KMOD=y
#
# Block layer
#CONFIG_BLOCK=y
# CONFIG_LBD is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set
#
# IO Schedulers
#CONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_AS=yCONFIG_IOSCHED_DEADLINE=yCONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_AS is not set
# CONFIG_DEFAULT_DEADLINE is not setCONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not setCONFIG_DEFAULT_IOSCHED="cfq"
#
# Processor type and features
#
# CONFIG_HIGH_RES_TIMERS is not set
# CONFIG_SMP is not setCONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_PARAVIRT is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MCORE2 is not setCONFIG_MPENTIUM4=y
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not setCONFIG_X86_CMPXCHG=yCONFIG_X86_XADD=yCONFIG_X86_L1_CACHE_SHIFT=7CONFIG_RWSEM_XCHGADD_ALGORITHM=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not setCONFIG_GENERIC_CALIBRATE_DELAY=yCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_INVLPG=yCONFIG_X86_BSWAP=yCONFIG_X86_POPAD_OK=yCONFIG_X86_CMPXCHG64=yCONFIG_X86_GOOD_APIC=yCONFIG_X86_INTEL_USERCOPY=yCONFIG_X86_USE_PPRO_CHECKSUM=yCONFIG_X86_TSC=y
# CONFIG_HPET_TIMER is not set
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not setCONFIG_PREEMPT=yCONFIG_PREEMPT_BKL=y
# CONFIG_X86_UP_APIC is not setCONFIG_X86_MCE=yCONFIG_X86_MCE_NONFATAL=yCONFIG_VM86=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not setCONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not setCONFIG_PAGE_OFFSET=0xC0000000CONFIG_ARCH_FLATMEM_ENABLE=yCONFIG_ARCH_SPARSEMEM_ENABLE=yCONFIG_ARCH_SELECT_MEMORY_MODEL=yCONFIG_ARCH_POPULATES_NODE_MAP=yCONFIG_SELECT_MEMORY_MODEL=yCONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not setCONFIG_FLATMEM=yCONFIG_FLAT_NODE_MEM_MAP=yCONFIG_SPARSEMEM_STATIC=yCONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not setCONFIG_ZONE_DMA_FLAG=1CONFIG_ADAPTIVE_READAHEAD=y
# CONFIG_DEBUG_READAHEAD is not set
# CONFIG_MATH_EMULATION is not setCONFIG_MTRR=y
# CONFIG_EFI is not setCONFIG_SECCOMP=y
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not setCONFIG_HZ_1000=yCONFIG_HZ=1000
# CONFIG_KEXEC is not setCONFIG_PHYSICAL_START=0x100000
# CONFIG_RELOCATABLE is not setCONFIG_PHYSICAL_ALIGN=0x100000CONFIG_COMPAT_VDSO=y
#
# Power management options (ACPI, APM)
#CONFIG_PM=yCONFIG_PM_LEGACY=y
# CONFIG_PM_DEBUG is not set
# CONFIG_PM_SYSFS_DEPRECATED is not setCONFIG_SOFTWARE_SUSPEND=yCONFIG_PM_STD_PARTITION="/dev/hda2"
#
# ACPI (Advanced Configuration and Power Interface) Support #CONFIG_ACPI=yCONFIG_ACPI_SLEEP=yCONFIG_ACPI_SLEEP_PROC_FS=y
# CONFIG_ACPI_SLEEP_PROC_SLEEP is not set CONFIG_ACPI_AC=yCONFIG_ACPI_BATTERY=yCONFIG_ACPI_BUTTON=yCONFIG_ACPI_VIDEO=mCONFIG_ACPI_FAN=y
# CONFIG_ACPI_DOCK is not set CONFIG_ACPI_PROCESSOR=yCONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_IBM is not set
# CONFIG_ACPI_TOSHIBA is not set CONFIG_ACPI_SONY=mCONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not setCONFIG_ACPI_EC=yCONFIG_ACPI_POWER=yCONFIG_ACPI_SYSTEM=yCONFIG_X86_PM_TIMER=y
# CONFIG_ACPI_CONTAINER 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 setCONFIG_PCI_GOANY=yCONFIG_PCI_BIOS=yCONFIG_PCI_DIRECT=yCONFIG_PCI_MMCONFIG=y
# CONFIG_PCIEPORTBUS is not set
# CONFIG_PCI_DEBUG is not setCONFIG_ISA_DMA_API=yCONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
#
# PCCARD (PCMCIA/CardBus) support
#CONFIG_PCCARD=m
# CONFIG_PCMCIA_DEBUG is not setCONFIG_PCMCIA=mCONFIG_PCMCIA_LOAD_CIS=yCONFIG_PCMCIA_IOCTL=yCONFIG_CARDBUS=y
#
# PC-card bridges
#CONFIG_YENTA=mCONFIG_YENTA_O2=yCONFIG_YENTA_RICOH=yCONFIG_YENTA_TI=yCONFIG_YENTA_ENE_TUNE=yCONFIG_YENTA_TOSHIBA=yCONFIG_PD6729=mCONFIG_I82092=mCONFIG_I82365=mCONFIG_TCIC=mCONFIG_PCMCIA_PROBE=yCONFIG_PCCARD_NONSTATIC=m
#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set
#
# Executable file formats
#CONFIG_BINFMT_ELF=yCONFIG_BINFMT_AOUT=yCONFIG_BINFMT_MISC=y
#
# Networking
#CONFIG_NET=y
#
# Networking options
#
# CONFIG_NETDEBUG is not setCONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not setCONFIG_UNIX=yCONFIG_XFRM=y
# CONFIG_XFRM_USER is not set
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_NET_KEY is not setCONFIG_INET=yCONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not setCONFIG_IP_FIB_HASH=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
# 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 setCONFIG_INET_XFRM_MODE_TRANSPORT=yCONFIG_INET_XFRM_MODE_TUNNEL=yCONFIG_INET_XFRM_MODE_BEET=yCONFIG_INET_DIAG=yCONFIG_INET_TCP_DIAG=y
# CONFIG_TCP_CONG_ADVANCED is not setCONFIG_TCP_CONG_CUBIC=yCONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
#
# IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
# CONFIG_IPV6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
# CONFIG_NETWORK_SECMARK is not setCONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
#
# Core Netfilter Configuration
#
# CONFIG_NETFILTER_NETLINK is not set
# CONFIG_NF_CONNTRACK_ENABLED is not set
# CONFIG_NETFILTER_XTABLES is not set
#
# IP: Netfilter Configuration
#
# 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_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 setCONFIG_WIRELESS_EXT=y
#
# Device Drivers
#
#
# Generic Driver Options
#CONFIG_STANDALONE=yCONFIG_PREVENT_FIRMWARE_BUILD=yCONFIG_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=yCONFIG_PARPORT_PC=y
# CONFIG_PARPORT_PC_FIFO is not set
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_PC_PCMCIA is not set
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_AX88796 is not set
# CONFIG_PARPORT_1284 is not set
#
# Plug and Play support
#CONFIG_PNP=y
# CONFIG_PNP_DEBUG is not set
#
# Protocols
#
# CONFIG_ISAPNP is not set
# CONFIG_PNPBIOS is not setCONFIG_PNPACPI=y
#
# Block devices
#CONFIG_BLK_DEV_FD=y
# 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 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 is not setCONFIG_BLK_DEV_INITRD=y
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
#
# Misc devices
#
# CONFIG_IBM_ASM is not set
# CONFIG_SGI_IOC4 is not set
# CONFIG_TIFM_CORE is not set
# CONFIG_MSI_LAPTOP is not set
#
# ATA/ATAPI/MFM/RLL support
#CONFIG_IDE=yCONFIG_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=yCONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_BLK_DEV_IDECS is not set 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 is not set
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not setCONFIG_BLK_DEV_IDEPCI=yCONFIG_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 setCONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not setCONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_BLK_DEV_AEC62XX is not setCONFIG_BLK_DEV_ALI15X3=y
# CONFIG_WDC_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 is not set
# CONFIG_BLK_DEV_TC86C001 is not set
# CONFIG_IDE_ARM is not set
# CONFIG_IDE_CHIPSETS is not setCONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not setCONFIG_IDEDMA_AUTO=y
# CONFIG_BLK_DEV_HD is not set
#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not setCONFIG_SCSI=y
# CONFIG_SCSI_TGT is not set
# CONFIG_SCSI_NETLINK is not setCONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not setCONFIG_CHR_DEV_SG=y
# CONFIG_CHR_DEV_SCH is not set
#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs #
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set
#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_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_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_PAS16 is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_QLA_ISCSI is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_SRP is not set
#
# PCMCIA SCSI adapter support
#
# CONFIG_PCMCIA_AHA152X is not set
# CONFIG_PCMCIA_FDOMAIN is not set
# CONFIG_PCMCIA_NINJA_SCSI is not set
# CONFIG_PCMCIA_QLOGIC is not set
# CONFIG_PCMCIA_SYM53C500 is not set
#
# Serial ATA (prod) and Parallel ATA (experimental) drivers #
# CONFIG_ATA is not set
#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set
#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
#
# Fusion MPT device support
#
# CONFIG_FUSION is not set
# CONFIG_FUSION_SPI is not set
# CONFIG_FUSION_FC is not set
# CONFIG_FUSION_SAS is not set
#
# IEEE 1394 (FireWire) support (JUJU alternative stack) #
# CONFIG_FW is not set
#
# IEEE 1394 (FireWire) support
#CONFIG_IEEE1394=y
#
# Subsystem Options
#
# CONFIG_IEEE1394_VERBOSEDEBUG is not set
# CONFIG_IEEE1394_EXTRA_CONFIG_ROMS is not set
#
# Device Drivers
#
#
# Texas Instruments PCILynx requires I2C
#CONFIG_IEEE1394_OHCI1394=y
#
# Protocol Drivers
#
# CONFIG_IEEE1394_VIDEO1394 is not set
# CONFIG_IEEE1394_SBP2 is not set
# CONFIG_IEEE1394_ETH1394 is not set
# CONFIG_IEEE1394_DV1394 is not setCONFIG_IEEE1394_RAWIO=y
#
# I2O device support
#
# CONFIG_I2O is not set
#
# Network device support
#CONFIG_NETDEVICES=yCONFIG_DUMMY=m
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_NET_SB1000 is not set
#
# ARCnet devices
#
# CONFIG_ARCNET is not set
#
# PHY device support
#
# CONFIG_PHYLIB is not set
#
# Ethernet (10 or 100Mbit)
#CONFIG_NET_ETHERNET=yCONFIG_MII=y
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_CASSINI is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not setCONFIG_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 is not set
# CONFIG_8139CP is not setCONFIG_8139TOO=mCONFIG_8139TOO_PIO=y
# CONFIG_8139TOO_TUNE_TWISTER is not set
# CONFIG_8139TOO_8129 is not set
# CONFIG_8139_OLD_RX_RESET is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_SC92031 is not set
# CONFIG_NET_POCKET is not set
#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SIS190 is not set
# CONFIG_SKGE is not set
# CONFIG_SKY2 is not set
# CONFIG_SK98LIN is not set
# CONFIG_VIA_VELOCITY is not set
# CONFIG_TIGON3 is not set
# CONFIG_BNX2 is not set
# CONFIG_QLA3XXX is not set
#
# Ethernet (10000 Mbit)
#
# CONFIG_CHELSIO_T1 is not set
# CONFIG_CHELSIO_T3 is not set
# CONFIG_IXGB is not set
# CONFIG_S2IO is not set
# CONFIG_MYRI10GE is not set
# CONFIG_NETXEN_NIC is not set
#
# 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
# CONFIG_PCMCIA_WAVELAN is not set
# CONFIG_PCMCIA_NETWAVE is not set
#
# Wireless 802.11 Frequency Hopping cards support
#
# CONFIG_PCMCIA_RAYCS is not set
#
# Wireless 802.11b ISA/PCI cards support
#
# CONFIG_IPW2100 is not set
# CONFIG_IPW2200 is not set
# CONFIG_AIRO is not setCONFIG_HERMES=m
# CONFIG_PLX_HERMES is not set
# CONFIG_TMD_HERMES is not set
# CONFIG_NORTEL_HERMES is not set
# CONFIG_PCI_HERMES is not set
# CONFIG_ATMEL is not set
#
# Wireless 802.11b Pcmcia/Cardbus cards support
#CONFIG_PCMCIA_HERMES=m
# CONFIG_PCMCIA_SPECTRUM is not set
# CONFIG_AIRO_CS is not set
# CONFIG_PCMCIA_WL3501 is not set
#
# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support #
# CONFIG_PRISM54 is not set
# CONFIG_USB_ZD1201 is not set
# CONFIG_HOSTAP is not set CONFIG_NET_WIRELESS=y
#
# PCMCIA network device support
#
# CONFIG_NET_PCMCIA is not set
#
# Wan interfaces
#
# CONFIG_WAN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_NET_FC is not set
# CONFIG_SHAPER is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
#
# ISDN subsystem
#
# CONFIG_ISDN is not set
#
# Telephony Support
#
# CONFIG_PHONE is not set
#
# Input device support
#CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=yCONFIG_INPUT_MOUSEDEV_PSAUX=yCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_STOWAWAY is not setCONFIG_INPUT_MOUSE=yCONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_INPORT is not set
# CONFIG_MOUSE_LOGIBM is not set
# CONFIG_MOUSE_PC110PAD is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set
#
# Hardware I/O ports
#CONFIG_SERIO=yCONFIG_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 setCONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_GAMEPORT is not set
#
# Character devices
#CONFIG_VT=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=y
# CONFIG_VT_HW_CONSOLE_BINDING is not set
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_NOZOMI is not set
#
# Serial drivers
#
# CONFIG_SERIAL_8250 is not set
#
# Non-8250 serial port support
#
# CONFIG_SERIAL_JSM is not setCONFIG_UNIX98_PTYS=yCONFIG_LEGACY_PTYS=yCONFIG_LEGACY_PTY_COUNT=256CONFIG_PRINTER=y
# 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 is not set
# CONFIG_GEN_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not setCONFIG_SONYPI=mCONFIG_AGP=y
# CONFIG_AGP_ALI is not setCONFIG_AGP_ATI=y
# 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 is not set
# CONFIG_AGP_EFFICEON is not setCONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not setCONFIG_DRM_RADEON=y
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
#
# PCMCIA character devices
#
# CONFIG_SYNCLINK_CS is not set
# CONFIG_CARDMAN_4000 is not set
# CONFIG_CARDMAN_4040 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 is not set
#
# SPI support
#CONFIG_SPI=y
# CONFIG_SPI_DEBUG is not setCONFIG_SPI_MASTER=y
#
# SPI Master Controller Drivers
#
# CONFIG_SPI_BITBANG is not set
# CONFIG_SPI_BUTTERFLY is not set
#
# SPI Protocol Masters
#
#
# Dallas's 1-wire bus
#
# CONFIG_W1 is not set
#
# Hardware Monitoring support
#CONFIG_HWMON=y
# CONFIG_HWMON_VID is not set
# CONFIG_SENSORS_ABITUGURU is not set
# CONFIG_SENSORS_K8TEMP is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_LM70 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_VT1211 is not set
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_HWMON_DEBUG_CHIP is not set
#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set
# CONFIG_USB_DABUSB is not set
#
# Graphics support
#
# CONFIG_BACKLIGHT_LCD_SUPPORT is not setCONFIG_BACKLIGHT_CLASS_DEVICE=mCONFIG_BACKLIGHT_DEVICE=yCONFIG_FB=yCONFIG_FIRMWARE_EDID=y
# CONFIG_FB_DDC is not setCONFIG_FB_CFB_FILLRECT=yCONFIG_FB_CFB_COPYAREA=yCONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
# CONFIG_FB_MODE_HELPERS is not set
# CONFIG_FB_TILEBLITTING is not set
#
# Frambuffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not setCONFIG_FB_VESA=y
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I810 is not set
# CONFIG_FB_INTEL is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_CYBLA is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_VIRTUAL is not set
#
# Console display driver support
#CONFIG_VGA_CONSOLE=yCONFIG_VGACON_SOFT_SCROLLBACK=yCONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64CONFIG_VIDEO_SELECT=y
# CONFIG_MDA_CONSOLE is not setCONFIG_DUMMY_CONSOLE=yCONFIG_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=yCONFIG_LOGO_LINUX_MONO=yCONFIG_LOGO_LINUX_VGA16=yCONFIG_LOGO_LINUX_CLUT224=y
#
# Sound
#CONFIG_SOUND=y
#
# Advanced Linux Sound Architecture
#CONFIG_SND=yCONFIG_SND_TIMER=yCONFIG_SND_PCM=yCONFIG_SND_RAWMIDI=yCONFIG_SND_SEQUENCER=y
# CONFIG_SND_SEQ_DUMMY is not setCONFIG_SND_OSSEMUL=yCONFIG_SND_MIXER_OSS=yCONFIG_SND_PCM_OSS=yCONFIG_SND_PCM_OSS_PLUGINS=yCONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_DYNAMIC_MINORS is not setCONFIG_SND_SUPPORT_OLD_API=yCONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
#
# Generic devices
#CONFIG_SND_MPU401_UART=yCONFIG_SND_AC97_CODEC=y
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_MTS64 is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
#
# ISA devices
#
# CONFIG_SND_ADLIB is not set
# CONFIG_SND_AD1816A is not set
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_ALS100 is not set
# CONFIG_SND_AZT2320 is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_DT019X is not set
# CONFIG_SND_ES968 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_MIRO is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set
# CONFIG_SND_WAVEFRONT is not set
#
# PCI devices
#
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not setCONFIG_SND_ALI5451=y
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS5535AUDIO is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDA_INTEL is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_AC97_POWER_SAVE is not set
#
# USB devices
#
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set
#
# PCMCIA devices
#
# CONFIG_SND_VXPOCKET is not set
# CONFIG_SND_PDAUDIOCF is not set
#
# SoC audio support
#
# CONFIG_SND_SOC is not set
#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not setCONFIG_AC97_BUS=y
#
# HID Devices
#CONFIG_HID=y
#
# USB support
#CONFIG_USB_ARCH_HAS_HCD=yCONFIG_USB_ARCH_HAS_OHCI=yCONFIG_USB_ARCH_HAS_EHCI=yCONFIG_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 is not set
# CONFIG_USB_MULTITHREAD_PROBE is not set
# CONFIG_USB_OTG is not set
#
# USB Host Controller Drivers
#CONFIG_USB_EHCI_HCD=yCONFIG_USB_EHCI_SPLIT_ISO=y
# CONFIG_USB_EHCI_ROOT_HUB_TT is not setCONFIG_USB_EHCI_TT_NEWSCHED=y
# CONFIG_USB_EHCI_BIG_ENDIAN_MMIO is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_OHCI_HCD is not setCONFIG_USB_UHCI_HCD=y
# CONFIG_USB_SL811_HCD is not set
#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not setCONFIG_USB_PRINTER=y
#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' #
#
# may also be needed; see USB_STORAGE Help for more information # CONFIG_USB_STORAGE=y # CONFIG_USB_STORAGE_DEBUG is not set CONFIG_USB_STORAGE_DATAFAB=y CONFIG_USB_STORAGE_FREECOM=y CONFIG_USB_STORAGE_ISD200=y CONFIG_USB_STORAGE_DPCM=y CONFIG_USB_STORAGE_USBAT=y CONFIG_USB_STORAGE_SDDR09=y CONFIG_USB_STORAGE_SDDR55=y CONFIG_USB_STORAGE_JUMPSHOT=y # CONFIG_USB_STORAGE_ALAUDA is not set # CONFIG_USB_STORAGE_KARMA is not set # CONFIG_USB_LIBUSUAL is not set
#
# USB Input Devices
#CONFIG_USB_HID=y
# CONFIG_USB_HIDINPUT_POWERBOOK is not set
# CONFIG_HID_FF is not set
# CONFIG_USB_HIDDEV 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_MII is not set
# CONFIG_USB_USBNET is not setCONFIG_USB_MON=y
#
# USB port drivers
#
# CONFIG_USB_USS720 is not set
#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set
#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGET is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_GOTEMP is not set
#
# USB DSL modem support
#
#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set
#
# MMC/SD Card support
#CONFIG_MMC=m
# CONFIG_MMC_DEBUG is not set
# CONFIG_MMC_PASSWORDS is not setCONFIG_MMC_BLOCK=mCONFIG_MMC_SDHCI=mCONFIG_MMC_WBSD=m
# CONFIG_MMC_TIFM_SD 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=y
#
# Reporting subsystems
#
# CONFIG_EDAC_DEBUG is not setCONFIG_EDAC_MM_EDAC=y
# CONFIG_EDAC_AMD76X is not set
# CONFIG_EDAC_E7XXX is not set
# CONFIG_EDAC_E752X is not set
# CONFIG_EDAC_I82875P is not set
# CONFIG_EDAC_I82860 is not set
# CONFIG_EDAC_K8 is not set
# CONFIG_EDAC_R82600 is not setCONFIG_EDAC_POLL=y
#
# Real Time Clock
#
# CONFIG_RTC_CLASS is not set
#
# DMA Engine support
#
# CONFIG_DMA_ENGINE is not set
#
# DMA Clients
#
#
# DMA Devices
#
#
# Auxiliary Display support
#
# CONFIG_KS0108 is not set
#
# Virtualization
#
# CONFIG_KVM is not set
#
# Userspace I/O
#
# CONFIG_UIO is not set
#
# File systems
#CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XIP is not setCONFIG_EXT3_FS=yCONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
# CONFIG_EXT4DEV_FS is not setCONFIG_JBD=y
# CONFIG_JBD_DEBUG is not setCONFIG_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 is not set
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not setCONFIG_INOTIFY=yCONFIG_INOTIFY_USER=y
# CONFIG_QUOTA is not setCONFIG_DNOTIFY=y
# CONFIG_AUTOFS_FS is not setCONFIG_AUTOFS4_FS=y
# CONFIG_FUSE_FS is not set
#
# CD-ROM/DVD Filesystems
#CONFIG_ISO9660_FS=yCONFIG_JOLIET=y
# CONFIG_ZISOFS is not setCONFIG_UDF_FS=yCONFIG_UDF_NLS=y
#
# DOS/FAT/NT Filesystems
#CONFIG_FAT_FS=yCONFIG_MSDOS_FS=yCONFIG_VFAT_FS=yCONFIG_FAT_DEFAULT_CODEPAGE=1250CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-2"CONFIG_NTFS_FS=y
# CONFIG_NTFS_DEBUG is not setCONFIG_NTFS_RW=y
#
# Pseudo filesystems
#CONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_PROC_SYSCTL=yCONFIG_SYSFS=yCONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not setCONFIG_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
# CONFIG_UNION_FS is not set
#
# Network File Systems
#CONFIG_NFS_FS=yCONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not setCONFIG_NFSD=yCONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
# CONFIG_NFSD_V4 is not setCONFIG_NFSD_TCP=yCONFIG_LOCKD=yCONFIG_LOCKD_V4=yCONFIG_EXPORTFS=yCONFIG_NFS_COMMON=yCONFIG_SUNRPC=y
# CONFIG_RPCSEC_GSS_KRB5 is not set
# CONFIG_RPCSEC_GSS_SPKM3 is not setCONFIG_SMB_FS=yCONFIG_SMB_NLS_DEFAULT=yCONFIG_SMB_NLS_REMOTE="cp1250"
# 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 setCONFIG_MSDOS_PARTITION=y
#
# Native Language Support
#CONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-2"CONFIG_NLS_CODEPAGE_437=m
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not setCONFIG_NLS_CODEPAGE_852=y
# 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 setCONFIG_NLS_CODEPAGE_1250=m
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not setCONFIG_NLS_ISO8859_1=mCONFIG_NLS_ISO8859_2=y
# 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
#
# CONFIG_DLM is not set
#
# Instrumentation Support
#
# CONFIG_PROFILING is not set
# CONFIG_KPROBES is not set
#
# Kernel hacking
#CONFIG_TRACE_IRQFLAGS_SUPPORT=y
# CONFIG_PRINTK_TIME is not setCONFIG_ENABLE_MUST_CHECK=yCONFIG_MAGIC_SYSRQ=y
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_PAGE_OWNER is not setCONFIG_DEBUG_FS=yCONFIG_HEADERS_CHECK=yCONFIG_DEBUG_KERNEL=yCONFIG_DEBUG_SHIRQ=yCONFIG_LOG_BUF_SHIFT=17CONFIG_DETECT_SOFTLOCKUP=yCONFIG_SCHEDSTATS=yCONFIG_TIMER_STATS=yCONFIG_DEBUG_SLAB=yCONFIG_DEBUG_SLAB_LEAK=yCONFIG_DEBUG_PREEMPT=yCONFIG_DEBUG_RT_MUTEXES=yCONFIG_DEBUG_PI_LIST=yCONFIG_RT_MUTEX_TESTER=yCONFIG_DEBUG_SPINLOCK=yCONFIG_DEBUG_MUTEXES=yCONFIG_DEBUG_RWSEMS=yCONFIG_DEBUG_LOCK_ALLOC=yCONFIG_PROVE_LOCKING=yCONFIG_LOCKDEP=yCONFIG_DEBUG_LOCKDEP=yCONFIG_TRACE_IRQFLAGS=yCONFIG_DEBUG_SPINLOCK_SLEEP=yCONFIG_DEBUG_LOCKING_API_SELFTESTS=yCONFIG_STACKTRACE=y
# CONFIG_DEBUG_KOBJECT is not setCONFIG_DEBUG_BUGVERBOSE=yCONFIG_DEBUG_INFO=yCONFIG_DEBUG_VM=yCONFIG_DEBUG_LIST=yCONFIG_FRAME_POINTER=y
# CONFIG_PROFILE_LIKELY is not setCONFIG_FORCED_INLINING=y
# CONFIG_DEBUG_SYNCHRO_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_FAULT_INJECTION is not setCONFIG_EARLY_PRINTK=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_DEBUG_STACK_USAGE is not set
#
# Page alloc debug is incompatible with Software Suspend on i386 #
# CONFIG_DEBUG_RODATA is not setCONFIG_DOUBLEFAULT=y
#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_INTEGRITY is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITY_FS_CAPABILITIES is not set
#
# Cryptographic options
#
# CONFIG_CRYPTO is not set
#
# Library routines
#CONFIG_BITREVERSE=yCONFIG_CRC_CCITT=m
# CONFIG_CRC16 is not setCONFIG_CRC32=yCONFIG_LIBCRC32C=mCONFIG_AUDIT_GENERIC=yCONFIG_PLIST=yCONFIG_IOMAP_COPY=yCONFIG_GENERIC_HARDIRQS=yCONFIG_GENERIC_IRQ_PROBE=yCONFIG_X86_BIOS_REBOOT=yCONFIG_KTIME_SCALAR=y
Quoted 4 lines · Mariusz Kozlowski
Hello,
Doesn't build on my laptop.
Quoted 9 lines
drivers/mmc/mmc.c: In function 'mmc_lock_unlock':drivers/mmc/mmc.c:1527: error: dereferencing pointer to incomplete typedrivers/mmc/mmc.c:1527: warning: type defaults to 'int' in declaration of '_________p1'drivers/mmc/mmc.c:1527: error: dereferencing pointer to incomplete typedrivers/mmc/mmc.c:1527: warning: assignment makes pointer from integer without a cast make[2]: *** [drivers/mmc/mmc.o] Error 1
make[1]: *** [drivers/mmc] Error 2
make: *** [drivers] Error 2
Hi,
That's because mmc_lock_unlock should depend on CONFIG_KEYS, it uses struct key. Could you try the following patch (compile tested)?
Regards,
Frederik
drivers/mmc/mmc.c +4 -0
@@ -1503,6 +1503,8 @@ static void mmc_setup(struct mmc_host *hmmc_process_ext_csds (host); } +#ifdef CONFIG_MMC_PASSWORDS +/** * mmc_lock_unlock - send LOCK_UNLOCK command to a specific card. * @card: card to which the LOCK_UNLOCK command should be sent
@@ -1617,6 +1619,8 @@ out: return err; } +#endif /* CONFIG_MMC_PASSWORDS */ +/** * mmc_detect_change - process change of state on a MMC socket * @host: host which changed state.
Hello,
Quoted 2 lines
That's because
mmc_lock_unlockshould depend onCONFIG_KEYS, it uses struct key. Could you try the following patch (compile tested)?
Thanks. Compiles ok but now I run into another problem and the laptop doesn't boot. The last thing I see is grub. So no way to test it now. Time to dig some more ;-)
Signature · 3 lines
Regards, Mariusz Kozlowski
Quoted 7 lines · Mariusz Kozlowski
Hello,
Quoted 2 lines
That's because
mmc_lock_unlockshould depend onCONFIG_KEYS, it uses struct key. Could you try the following patch (compile tested)?Thanks. Compiles ok but now I run into another problem and the laptop doesn't boot. The last thing I see is grub. So no way to test it now. Time to dig some more ;-)
This may help
http://lkml.org/lkml/2007/1/12/45
Regards,
Michal
Signature · 3 lines
Michal K. K. Piotrowski LTG - Linux Testers Group (http://www.stardust.webpages.pl/ltg/)
Hello,
Quoted 2 lines
This may help
http://lkml.org/lkml/2007/1/12/45
True. Now it boots fine. Tanks for the tip.
Dzięki Michał.
Signature · 3 lines
Regards, Mariusz Kozlowski
'struct task_struct' has no member named 'mems_allowed' (was: Re: 2.6.20-rc4-mm1)
In reply to Andrew MortonAndrew Morton wrote (ao):
Quoted 5 lines
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc3/2.6.20-rc4-mm1/
x86/x86_64 things
+mbind-restrict-nodes-to-the-currently-allowed-cpuset.patch
I had to revert this patch because of:
===mm/mempolicy.c: In function 'sys_mbind':mm/mempolicy.c:885: error: 'struct task_struct' has no member named 'mems_allowed' make[1]: *** [mm/mempolicy.o] Error 1
make: *** [mm] Error 2
===
===
http://lkml.org/lkml/2007/1/9/375
Date Tue, 9 Jan 2007 20:15:07 -0800 (PST)
From Christoph Lameter <>
Subject mbind: Restrict nodes to the currently allowed cpuset
Digg This
Currently one can specify an arbitrary node mask to mbind that includes nodes not allowed. If that is done with an interleave policy then we will go around all the nodes. Those outside of the currently allowed cpuset will be redirected to the border nodes. Interleave will then create imbalances at the borders of the cpuset.
This patch restricts the nodes to the currently allowed cpuset.
The RFC for this patch was discussed at
http://marc.theaimsgroup.com/?t=116793842100004&r=1&w=2
mm/mempolicy.c +1 -0
@@ -882,6 +882,7 @@ asmlinkage long sys_mbind(unsigned longint err; err =get_nodes (&nodes, nmask, maxnode); +nodes_and (nodes, nodes, current->mems_allowed);if (err)return err;return do_mbind (start, len, mode, &nodes, flags);
===
With kind regards, Sander
Signature · 2 lines
Humilis IT Services and Solutions http://www.humilis.net
Re: 'struct task_struct' has no member named 'mems_allowed' (was: Re: 2.6.20-rc4-mm1)
Quoted 7 lines · Sander
Quoted 1 line
+mbind-restrict-nodes-to-the-currently-allowed-cpuset.patch
I had to revert this patch because of:
===
mm/mempolicy.c: In function 'sys_mbind':mm/mempolicy.c:885: error: 'structtask_struct' has no member named 'mems_allowed'
You're right - this patch won't build if CONFIG_NUMA is on, and CONFIG_CPUSETS off.
The line added in the patch:
+ nodes_and(nodes, nodes, current->mems_allowed);
needs to be macro'ized, using another cpuset.h routine, to a no-op, in the case that CONFIG_CPUSET is disabled.
I'll leave the honors to Christoph (added to CC), since this is his patch.
Signature · 3 lines
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <[email protected]> 1.925.600.0401Re: 'struct task_struct' has no member named 'mems_allowed' (was: Re: 2.6.20-rc4-mm1)
Quoted 1 line · Paul Jackson
I'll leave the honors to Christoph (added to CC), since this is his patch.
Ok. Here it is
mems_allowed only exists if CONFIG_CPUSETS is set. So put an #ifdef around it. Also move the masking of the nodes behind the error check (looks better) and add a comment.
mm/mempolicy.c +4 -1
@@ -882,9 +882,12 @@ asmlinkage long sys_mbind(unsigned longint err; err =get_nodes (&nodes, nmask, maxnode); -nodes_and (nodes, nodes, current->mems_allowed);if (err)return err; +#ifdef CONFIG_CPUSETS +/* Restrict the nodes to the allowed nodes in the cpuset */ +nodes_and (nodes, nodes, current->mems_allowed); +#endif return do_mbind (start, len, mode, &nodes, flags); }
Re: 'struct task_struct' has no member named 'mems_allowed' (was: Re: 2.6.20-rc4-mm1)
Quoted 3 lines · Christoph
+++
linux-2.6.20-rc4-mm1/mm/mempolicy.c2007-01-12 13:21:30.220968608 -0600
...
+#ifdefCONFIG_CPUSETS
Argh - minor detail, but this is the first (outside of fs/proc/base.c) "#ifdef CONFIG_CPUSETS" in a kernel *.c file. I prefer to avoid that.
How about doing this as I suggested in my previous message, like the other cpuset hooks, with a cpuset_* macro in include/linux/cpuset.h?
This macro would either be the 'nodes_and(...)' code if CPUSETS are configured, else a no-op. Say something like ...
cpuset_restrict_to_current_mems_allowed(nodes);
Signature · 3 lines
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <[email protected]> 1.925.600.0401Re: 'struct task_struct' has no member named 'mems_allowed' (was: Re: 2.6.20-rc4-mm1)
Quoted 2 lines · Paul Jackson
Argh - minor detail, but this is the first (outside of
fs/proc/base.c) "#ifdefCONFIG_CPUSETS" in a kernel *.c file. I prefer to avoid that.
Sorry but there will be number of those once we get the dirty writeback for cpusets fixed. Did you review that patchset (only internally mailed so far).
I do not think it makes much sense to do these macros for the single occurrence here and otherwise. Having the #ifdef here is much clearer. Also the #ifdef is in already NUMA specific code.
Re: 'struct task_struct' has no member named 'mems_allowed' (was: Re: 2.6.20-rc4-mm1)
Quoted 3 lines
Sorry but there will be number of those once we get the dirty writeback for cpusets fixed. Did you review that patchset (only internally mailed so far).
I haven't reviewed it - sorry. Too much stuff; too little time. If only I had Alan's bots, which are apparently on loan now to Andrew.
Quoted 2 lines
I do not think it makes much sense to do these macros for the single occurrence here and otherwise.
I disagree. If just one thing, like cpusets, does the ifdef's, it might be easier to read. But if several things do them in nearby code, that code gets ugly and fries my limited brain circuits.
Even just one of them looks ugly to me -- changing what could be a single indented line "cpuset_...(..);" line into three lines, two of them violating the indentation.
It might look clearer to someone who is focused on that particular change, but it adds unnecessary noise for the other 90% of the readers of that code who are not concerned with cpusets at that point in time.
Signature · 3 lines
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <[email protected]> 1.925.600.0401Re: 'struct task_struct' has no member named 'mems_allowed' (was: Re: 2.6.20-rc4-mm1)
Quoted 3 lines · Paul Jackson
It might look clearer to someone who is focused on that particular change, but it adds unnecessary noise for the other 90% of the readers of that code who are not concerned with cpusets at that point in time.
This is in NUMA specific code. And they should be concerned about cpusets since cpusets may affect the node masks they can set. If this is hidden in a macro then it may be overlooked.
Re: 'struct task_struct' has no member named 'mems_allowed' (was: Re: 2.6.20-rc4-mm1)
Quoted 1 line · Christoph
If this is hidden in a macro then it may be overlooked.
Sooner or later, every line of code is important.
Shouting any one of them in #ifdef brackets creates a noisier environment, increasing the chance of missing another.
And besides ... the other umpteen cpuset hooks all use the cpuset_*() style macros (except for fs/proc/base.c, which has its own style ...).
Consistency in style is important in these matters.
Signature · 3 lines
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <[email protected]> 1.925.600.0401Re: 'struct task_struct' has no member named 'mems_allowed' (was: Re: 2.6.20-rc4-mm1)
In reply to Christoph LameterQuoted 9 lines · On Fri, 12 Jan 2007 14:00:16 -0800 (PST) Christoph Lameter <[email protected]>…
Quoted 3 lines · Paul Jackson
It might look clearer to someone who is focused on that particular change, but it adds unnecessary noise for the other 90% of the readers of that code who are not concerned with cpusets at that point in time.
This is in NUMA specific code. And they should be concerned about cpusets since cpusets may affect the node masks they can set. If this is hidden in a macro then it may be overlooked.
bah. No ifdefs!
spurious sparse warnings from linux/aio.h (was: 2.6.20-rc4-mm1)
In reply to Andrew MortonQuoted 1 line · Andrew Morton
- Merged the "filesystem AIO patches".
This construct:
include/linux/aio.h 2007-01-11 21:36:16.000000000 -0800 do { \ · line 250
Quoted 13 lines
include/linux/aio.h 2007-01-11 21:36:16.000000000 -0800 renamed from include/linux/aio.h 2007-01-06 23:34:08.000000000 -0800 +2
-1@@ -237,7 +243,8 @@ do { \ } \ } while (0) -#define io_wait_to_kiocb(wait) container_of(wait, struct kiocb, ki_wait) +#define io_wait_to_kiocb(io_wait) container_of(container_of(io_wait, \ + struct wait_bit_queue, wait), struct kiocb, ki_wait) #include <linux/aio_abi.h>
causes a sparse warning:
Quoted 2 lines
include/linux/sched.h:1313:29: warning: symbol '__mptr' shadows an earlier oneinclude/linux/sched.h:1313:29: originally declared here
for every source file referencing <linux/sched.h>. Could that be avoided please?
Thanks
Tilman
Signature · 4 lines
Tilman Schmidt E-Mail: [email protected] Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bits. Ungeöffnet mindestens haltbar bis: (siehe Rückseite)
Re: spurious sparse warnings from linux/aio.h (was: 2.6.20-rc4-mm1)
Quoted 21 lines · Tilman Schmidt
Quoted 1 line · Andrew Morton
- Merged the "filesystem AIO patches".
This construct:
include/linux/aio.h 2007-01-11 21:36:16.000000000 -0800 do { \ · line 250
Quoted 13 lines
include/linux/aio.h 2007-01-11 21:36:16.000000000 -0800 renamed from include/linux/aio.h 2007-01-06 23:34:08.000000000 -0800 +2
-1@@ -237,7 +243,8 @@ do { \ } \ } while (0) -#define io_wait_to_kiocb(wait) container_of(wait, struct kiocb, ki_wait) +#define io_wait_to_kiocb(io_wait) container_of(container_of(io_wait, \ + struct wait_bit_queue, wait), struct kiocb, ki_wait) #include <linux/aio_abi.h>causes a sparse warning:
Quoted 5 lines
Quoted 2 lines
include/linux/sched.h:1313:29: warning: symbol '__mptr' shadows an earlier oneinclude/linux/sched.h:1313:29: originally declared herefor every source file referencing <
linux/sched.h>. Could that be avoided please?
So ... the nested container_of() is a problem ? I guess changing io_wait_to_kiocb() to be an inline function instead of a macro could help ?
Regards
Suparna
Quoted 10 lines
Thanks
TilmanSignature · 4 lines
Tilman Schmidt E-Mail: [email protected] Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bits. Ungeöffnet mindestens haltbar bis: (siehe Rückseite)
Signature · 3 lines
Suparna Bhattacharya ([email protected]) Linux Technology Center IBM Software Lab, India
Re: spurious sparse warnings from linux/aio.h
Quoted 1 line · Suparna Bhattacharya
On Fri, Jan 12, 2007 at 12:55:18PM +0100, Tilman Schmidt wrote:
[...]
Quoted 10 lines
Quoted 7 lines
causes a sparse warning:
Quoted 2 lines
include/linux/sched.h:1313:29: warning: symbol '__mptr' shadows an earlier oneinclude/linux/sched.h:1313:29: originally declared herefor every source file referencing <
linux/sched.h>. Could that be avoided please?So ... the nested
container_of()is a problem ? I guess changingio_wait_to_kiocb()to be an inline function instead of a macro could help ?
So it would seem. The following experimental patch indeed makes the warnings disappear:
include/linux/aio.h +6 -2
@@ -243,8 +243,12 @@ -#define io_wait_to_kiocb (io_wait) container_of(container_of(io_wait, \ - struct wait_bit_queue, wait), struct kiocb, ki_wait) +static inline struct kiocb *io_wait_to_kiocb (wait_queue_t *io_wait) +{ +struct wait_bit_queue *wbqptr = + container_of(io_wait, struct wait_bit_queue, wait); + return container_of(wbqptr, struct kiocb, ki_wait); +}#include <linux/aio_abi.h>
Compile checked only - please review.
Thanks
Tilman
Signature · 4 lines
Tilman Schmidt E-Mail: [email protected] Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bits. Ungeöffnet mindestens haltbar bis: (siehe Rückseite)
PATCH 1/1 remove tcp header from tcp_v4_check
In reply to Andrew MortonQuoted 3 lines · Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc3/2.6.20-rc4-mm1/
Hi,
The tcphdr struct passed to tcp_v4_check is not used, the following patch removes it from the parameter list.
(This adds the netfilter modifications missing in the patch I sent for rc3-mm1)
Regards,
Frederik
include/net/tcp.h +2 -3
@@ -802,9 +802,8 @@/* * Calculate(/check) TCP checksum */ -static inline __sum16 tcp_v4_check (struct tcphdr *th,int len, -__be32 saddr,__be32 daddr, -__wsum base) +static inline __sum16 tcp_v4_check (int len,__be32 saddr, +__be32 daddr,__wsum base) {return csum_tcpudp_magic (saddr,daddr,len,IPPROTO_TCP ,base); }
net/ipv4/netfilter/ipt_REJECT.c +2 -2
@@ -116,11 +116,11 @@/* Adjust TCP checksum */ tcph->check =0 ; - tcph->check =tcp_v4_check (tcph,sizeof (struct tcphdr ), + tcph->check =tcp_v4_check (sizeof (struct tcphdr ), nskb->nh.iph->saddr, nskb->nh.iph->daddr,csum_partial ((char *)tcph, -sizeof (struct tcphdr ),0 )); +sizeof (struct tcphdr ),0 ));/* Set DF, id = 0 */ nskb->nh.iph->frag_off =htons (IP_DF );
net/ipv4/tcp_ipv4.c +6 -6
@@ -502,11 +502,11 @@struct tcphdr *th = skb->h.th;if (skb->ip_summed ==CHECKSUM_PARTIAL ) { - th->check = ~tcp_v4_check (th, len, - inet->saddr, inet->daddr,0 ); + th->check = ~tcp_v4_check (len, inet->saddr, + inet->daddr,0 ); skb->csum_offset = offsetof(struct tcphdr , check); }else { - th->check =tcp_v4_check (th, len, inet->saddr, inet->daddr, + th->check =tcp_v4_check (len, inet->saddr, inet->daddr,csum_partial ((char *)th, th->doff <<2 , skb->csum));
@@ -525,7 +525,7 @@ th = skb->h.th; th->check =0 ; - th->check = ~tcp_v4_check (th, skb->len, iph->saddr, iph->daddr,0 ); + th->check = ~tcp_v4_check (skb->len, iph->saddr, iph->daddr,0 ); skb->csum_offset = offsetof(struct tcphdr , check); skb->ip_summed =CHECKSUM_PARTIAL ;return 0 ;
@@ -747,7 +747,7 @@if (skb) {struct tcphdr *th = skb->h.th; - th->check = tcp_v4_check(th, skb->len, + th->check = tcp_v4_check(skb->len, ireq->loc_addr, ireq->rmt_addr, csum_partial((char *)th, skb->len,
@@ -1514,7 +1514,7 @@static __sum16 tcp_v4_checksum_init (struct sk_buff *skb) {if (skb->ip_summed ==CHECKSUM_COMPLETE ) { -if (!tcp_v4_check (skb->h.th, skb->len, skb->nh.iph->saddr, +if (!tcp_v4_check (skb->len, skb->nh.iph->saddr, skb->nh.iph->daddr, skb->csum)) { skb->ip_summed =CHECKSUM_UNNECESSARY ;return 0 ;
net/ipv4/netfilter/ip_nat_helper.c +1 -1
@@ -183,7 +183,7 @@ datalen = (*pskb)->len - iph->ihl*4 ;if ((*pskb)->ip_summed !=CHECKSUM_PARTIAL ) { tcph->check =0 ; - tcph->check =tcp_v4_check (tcph, datalen, + tcph->check =tcp_v4_check (datalen, iph->saddr, iph->daddr,csum_partial ((char *)tcph, datalen,0 ));
net/ipv4/netfilter/nf_nat_helper.c +1 -1
@@ -176,7 +176,7 @@ datalen = (*pskb)->len - iph->ihl*4 ;if ((*pskb)->ip_summed !=CHECKSUM_PARTIAL ) { tcph->check =0 ; - tcph->check =tcp_v4_check (tcph, datalen, + tcph->check =tcp_v4_check (datalen, iph->saddr, iph->daddr,csum_partial ((char *)tcph, datalen,0 ));
PATCH 1/1 remove tcp header from tcp_v4_check (take #2)
Quoted 4 lines · Frederik Deweerdt
Quoted 3 lines · Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc3/2.6.20-rc4-mm1/
Hi,
Sorry for the resend, I forgot the Signed-off-by line, and noticed a whitespace breakage in ipt_REJECT.
The tcphdr struct passed to tcp_v4_check is not used, the following patch removes it from the parameter list.
This adds the netfilter modifications missing in the patch I sent for rc3-mm1.
Regards,
Frederik
include/net/tcp.h +2 -3
@@ -802,9 +802,8 @@/* * Calculate(/check) TCP checksum */ -static inline __sum16 tcp_v4_check (struct tcphdr *th,int len, -__be32 saddr,__be32 daddr, -__wsum base) +static inline __sum16 tcp_v4_check (int len,__be32 saddr, +__be32 daddr,__wsum base) {return csum_tcpudp_magic (saddr,daddr,len,IPPROTO_TCP ,base); }
net/ipv4/netfilter/ipt_REJECT.c +1 -1
@@ -116,7 +116,7 @@/* Adjust TCP checksum */ tcph->check =0 ; - tcph->check = tcp_v4_check(tcph, sizeof(struct tcphdr), + tcph->check = tcp_v4_check(sizeof(struct tcphdr), nskb->nh.iph->saddr, nskb->nh.iph->daddr, csum_partial((char *)tcph,
net/ipv4/tcp_ipv4.c +6 -6
@@ -502,11 +502,11 @@struct tcphdr *th = skb->h.th;if (skb->ip_summed ==CHECKSUM_PARTIAL ) { - th->check = ~tcp_v4_check (th, len, - inet->saddr, inet->daddr,0 ); + th->check = ~tcp_v4_check (len, inet->saddr, + inet->daddr,0 ); skb->csum_offset = offsetof(struct tcphdr , check); }else { - th->check =tcp_v4_check (th, len, inet->saddr, inet->daddr, + th->check =tcp_v4_check (len, inet->saddr, inet->daddr,csum_partial ((char *)th, th->doff <<2 , skb->csum));
@@ -525,7 +525,7 @@ th = skb->h.th; th->check =0 ; - th->check = ~tcp_v4_check (th, skb->len, iph->saddr, iph->daddr,0 ); + th->check = ~tcp_v4_check (skb->len, iph->saddr, iph->daddr,0 ); skb->csum_offset = offsetof(struct tcphdr , check); skb->ip_summed =CHECKSUM_PARTIAL ;return 0 ;
@@ -747,7 +747,7 @@if (skb) {struct tcphdr *th = skb->h.th; - th->check = tcp_v4_check(th, skb->len, + th->check = tcp_v4_check(skb->len, ireq->loc_addr, ireq->rmt_addr, csum_partial((char *)th, skb->len,
@@ -1514,7 +1514,7 @@static __sum16 tcp_v4_checksum_init (struct sk_buff *skb) {if (skb->ip_summed ==CHECKSUM_COMPLETE ) { -if (!tcp_v4_check (skb->h.th, skb->len, skb->nh.iph->saddr, +if (!tcp_v4_check (skb->len, skb->nh.iph->saddr, skb->nh.iph->daddr, skb->csum)) { skb->ip_summed =CHECKSUM_UNNECESSARY ;return 0 ;
net/ipv4/netfilter/ip_nat_helper.c +1 -1
@@ -183,7 +183,7 @@ datalen = (*pskb)->len - iph->ihl*4 ;if ((*pskb)->ip_summed !=CHECKSUM_PARTIAL ) { tcph->check =0 ; - tcph->check =tcp_v4_check (tcph, datalen, + tcph->check =tcp_v4_check (datalen, iph->saddr, iph->daddr,csum_partial ((char *)tcph, datalen,0 ));
net/ipv4/netfilter/nf_nat_helper.c +1 -1
@@ -176,7 +176,7 @@ datalen = (*pskb)->len - iph->ihl*4 ;if ((*pskb)->ip_summed !=CHECKSUM_PARTIAL ) { tcph->check =0 ; - tcph->check =tcp_v4_check (tcph, datalen, + tcph->check =tcp_v4_check (datalen, iph->saddr, iph->daddr,csum_partial ((char *)tcph, datalen,0 ));
Re: [-mm patch] remove tcp header from tcp_v4_check (take #2)
From: Frederik Deweerdt <[email protected]>
Date: Fri, 12 Jan 2007 13:55:14 +0000
Quoted 14 lines · Frederik Deweerdt
Quoted 4 lines · Andrew Morton
Quoted 3 lines
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc3/2.6.20-rc4-mm1/
Hi,
Sorry for the resend, I forgot the Signed-off-by line, and noticed a whitespace breakage in
ipt_REJECT.
The tcphdr struct passed totcp_v4_checkis not used, the following patch removes it from the parameter list.
This adds the netfilter modifications missing in the patch I sent for rc3-mm1.
Quoted 4 lines
Regards,
FrederikSigned-off-by Frederik Deweerdt <[email protected]>
Applied, thanks Frederik.
2.6.20-rc4-mm1: status of sn9c102_pas202bca?
In reply to Andrew MortonQuoted 7 lines · Andrew Morton
...
Changes since 2.6.20-rc3-mm1:
...
git-dvb.patch
...
git trees
...
drivers/media/video/sn9c102/sn9c102_pas202bca.c is no longer used or built but still shipped.
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 SeedRe: 2.6.20-rc4-mm1: status of sn9c102_pas202bca?
Hi Adrian,
Em Sáb, 2007-01-13 às 08:27 +0100, Adrian Bunk escreveu:
Quoted 11 lines · Andrew Morton
Quoted 7 lines
...
Changes since 2.6.20-rc3-mm1:
...
git-dvb.patch
...
git trees
...
drivers/media/video/sn9c102/sn9c102_pas202bca.cis no longer used or built but still shipped.
Ok, fixed and folded at the original patch. It should be at the next git-dvb.patch, after Andrew updates it from my tree.
Quoted 3 lines
cu
Adrian
PATCH 1/1 make mmc_sysfs.c:mmc_key_type static
In reply to Andrew MortonQuoted 7 lines · Andrew Morton
...
Changes since 2.6.20-rc3-mm1:
...
git-mmc.patch
...
git trees
...
This patch makes the needlessly global struct mmc_key_type static.
---
drivers/mmc/mmc.h | 1 - drivers/mmc/mmc_sysfs.c | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-)
drivers/mmc/mmc.h renamed from drivers/mmc/mmc.h.old +0 -1
@@ -20,7 +20,6 @@void mmc_free_host_sysfs (struct mmc_host *host);/* core-internal data */ -extern struct key_type mmc_key_type;struct mmc_key_payload {struct rcu_head rcu;/* RCU destructor */ unsigned short datalen;/* length of this data */
drivers/mmc/mmc_sysfs.c renamed from drivers/mmc/mmc_sysfs.c.old +3 -1
@@ -66,6 +66,8 @@static struct device_attribute mmc_dev_attr_scr =MMC_ATTR_RO (scr); +static struct key_type mmc_key_type; +#ifdef CONFIG_MMC_PASSWORDS static ssize_t
@@ -432,7 +434,7 @@kfree (mpayload); } -struct key_type mmc_key_type = { +static struct key_type mmc_key_type = { .name ="mmc" , .def_datalen =MMC_KEYLEN_MAXBYTES , .instantiate = mmc_key_instantiate,
Pierre Ossman
AppliedRe: [-mm patch] make mmc_sysfs.c:mmc_key_type static
Quoted 10 lines · Adrian Bunk
Quoted 7 lines · Andrew Morton
...
Changes since 2.6.20-rc3-mm1:
...
git-mmc.patch
...
git trees
...
Quoted 4 lines
This patch makes the needlessly global struct
mmc_key_typestatic.Signed-off-by Adrian Bunk <[email protected]>
Thanks, applied.
Rgds
Pierre
PATCH 1/1 make gfs2_change_nlink_i() static
In reply to Andrew MortonQuoted 7 lines · Andrew Morton
...
Changes since 2.6.20-rc3-mm1:
...
git-gfs2-nmw.patch
...
git trees
...
This patch makes the needlessly globlal gfs2_change_nlink_i() static.
---
fs/gfs2/inode.c | 88 ++++++++++++++++++++++++------------------------ fs/gfs2/inode.h | 1 2 files changed, 44 insertions(+), 45 deletions(-)
fs/gfs2/inode.h renamed from fs/gfs2/inode.h.old +0 -1
@@ -40,7 +40,6 @@int gfs2_dinode_dealloc (struct gfs2_inode *inode);int gfs2_change_nlink (struct gfs2_inode *ip,int diff); -int gfs2_change_nlink_i (struct gfs2_inode *ip);struct inode *gfs2_lookupi (struct inode *dir,const struct qstr *name,int is_root,struct nameidata *nd); struct inode *gfs2_createi(struct gfs2_holder *ghs, const struct qstr *name,
fs/gfs2/inode.c renamed from fs/gfs2/inode.c.old +44 -44
100 lines not on this page · raw message
Re: [-mm patch] make gfs2_change_nlink_i() static
Hi,
Quoted 10 lines · Adrian Bunk
Quoted 7 lines · Andrew Morton
...
Changes since 2.6.20-rc3-mm1:
...
git-gfs2-nmw.patch
...
git trees
...
Quoted 4 lines
This patch makes the needlessly globlal
gfs2_change_nlink_i()static.Signed-off-by Adrian Bunk <[email protected]>
Now applied to the GFS2 -nme git tree. Thanks,
Steve.
Re: [Cluster-devel] [-mm patch] make gfs2_change_nlink_i() static
In reply to Adrian BunkQuoted 12 lines · Adrian Bunk
Quoted 8 lines · Andrew Morton
...
Changes since 2.6.20-rc3-mm1:
...
git-gfs2-nmw.patch
...
git trees
...
Quoted 2 lines
This patch makes the needlessly globlal
gfs2_change_nlink_i()static.
We will probably need to call this routine from other files in our next round of code check-in.
-- Wendy
Quoted 124 lines
Signed-off-by Adrian Bunk <[email protected]>---
fs/gfs2/inode.c | 88 ++++++++++++++++++++++++------------------------ fs/gfs2/inode.h | 1 2 files changed, 44 insertions(+), 45 deletions(-)fs/gfs2/inode.h renamed from fs/gfs2/inode.h.old +0
-1@@ -40,7 +40,6 @@int gfs2_dinode_dealloc (struct gfs2_inode *inode);int gfs2_change_nlink (struct gfs2_inode *ip,int diff); -int gfs2_change_nlink_i (struct gfs2_inode *ip);struct inode *gfs2_lookupi (struct inode *dir,const struct qstr *name,int is_root,struct nameidata *nd); struct inode *gfs2_createi(struct gfs2_holder *ghs, const struct qstr *name,fs/gfs2/inode.c renamed from fs/gfs2/inode.c.old +44
-44@@ -280,6 +280,50 @@return error; } +static int gfs2_change_nlink_i (struct gfs2_inode *ip) +{ +struct gfs2_sbd *sdp = ip->i_inode.i_sb->s_fs_info; +struct gfs2_inode *rindex =GFS2_I (sdp->sd_rindex); +struct gfs2_glock *ri_gl = rindex->i_gl; +struct gfs2_rgrpd *rgd; +struct gfs2_holder ri_gh, rg_gh; +int existing, error; + +/* if we come from rename path, we could have the lock already */ + existing =gfs2_glock_is_locked_by_me (ri_gl); +if (!existing) { + error =gfs2_rindex_hold (sdp, &ri_gh); +if (error) + goto out; + } + +/* find the matching rgd */ + error = -EIO ; + rgd =gfs2_blk2rgrpd (sdp, ip->i_num.no_addr); +if (!rgd) + goto out_norgrp; + +/* +* Eventually we may want to move rgd(s) to a linked list +* and piggyback the free logic into one of gfs2 daemons +* to gain some performance. +*/ +if (!rgd->rd_gl || !gfs2_glock_is_locked_by_me (rgd->rd_gl)) { + error =gfs2_glock_nq_init (rgd->rd_gl,LM_ST_EXCLUSIVE ,0 , &rg_gh); +if (error) + goto out_norgrp; + +gfs2_unlink_di (&ip->i_inode);/* mark inode unlinked */ +gfs2_glock_dq_uninit (&rg_gh); + } + +out_norgrp: +if (!existing) +gfs2_glock_dq_uninit (&ri_gh); +out: +return error; +} +/** * gfs2_change_nlink - Change nlink count on inode * @ip: The GFS2 inode @@ -326,50 +370,6 @@return error; } -int gfs2_change_nlink_i (struct gfs2_inode *ip) -{ -struct gfs2_sbd *sdp = ip->i_inode.i_sb->s_fs_info; -struct gfs2_inode *rindex =GFS2_I (sdp->sd_rindex); -struct gfs2_glock *ri_gl = rindex->i_gl; -struct gfs2_rgrpd *rgd; -struct gfs2_holder ri_gh, rg_gh; -int existing, error; - -/* if we come from rename path, we could have the lock already */ - existing =gfs2_glock_is_locked_by_me (ri_gl); -if (!existing) { - error =gfs2_rindex_hold (sdp, &ri_gh); -if (error) - goto out; - } - -/* find the matching rgd */ - error = -EIO ; - rgd =gfs2_blk2rgrpd (sdp, ip->i_num.no_addr); -if (!rgd) - goto out_norgrp; - -/* -* Eventually we may want to move rgd(s) to a linked list -* and piggyback the free logic into one of gfs2 daemons -* to gain some performance. -*/ -if (!rgd->rd_gl || !gfs2_glock_is_locked_by_me (rgd->rd_gl)) { - error =gfs2_glock_nq_init (rgd->rd_gl,LM_ST_EXCLUSIVE ,0 , &rg_gh); -if (error) - goto out_norgrp; - -gfs2_unlink_di (&ip->i_inode);/* mark inode unlinked */ -gfs2_glock_dq_uninit (&rg_gh); - } - -out_norgrp: -if (!existing) -gfs2_glock_dq_uninit (&ri_gh); -out: -return error; -} -struct inode *gfs2_lookup_simple (struct inode *dip,const char *name) {struct qstr qstr;
Re: [Cluster-devel] [-mm patch] make gfs2_change_nlink_i() static
Quoted 13 lines · Wendy Cheng
Quoted 12 lines · Adrian Bunk
Quoted 8 lines · Andrew Morton
...
Changes since 2.6.20-rc3-mm1:
...
git-gfs2-nmw.patch
...
git trees
...
Quoted 4 lines
Quoted 2 lines
This patch makes the needlessly globlal
gfs2_change_nlink_i()static.We will probably need to call this routine from other files in our next round of code check-in.
You can always make it global again when you use it from another file.
Quoted 1 line
-- Wendy
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 Seed2.6.20-rc4-mm1: different values for OHCI_QUIRK_ZFMICRO
In reply to Andrew Morton<-- snip -->
...
CC drivers/usb/misc/ftdi-elan.o/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/usb/misc/ftdi-elan.c:2307:1: warning: "OHCI_QUIRK_ZFMICRO" redefined In file included from /home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/usb/misc/ftdi-elan.c:76:/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/usb/misc/../host/ohci.h:399:1: warning: this is the location of the previous definition
...
$ grep -r ^#define * | grep OHCI_QUIRK_ZFMICRO drivers/usb/host/ohci.h:#define OHCI_QUIRK_ZFMICRO 0x20 /* Compaq ZFMicro chipset*/ drivers/usb/host/u132-hcd.c:#define OHCI_QUIRK_ZFMICRO 0x10 drivers/usb/misc/ftdi-elan.c:#define OHCI_QUIRK_ZFMICRO 0x10 $
<-- snip -->
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 SeedRe: 2.6.20-rc4-mm1: different values for OHCI_QUIRK_ZFMICRO
Quoted 1 line · Adrian Bunk
<-- snip -->
Waiting for Tony to submit bugfixes to his driver...
Quoted 24 lines
...
CCdrivers/usb/misc/ftdi-elan.o/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/usb/misc/ftdi-elan.c:2307:1: warning: "OHCI_QUIRK_ZFMICRO" redefined In file included from/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/usb/misc/ftdi-elan.c:76:/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/usb/misc/../host/ohci.h:399:1: warning: this is the location of the previous definition
...$ grep -r ^#define * | grep OHCI_QUIRK_ZFMICRO drivers/usb/host/ohci.h:#define OHCI_QUIRK_ZFMICRO 0x20 /* Compaq ZFMicro chipset*/ drivers/usb/host/u132-hcd.c:#define OHCI_QUIRK_ZFMICRO 0x10 drivers/usb/misc/ftdi-elan.c:#define OHCI_QUIRK_ZFMICRO 0x10 $<-- snip -->
cu
AdrianSignature · 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
Re: 2.6.20-rc4-mm1: different values for OHCI_QUIRK_ZFMICRO
Quoted 4 lines · David Brownell
Quoted 1 line · Adrian Bunk
<-- snip -->
Waiting for Tony to submit bugfixes to his driver...
Still unfixed as of 2.6.20-mm1.
Quoted 12 lines
Quoted 12 lines
...
CCdrivers/usb/misc/ftdi-elan.o/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/usb/misc/ftdi-elan.c:2307:1: warning: "OHCI_QUIRK_ZFMICRO" redefined In file included from/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/usb/misc/ftdi-elan.c:76:/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/usb/misc/../host/ohci.h:399:1: warning: this is the location of the previous definition
...$ grep -r ^#define * | grep OHCI_QUIRK_ZFMICRO drivers/usb/host/ohci.h:#define OHCI_QUIRK_ZFMICRO 0x20 /* Compaq ZFMicro chipset*/ drivers/usb/host/u132-hcd.c:#define OHCI_QUIRK_ZFMICRO 0x10 drivers/usb/misc/ftdi-elan.c:#define OHCI_QUIRK_ZFMICRO 0x10 $
Quoted 1 line
Quoted 1 line
<-- snip -->
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 SeedRe: 2.6.20-rc4-mm1: different values for OHCI_QUIRK_ZFMICRO
Quoted 21 lines · On Tue, 20 Feb 2007 01:06:54 +0100 Adrian Bunk wrote:
Quoted 4 lines · David Brownell
Quoted 1 line · Adrian Bunk
<-- snip -->
Waiting for Tony to submit bugfixes to his driver...
Still unfixed as of 2.6.20-mm1.
Quoted 13 lines
Quoted 13 lines
...
CCdrivers/usb/misc/ftdi-elan.o/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/usb/misc/ftdi-elan.c:2307:1: warning: "OHCI_QUIRK_ZFMICRO" redefined In file included from/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/usb/misc/ftdi-elan.c:76:/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/usb/misc/../host/ohci.h:399:1: warning: this is the location of the previous definition
...$ grep -r ^#define * | grep OHCI_QUIRK_ZFMICRO drivers/usb/host/ohci.h:#define OHCI_QUIRK_ZFMICRO 0x20 /* Compaq ZFMicro chipset*/ drivers/usb/host/u132-hcd.c:#define OHCI_QUIRK_ZFMICRO 0x10 drivers/usb/misc/ftdi-elan.c:#define OHCI_QUIRK_ZFMICRO 0x10 $<-- snip -->
so is there a patch around for this yet?
or shall someone other than Tony (??) make one?
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
Re: 2.6.20-rc4-mm1: different values for OHCI_QUIRK_ZFMICRO
Quoted 6 lines · Randy Dunlap
Quoted 4 lines · On Tue, 20 Feb 2007 01:06:54 +0100 Adrian Bunk wrote:
Quoted 3 lines · David Brownell
Quoted 1 line · Adrian Bunk
<-- snip -->
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Waiting for Tony to submit bugfixes to his driver...
Still unfixed as of 2.6.20-mm1.
so is there a patch around for this yet?
or shall someone other than Tony (??) make one?
ISTR posting the appended patch back in January; it's been refreshed since then. Presumably it still works.
- Dave
============= CUT HERE
Partial fix for bogosity in the ftdi-elan and u13-hcd drivers ... these have no business including with the internals of other drivers, much less doing so in a broken way!!
drivers/usb/misc/ftdi-elan.c +8 -5
@@ -73,6 +73,13 @@ static struct list_head ftdi_static_list#include "usb_u132.h" #include <asm/io.h> #include "../core/hcd.h" + +/* FIXME ohci.h is ONLY for internal use by the OHCI driver. +* If you're going to try crap like this, you need to split +* out the common stuff (register declarations?) into a +* sharable file, maybe name <linux/usb/ohci.h> +*/ +#include "../host/ohci.h" /* Define these values to match your devices*/ #define USB_FTDI_ELAN_VENDOR_ID 0x0403
@@ -2300,11 +2307,7 @@ static int ftdi_elan_checkingPCI(struct offsetof(struct ohci_regs, member), 0, data);#define ftdi_write_pcimem (ftdi, member, data) ftdi_elan_write_pcimem(ftdi, \ offsetof(struct ohci_regs, member), 0, data); -#define OHCI_QUIRK_AMD756 0x01 -#define OHCI_QUIRK_SUPERIO 0x02 -#define OHCI_QUIRK_INITRESET 0x04 -#define OHCI_BIG_ENDIAN 0x08 -#define OHCI_QUIRK_ZFMICRO 0x10 +#define OHCI_CONTROL_INIT OHCI_CTRL_CBSR#define OHCI_INTR_INIT (OHCI_INTR_MIE | OHCI_INTR_UE | OHCI_INTR_RD | \ OHCI_INTR_WDH)
drivers/usb/host/u132-hcd.c +7 -5
@@ -58,6 +58,13 @@#include <asm/system.h> #include <asm/byteorder.h> #include "../core/hcd.h" + +/* FIXME ohci.h is ONLY for internal use by the OHCI driver. +* If you're going to try crap like this, you need to split +* out the common stuff (register declarations?) into a +* sharable file, maybe name <linux/usb/ohci.h> +*/ +#include "ohci.h" #define OHCI_CONTROL_INIT OHCI_CTRL_CBSR#define OHCI_INTR_INIT (OHCI_INTR_MIE | OHCI_INTR_UE | OHCI_INTR_RD | \
@@ -174,11 +181,6 @@ struct u132_ring {struct u132_endp *curr_endp;struct delayed_work scheduler; }; -#define OHCI_QUIRK_AMD756 0x01 -#define OHCI_QUIRK_SUPERIO 0x02 -#define OHCI_QUIRK_INITRESET 0x04 -#define OHCI_BIG_ENDIAN 0x08 -#define OHCI_QUIRK_ZFMICRO 0x10struct u132 {struct kref kref;struct list_head u132_list;
PATCH 1/1 different values for OHCI_QUIRK_ZFMICRO
Quoted 11 lines · On Thu, 29 Mar 2007 15:24:00 -0700 David Brownell wrote:
Quoted 10 lines · Randy Dunlap
Quoted 7 lines · On Tue, 20 Feb 2007 01:06:54 +0100 Adrian Bunk wrote:
Quoted 4 lines · David Brownell
Quoted 1 line · Adrian Bunk
<-- snip -->
Waiting for Tony to submit bugfixes to his driver...
Still unfixed as of 2.6.20-mm1.
Quoted 8 lines
Quoted 3 lines
so is there a patch around for this yet?
or shall someone other than Tony (??) make one?
ISTR posting the appended patch back in January; it's been refreshed since then. Presumably it still works.
- Dave
Oh, Greg, can we get this merged some day soon, please? David posted this patch on 2007-FEB-08.
From: David Brownell <[email protected]>
Partial fix for bogosity in the ftdi-elan and u13-hcd drivers ... these have no business including with the internals of other drivers, much less doing so in a broken way!!
Updated for 2.6.21-git10.
--- drivers/usb/host/u132-hcd.c | 12 +++++++----- drivers/usb/misc/ftdi-elan.c | 12 ++++++++---- 2 files changed, 15 insertions(+), 9 deletions(-)
drivers/usb/host/u132-hcd.c +7 -5
@@ -57,6 +57,13 @@#include <asm/system.h> #include <asm/byteorder.h> #include "../core/hcd.h" + +/* FIXME ohci.h is ONLY for internal use by the OHCI driver. +* If you're going to try crap like this, you need to split +* out the common stuff (register declarations?) into a +* sharable file, maybe name <linux/usb/ohci.h> +*/ +#include "ohci.h" #define OHCI_CONTROL_INIT OHCI_CTRL_CBSR#define OHCI_INTR_INIT (OHCI_INTR_MIE | OHCI_INTR_UE | OHCI_INTR_RD | \
@@ -173,11 +180,6 @@ struct u132_ring {struct u132_endp *curr_endp;struct delayed_work scheduler; }; -#define OHCI_QUIRK_AMD756 0x01 -#define OHCI_QUIRK_SUPERIO 0x02 -#define OHCI_QUIRK_INITRESET 0x04 -#define OHCI_BIG_ENDIAN 0x08 -#define OHCI_QUIRK_ZFMICRO 0x10struct u132 {struct kref kref;struct list_head u132_list;
drivers/usb/misc/ftdi-elan.c +8 -4
@@ -73,6 +73,13 @@ static struct list_head ftdi_static_list#include "usb_u132.h" #include <asm/io.h> #include "../core/hcd.h" + +/* FIXME ohci.h is ONLY for internal use by the OHCI driver. +* If you're going to try crap like this, you need to split +* out the common stuff (register declarations?) into a +* sharable file, maybe name <linux/usb/ohci.h> +*/ +#include "../host/ohci.h" /* Define these values to match your devices*/ #define USB_FTDI_ELAN_VENDOR_ID 0x0403
@@ -2300,10 +2307,7 @@ static int ftdi_elan_checkingPCI(struct offsetof(struct ohci_regs, member), 0, data);#define ftdi_write_pcimem (ftdi, member, data) ftdi_elan_write_pcimem(ftdi, \ offsetof(struct ohci_regs, member), 0, data); -#define OHCI_QUIRK_AMD756 0x01 -#define OHCI_QUIRK_SUPERIO 0x02 -#define OHCI_QUIRK_INITRESET 0x04 -#define OHCI_BIG_ENDIAN 0x08 +#define OHCI_CONTROL_INIT OHCI_CTRL_CBSR#define OHCI_INTR_INIT (OHCI_INTR_MIE | OHCI_INTR_UE | OHCI_INTR_RD | \ OHCI_INTR_WDH)
Re: [PATCH] different values for OHCI_QUIRK_ZFMICRO
Quoted 17 lines · Randy Dunlap
Quoted 15 lines · On Thu, 29 Mar 2007 15:24:00 -0700 David Brownell wrote:
Quoted 13 lines · Randy Dunlap
Quoted 7 lines · On Tue, 20 Feb 2007 01:06:54 +0100 Adrian Bunk wrote:
Quoted 4 lines · David Brownell
Quoted 1 line · Adrian Bunk
<-- snip -->
Waiting for Tony to submit bugfixes to his driver...
Still unfixed as of 2.6.20-mm1.
so is there a patch around for this yet?
or shall someone other than Tony (??) make one?
Quoted 7 lines
Quoted 4 lines
ISTR posting the appended patch back in January; it's been refreshed since then. Presumably it still works.
- Dave
Oh, Greg, can we get this merged some day soon, please? David posted this patch on 2007-FEB-08.
And reposted it 2007-APR-29 too, after refresh ...
Re: [PATCH] different values for OHCI_QUIRK_ZFMICRO
In reply to Randy DunlapQuoted 26 lines · Randy Dunlap
Quoted 11 lines · On Thu, 29 Mar 2007 15:24:00 -0700 David Brownell wrote:
Quoted 10 lines · Randy Dunlap
Quoted 7 lines · On Tue, 20 Feb 2007 01:06:54 +0100 Adrian Bunk wrote:
Quoted 4 lines · David Brownell
Quoted 1 line · Adrian Bunk
<-- snip -->
Waiting for Tony to submit bugfixes to his driver...
Still unfixed as of 2.6.20-mm1.
Quoted 8 lines
Quoted 3 lines
so is there a patch around for this yet?
or shall someone other than Tony (??) make one?
ISTR posting the appended patch back in January; it's been refreshed since then. Presumably it still works.
- Dave
Oh, Greg, can we get this merged some day soon, please? David posted this patch on 2007-FEB-08.
Quoted 7 lines
From: David Brownell <[email protected]>
Partial fix for bogosity in the ftdi-elan and u13-hcd drivers ... these have no business including with the internals of other drivers, much less doing so in a broken way!!
Updated for 2.6.21-git10.
This is already in my tree, and should show up in the next -mm and will be going to Linus in time for 2.6.22. He resent it to me a few days ago, sorry for somehow dropping it back in Feburary :(
thanks,
greg k-h
Re: 2.6.20-rc4-mm1: different values for OHCI_QUIRK_ZFMICRO
In reply to Randy DunlapSorry guys,
I have spent the last three weeks trying to track down a problem one of our customers has been having, the only thing I have been able to determine is that using mutex'es the kernel crashes and using semaphores instead works. Now I realize that the target is to use mutexes, but I have been really at my wits end trying to solve the problem. As a result I am just now doing an external module tar ball version and with a bit of luck I should be able to post it on our web site, so that our customers can download it, before I take my two week easter holiday starting in one hour. Since I have restructured the driver several times trying to get a handle on the problem, I think the kernel patch is going to be a complete replacement, which will take a couple of weeks to squeeze all the lines into 80 columns.
Tony Olech
----- Original Message ----- From: "Randy Dunlap" <[email protected]>
To: "Adrian Bunk" <[email protected]>
Cc: "David Brownell" <[email protected]>; "Andrew Morton" <[email protected]>; "Benjamin Herrenschmidt" <[email protected]>; "David Brownell" <[email protected]>; "Geoff Levand" <[email protected]>; "Greg Kroah-Hartman" <[email protected]>; "Tony Olech" <[email protected]>; <[email protected]>; <[email protected]>
Sent: Thursday, March 29, 2007 11:06 PM
Subject: Re: 2.6.20-rc4-mm1: different values for OHCI_QUIRK_ZFMICRO
Quoted 39 lines · On Tue, 20 Feb 2007 01:06:54 +0100 Adrian Bunk wrote:
Quoted 26 lines · David Brownell
Quoted 4 lines · Adrian Bunk
Quoted 1 line
<-- snip -->
Waiting for Tony to submit bugfixes to his driver...
Still unfixed as of 2.6.20-mm1.
Quoted 17 lines
Quoted 17 lines
...
CCdrivers/usb/misc/ftdi-elan.o/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/usb/misc/ftdi-elan.c:2307:1:
warning: "OHCI_QUIRK_ZFMICRO" redefined
In file included from/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/usb/misc/ftdi-elan.c:76:/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/usb/misc/../host/ohci.h:399:1:
warning: this is the location of the previous definition
...$ grep -r ^#define * | grep OHCI_QUIRK_ZFMICRO drivers/usb/host/ohci.h:#define OHCI_QUIRK_ZFMICRO 0x20 /* Compaq ZFMicro chipset*/ drivers/usb/host/u132-hcd.c:#define OHCI_QUIRK_ZFMICRO 0x10 drivers/usb/misc/ftdi-elan.c:#define OHCI_QUIRK_ZFMICRO 0x10 $<-- snip -->
so is there a patch around for this yet?
or shall someone other than Tony (??) make one?
---
~Randy
*** Remember to useDocumentation/SubmitChecklistwhen testing your code
***
Quoted 1 line · Andrew Morton
- Merged the "filesystem AIO patches".
Hotfixes alreday applied.
BUG: at /home/tglx/work/kernel/vanilla/linux-2.6.20-rc4-mm1/arch/i386/mm/highmem.c:60 kmap_atomic() [<c0105fba>] show_trace_log_lvl+0x1a/0x2f [<c01065ff>] show_trace+0x12/0x14 [<c01066b1>] dump_stack+0x16/0x18 [<c011fad8>] kmap_atomic+0x12f/0x1c8 [<f88db29c>] ata_scsi_rbuf_get+0x22/0x37 [libata] [<f88db773>] atapi_qc_complete+0x1ee/0x240 [libata] [<f88d666b>] __ata_qc_complete+0x86/0x8d [libata] [<f88d670a>] ata_qc_complete+0x98/0x9e [libata] [<f88d98f4>] ata_qc_complete_multiple+0x8a/0xa4 [libata] [<f88b3a2c>] ahci_interrupt+0x2bd/0x3b9 [ahci] [<c0154a2d>] handle_IRQ_event+0x21/0x48 [<c0155971>] handle_edge_irq+0xd1/0x115 [<c01071af>] do_IRQ+0x6c/0x89 [<c0105a0b>] common_interrupt+0x23/0x28 [<c01031c2>] mwait_idle+0xd/0xf [<c010343f>] cpu_idle+0xb7/0xf1 [<c010141d>] rest_init+0x37/0x3a [<c04629bd>] start_kernel+0x3cc/0x3ef [<00000000>] 0x0
ata_scsi_rbuf_get requests KM_IRQ0 type memory and calls kmap_atomic with interrupts enabled.
Boot proceeds, but gets stuck hard at:
"Remounting root filesystem in read-write mode:"
No SysRq-T, nothing.
The above BUG seems unrelated to that. Investigating further.
tglx
Quoted 9 lines · Thomas Gleixner
ata_scsi_rbuf_getrequestsKM_IRQ0type memory and callskmap_atomicwith interrupts enabled.Boot proceeds, but gets stuck hard at:
"Remounting root filesystem in read-write mode:"No SysRq-T, nothing.
The above BUG seems unrelated to that. Investigating further.
Bisect identified: git-block.patch
tglx
Quoted 8 lines · Thomas Gleixner
Quoted 6 lines
Boot proceeds, but gets stuck hard at:
"Remounting root filesystem in read-write mode:"No SysRq-T, nothing.
The above BUG seems unrelated to that. Investigating further.
Bisect identified: git-block.patch
Does only happen on 2 systems. Both have sata + raid1 setup. I managed to get a stacktrace from the SMP box. Sits there and sleeps forever.
tglx
[<c032ac64>] io_schedule+0x7a/0x9a [<c0157f89>] sleep_on_page+0x8/0xc [<c032ae45>] __wait_on_bit+0x36/0x5d [<c01580d8>] wait_on_page_bit+0x5b/0x61 [<c0158a2b>] wait_on_page_writeback_range+0x4f/0xef [<c0158b0f>] filemap_fdatawait+0x44/0x49 [<c0158da0>] filemap_write_and_wait+0x22/0x2d [<c0190e39>] sync_blockdev+0x17/0x1d [<c01a27af>] quota_sync_sb+0x33/0xd6 [<c01a2874>] sync_dquots+0x22/0xfa [<c01757cf>] __fsync_super+0x17/0x66 [<c0175829>] fsync_super+0xb/0x19 [<c0175880>] do_remount_sb+0x49/0x101 [<c0187f98>] do_mount+0x1ad/0x678 [<c01884d2>] sys_mount+0x6f/0xa4 [<c0103f6a>] sysenter_past_esp+0x5f/0x99
Quoted 15 lines · Thomas Gleixner
Quoted 8 lines · Thomas Gleixner
Quoted 6 lines
Boot proceeds, but gets stuck hard at:
"Remounting root filesystem in read-write mode:"No SysRq-T, nothing.
The above BUG seems unrelated to that. Investigating further.
Bisect identified: git-block.patch
Does only happen on 2 systems. Both have sata + raid1 setup. I managed to get a stacktrace from the SMP box. Sits there and sleeps forever.
tglx
Quoted 16 lines
[<c032ac64>] io_schedule+0x7a/0x9a [<c0157f89>] sleep_on_page+0x8/0xc [<c032ae45>] __wait_on_bit+0x36/0x5d [<c01580d8>] wait_on_page_bit+0x5b/0x61 [<c0158a2b>] wait_on_page_writeback_range+0x4f/0xef [<c0158b0f>] filemap_fdatawait+0x44/0x49 [<c0158da0>] filemap_write_and_wait+0x22/0x2d [<c0190e39>] sync_blockdev+0x17/0x1d [<c01a27af>] quota_sync_sb+0x33/0xd6 [<c01a2874>] sync_dquots+0x22/0xfa [<c01757cf>] __fsync_super+0x17/0x66 [<c0175829>] fsync_super+0xb/0x19 [<c0175880>] do_remount_sb+0x49/0x101 [<c0187f98>] do_mount+0x1ad/0x678 [<c01884d2>] sys_mount+0x6f/0xa4 [<c0103f6a>] sysenter_past_esp+0x5f/0x99
raid seems to have severe problems with the plugging change. I'll try and find Neil and have a chat with him, hopefully we can work it out.
Signature · 1 line
Jens Axboe
Quoted 2 lines · Jens Axboe
raid seems to have severe problems with the plugging change. I'll try and find Neil and have a chat with him, hopefully we can work it out.
Some hints:
mount(1899): WRITE block 16424 on md3
call md_write_startmd3_raid1(438): WRITE block 40965504 on sdb6md3_raid1(438): WRITE block 40965504 on sda6
First Write sector 16424 disks 2
Stuck.
Note, that neither end_buffer_async_write() norraid1_end_write_request() are invoked,
In a previous write invoked by:fsck.ext3(1896): WRITE block 8552 on sdb1end_buffer_async_write() is invoked.
sdb1 is not a part of a raid device.
Hope that helps,
tglx
Quoted 14 lines · Thomas Gleixner
Quoted 2 lines · Jens Axboe
raid seems to have severe problems with the plugging change. I'll try and find Neil and have a chat with him, hopefully we can work it out.
Some hints:
mount(1899): WRITE block 16424 on md3
callmd_write_startmd3_raid1(438): WRITE block 40965504 on sdb6md3_raid1(438): WRITE block 40965504 on sda6
First Write sector 16424 disks 2Stuck.
Quoted 8 lines
Note, that neither
end_buffer_async_write()norraid1_end_write_request()are invoked,In a previous write invoked by:
fsck.ext3(1896): WRITE block 8552 on sdb1end_buffer_async_write()is invoked.sdb1 is not a part of a raid device.
When I briefly tested this before I left (and found it broken), doing a cat /proc/mdstat got things going again. Hard if that's your rootfs, it's just a hint :-)
Quoted 1 line
Hope that helps,
I can reproduce, so that's not a problem. I can't do much about it until I'm back next week, but Neil might be able to help. We shall see. Thanks for testing.
Signature · 1 line
Jens Axboe
Quoted 8 lines · Jens Axboe
Quoted 4 lines
In a previous write invoked by:
fsck.ext3(1896): WRITE block 8552 on sdb1end_buffer_async_write()is invoked.sdb1 is not a part of a raid device.
When I briefly tested this before I left (and found it broken), doing a cat
/proc/mdstatgot things going again. Hard if that's your rootfs, it's just a hint :-)
hm, so you knew it's broken, still you let Andrew pick it up, or am i misunderstanding something?
Ingo
Quoted 6 lines · Ingo Molnar
Quoted 3 lines · Jens Axboe
Quoted 3 lines
In a previous write invoked by:
fsck.ext3(1896): WRITE block 8552 on sdb1end_buffer_async_write()is invoked.
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
sdb1 is not a part of a raid device.
When I briefly tested this before I left (and found it broken), doing a cat
/proc/mdstatgot things going again. Hard if that's your rootfs, it's just a hint :-)hm, so you knew it's broken, still you let Andrew pick it up, or am i misunderstanding something?
Well the raid issue wasn't known before it was in -mm.
Signature · 1 line
Jens Axboe
Quoted 15 lines · Thomas Gleixner
Quoted 8 lines · Thomas Gleixner
Quoted 6 lines
Boot proceeds, but gets stuck hard at:
"Remounting root filesystem in read-write mode:"No SysRq-T, nothing.
The above BUG seems unrelated to that. Investigating further.
Bisect identified: git-block.patch
Does only happen on 2 systems. Both have sata + raid1 setup. I managed to get a stacktrace from the SMP box. Sits there and sleeps forever.
tglx
Quoted 16 lines
[<c032ac64>] io_schedule+0x7a/0x9a [<c0157f89>] sleep_on_page+0x8/0xc [<c032ae45>] __wait_on_bit+0x36/0x5d [<c01580d8>] wait_on_page_bit+0x5b/0x61 [<c0158a2b>] wait_on_page_writeback_range+0x4f/0xef [<c0158b0f>] filemap_fdatawait+0x44/0x49 [<c0158da0>] filemap_write_and_wait+0x22/0x2d [<c0190e39>] sync_blockdev+0x17/0x1d [<c01a27af>] quota_sync_sb+0x33/0xd6 [<c01a2874>] sync_dquots+0x22/0xfa [<c01757cf>] __fsync_super+0x17/0x66 [<c0175829>] fsync_super+0xb/0x19 [<c0175880>] do_remount_sb+0x49/0x101 [<c0187f98>] do_mount+0x1ad/0x678 [<c01884d2>] sys_mount+0x6f/0xa4 [<c0103f6a>] sysenter_past_esp+0x5f/0x99
raid seems to have severe problems with the plugging change. I'll try and find Neil and have a chat with him, hopefully we can work it out.
Signature · 1 line
Jens Axboe
i810fb fails to load (was: 2.6.20-rc4-mm1)
In reply to Andrew MortonWith kernel 2.6.20-rc4-mm1 and all hotfixes, i810fb fails to load on my Dell Optiplex GX110. Here's an excerpt of the diff between the boot logs of 2.6.20-rc5 (working) and 2.6.20-rc4-mm1 (non-working):
@@ -4,7 +4,7 @@
No module symbols loaded - kernel modules not enabled.
klogd 1.4.1, log source = ksyslog started.
-<5>Linux version 2.6.20-rc5-noinitrd (ts@gx110) (gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)) #2 PREEMPT Sun Jan 14 23:37:12 CET 2007 +<5>Linux version 2.6.20-rc4-mm1-noinitrd (ts@gx110) (gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)) #3 PREEMPT Sun Jan 14 21:08:56 CET 2007
<6>BIOS-provided physical RAM map:
<4>sanitize start
<4>sanitize end
@@ -188,7 +192,6 @@
<6>ACPI: Interpreter enabled
<6>ACPI: Using PIC for interrupt routing
<6>ACPI: PCI Root Bridge [PCI0] (0000:00)
-<7>PCI: Probing PCI hardware (bus 00)
<6>ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
<7>Boot video device is 0000:00:01.0
<4>PCI quirk: region 0800-087f claimed by ICH4 ACPI/GPIO/TCO
@@ -238,20 +241,15 @@
<6>isapnp: No Plug & Play device found
<6>Real Time Clock Driver v1.12ac
<6>Intel 82802 RNG detected
-<6>Linux agpgart interface v0.101 (c) Dave Jones
+<6>Linux agpgart interface v0.102 (c) Dave Jones
<6>agpgart: Detected an Intel i810 E Chipset.
<6>agpgart: detected 4MB dedicated video ram.
<6>agpgart: AGP aperture is 64M @ 0xf8000000
<4>ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 9
<7>PCI: setting IRQ 9 as level-triggered
<6>ACPI: PCI Interrupt 0000:00:01.0[A] -> Link [LNKA] -> GSI 9 (level, low) -> IRQ 9
-<4>i810-i2c: Probe DDC1 Bus
-<4>i810fb_init_pci: DDC probe successful
-<4>Console: switching to colour frame buffer device 160x64
-<4>I810FB: fb0 : Intel(R) 810E Framebuffer Device v0.9.0 -<4>I810FB: Video RAM : 4096K -<4>I810FB: Monitor : H: 30-83 KHz V: 55-75 Hz -<4>I810FB: Mode : 1280x1024-8bpp@60Hz
+<4>i810fb_alloc_fbmem: can't bind framebuffer memory +<4>i810fb: probe of 0000:00:01.0 failed with error -16
<6>Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled <6>serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A <6>serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Please let me know if you need more information.
Thanks
Tilman
Signature · 4 lines
Tilman Schmidt E-Mail: [email protected] Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bits. Ungeöffnet mindestens haltbar bis: (siehe Rückseite)
Re: i810fb fails to load (was: 2.6.20-rc4-mm1)
Quoted 47 lines · On Mon, 15 Jan 2007 00:52:36 +0100 Tilman Schmidt <[email protected]> wrote:
With kernel 2.6.20-rc4-mm1 and all hotfixes, i810fb fails to load on my Dell Optiplex GX110. Here's an excerpt of the diff between the boot logs of 2.6.20-rc5 (working) and 2.6.20-rc4-mm1 (non-working):
(quoted diff) +4
-10@@ -4,7 +4,7 @@ No module symbols loaded - kernel modules not enabled. klogd 1.4.1, log source = ksyslog started. -<5>Linux version 2.6.20-rc5-noinitrd (ts@gx110) (gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)) #2 PREEMPT Sun Jan 14 23:37:12 CET 2007 +<5>Linux version 2.6.20-rc4-mm1-noinitrd (ts@gx110) (gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)) #3 PREEMPT Sun Jan 14 21:08:56 CET 2007 <6>BIOS-provided physical RAM map: <4>sanitize start <4>sanitize end@@ -188,7 +192,6 @@ <6>ACPI: Interpreter enabled <6>ACPI: Using PIC for interrupt routing <6>ACPI: PCI Root Bridge [PCI0] (0000:00) -<7>PCI: Probing PCI hardware (bus 00) <6>ACPI: Assume root bridge [\_SB_.PCI0] bus is 0 <7>Boot video device is 0000:00:01.0 <4>PCI quirk: region 0800-087f claimed by ICH4 ACPI/GPIO/TCO@@ -238,20 +241,15 @@ <6>isapnp: No Plug & Play device found <6>Real Time Clock Driver v1.12ac <6>Intel 82802 RNG detected -<6>Linux agpgart interface v0.101 (c) Dave Jones +<6>Linux agpgart interface v0.102 (c) Dave Jones <6>agpgart: Detected an Intel i810 E Chipset. <6>agpgart: detected 4MB dedicated video ram. <6>agpgart: AGP aperture is 64M @ 0xf8000000 <4>ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 9 <7>PCI: setting IRQ 9 as level-triggered <6>ACPI: PCI Interrupt 0000:00:01.0[A] -> Link [LNKA] -> GSI 9 (level, low) -> IRQ 9 -<4>i810-i2c: Probe DDC1 Bus -<4>i810fb_init_pci: DDC probe successful -<4>Console: switching to colour frame buffer device 160x64 -<4>I810FB: fb0 : Intel(R) 810E Framebuffer Device v0.9.0 -<4>I810FB: Video RAM : 4096K -<4>I810FB: Monitor : H: 30-83 KHz V: 55-75 Hz -<4>I810FB: Mode : 1280x1024-8bpp@60Hz +<4>i810fb_alloc_fbmem: can't bind framebuffer memory +<4>i810fb: probe of 0000:00:01.0 failed with error -16 <6>Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled <6>serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A <6>serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Quoted 2 lines
Please let me know if you need more information.
Don't know. But I bet someone on the Cc does...
Re: i810fb fails to load
Quoted 47 lines · Andrew Morton
Quoted 47 lines · On Mon, 15 Jan 2007 00:52:36 +0100 Tilman Schmidt <[email protected]> wrote:
With kernel 2.6.20-rc4-mm1 and all hotfixes, i810fb fails to load on my Dell Optiplex GX110. Here's an excerpt of the diff between the boot logs of 2.6.20-rc5 (working) and 2.6.20-rc4-mm1 (non-working):
(quoted diff) +4
-10@@ -4,7 +4,7 @@ No module symbols loaded - kernel modules not enabled. klogd 1.4.1, log source = ksyslog started. -<5>Linux version 2.6.20-rc5-noinitrd (ts@gx110) (gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)) #2 PREEMPT Sun Jan 14 23:37:12 CET 2007 +<5>Linux version 2.6.20-rc4-mm1-noinitrd (ts@gx110) (gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)) #3 PREEMPT Sun Jan 14 21:08:56 CET 2007 <6>BIOS-provided physical RAM map: <4>sanitize start <4>sanitize end@@ -188,7 +192,6 @@ <6>ACPI: Interpreter enabled <6>ACPI: Using PIC for interrupt routing <6>ACPI: PCI Root Bridge [PCI0] (0000:00) -<7>PCI: Probing PCI hardware (bus 00) <6>ACPI: Assume root bridge [\_SB_.PCI0] bus is 0 <7>Boot video device is 0000:00:01.0 <4>PCI quirk: region 0800-087f claimed by ICH4 ACPI/GPIO/TCO@@ -238,20 +241,15 @@ <6>isapnp: No Plug & Play device found <6>Real Time Clock Driver v1.12ac <6>Intel 82802 RNG detected -<6>Linux agpgart interface v0.101 (c) Dave Jones +<6>Linux agpgart interface v0.102 (c) Dave Jones <6>agpgart: Detected an Intel i810 E Chipset. <6>agpgart: detected 4MB dedicated video ram. <6>agpgart: AGP aperture is 64M @ 0xf8000000 <4>ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 9 <7>PCI: setting IRQ 9 as level-triggered <6>ACPI: PCI Interrupt 0000:00:01.0[A] -> Link [LNKA] -> GSI 9 (level, low) -> IRQ 9 -<4>i810-i2c: Probe DDC1 Bus -<4>i810fb_init_pci: DDC probe successful -<4>Console: switching to colour frame buffer device 160x64 -<4>I810FB: fb0 : Intel(R) 810E Framebuffer Device v0.9.0 -<4>I810FB: Video RAM : 4096K -<4>I810FB: Monitor : H: 30-83 KHz V: 55-75 Hz -<4>I810FB: Mode : 1280x1024-8bpp@60Hz +<4>i810fb_alloc_fbmem: can't bind framebuffer memory +<4>i810fb: probe of 0000:00:01.0 failed with error -16 <6>Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled <6>serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A <6>serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Quoted 6 lines
Quoted 3 lines
Please let me know if you need more information.
Don't know. But I bet someone on the Cc does...
Tilman,
Thanks for reporting.
Can you try the attached patch to see if that fixes the problem.
Regards,
Thomas Hellström
drivers/char/agp/generic.c +1 -0
@@ -190,6 +190,7 @@ struct agp_memory *agp_create_memory(intreturn NULL ; } new->num_scratch_pages = scratch_pages; + new->type =AGP_NORMAL_MEMORY ;return new; }EXPORT_SYMBOL (agp_create_memory);
drivers/char/agp/intel-agp.c +1 -0
@@ -260,6 +260,7 @@ static int intel_i810_insert_entries(strreadl (intel_i810_private.registers+I810_PTE_BASE +((i-1 )*4 ));break ;case AGP_PHYS_MEMORY : +case AGP_NORMAL_MEMORY :if (!mem->is_flushed)global_cache_flush ();for (i =0 , j = pg_start; i < mem->page_count; i++, j++) {
Re: i810fb fails to load
Am 22.01.2007 14:42 schrieb Thomas Hellström:
Quoted 5 lines
Quoted 4 lines
Quoted 3 lines · On Mon, 15 Jan 2007 00:52:36 +0100 Tilman Schmidt <[email protected]> wrote:
With kernel 2.6.20-rc4-mm1 and all hotfixes, i810fb fails to load on my Dell Optiplex GX110. [...]
Can you try the attached patch to see if that fixes the problem.
Yes, that patch fixes it.
Thanks
Tilman
Quoted 26 lines
------------------------------------------------------------------------
drivers/char/agp/generic.c +1
-0@@ -190,6 +190,7 @@ struct agp_memory *agp_create_memory(intreturn NULL ; } new->num_scratch_pages = scratch_pages; + new->type =AGP_NORMAL_MEMORY ;return new; }EXPORT_SYMBOL (agp_create_memory);drivers/char/agp/intel-agp.c +1
-0@@ -260,6 +260,7 @@ static int intel_i810_insert_entries(strreadl (intel_i810_private.registers+I810_PTE_BASE +((i-1 )*4 ));break ;case AGP_PHYS_MEMORY : +case AGP_NORMAL_MEMORY :if (!mem->is_flushed)global_cache_flush ();for (i =0 , j = pg_start; i < mem->page_count; i++, j++) {
Signature · 4 lines
Tilman Schmidt E-Mail: [email protected] Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bits. Ungeöffnet mindestens haltbar bis: (siehe Rückseite)
Re: i810fb fails to load
In reply to Thomas HellströmQuoted 9 lines
Quoted 5 lines
Quoted 2 lines
Don't know. But I bet someone on the Cc does...
Tilman,
Thanks for reporting.
Can you try the attached patch to see if that fixes the problem.
Hi Thomas,
This also fixes X starting on old i810/5 hardware, I had noticed it broken but hadn't had time to investigate it, this patch fixes it...
Dave.
Re: i810fb fails to load
Quoted 10 lines · Dave Airlie
Quoted 9 lines
Quoted 5 lines
Quoted 2 lines
Don't know. But I bet someone on the Cc does...
Tilman,
Thanks for reporting.
Can you try the attached patch to see if that fixes the problem.
Quoted 6 lines
Hi Thomas,
This also fixes X starting on old i810/5 hardware, I had noticed it broken but hadn't had time to investigate it, this patch fixes it...
Dave.
Great.
The oldest hardware I have is an i915 which hampers me a bit.
/Thomas
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
PATCH 1/1 fs/unionfs/: possible cleanups
In reply to Andrew MortonQuoted 10 lines · Andrew Morton
...
- Added the unionfs filesystem driver as git-unionfs.patch (Josef "Jeff" Sipek <[email protected]>)
...
Changes since 2.6.20-rc3-mm1:
...
git-unionfs.patch
...
git trees
...
Let's start with a small exercise:
Consider sparse tells you about a global function:
warning: symbol 'unionfs_d_revalidate_wrap' was not declared. Should it be static?
I'll give three possible solutions, spot the one that is always wrong:
1. make the function static
2. add a prototype in a header file
3. add a prototype in the C file
If you need a hint, look at what the patch below removes...
<-- snip -->
This patch contains the following possible cleanups:
- every function should #include the headers containing the prototypes of it's global functions
- static functions in C files shouldn't be marked "inline", gcc should know best when to inline them
- make needlessly global code static
- #if 0 the following unused global function:
- stale_inode.c: is_stale_inode()
---
fs/unionfs/commonfops.c | 6 +-- fs/unionfs/copyup.c | 59 +++++++++++++++++++++------------------ fs/unionfs/dentry.c | 11 +------ fs/unionfs/file.c | 17 +++-------- fs/unionfs/inode.c | 19 ++++-------- fs/unionfs/main.c | 4 +- fs/unionfs/rdstate.c | 2 - fs/unionfs/sioq.c | 2 - fs/unionfs/sioq.h | 1 fs/unionfs/stale_inode.c | 9 +++-- fs/unionfs/union.h | 13 -------- 11 files changed, 60 insertions(+), 83 deletions(-)
fs/unionfs/union.h renamed from fs/unionfs/union.h.old +0 -13
@@ -241,11 +241,6 @@/* replicates the directory structure upto given dentry in given branch */ extern struct dentry *create_parents (struct inode *dir,struct dentry *dentry,int bindex); -struct dentry *create_parents_named (struct inode *dir,struct dentry *dentry, -const char *name,int bindex); - -/* check if two branches overlap */ -extern int is_branch_overlap (struct dentry *dent1,struct dentry *dent2);/* partial lookup */ extern int unionfs_partial_lookup (struct dentry *dentry);
@@ -265,10 +260,6 @@/* copies a dentry from dbstart to newbindex branch */ extern int copyup_dentry (struct inode *dir,struct dentry *dentry,int bstart,int new_bindex,struct file **copyup_file,loff_t len); -extern int copyup_named_dentry (struct inode *dir,struct dentry *dentry, -int bstart,int new_bindex,const char *name, -int namelen,struct file **copyup_file, -loff_t len);extern int remove_whiteouts (struct dentry *dentry,struct dentry *hidden_dentry,int bindex);
@@ -325,9 +316,6 @@int unionfs_ioctl_queryfile (struct file *file,unsigned int cmd,unsigned long arg); -/* Verify that a branch is valid. */ -int check_branch (struct nameidata *nd); -#ifdef CONFIG_UNION_FS_XATTR /* Extended attribute functions. */ extern void *unionfs_xattr_alloc (size_t size,size_t limit);
@@ -395,7 +383,6 @@ }struct dentry *unionfs_lookup_backend (struct dentry *dentry,struct nameidata *nd,int lookupmode); -int is_stale_inode (struct inode *inode);void make_stale_inode (struct inode *inode);#define IS_SET (sb, check_flag) ((check_flag) & MOUNT_FLAG(sb))
fs/unionfs/copyup.c renamed from fs/unionfs/copyup.c.old +32 -27
113 lines not on this page · raw message
fs/unionfs/dentry.c renamed from fs/unionfs/dentry.c.old +3 -8
@@ -18,12 +18,6 @@#include "union.h" -/* declarations added for "sparse" */ -extern int unionfs_d_revalidate_wrap (struct dentry *dentry, -struct nameidata *nd); -extern void unionfs_d_release (struct dentry *dentry); -extern void unionfs_d_iput (struct dentry *dentry,struct inode *inode); -/* * returns 1 if valid, 0 otherwise. */
@@ -180,7 +174,8 @@return valid; } -int unionfs_d_revalidate_wrap (struct dentry *dentry,struct nameidata *nd) +static int unionfs_d_revalidate_wrap (struct dentry *dentry, +struct nameidata *nd) {int err;
@@ -191,7 +186,7 @@return err; } -void unionfs_d_release (struct dentry *dentry) +static void unionfs_d_release (struct dentry *dentry) {int bindex, bstart, bend;
fs/unionfs/file.c renamed from fs/unionfs/file.c.old +6 -11
@@ -18,11 +18,6 @@#include "union.h" -/* declarations for sparse */ -extern ssize_t unionfs_read (struct file *,char __user *,size_t ,loff_t *); -extern ssize_t unionfs_write (struct file *,const char __user *,size_t , -loff_t *); -/******************* * File Operations * *******************/
@@ -56,8 +51,8 @@return err; } -ssize_t unionfs_read (struct file * file,char __user * buf,size_t count, -loff_t * ppos) +static ssize_t unionfs_read (struct file * file,char __user * buf, +size_t count,loff_t * ppos) {struct file *hidden_file;loff_t pos = *ppos;
@@ -78,8 +73,8 @@return err; } -ssize_t __unionfs_write (struct file * file,const char __user * buf, -size_t count,loff_t * ppos) +static ssize_t __unionfs_write (struct file * file,const char __user * buf, +size_t count,loff_t * ppos) {int err = -EINVAL ;struct file *hidden_file =NULL ;
@@ -123,8 +118,8 @@return err; } -ssize_t unionfs_write (struct file * file,const char __user * buf,size_t count, -loff_t * ppos) +static ssize_t unionfs_write (struct file * file,const char __user * buf, +size_t count,loff_t * ppos) {int err =0 ;
fs/unionfs/inode.c renamed from fs/unionfs/inode.c.old +7 -12
@@ -18,14 +18,6 @@#include "union.h" -/* declarations added for "sparse" */ -extern struct dentry *unionfs_lookup (struct inode *,struct dentry *, -struct nameidata *); -extern int unionfs_readlink (struct dentry *dentry,char __user * buf, -int bufsiz); -extern void unionfs_put_link (struct dentry *dentry,struct nameidata *nd, -void *cookie); -static int unionfs_create (struct inode *parent,struct dentry *dentry,int mode,struct nameidata *nd) {
@@ -195,8 +187,9 @@return err; } -struct dentry *unionfs_lookup (struct inode *parent,struct dentry *dentry, -struct nameidata *nd) +static struct dentry *unionfs_lookup (struct inode *parent, +struct dentry *dentry, +struct nameidata *nd) {struct nameidata lowernd;/* TODO: be gentler to the stack */
@@ -688,7 +681,8 @@return err; } -int unionfs_readlink (struct dentry *dentry,char __user * buf,int bufsiz) +static int unionfs_readlink (struct dentry *dentry,char __user * buf, +int bufsiz) {int err;struct dentry *hidden_dentry;
@@ -743,7 +737,8 @@return ERR_PTR (err); } -void unionfs_put_link (struct dentry *dentry,struct nameidata *nd,void *cookie) +static void unionfs_put_link (struct dentry *dentry,struct nameidata *nd, +void *cookie) {kfree (nd_get_link (nd)); }
fs/unionfs/main.c renamed from fs/unionfs/main.c.old +2 -2
@@ -188,7 +188,7 @@* 2) it exists * 3) is a directory */ -int check_branch (struct nameidata *nd) +static int check_branch (struct nameidata *nd) {if (!strcmp (nd->dentry->d_sb->s_type->name,"unionfs" ))return -EINVAL ;
@@ -200,7 +200,7 @@ }/* checks if two hidden_dentries have overlapping branches */ -int is_branch_overlap (struct dentry *dent1,struct dentry *dent2) +static int is_branch_overlap (struct dentry *dent1,struct dentry *dent2) {struct dentry *dent =NULL ;
fs/unionfs/rdstate.c renamed from fs/unionfs/rdstate.c.old +1 -1
@@ -232,7 +232,7 @@return cursor; } -inline struct filldir_node *alloc_filldir_node (const char *name,int namelen, +static struct filldir_node *alloc_filldir_node (const char *name,int namelen,unsigned int hash,int bindex) {return kmem_cache_alloc (unionfs_filldir_cachep,GFP_KERNEL );
fs/unionfs/sioq.h renamed from fs/unionfs/sioq.h.old +0 -1
@@ -61,7 +61,6 @@ }; }; -extern struct workqueue_struct *sioq;extern int __init init_sioq (void ); extern __exit void stop_sioq(void);extern void run_sioq (work_func_t func,struct sioq_args *args);
fs/unionfs/sioq.c renamed from fs/unionfs/sioq.c.old +1 -1
@@ -24,7 +24,7 @@* whiteouts). */ -struct workqueue_struct *sioq; +static struct workqueue_struct *sioq;int __init init_sioq (void ) {
fs/unionfs/stale_inode.c renamed from fs/unionfs/stale_inode.c.old +5 -4
@@ -13,10 +13,9 @@#include <linux/stat.h> #include <linux/sched.h> -static struct address_space_operations unionfs_stale_aops; +#include "union.h" -/* declarations for "sparse */ -extern struct inode_operations stale_inode_ops; +static struct address_space_operations unionfs_stale_aops;/* * The follow_link operation is special: it must behave as a no-op
@@ -51,7 +50,7 @@ .lock = ESTALE_ERROR, }; -struct inode_operations stale_inode_ops = { +static struct inode_operations stale_inode_ops = { .create =ESTALE_ERROR , .lookup =ESTALE_ERROR , .link =ESTALE_ERROR ,
@@ -99,6 +98,7 @@* those created by make_stale_inode() above. */ +#if 0 /** * is_stale_inode - is an inode errored * @inode: inode to test
@@ -109,4 +109,5 @@ {return (inode->i_op == &stale_inode_ops); } +#endif /* 0 */
fs/unionfs/commonfops.c renamed from fs/unionfs/commonfops.c.old +3 -3
@@ -292,7 +292,7 @@ }/* unionfs_open helper function: open a directory */ -static inline int __open_dir (struct inode *inode,struct file *file) +static int __open_dir (struct inode *inode,struct file *file) {struct dentry *hidden_dentry;struct file *hidden_file;
@@ -326,7 +326,7 @@ }/* unionfs_open helper function: open a file */ -static inline int __open_file (struct inode *inode,struct file *file) +static int __open_file (struct inode *inode,struct file *file) {struct dentry *hidden_dentry;struct file *hidden_file;
@@ -493,7 +493,7 @@ }/* pass the ioctl to the lower fs */ -static inline long do_ioctl (struct file *file,unsigned int cmd,unsigned long arg) +static long do_ioctl (struct file *file,unsigned int cmd,unsigned long arg) {struct file *hidden_file;int err;
Re: [-mm patch] fs/unionfs/: possible cleanups
Quoted 5 lines · Adrian Bunk
Let's start with a small exercise:
Consider sparse tells you about a global function:
warning: symbol 'unionfs_d_revalidate_wrap' was not declared. Should it be static?
I ran sparse last week, and cleaned up a few things (not commited to korg yet). I'll use your patch instead.
Quoted 10 lines
This patch contains the following possible cleanups:
- every function should #include the headers containing the prototypes of it's global functions
- static functions in C files shouldn't be marked "inline", gcc should know best when to inline them
- make needlessly global code static
- #if 0 the following unused global function:
-stale_inode.c:is_stale_inode()Signed-off-by Adrian Bunk <[email protected]>
Thanks.
Josef "Jeff" Sipek.
Signature · 1 line
NT is to UNIX what a doughnut is to a particle accelerator.
PATCH 1/1 drivers/mtd/ubi/: possible cleanups
In reply to Andrew MortonQuoted 7 lines · Andrew Morton
...
Changes since 2.6.20-rc3-mm1:
...
git-ubi.patch
...
git trees
...
This patch contains the following possible cleanups:
- make needlessly global code static
- remove the following unused variable:
- debug.c: alloc_prints
---
BTW: Do you really need that many different
CONFIG_MTD_UBI_DEBUG_* options?
drivers/mtd/ubi/cdev.c | 4 +- drivers/mtd/ubi/debug.c | 57 ++++++++++++++++++---------------------- 2 files changed, 28 insertions(+), 33 deletions(-)
drivers/mtd/ubi/cdev.c renamed from drivers/mtd/ubi/cdev.c.old +2 -2
@@ -47,7 +47,7 @@static int vol_cdev_open (struct inode *inode,struct file *file);static int vol_cdev_release (struct inode *inode,struct file *file); -loff_t vol_cdev_llseek (struct file *file,loff_t offset,int origin); +static loff_t vol_cdev_llseek (struct file *file,loff_t offset,int origin);static ssize_t vol_cdev_read (struct file *file,__user char *buf,size_t count,loff_t * offp); static ssize_t vol_cdev_write(struct file *file, const char __user *buf,
@@ -224,7 +224,7 @@* positive offset in case of success and a negative error code in case of * failure. */ -loff_t vol_cdev_llseek (struct file *file,loff_t offset,int origin) +static loff_t vol_cdev_llseek (struct file *file,loff_t offset,int origin) {const struct ubi_vtbl_vtr *vtr;struct ubi_vol_desc *desc = file->private_data;
drivers/mtd/ubi/debug.c renamed from drivers/mtd/ubi/debug.c.old +26 -31
100 lines not on this page · raw message
Re: [-mm patch] drivers/mtd/ubi/: possible cleanups
On Fri, 2007-01-19 at 19:40 +0100, Adrian Bunk wrote:
This patch contains the following possible cleanups:
Quoted 6 lines
- make needlessly global code static
- remove the following unused variable:
-debug.c:alloc_printsSigned-off-by Adrian Bunk <[email protected]>
I've committed this.
BTW: Do you really need that many different
Quoted 2 lines
CONFIG_MTD_UBI_DEBUG_* options?
The idea is to be able to switch debugging messages on/off for different units separately. But the number of the option may indeed be reduced - i will try to do this.
Thanks!
Signature · 2 lines
Best regards, Artem Bityutskiy
PATCH 1/1 oops in drivers/net/shaper.c
In reply to Andrew MortonHi,
The following code:
[...]
s = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); socket_address.sll_family = PF_PACKET; socket_address.sll_protocol = htons(ETH_P_IP); /* * this happens to be shaper0 on my system */
=> socket_address.sll_ifindex = 2;
socket_address.sll_hatype = ARPHRD_ETHER;
socket_address.sll_pkttype = PACKET_OTHERHOST;
socket_address.sll_halen = ETH_ALEN;
socket_address.sll_addr[0] = 0x00;
socket_address.sll_addr[1] = 0x04;
socket_address.sll_addr[2] = 0x75;
socket_address.sll_addr[3] = 0xC8;
socket_address.sll_addr[4] = 0x28;
socket_address.sll_addr[5] = 0xE5;
socket_address.sll_addr[6] = 0x00;
socket_address.sll_addr[7] = 0x00;
memcpy((void *) buffer, (void *) dest_mac, ETH_ALEN);
memcpy((void *) (buffer + ETH_ALEN), (void *) src_mac, ETH_ALEN);
eh->h_proto = 0x00;
for (j = 0; j < 1500; j++) {
data[j] =
(unsigned
char) ((int) (255.0 * rand() / (RAND_MAX + 1.0)));
}
/*
* Oopses here
*/
=> send_result = sendto(s, buffer, 1499, 0,
(struct sockaddr *) &socket_address,
sizeof(socket_address));[...]
Causes the following oops:
[ 66.355049] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000 [ 66.355053] printing eip: [ 66.355055] 00000000 [ 66.355056] *pde = 00000000 [ 66.355059] Oops: 0000 [#1] [ 66.355061] PREEMPT SMP DEBUG_PAGEALLOC [ 66.355065] last sysfs file: /devices/pci0000:00/0000:00:1e.2/modalias [ 66.355069] Modules linked in: snd_pcm_oss snd_mixer_oss snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device af_packet ohci_hcd fuse cpufreq_stats cpufreq_powersave cpufreq_ondemand cpufreq_conservative speedstep_centrino freq_table processor ac battery i915 drm usb_storage parport_pc parport sr_mod serio_raw yenta_socket rsrc_nonstatic pcmcia_core ipw2200 tg3 snd_intel8x0 snd_ac97_codec pcspkr ac97_bus snd_pcm ehci_hcd snd_timer snd soundcore snd_page_alloc uhci_hcd usbcore shpchp pci_hotplug joydev evdev tsdev [ 66.355115] CPU: 0 [ 66.355116] EIP: 0060:[<00000000>] Not tainted VLI [ 66.355117] EFLAGS: 00210282 (2.6.20-rc4-mm1-def01 #2) [ 66.355122] EIP is at 0x0 [ 66.355124] eax: f6a1f480 ebx: f705a500 ecx: 00000800 edx: 00000000 [ 66.355128] esi: f6a1f480 edi: 00000800 ebp: f6261d90 esp: f6261d70 [ 66.355131] ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068 [ 66.355134] Process aze (pid: 11005, ti=f6260000 task=f62d08b0 task.ti=f6260000) [ 66.355136] Stack: c0294465 f6261ec0 00000000 000005db f705a000 f6261f34 f6316380 f705a000 [ 66.355145] f6261dc4 f8adaf03 f6261ec0 00000000 000005db f6b1b400 f6a1f480 00080e38 [ 66.355153] f6261ec0 ffffffea f8adc1e0 000005db f6316380 f6261eac c030e1c5 000005db [ 66.355161] Call Trace: [ 66.355163] [<c0105265>] show_trace_log_lvl+0x1a/0x30 [ 66.355171] [<c0105324>] show_stack_log_lvl+0xa9/0xd5 [ 66.355176] [<c0105549>] show_registers+0x1f9/0x362 [ 66.355180] [<c01057de>] die+0x12c/0x261 [ 66.355184] [<c039864f>] do_page_fault+0x2ef/0x5d0 [ 66.355188] [<c0396c74>] error_code+0x7c/0x84 [ 66.355192] [<f8adaf03>] packet_sendmsg+0x147/0x201 [af_packet] [ 66.355199] [<c030e1c5>] sock_sendmsg+0xf9/0x116 [ 66.355204] [<c030eb54>] sys_sendto+0xbf/0xe0 [ 66.355208] [<c030f494>] sys_socketcall+0x1aa/0x277 [ 66.355212] [<c01041ea>] sysenter_past_esp+0x5f/0x99 [ 66.355216] ======================= [ 66.355218] Code: Bad EIP value. [ 66.355223] EIP: [<00000000>] 0x0 SS:ESP 0068:f6261d70
shaper_header() should check for shaper->dev not being NULL (ie. the shaper was actually attached) as in the following patch. This happens in mainline too (tested 2.6.19.2).
Regards,
Frederik
drivers/net/shaper.c +4 -0
@@ -340,6 +340,10 @@ static int shaper_header(struct sk_buff *skb, struct net_device *dev, {struct shaper *sh=dev->priv;int v; + +if (sh->dev==NULL ) +return -ENODEV ; +if (sh_debug)printk ("Shaper header\n" ); skb->dev=sh->dev;
PATCH 1/1 remove one remaining "#define BCM_TSO 1"
In reply to Andrew MortonQuoted 7 lines · Andrew Morton
...
Changes since 2.6.20-rc3-mm1:
...
git-netdev-all.patch
...
git trees
...
Since it's no longer used, this "#define BCM_TSO 1" can now be removed.
drivers/net/bnx2.c renamed from drivers/net/bnx2.c.old +0 -1
@@ -42,7 +42,6 @@#include <net/ip.h> #include <net/tcp.h> #include <net/checksum.h> -#define BCM_TSO 1#include <linux/workqueue.h> #include <linux/crc32.h> #include <linux/prefetch.h>
PATCH 1/1 drivers/firewire/: cleanups
In reply to Andrew MortonQuoted 7 lines · Andrew Morton
...
Changes since 2.6.20-rc3-mm1:
...
git-ieee1394.patch
...
git trees
...
This patch contains the following cleanups:
- "extern inline" -> "static inline"
- fw-topology.c: make struct fw_node_create static
---
drivers/firewire/fw-ohci.c | 8 ++++---- drivers/firewire/fw-topology.c | 2 +- drivers/firewire/fw-topology.h | 6 +++--- drivers/firewire/fw-transaction.c | 2 +- drivers/firewire/fw-transaction.h | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-)
drivers/firewire/fw-topology.c renamed from drivers/firewire/fw-topology.c.old +1 -1
@@ -92,7 +92,7 @@return (sid[index] >> shift) &0x03 ; } -struct fw_node *fw_node_create (u32 sid,int port_count,int color) +static struct fw_node *fw_node_create (u32 sid,int port_count,int color) {struct fw_node *node;
drivers/firewire/fw-transaction.c renamed from drivers/firewire/fw-transaction.c.old +1 -1
@@ -106,7 +106,7 @@ } } -void +static void fw_fill_packet (struct fw_packet *packet,int tcode,int tlabel,int node_id,int generation,int speed,unsigned long long offset,void *payload,size_t length)
drivers/firewire/fw-transaction.h renamed from drivers/firewire/fw-transaction.h.old +1 -1
@@ -198,7 +198,7 @@void *callback_data; }; -extern inline struct fw_packet * +static inline struct fw_packet *fw_packet (struct list_head *l) { return list_entry (l, struct fw_packet, link);
drivers/firewire/fw-topology.h renamed from drivers/firewire/fw-topology.h.old +3 -3
@@ -57,13 +57,13 @@struct fw_port ports[0 ]; }; -extern inline struct fw_node * +static inline struct fw_node *fw_node (struct list_head *l) { return list_entry (l, struct fw_node, link); } -extern inline struct fw_node * +static inline struct fw_node *fw_node_get (struct fw_node *node) {atomic_inc (&node->ref_count);
@@ -71,7 +71,7 @@return node; } -extern inline void +static inline void fw_node_put (struct fw_node *node) {if (atomic_dec_and_test (&node->ref_count))
drivers/firewire/fw-ohci.c renamed from drivers/firewire/fw-ohci.c.old +4 -4
@@ -147,7 +147,7 @@struct iso_context *ir_context_list; }; -extern inline struct fw_ohci *fw_ohci (struct fw_card *card) +static inline struct fw_ohci *fw_ohci (struct fw_card *card) { return container_of(card, struct fw_ohci, card); }
@@ -174,17 +174,17 @@static char ohci_driver_name[] =KBUILD_MODNAME ; -extern inline void reg_write (const struct fw_ohci *ohci,int offset,u32 data) +static inline void reg_write (const struct fw_ohci *ohci,int offset,u32 data) {writel (data, ohci->registers + offset); } -extern inline u32 reg_read (const struct fw_ohci *ohci,int offset) +static inline u32 reg_read (const struct fw_ohci *ohci,int offset) {return readl (ohci->registers + offset); } -extern inline void flush_writes (const struct fw_ohci *ohci) +static inline void flush_writes (const struct fw_ohci *ohci) {/* Do a dummy read to flush writes. */ reg_read (ohci, OHCI1394_Version);
Re: [-mm patch] drivers/firewire/: cleanups
Quoted 10 lines · Adrian Bunk
Quoted 7 lines · Andrew Morton
...
Changes since 2.6.20-rc3-mm1:
...
git-ieee1394.patch
...
git trees
...
Quoted 2 lines
This patch contains the following cleanups:
- "extern inline" -> "static inline"
I guess that's fine, I do like how extern inline will never generate code and that gcc warns on missing prototype for these case is more of a gcc bug. Not a big deal though, it's more worthwhile to track down real missing prototype offenders.
Quoted 1 line
-
fw-topology.c: make structfw_node_createstatic
Looks good.
Re: [-mm patch] drivers/firewire/: cleanups
Quoted 11 lines · Kristian Høgsberg
Quoted 10 lines · Adrian Bunk
Quoted 7 lines · Andrew Morton
...
Changes since 2.6.20-rc3-mm1:
...
git-ieee1394.patch
...
git trees
...
Quoted 4 lines
Quoted 2 lines
This patch contains the following cleanups:
- "extern inline" -> "static inline"I guess that's fine, I do like how extern inline will never generate code
Exactly the opposite will be true when gcc will switch to the C99 semantics...
Besides this, "static inline" forces inlining in the kernel due to
#define inline inline __attribute__((always_inline))
Quoted 11 lines
and that gcc warns on missing prototype for these case is more of a gcc bug. Not a big deal though, it's more worthwhile to track down real missing prototype offenders.
Quoted 1 line
-
fw-topology.c: make structfw_node_createstaticLooks good.
Signed-off-by Kristian Høgsberg <[email protected]>
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 SeedRe: [-mm patch] drivers/firewire/: cleanups
Quoted 11 lines · Adrian Bunk
Quoted 10 lines · Kristian Høgsberg
Quoted 9 lines · Adrian Bunk
Quoted 7 lines · Andrew Morton
...
Changes since 2.6.20-rc3-mm1:
...
git-ieee1394.patch
...
git trees
...
Quoted 8 lines
Quoted 3 lines
Quoted 2 lines
This patch contains the following cleanups:
- "extern inline" -> "static inline"I guess that's fine, I do like how extern inline will never generate code
Exactly the opposite will be true when gcc will switch to the C99 semantics...
Besides this, "static inline" forces inlining in the kernel due to
#define inline inline __attribute__((always_inline))
In that case I have no reservations at all.
thanks,
Kristian
Re: [-mm patch] drivers/firewire/: cleanups
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines · Adrian Bunk
This patch contains the following cleanups:
- "extern inline" -> "static inline"
-fw-topology.c: make structfw_node_createstatic
Committed to linux1394-2.6.git.
Signature · 3 lines
Stefan Richter -=====-=-=== ---= =-==- http://arcgraph.de/sr/
`make htmldocs` fails
In reply to Andrew MortonBisection shows the bad patch to be:
gregkh-driver-uio-documentation.patch
The htmldocs build failure can be eliminated by:
quilt remove Documentation/DocBook/kernel-api.tmpl
The error messages were:
.../linux-2.6.19 $ make htmldocs
DOCPROC Documentation/DocBook/kernel-api.xml
Warning(/noback/kernel.org/2.6.20-rc_fault-injection/linux-2.6.19//drivers/uio/uio.c:521): No description found for parameter 'owner'
Warning(/noback/kernel.org/2.6.20-rc_fault-injection/linux-2.6.19//drivers/uio/uio.c:521): No description found for parameter 'info'
Warning(/noback/kernel.org/2.6.20-rc_fault-injection/linux-2.6.19//drivers/uio/uio.c:591): No description found for parameter 'idev'
Error(/noback/kernel.org/2.6.20-rc_fault-injection/linux-2.6.19//include/linux/uio_driver.h:33): cannot understand prototype: 'struct uio_info '
Warning(/noback/kernel.org/2.6.20-rc_fault-injection/linux-2.6.19//include/linux/uio_driver.h): no structured comments found
make[1]: *** [Documentation/DocBook/kernel-api.xml] Error 1
make: *** [htmldocs] Error 2The failure was observed on an up-to-date Fedora Core 5 host.
Re: `make htmldocs` fails
Quoted 6 lines · On Mon, 22 Jan 2007 22:02:30 -0800 Don Mullis wrote:
Bisection shows the bad patch to be:
gregkh-driver-uio-documentation.patchThe htmldocs build failure can be eliminated by:
quilt removeDocumentation/DocBook/kernel-api.tmpl
or by: quilt delete gregkh-driver-uio-documentation.patch ??
Quoted 12 lines
The error messages were:
.../linux-2.6.19 $ make htmldocs DOCPROC Documentation/DocBook/kernel-api.xml Warning(/noback/kernel.org/2.6.20-rc_fault-injection/linux-2.6.19//drivers/uio/uio.c:521): No description found for parameter 'owner' Warning(/noback/kernel.org/2.6.20-rc_fault-injection/linux-2.6.19//drivers/uio/uio.c:521): No description found for parameter 'info' Warning(/noback/kernel.org/2.6.20-rc_fault-injection/linux-2.6.19//drivers/uio/uio.c:591): No description found for parameter 'idev' Error(/noback/kernel.org/2.6.20-rc_fault-injection/linux-2.6.19//include/linux/uio_driver.h:33): cannot understand prototype: 'struct uio_info ' Warning(/noback/kernel.org/2.6.20-rc_fault-injection/linux-2.6.19//include/linux/uio_driver.h): no structured comments found make[1]: *** [Documentation/DocBook/kernel-api.xml] Error 1 make: *** [htmldocs] Error 2
Quoted 1 line
The failure was observed on an up-to-date Fedora Core 5 host.
How about an accurate description of what kernel tree has this problem? It's not 2.6.19. It's not 2.6.20-rc5.
---
~Randy
Re: `make htmldocs` fails -- 2.6.20-rc4-mm1
Quoted 10 lines · Randy Dunlap
Quoted 6 lines · On Mon, 22 Jan 2007 22:02:30 -0800 Don Mullis wrote:
Bisection shows the bad patch to be:
gregkh-driver-uio-documentation.patchThe htmldocs build failure can be eliminated by:
quilt removeDocumentation/DocBook/kernel-api.tmplor by: quilt delete gregkh-driver-uio-documentation.patch ??
That would fix the htmldoc build too, but would throw out lots of documentation. Greg K-H would seem the prime candidate to propose a fix.
Quoted 2 lines
How about an accurate description of what kernel tree has this problem? It's not 2.6.19. It's not 2.6.20-rc5.
2.6.20-rc4-mm1, sorry. Forgot that posting as a reply to the 2.6.20-rc4-mm1 announcement is no help for someone receiving the mail directly.
Re: `make htmldocs` fails
In reply to Don MullisQuoted 7 lines · Don Mullis
Bisection shows the bad patch to be:
gregkh-driver-uio-documentation.patchThe htmldocs build failure can be eliminated by:
quilt removeDocumentation/DocBook/kernel-api.tmpl
Quoted 7 lines
The error messages were:
.../linux-2.6.19 $ make htmldocs DOCPROC Documentation/DocBook/kernel-api.xml Warning(/noback/kernel.org/2.6.20-rc_fault-injection/linux-2.6.19//drivers/uio/uio.c:521): No description found for parameter 'owner' Warning(/noback/kernel.org/2.6.20-rc_fault-injection/linux-2.6.19//drivers/uio/uio.c:521): No description found for parameter 'info' Warning(/noback/kernel.org/2.6.20-rc_fault-injection/linux-2.6.19//drivers/uio/uio.c:591): No description found for parameter 'idev'
Thanks, I've fixed these warnings now.
Quoted 1 line
Error(/noback/kernel.org/2.6.20-rc_fault-injection/linux-2.6.19//include/linux/uio_driver.h:33): cannot understand prototype: 'struct uio_info '
I think I've fixed this now, the next -mm should contain the update.
thanks for letting me know.
greg k-h
2.6.20-rc4-mm1: PCI=n: drivers/net/3c59x.c compile error
In reply to Andrew Morton3x59x-fix-pci-resource-management.patch causes the following compile error with CONFIG_PCI=n:
<-- snip -->
...
CC drivers/net/3c59x.o/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c: In function 'vortex_init_one':/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:961: error: implicit declaration of function 'pci_request_regions' /home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:985: error: implicit declaration of function 'pci_release_regions' make[3]: *** [drivers/net/3c59x.o] Error 1
<-- snip -->
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 SeedRe: 2.6.20-rc4-mm1: PCI=n: drivers/net/3c59x.c compile error
Hello.
Quoted 10 lines · Adrian Bunk
3x59x-fix-pci-resource-management.patch causes the following compile error with
CONFIG_PCI=n:<-- snip -->
...
CCdrivers/net/3c59x.o/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c: In function 'vortex_init_one':/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:961: error: implicit declaration of function 'pci_request_regions'/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:985: error: implicit declaration of function 'pci_release_regions' make[3]: *** [drivers/net/3c59x.o] Error 1
Grr, at at the same time it's happy with pci_enable_device(). I'd say the problem is in <linux/pci.h>, not in the patch.
Quoted 2 lines
cu
Adrian
MBR, Sergei
Re: 2.6.20-rc4-mm1: PCI=n: drivers/net/3c59x.c compile error
Quoted 11 lines · Hello, I wrote:
Quoted 10 lines
3x59x-fix-pci-resource-management.patch causes the following compile error with
CONFIG_PCI=n:<-- snip -->
...
CCdrivers/net/3c59x.o/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c: In function 'vortex_init_one':/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:961: error: implicit declaration of function 'pci_request_regions'/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:985: error: implicit declaration of function 'pci_release_regions' make[3]: *** [drivers/net/3c59x.o] Error 1
Quoted 2 lines
Grr, at at the same time it's happy with
pci_enable_device(). I'd say the problem is in <linux/pci.h>, not in the patch.
Has there been any patch to fix the "unbalanced"
pci_{request|release}_regions() declarations? Am I suposed to create such?
Quoted 2 lines
Quoted 2 lines
cu
Adrian
MBR, Sergei
Re: 2.6.20-rc4-mm1: PCI=n: drivers/net/3c59x.c compile error
Hello.
Quoted 12 lines · Sergei Shtylyov
Quoted 10 lines
Quoted 10 lines
3x59x-fix-pci-resource-management.patch causes the following compile error with
CONFIG_PCI=n:<-- snip -->
...
CCdrivers/net/3c59x.o/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c: In function 'vortex_init_one':/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:961: error: implicit declaration of function 'pci_request_regions'/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:985: error: implicit declaration of function 'pci_release_regions' make[3]: *** [drivers/net/3c59x.o] Error 1
Quoted 5 lines
Quoted 2 lines
Grr, at at the same time it's happy with
pci_enable_device(). I'd say the problem is in <linux/pci.h>, not in the patch.Has there been any patch to fix the "unbalanced"
pci_{request|release}_regions() declarations? Am I suposed to create such?
Alternatively, vortex_{init|remove_one() and struct pci_driver there could
have been put under #ifdef CONFIG_PCI (good idea anyway -- should reduce driver size on non-PCI systems)...
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
cu
Adrian
MBR, Sergei
Re: 2.6.20-rc4-mm1: PCI=n: drivers/net/3c59x.c compile error
Quoted 11 lines · Hello, I wrote:
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
3x59x-fix-pci-resource-management.patch causes the following compile error with
CONFIG_PCI=n:<-- snip -->
...
CCdrivers/net/3c59x.o/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c: In function 'vortex_init_one':/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:961: error: implicit declaration of function 'pci_request_regions'/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:985: error: implicit declaration of function 'pci_release_regions' make[3]: *** [drivers/net/3c59x.o] Error 1
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
Grr, at at the same time it's happy with
pci_enable_device(). I'd say the problem is in <linux/pci.h>, not in the patch.Has there been any patch to fix the "unbalanced"
pci_{request|release}_regions() declarations? Am I suposed to create such?Alternatively, vortex_{init|remove_one() and struct
pci_driverthere
could have been put under #ifdefCONFIG_PCI(good idea anyway -- should reduce driver size on non-PCI systems)...
I wonder if I may count on any feedback on this -- asking linux-pci now...
The issue is as follows: with my patch pci_{request|release}_regions() may
be called with CONFIG_PCI=n (probably, this never has been a issue before) but <linux/pci.h> don't have them declared in this case -- unlike pci_enable_device() which is just empty for CONFIG_PCI=n.
Now, what kind of approach do I take:
- a "fair one", so that pci_{request|release}_regions() get "balanced" declarations in the header like pci_enable_device();
- a "local one" (and even saving non-PCI kernel from needless bloat), i.e. #ifdef out functions that are only meaningful with CONFIG_PCI=y)?
I'm leaning to the second now...
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
cu
Adrian
MBR, Sergei
Re: 2.6.20-rc4-mm1: PCI=n: drivers/net/3c59x.c compile error
Quoted 35 lines · On Mon, 26 Feb 2007 16:22:27 +0300 Sergei Shtylyov wrote:
Quoted 18 lines · Hello, I wrote:
Quoted 17 lines
Quoted 17 lines
Quoted 5 lines
3x59x-fix-pci-resource-management.patch causes the following compile error with
CONFIG_PCI=n:<-- snip -->
Quoted 9 lines
...
CCdrivers/net/3c59x.o/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:
In function 'vortex_init_one':/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:961:
error: implicit declaration of function 'pci_request_regions'/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:985:
error: implicit declaration of function 'pci_release_regions' make[3]: *** [drivers/net/3c59x.o] Error 1Grr, at at the same time it's happy with
pci_enable_device(). I'd say the problem is in <linux/pci.h>, not in the patch.Quoted 7 lines
Quoted 3 lines
Has there been any patch to fix the "unbalanced"
pci_{request|release}_regions() declarations? Am I suposed to create such?Alternatively, vortex_{init|remove_one() and struct
pci_driverthere
could have been put under #ifdefCONFIG_PCI(good idea anyway -- should reduce driver size on non-PCI systems)...I wonder if I may count on any feedback on this -- asking linux-pci now... The issue is as follows: with my patch pci_{request|release}_regions() may
be called withCONFIG_PCI=n(probably, this never has been a issue before) but <linux/pci.h> don't have them declared in this case -- unlikepci_enable_device()which is just empty forCONFIG_PCI=n.
Now, what kind of approach do I take:
Quoted 7 lines
- a "fair one", so that pci_{request|release}_regions() get "balanced" declarations in the header like
pci_enable_device();- a "local one" (and even saving non-PCI kernel from needless bloat), i.e. #ifdef out functions that are only meaningful with
CONFIG_PCI=y)?I'm leaning to the second now...
I'd prefer the fair one -- add stubs to include/linux/pci.h.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
Re: 2.6.20-rc4-mm1: PCI=n: drivers/net/3c59x.c compile error
Quoted 40 lines · Randy Dunlap
Quoted 38 lines · On Mon, 26 Feb 2007 16:22:27 +0300 Sergei Shtylyov wrote:
Quoted 18 lines · Hello, I wrote:
Quoted 17 lines
Quoted 17 lines
Quoted 5 lines
3x59x-fix-pci-resource-management.patch causes the following compile error with
CONFIG_PCI=n:<-- snip -->
Quoted 9 lines
...
CCdrivers/net/3c59x.o/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:
In function 'vortex_init_one':/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:961:
error: implicit declaration of function 'pci_request_regions'/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:985:
error: implicit declaration of function 'pci_release_regions' make[3]: *** [drivers/net/3c59x.o] Error 1Grr, at at the same time it's happy with
pci_enable_device(). I'd say the problem is in <linux/pci.h>, not in the patch.Quoted 7 lines
Quoted 3 lines
Has there been any patch to fix the "unbalanced"
pci_{request|release}_regions() declarations? Am I suposed to create such?Alternatively, vortex_{init|remove_one() and struct
pci_driverthere
could have been put under #ifdefCONFIG_PCI(good idea anyway -- should reduce driver size on non-PCI systems)...I wonder if I may count on any feedback on this -- asking linux-pci now... The issue is as follows: with my patch pci_{request|release}_regions() may
be called withCONFIG_PCI=n(probably, this never has been a issue before) but <linux/pci.h> don't have them declared in this case -- unlikepci_enable_device()which is just empty forCONFIG_PCI=n.
Now, what kind of approach do I take:- a "fair one", so that pci_{request|release}_regions() get "balanced" declarations in the header like
pci_enable_device();
Quoted 6 lines
Quoted 4 lines
- a "local one" (and even saving non-PCI kernel from needless bloat), i.e. #ifdef out functions that are only meaningful with
CONFIG_PCI=y)?I'm leaning to the second now...
I'd prefer the fair one -- add stubs to
include/linux/pci.h.
Me too, please just send me a patch adding them to pci.h so you don't have to have #ifdefs in your .c code.
thanks,
greg k-h
Re: 2.6.20-rc4-mm1: PCI=n: drivers/net/3c59x.c compile error
Hello.
Quoted 31 lines · Greg KH
Quoted 30 lines
Quoted 30 lines
Quoted 11 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
3x59x-fix-pci-resource-management.patch causes the following compile error with
CONFIG_PCI=n:<-- snip -->
...
CCdrivers/net/3c59x.o/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c: In function 'vortex_init_one':/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:961: error: implicit declaration of function 'pci_request_regions'/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:985: error: implicit declaration of function 'pci_release_regions' make[3]: *** [drivers/net/3c59x.o] Error 1Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
Grr, at at the same time it's happy with
pci_enable_device(). I'd say the problem is in <linux/pci.h>, not in the patch.Has there been any patch to fix the "unbalanced"
pci_{request|release}_regions() declarations? Am I suposed to create such?Alternatively, vortex_{init|remove_one() and struct
pci_driverthere
could have been put under #ifdefCONFIG_PCI(good idea anyway -- should reduce driver size on non-PCI systems)...I wonder if I may count on any feedback on this -- asking linux-pci now...
The issue is as follows: with my patch pci_{request|release}_regions() may
be called withCONFIG_PCI=n(probably, this never has been a issue before) but <linux/pci.h> don't have them declared in this case -- unlikepci_enable_device()which is just empty forCONFIG_PCI=n.
Now, what kind of approach do I take:- a "fair one", so that pci_{request|release}_regions() get "balanced" declarations in the header like
pci_enable_device();- a "local one" (and even saving non-PCI kernel from needless bloat), i.e. #ifdef out functions that are only meaningful with
CONFIG_PCI=y)?
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
I'm leaning to the second now...
I'd prefer the fair one -- add stubs to
include/linux/pci.h.Me too, please just send me a patch adding them to
pci.hso you don't have to have #ifdefs in your .c code.
Erm, before I do that, could somebody explain what
#define HAVE_PCI_REQ_REGIONS 2
accompanying their declaration is for? I have't found any references to it in the source. Should I duplicate it for CONFIG_PCI=n case (I guess not)?
Quoted 3 lines
thanks,
greg k-h
WBR, Sergei
Re: 2.6.20-rc4-mm1: PCI=n: drivers/net/3c59x.c compile error
Quoted 50 lines · On Tue, 06 Mar 2007 19:15:12 +0300 Sergei Shtylyov wrote:
Hello.
Quoted 39 lines · Greg KH
Quoted 38 lines
Quoted 38 lines
Quoted 18 lines
Quoted 17 lines
Quoted 17 lines
Quoted 5 lines
3x59x-fix-pci-resource-management.patch causes the following compile error with
CONFIG_PCI=n:<-- snip -->
Quoted 9 lines
...
CCdrivers/net/3c59x.o/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:
In function 'vortex_init_one':/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:961:
error: implicit declaration of function 'pci_request_regions'/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/net/3c59x.c:985:
error: implicit declaration of function 'pci_release_regions' make[3]: *** [drivers/net/3c59x.o] Error 1Grr, at at the same time it's happy with
pci_enable_device(). I'd say the problem is in <linux/pci.h>, not in the patch.Quoted 7 lines
Quoted 3 lines
Has there been any patch to fix the "unbalanced"
pci_{request|release}_regions() declarations? Am I suposed to create such?Alternatively, vortex_{init|remove_one() and struct
pci_driverthere
could have been put under #ifdefCONFIG_PCI(good idea anyway -- should reduce driver size on non-PCI systems)...I wonder if I may count on any feedback on this -- asking linux-pci now... The issue is as follows: with my patch pci_{request|release}_regions() may
be called withCONFIG_PCI=n(probably, this never has been a issue before) but <linux/pci.h> don't have them declared in this case -- unlikepci_enable_device()which is just empty forCONFIG_PCI=n.
Now, what kind of approach do I take:- a "fair one", so that pci_{request|release}_regions() get "balanced" declarations in the header like
pci_enable_device();- a "local one" (and even saving non-PCI kernel from needless bloat), i.e. #ifdef out functions that are only meaningful with
CONFIG_PCI=y)?Quoted 6 lines
Quoted 3 lines
Quoted 1 line
I'm leaning to the second now...
I'd prefer the fair one -- add stubs to
include/linux/pci.h.Me too, please just send me a patch adding them to
pci.hso you don't have to have #ifdefs in your .c code.
Quoted 6 lines
Erm, before I do that, could somebody explain what
#define
HAVE_PCI_REQ_REGIONS2accompanying their declaration is for? I have't found any references to it in the source. Should I duplicate it for
CONFIG_PCI=ncase (I guess not)?
I wouldn't since it's not used anywhere, but maybe Tejun could comment on it...
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
Re: 2.6.20-rc4-mm1: PCI=n: drivers/net/3c59x.c compile error
Hello,
Quoted 9 lines · Randy Dunlap
Quoted 6 lines
Erm, before I do that, could somebody explain what
#define
HAVE_PCI_REQ_REGIONS2accompanying their declaration is for? I have't found any references to it in the source. Should I duplicate it for
CONFIG_PCI=ncase (I guess not)?I wouldn't since it's not used anywhere, but maybe Tejun could comment on it...
This is the first time I see that macro. There is no user in the whole source. I think the best way is to just kill it.
Thanks.
Signature · 1 line
tejun
PATCH 1/1 MTD_CK804XROM must depend on PCI
In reply to Andrew MortonQuoted 4 lines · Andrew Morton
...
git-mtd.patch
...
git trees
CONFIG_MTD_CK804XROM=y, CONFIG_PCI=n results in the following compile error:
<-- snip -->
...
CC drivers/mtd/maps/ck804xrom.o/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/mtd/maps/ck804xrom.c: In function 'ck804xrom_init_one':/home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/mtd/maps/ck804xrom.c:114: error: implicit declaration of function 'pci_dev_get' /home/bunk/linux/kernel-2.6/linux-2.6.20-rc4-mm1/drivers/mtd/maps/ck804xrom.c:114: warning: assignment makes pointer from integer without a cast make[4]: *** [drivers/mtd/maps/ck804xrom.o] Error 1
<-- snip -->
Considering what hardware this driver is driving, a dependency on PCI also seems logical.
drivers/mtd/maps/Kconfig renamed from drivers/mtd/maps/Kconfig.old +1 -1
@@ -204,7 +204,7 @@ config MTD_CK804XROM tristate "BIOS flash chip on Nvidia CK804" - depends on X86 && MTD_JEDECPROBE + depends on X86 && MTD_JEDECPROBE && PCI help Support for treating the BIOS flash chip on nvidia motherboards as an MTD device - with this you can reprogram your BIOS.