Skip to contentSkip to conversation

2.6.16-rc1-mm1

PATCH New Andrew Morton 14 participants 24 messages Jan 18, 2006 – Jan 19, 2006

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

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

- There are a lot of reiser3 features and fixes here. Please test with caution, but please test.

- Due to various vendor and glibc release timings I'm aiming to get the *at functions (vfa-at-functions-core.patch) and the pselect/ppoll syscalls into 2.6.16. This is rather late in the piece and I'd ask interested parties to review and comment on those patches asap please.

Ulrich would also like to get the unshare syscall into 2.6.16 but I don't recall having seen that code get a decent review and there's quite some potential for slipups in this area to cause very bad problems indeed. So we're a bit stuck on that one.

- Before I die I'd like to get an x86 allmodconfig build with gcc-3.2.1 which emits no warnings. Once we have that we can worry about gcc-4 and other architectures. Patches will be gratefully leapt upon.

Boilerplate:

- -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's not obvious which patch caused it, it is most valuable if you can perform a bisection search to identify which patch introduced the bug. Instructions for this process are at

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

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

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

Changes since 2.6.15-mm4:

linus.patch
git-acpi.patch
git-agpgart.patch
git-alsa.patch
git-audit.patch
git-blktrace.patch
git-block.patch
git-cfq.patch
git-cifs.patch
git-cpufreq.patch
git-ia64.patch
git-infiniband.patch
git-libata-all.patch
git-netdev-all.patch
git-ntfs.patch
git-ocfs2.patch
git-sym2.patch
git-pcmcia.patch
git-sas-jg.patch
git-watchdog.patch

git trees

-convert-proc-devices-to-use-seq_file-interface.patch -altix-ioc3-serial-support.patch -sched-add-sched_batch-policy.patch -unlinline-a-bunch-of-other-functions.patch -uml-fix-symbol-for-mktime.patch -fix-for-config_numa-without-config_swap.patch -sem2mutex-drivers-char-agp.patch
-amd64-agp-suspend-support.patch -ati-agp-suspend-resume-support.patch
-sem2mutex-sound.patch
-sem2mutex-sound-pci.patch
-sem2mutex-sound-2.patch -git-alsa-duplicate-ac97_quirks-entry-in-intel8x0c.patch -alsa-cs5536-id-for-cs5535audio.patch -sound-remove-bkl-from-sound-core-infoc.patch -ali5451-add-pci_device-and-defines-in-snd_ali_ids.patch -sem2mutex-drivers-cpufreq.patch -gregkh-driver-input-MODALIAS-02.patch -gregkh-driver-add-bus_type-probe-remove-shutdown-methods.patch -gregkh-driver-add-pci_bus_type-probe-and-remove-methods.patch -gregkh-driver-add-ecard_bus_type-probe-remove-shutdown-methods.patch -gregkh-driver-add-sa1111-bus_type-probe-remove-methods.patch -gregkh-driver-add-locomo-bus_type-probe-remove-methods.patch -gregkh-driver-add-logic-module-bus_type-probe-remove-methods.patch -gregkh-driver-add-tiocx-bus_type-probe-remove-methods.patch -gregkh-driver-add-parisc_bus_type-probe-and-remove-methods.patch -gregkh-driver-add-ocp_bus_type-probe-and-remove-methods.patch -gregkh-driver-add-sh_bus_type-probe-and-remove-methods.patch -gregkh-driver-add-of_platform_bus_type-probe-and-remove-methods.patch -gregkh-driver-add-vio_bus_type-probe-and-remove-methods.patch -gregkh-driver-add-dio_bus_type-probe-and-remove-methods.patch -gregkh-driver-add-i2c_bus_type-probe-and-remove-methods.patch -gregkh-driver-add-gameport-bus_type-probe-and-remove-methods.patch -gregkh-driver-add-serio-bus_type-probe-and-remove-methods.patch -gregkh-driver-add-macio_bus_type-probe-and-remove-methods.patch -gregkh-driver-add-mcp-bus_type-probe-and-remove-methods.patch -gregkh-driver-add-mmc_bus_type-probe-and-remove-methods.patch -gregkh-driver-add-pcmcia_bus_type-probe-and-remove-methods.patch -gregkh-driver-add-pnp_bus_type-probe-and-remove-methods.patch -gregkh-driver-add-ccwgroup_bus_type-probe-and-remove-methods.patch -gregkh-driver-add-superhyway_bus_type-probe-and-remove-methods.patch -gregkh-driver-add-usb_serial_bus_type-probe-and-remove-methods.patch -gregkh-driver-add-zorro_bus_type-probe-and-remove-methods.patch -gregkh-driver-add-rio_bus_type-probe-and-remove-methods.patch -gregkh-driver-add-pseudo-lld-bus_type-probe-and-remove-methods.patch -gregkh-driver-add-ide_bus_type-probe-and-remove-methods.patch -gregkh-driver-remove-usb-gadget-generic-driver-methods.patch -gregkh-driver-add-bttv-sub-bus_type-probe-and-remove-methods.patch -gregkh-driver-add-css-ccw-_bus_type-probe-remove-shutdown-methods.patch -gregkh-driver-platform-device-del-typo-fix.patch -gregkh-driver-device_shutdown-can-loop-if-the-driver-frees-itself.patch -gregkh-driver-driver-model-convert-driver-model-to-mutexes.patch -gregkh-driver-spi-simple-spi-framework.patch -gregkh-driver-spi-ads7846-driver.patch -gregkh-driver-spi-mtd-dataflash-driver.patch -gregkh-driver-spi-add-spi_driver-to-spi-framework.patch -gregkh-driver-spi-core-tweaks-bugfix.patch -gregkh-driver-spi-ads7836-uses-spi_driver.patch -gregkh-driver-spi-add-spi_bitbang-driver.patch -gregkh-driver-spi-m25-series-spi-flash.patch -gregkh-driver-spi-use-linked-lists-rather-than-an-array.patch -gregkh-driver-spi-misc-fixes.patch -gregkh-driver-spi-remove-fastcall-crap.patch -gregkh-driver-spi-add-spi_butterfly-driver.patch -spi-set-kset-of-master-class-dev-explicitly.patch -kobject-dont-oops-on-null-kobjectname.patch -serial8250-convert-to-the-new-platform-device-interface.patch -git-dvb-callbacks-fix.patch
-sem2mutex-drivers-media.patch -sem2mutex-clean-up-arch-ia64-hp-sim-simserialc.patch -pre-udma-eide-pio-mode-selection.patch -libata-debugging-support.patch -no-longer-mark-mtd_obsolete_chips-as-broken.patch -drivers-net-s2ioc-make-code-static.patch -drivers-net-arcnet-possible-cleanups.patch -cassini-printk-fix.patch
-net-fix-prio-qdisc-bands-init.patch -gregkh-pci-pci-error-recovery-symbios-scsi-device-driver.patch -gregkh-pci-pci-error-recovery-ixgb-network-device-driver.patch -gregkh-pci-pci-error-recovery-ipr-scsi-device-driver.patch -gregkh-pci-pci-error-recovery-e1000-network-device-driver.patch -gregkh-pci-pci-error-recovery-e100-network-device-driver.patch -gregkh-pci-drivers-net-replace-pci_module_init-with-pci_register_driver.patch -gregkh-pci-drivers-scsi-replace-pci_module_init-with-pci_register_driver.patch -gregkh-pci-pci-schedule-removal-of-pci_module_init.patch -sem2mutex-pci-hotplug.patch
-git-scsi-misc-buslogic-fix.patch -sem2mutex-drivers-scsi-scsi_transport_spi.patch -sem2mutex-drivers-scsi-32-9xxx.patch -w1-u64-is-not-long-long.patch -watchdog-winsystems-epx-c3-sbc.patch -watchdog-winsystems-epx-c3-sbc-tidy.patch -x86_64-defconfig-update.patch
-x86_64-powernow-init.patch -x86_64-add-__meminit-for-memory-hotplug.patch -x86_64-config-unwind-info.patch -x86_64-lapic-resume-uses-correct-base-address.patch -x86_64-config-unwind-info-ppc64-fix.patch -add-tmpfs-options-for-memory-placement-policies.patch -powerpc-add-support-for-the-mpc83xx-watchdog.patch -powerpc-add-support-for-the-mpc83xx-watchdog-tidies.patch -i386-put-hotplug_cpu-under-processor-type-not-bus-options.patch -i386-fix-stack-dump-loglevel.patch -i386-fix-stack-dump-loglevel-fixes.patch -i386-remove-gcc-version-check-for-config_regparm.patch -s390-des-crypto-code-cleanup.patch -s390-des-crypto-code-speedup.patch -s390-aes-crypto-code-fixes.patch -s390-sha256-crypto-code-fix.patch
-s390-show_task-oops.patch
-s390-show_task-oops-fix.patch
-s390-sigcontexth-vs-__user.patch -s390-fix-cpcmd-calls-on-up.patch
-s390-spinlock-fixes.patch
-s390-add-dummy-pm_power_off.patch -s390-fix-blk_queue_ordered-call-in-dasdc.patch -s390-cputime-misaccounting.patch
-s390-chps-array-too-short.patch
-s390-email-address-change.patch -s390-fix-blk_queue_ordered-call-in-dasdc-fixup.patch -piix-ide-pata-patch-for-intel-ich8m.patch -hda_intel-patch-for-intel-ich8.patch -ata_piix-ide-mode-sata-patch-for-intel-ich8.patch -ahci-ahci-mode-sata-patch-for-intel-ich8.patch -partitions-read-rio-karma-partition-table.patch -cpuset-oom-lock-fix.patch
-kernel-kernel-cpuc-to-mutexes.patch -ext2-remove-d_splice_alias-null-check-from-ext2_lookup.patch -ext3-remove-d_splice_alias-null-check-from-ext3_lookup.patch -isofs-remove-d_splice_alias-null-check-from-isofs_lookup.patch -reiserfs-remove-d_splice_alias-null-check-from-reiserfs_lookup.patch -quota-make-useless-quota-error-message-informative.patch -abandon-gcc-295x-mainc-tidy.patch -ncpfs-remove-kmalloc-wrapper.patch -smbfs-remove-kmalloc-wrapper.patch -reiserfs-remove-kmalloc-wrapper.patch -reiserfs-use-__gfp_nofail-instead-of-yield-and-retry-loop.patch -add-sys-fs.patch
-fuse-fuse_copy_finish-order-fix.patch
-fuse-fix-request_end.patch
-fuse-handle-error-init-reply.patch -fuse-uninline-some-functions.patch -fuse-miscellaneous-cleanup.patch -fuse-introduce-unified-request-state.patch -fuse-introduce-list-for-requests-under-i-o.patch -fuse-extend-semantics-of-connected-flag.patch -fuse-make-fuse-connection-a-kobject.patch -fuse-add-number-of-waiting-requests-attribute.patch -fuse-add-connection-aborting.patch -fuse-add-asynchronous-request-support.patch -fuse-move-init-handling-to-inodec.patch -fuse-read-request-initialization.patch -fuse-use-asynchronous-read-requests-for-readpages.patch -fuse-update-documentation-for-sysfs.patch -3c59x-improve-usage-of-netif_carrier_onoff.patch -dell_rbu-fix-bug-5854.patch
-cs89x0-credit-dmitry-pervushin.patch -cs89x0-use-elif-instead-of-else-if-endif.patch -cs89x0-use-u16-for-device-register-data.patch -cs89x0-add-ixdp2351-support.patch -remove-unused-tmp_buf_sems.patch -nlm-kernel-parameters-update.patch -update-kernel-parameterstxt-iosched-to-spell-out-anticipatory.patch -neofb-take-existing-display-configuration-as-default.patch -gx1fb-try-to-play-nicer-with-various-bioses.patch -fbdev-sanitize-fb_ioctl-prototype.patch -fbdev-sanitize-fb_mmap-prototype-fix.patch -fbdev-sanitize-fb_mmap-prototype.patch -fbdev-update-maintainers-list.patch -make-__always_inline-actually-force-always-inlining.patch -enable-unit-at-a-time-optimisations-for-gcc4.patch -mark-several-functions-__always_inline.patch -mark-several-functions-__always_inline-fix.patch -mark-some-key-vfs-functions-as-__always_inline.patch -pktcdvd-un-inline-some-functions.patch -make-inline-no-longer-mandatory-for-gcc-4x.patch -drivers-net-sk98lin-possible-cleanups.patch -build-kernel-intermodulec-only-when-required.patch -drivers-net-use-time_after-and-friends.patch -drivers-net-wireless-hostap-hostap_mainc-shouldnt-include-c-files.patch

Merged

+x86_64-fix-mce-exception-stack-for-boot-cpu.patch

x86_64 hotfix

+scsi_transport_spi-build-fix.patch

scsi build fix

+synclink_gt-fix-size-of-register-value-storage.patch

serial driver fix

+sem2mutex-acpi-acpi_link_lock.patch

Fix sem2mutex-drivers-acpi.patch

+git-alsa-fixup.patch

Fix rejects due to git-alsa.patch

+dsp_spos_scb_lib-assignment-fix.patch

Fix alsa driver assert.

+block-request_queue-ordcolor-must-not-be-flipped-on-softbarrier.patch +block-implement-elv_insert-and-use-it-fix-ordcolor-flipping-bug.patch

Block fixes.

+gregkh-driver-kobject_add-must-have-valid-name.patch +gregkh-driver-kobject-don-t-oops-on-null-kobject.name.patch +gregkh-driver-fix-compiler-warning-in-driver-core-for-config_hotplug-n.patch +gregkh-driver-put_device-might_sleep.patch +gregkh-driver-fix-up-the-sysfs-pollable-patch.patch

Driver tree updates

+revert-gregkh-driver-put_device-might_sleep.patch

Revert excessively noisy warning

+gregkh-i2c-w1-u64-is-not-long-long.patch

i2c tree update

+sem2mutex-i2c-2.patch +sem2mutex-serial-port_write_mutex.patch +sem2mutex-serial-port_write_mutex-fix.patch +sem2mutex-jffs.patch
+sem2mutex-ntfs.patch
+sem2mutex-netfilter-x_tablec.patch +sem2mutex-autofs4-wq_sem.patch +sem2mutex-infiniband-2.patch
+sem2mutex-nfs-idmapc.patch +convert-the-semaphores-in-the-sisusb-driver-to-mutexes.patch +sem2mutex-drivers-macintosh-windfarm_corec.patch +sem2mutex-jfs.patch
+sem2mutex-hpfs.patch +convert-ext3s-truncate_sem-to-a-mutex.patch +sem2mutex-ncpfs.patch
+sem2mutex-udf.patch
+sem2mutex-udf-fix.patch +fat_lock-is-used-as-a-mutex-convert-it-to-using-the-new-mutex.patch +sem2mutex-ioc4c.patch

Mutex conversions

+pate_opti-build-fix.patch

Fix git-libata-all build

+sata-acpi-build-update-makefile-kconfig.patch +sata-acpi-objects-support-libata-acpimore-debugging.patch +sata-acpi-objects-support-save-free-the-correct-acpi-object.patch

Updates to the sata/acpi code in -mm.

+git-netdev-all-revert-e1000-changes.patch

Revert e1000 changes frmo Jeff's tree - they busted the driver on my emt64 box.

+ipw2100_match_buf-warning-fix.patch

ipw2100 warning

-tulip-remove-duplicate-pci-ids.patch

Dropped

+RT_CACHE_STAT_INC-warning-fix.patch

Fix net might_sleep() warning

-sem2mutex-sungem-zoran-cassini-ipw2x00.patch
+sem2mutex-sungem.patch
+sem2mutex-zoran.patch
+sem2mutex-cassini.patch
+sem2mutex-ipw2x00.patch

Patch was split up.

+gregkh-pci-pci-schedule-removal-of-pci_module_init.patch +gregkh-pci-pci-pci_ids-remove-duplicates-gathered-during-merge-period.patch +gregkh-pci-pci-hotplug-pci-panic-on-dlpar-add.patch +gregkh-pci-pci-hotplug-shpchp-amd-pogo-errata-fix.patch +gregkh-pci-pci-msi-vector-targeting-abstractions.patch +gregkh-pci-pci-clean-up-msi.c-a-bit.patch +gregkh-pci-x86-pci-domain-support-the-meat.patch +gregkh-pci-pci-return-max-reserved-busnr.patch +gregkh-pci-pci-hotplug-acpiphp-handle-dock-bridges.patch +gregkh-pci-pci-really-fix-parent-s-subordinate-busnr.patch +gregkh-pci-pci-quirk-for-ibm-dock-ii-cardbus-controllers.patch +gregkh-pci-pci-hotplug-convert-semaphores-to-mutex.patch

PCI tree updates

+gregkh-pci-pci-msi-vector-targeting-abstractions-fix.patch

Fix a patch in it.

+revert-gregkh-pci-x86-pci-domain-support-the-meat.patch

Revert a broken patch from it.

+areca-raid-driver-arcmsr-update3-for-mm4.patch

ARECA raid driver cleanups

-gregkh-usb-usb-iomega-umini-is-unusual.patch

Dropped

+gregkh-usb-usb-remove-linux_version_code-macro-usage.patch +gregkh-usb-usb-sn9c10x-driver-updates.patch

USB tree updates

+auerswald-support-more-tk-devices.patch
+libusual-fix-warning-on-64bit-boxes.patch

USB updates

+mm-dirty_exceeded-speedup.patch
+mm-dirty_exceeded-speedup-fix.patch

Fix cacheline pingponging of a variable

+mm-migration-page-refcounting-fix.patch +mm-migration-page-refcounting-fix-warning-fix.patch +mm-migration-page-refcounting-fix-warning-fix-2.patch +mm-migration-page-refcounting-fix-2.patch +simplify-migrate_page_add.patch

Fix up and clean up page migration code.

+slab-distinguish-between-object-and-buffer-size.patch +slab-minor-cleanup-to-kmem_cache_alloc_node.patch +slab-have-index_of-bug-at-compile-time.patch +slab-cache_estimate-cleanup.patch +slab-extract-slab_destroy_objs.patch +slab-extract-slab_putget_obj.patch +slab-reduce-inlining.patch +slab-extract-virt_to_cacheslab.patch +slab-rename-ac_data-to-cpu_cache_get.patch +slab-replace-kmem_cache_t-with-struct-kmem_cache.patch

slab cleanups

+bug-fixes-and-cleanup-for-the-bsd-secure-levels-lsm.patch

Updates to the BSD secure levels code.

+i386-multi-column-stack-backtraces.patch

Optionally compact the x86 stack traces

+mm-kernel-power-move-externs-to-header-files.patch +swsusp-userland-interface.patch +swsusp-userland-interface-fix.patch

swsusp feature work.

+uml-add-__raw_writel-definition.patch +uml-move-ldt-creation.patch +uml-move-libc-dependent-utility-procedures.patch +uml-move-libc-dependent-time-code.patch +uml-change-interface-to-boot_timer_handler.patch +uml-move-headers-to-arch-um-include.patch +uml-move-libc-dependent-skas-memory-mapping-code.patch +uml-move-libc-dependent-skas-process-handling.patch +uml-eliminate-some-globals.patch +uml-implement-soft-interrupts.patch +uml-use-setjmp-longjmp-instead-of-sigsetjmp-siglongjmp.patch +uml-tt-mode-softint-fixes.patch +uml-remove-leftover-from-patch-revertal.patch +uml-make-daemon-transport-behave-properly.patch +uml-networking-clear-transport-specific-structure.patch +uml-fix-spinlock-recursion-and-sleep-inside-spinlock-in-error-path.patch +uml-sigio-code-reduce-spinlock-hold-time.patch +uml-avoid-malloc-to-sleep-in-atomic-sections.patch +uml-arch-kconfig-menu-cleanups.patch +uml-allow-again-to-move-backing-file-and-to-override-saved-location.patch +uml-ubd-code-fix-a-bit-of-whitespace.patch

UML updates

+cleanup-cdrom_ioctl-fix.patch

Fix a patch in -mm.

+elevator=as-back-compatibility.patch

Kerel boot commandline back-compatibility

+3c59x-collision-statistic-fix.patch

3c59x featurette

+snsc-kmalloc2kzalloc.patch
+sigprocmask-kill-unneeded-temp-var.patch

Cleanup

+v9fs-add-readpage-support.patch

v9fs feature

+fs-ufs-filec-drop-insane-header-dependencies.patch

cleanup

+fix-sched_setscheduler-semantics.patch

Fix sched_setscheduler

+sxc-warning-fixes.patch

Fix warnings

+sbc-epx-does-not-check-claim-i-o-ports-it-uses-2nd-edition.patch

Fix watchdog driver

+add-missing-syscall-declarations.patch

Add syscalls.h entries

+fix-parisc-build-flush_tlb_all_local.patch

parisc fix

+extract-inode_inc_count-inode_dec_count.patch +minix-switch-to-inode_inc_link_count-inode_dec_link_count.patch +sysv-switch-to-inode_inc_link_count-inode_dec_link_count.patch +ext2-switch-to-inode_inc_link_count-inode_dec_link_count.patch +ufs-switch-to-inode_inc_link_count-inode_dec_link_count.patch

cleanups

+hfs-cleanup-hfsplus-prints.patch
+hfs-cleanup-hfs-prints.patch
+hfs-add-hfsx-support.patch
+hfs-set-correct-ctime.patch
+hfs-set-correct-create-date-for-links.patch
+hfs-set-type-creator-for-symlinks.patch

HFS updates

+reiserfs-remove-kmalloc-wrapper.patch +reiserfs-use-__gfp_nofail-instead-of-yield-and-retry-loop.patch +reiserfs-missing-kmalloc-failure-check.patch +reiserfs-remove-reiserfs_permission_locked.patch +reiserfs-use-generic_permission.patch +reiserfs-fix-race-between-invalidatepage-checks-and-data=ordered-writeback.patch +reiserfs-zero-b_private-when-allocating-buffer-heads.patch +reiserfs-hang-and-performance-fix-for-data=journal-mode.patch +reiserfs-write_ordered_buffers-should-not-oops-on-dirty-non-uptodate-bh.patch +reiserfs-fix-journal-accounting-in-journal_transaction_should_end.patch +reiserfs-check-for-files-2gb-on-35x-disks.patch +reiserfs-fix-is_reusable-bitmap-check-to-not-traverse-the-bitmap-info-array.patch +reiserfs-clean-up-bitmap-block-buffer-head-references.patch +reiserfs-move-bitmap-loading-to-bitmapc.patch +reiserfs-on-demand-bitmap-loading.patch +reiserfs-on-demand-bitmap-loading-fix.patch +reiserfs-on-demand-bitmap-loading-warning-fix.patch

reiser3 updates

+time-delay-clocksource-selection-until-later-in-boot.patch

Fix time patches in -mm.

+exportfs-add-find_acceptable_alias-helper.patch

nfsd fix

+sched-alter_uninterruptible_sleep_interactivity-fix.patch

Fix sched-alter_uninterruptible_sleep_interactivity.patch

+sched-modified-nice-support-for-smp-load-balancing-fix.patch +sched-modified-nice-support-for-smp-load-balancing-fix-fix.patch

Fix performance regressions due to sched-modified-nice-support-for-smp-load-balancing.patch

+video-hp680-backlight-driver.patch

New backlight driver

+uml-add-tif_restore_sigmask-support.patch
+uml-use-generic-sys_rt_sigsuspend.patch

Teach UML to use new signal infrastructure in -mm.

+mark-f_ops-const-in-the-inode-spufs-fix.patch

Fix spufs for mark-f_ops-const-in-the-inode.patch

+replace-0xff-with-correct-dma_xbit_mask.patch

Cleanups

All 703 patches:

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

#1 lore raw

PATCH 1/1 mempolicy.c compile fix

Quoted 2 lines · Andrew Morton

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc1/2. 6.16-rc1-mm1/

CC mm/mempolicy.o
mm/mempolicy.c:547: Fehler: Syntaxfehler vor »}«-Zeichen make[1]: *** [mm/mempolicy.o] Fehler 1
make: *** [mm] Fehler 2

Patch attached.

greets,
dominik

mm/mempolicy.c renamed from mm/mempolicy.orig.c +0 -1
@@ -543,7 +543,6 @@
 	if ((flags & MPOL_MF_MOVE_ALL) || page_mapcount(page) ==1)
 		if (isolate_lru_page(page))
 			list_add(&page->lru, pagelist);
-	}
 }
 
 /*
#2 lore raw
In reply to Andrew Morton
Quoted 2 lines · Andrew Morton

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc1/2. 6.16-rc1-mm1/

LD .tmp_vmlinux1
sound/built-in.o:(__ksymtab+0x670): undefined reference to `snd_pcm_format_name'
make: *** [.tmp_vmlinux1] Fehler 1

If needed, I can provide my config as well.

hth,
dominik

#3 lore raw

snd_pcm_format_name() problems [Re: 2.6.16-rc1-mm1]

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

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc1/2. 6.16-rc1-mm1/

LD .tmp_vmlinux1
sound/built-in.o:(__ksymtab+0x670): undefined reference to `snd_pcm_format_name'
make: *** [.tmp_vmlinux1] Fehler 1

If needed, I can provide my config as well.

Nope.
You can use these patches (they are in alsa tree yet) or enable `Verbose procfs contents in config' for the time being.
http://kernel.org/git/?p=linux/kernel/git/perex/alsa-current.git;a=commit;h=e91dc6f893662674f1b224cd4948b8b9f5fb9439

regards,

Signature · 3 lines
Jiri Slaby         www.fi.muni.cz/~xslaby
\_.-^-._   [email protected]   _.-^-._/
B67499670407CE62ACC8 22A032CC55C339D47A7E
#4 lore raw
In reply to Andrew Morton
Quoted 10 lines · Andrew Morton

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

- There are a lot of reiser3 features and fixes here. Please test with caution, but please test.

- Due to various vendor and glibc release timings I'm aiming to get the *at functions (vfa-at-functions-core.patch) and the pselect/ppoll syscalls into 2.6.16. This is rather late in the piece and I'd ask interested parties to review and comment on those patches asap please.

Quoted 8 lines

Ulrich would also like to get the unshare syscall into 2.6.16 but I don't recall having seen that code get a decent review and there's quite some potential for slipups in this area to cause very bad problems indeed. So we're a bit stuck on that one.

- Before I die I'd like to get an x86 allmodconfig build with gcc-3.2.1 which emits no warnings. Once we have that we can worry about gcc-4 and other architectures. Patches will be gratefully leapt upon.

My box came up first time lucky on this release, but I got a new oops:

NET: Registered protocol family 1
NET: Registered protocol family 17

BUG: swapper/1, active lock [b19e6428(b19e6400-b19e6600)] freed!
 [<b01040d1>] show_trace+0xd/0xf
 [<b0104172>] dump_stack+0x17/0x19
 [<b0131c6d>] mutex_debug_check_no_locks_freed+0xff/0x18e
 [<b01544b3>] kfree+0x34/0x6a
 [<b02a6109>] cpufreq_add_dev+0x127/0x379
 [<b023abcb>] sysdev_driver_register+0x70/0xb0
 [<b02a67df>] cpufreq_register_driver+0x68/0xfe
 [<b03cc19d>] acpi_cpufreq_init+0xd/0xf
 [<b01003cc>] init+0xff/0x325
 [<b0100d25>] kernel_thread_helper+0x5/0xb
 [b19e6428] {cpufreq_add_dev}

.. held by: swapper: 1 [efe14ab0, 115]
... acquired at: cpufreq_add_dev+0x9d/0x379
p4-clockmod: P4/Xeon(TM) CPU On-Demand Clock Modulation available Starting balanced_irq

The box carried on and booted up normally after that and seems otherwise OK.

I'm yet to test this release out more throughly for some other problems I have seen recently as they require multiple reboots etc etc, but this one was more obvious :)

reuben

#5 lore raw
Quoted 5 lines · Reuben Farrelly

My box came up first time lucky on this release, but I got a new oops:

NET: Registered protocol family 1
NET: Registered protocol family 17

Quoted 15 lines
 BUG: swapper/1, active lock [b19e6428(b19e6400-b19e6600)] freed!
   [<b01040d1>] show_trace+0xd/0xf
   [<b0104172>] dump_stack+0x17/0x19
   [<b0131c6d>] mutex_debug_check_no_locks_freed+0xff/0x18e
   [<b01544b3>] kfree+0x34/0x6a
   [<b02a6109>] cpufreq_add_dev+0x127/0x379
   [<b023abcb>] sysdev_driver_register+0x70/0xb0
   [<b02a67df>] cpufreq_register_driver+0x68/0xfe
   [<b03cc19d>] acpi_cpufreq_init+0xd/0xf
   [<b01003cc>] init+0xff/0x325
   [<b0100d25>] kernel_thread_helper+0x5/0xb
   [b19e6428] {cpufreq_add_dev}
 .. held by:           swapper:    1 [efe14ab0, 115]
 ... acquired at:               cpufreq_add_dev+0x9d/0x379
 p4-clockmod: P4/Xeon(TM) CPU On-Demand Clock Modulation available

Well yes, that code is kfree()ing a locked mutex. It's somewhat weird to take a lock on a still-private object but whatever. The code's legal enough.

drivers/cpufreq/cpufreq.c renamed from drivers/cpufreq/cpufreq.c~cpufreq-mutex-locking-fix +1 -0
@@ -674,6 +674,7 @@ err_out_driver_exit:
 		cpufreq_driver->exit(policy);
 
 err_out:
+	mutex_unlock(&policy->lock);
 	kfree(policy);
 
 nomem_out:

_

#6 lore raw
Quoted 8 lines · Andrew Morton

Well yes, that code is kfree()ing a locked mutex. It's somewhat weird to take a lock on a still-private object but whatever. The code's legal enough.

drivers/cpufreq/cpufreq.c err_out_driver_exit: · line 679

Quoted 6 lines
drivers/cpufreq/cpufreq.c renamed from drivers/cpufreq/cpufreq.c~cpufreq-mutex-locking-fix +1 -0
@@ -674,6 +674,7 @@ err_out_driver_exit:
 		cpufreq_driver->exit(policy);
 
 err_out:
+	mutex_unlock(&policy->lock);
 	kfree(policy);
 

This looks odd, because we do this..

    mutex_unlock(&policy->lock);

    /* set default policy */

    ret = cpufreq_set_policy(&new_policy);
    if (ret) {
        dprintk("setting policy failed\n");
        goto err_out_unregister;
    }

	...

err_out_unregister:

    spin_lock_irqsave(&cpufreq_driver_lock, flags);
    for_each_cpu_mask(j, policy->cpus)
        cpufreq_cpu_data[j] = NULL;
    spin_unlock_irqrestore(&cpufreq_driver_lock, flags);

    kobject_unregister(&policy->kobj);
    wait_for_completion(&policy->kobj_unregister);

err_out_driver_exit:

    if (cpufreq_driver->exit)
        cpufreq_driver->exit(policy);

err_out:

    kfree(policy);

With the patch above we'll mutex_unlock twice.
Is that allowed ? It sounds wrong to me.

Dave

#7 lore raw
Quoted 2 lines · Dave Jones

With the patch above we'll mutex_unlock twice.

I was just testing you.

Quoted 1 line

Is that allowed ? It sounds wrong to me.

It worked!

From: Andrew Morton <[email protected]>

Make the cpufreq code play nicely with the mutex debugging code: don't free a held mutex.

Cc Dave Jones <[email protected]>
Cc Ingo Molnar <[email protected]>

---

 drivers/cpufreq/cpufreq.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
drivers/cpufreq/cpufreq.c renamed from drivers/cpufreq/cpufreq.c~cpufreq-mutex-locking-fix +4 -2
diff -puN drivers/cpufreq/cpufreq.c~cpufreq-mutex-locking-fix drivers/cpufreq/cpufreq.c
@@ -612,6 +612,7 @@ static int cpufreq_add_dev (struct sys_d
 	ret = cpufreq_driver->init(policy);
 	if (ret) {
 		dprintk("initialization failed\n");
+		mutex_unlock(&policy->lock);
 		goto err_out;
 	}
 
@@ -623,9 +624,10 @@ static int cpufreq_add_dev (struct sys_d
 	strlcpy(policy->kobj.name, "cpufreq", KOBJ_NAME_LEN);
 
 	ret = kobject_register(&policy->kobj);
-	if (ret)
+	if (ret) {
+		mutex_unlock(&policy->lock);
 		goto err_out_driver_exit;
-
+	}
 	/* set up files for this cpu device */
 	drv_attr = cpufreq_driver->attr;
 	while ((drv_attr) && (*drv_attr)) {

_

#8 lore raw
Quoted 9 lines · Andrew Morton
Quoted 2 lines · Dave Jones

With the patch above we'll mutex_unlock twice.

I was just testing you.

Quoted 1 line

Is that allowed ? It sounds wrong to me.

It worked!

Heh. Thanks, pushed out to cpufreq.git

Dave

#9 lore raw
In reply to Dave Jones
Quoted 6 lines · Dave Jones
Quoted 4 lines · Andrew Morton

Well yes, that code is kfree()ing a locked mutex. It's somewhat weird to take a lock on a still-private object but whatever. The code's legal enough.

If someone else can be waiting on it then it doesn't look legal ?

#10 lore raw
Quoted 9 lines · Alan Cox
Quoted 6 lines · Dave Jones
Quoted 4 lines · Andrew Morton

Well yes, that code is kfree()ing a locked mutex. It's somewhat weird to take a lock on a still-private object but whatever. The code's legal enough.

If someone else can be waiting on it then it doesn't look legal ?

it's allocated in this function, and we only kfree it in an error path if something goes wrong. If we get to the kfree, the policy has never been seen anywhere outside of cpufreq_add_dev(), so nothing else can be waiting on it.

Dave

#11 lore raw
In reply to Alan Cox
Quoted 9 lines · Alan Cox
Quoted 6 lines · Dave Jones
Quoted 4 lines · Andrew Morton

Well yes, that code is kfree()ing a locked mutex. It's somewhat weird to take a lock on a still-private object but whatever. The code's legal enough.

If someone else can be waiting on it then it doesn't look legal ?

This is why Ingo made the decision to just declare it illegal period for mutexes (and check for it in debug mode). The obvious exceptions are error paths, but those aren't perf criticial in any way.

#12 lore raw

PATCH 1/1 migrate_page_add mangled brackets during merge

In reply to Andrew Morton

migrate_page_add mangled brackets during merge

It appears that there was some kind of merge mangle in migrate_page_add(). Sort out an extraneous bracket and a couple of spacing issues.

---
 mempolicy.c |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)
mm/mempolicy.c +1 -3
diff -upN reference/mm/mempolicy.c current/mm/mempolicy.c
@@ -533,17 +533,15 @@ long do_get_mempolicy(int *policy, nodem
 /*
  * page migration
  */
-
 static void migrate_page_add(struct page *page, struct list_head *pagelist,
 				unsigned long flags)
 {
 	/*
 	 * Avoid migrating a page that is shared with others.
 	 */
-	if ((flags & MPOL_MF_MOVE_ALL) || page_mapcount(page) ==1)
+	if ((flags & MPOL_MF_MOVE_ALL) || page_mapcount(page) == 1)
 		if (isolate_lru_page(page))
 			list_add(&page->lru, pagelist);
-	}
 }
 
 /*
#13 lore raw
In reply to Andrew Morton

Hi Andrew,

Quoted 3 lines · Andrew Morton

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

dmesg says a few strange things (this were in 15-mm4 too):
Driver 'w83627hf' needs updating - please use bus_type methods

grant@sempro:~$ dmesg| grep SET
**** SET: Misaligned resource pointer: efe72c22 Type 07 Len 0
**** SET: Misaligned resource pointer: efe72c22 Type 07 Len 0
**** SET: Misaligned resource pointer: efe24582 Type 07 Len 0

plus I had to turn the alsa sound driver off to get the thing to compile, new for
16-rc1-mm1.

Quoted 2 lines

- There are a lot of reiser3 features and fixes here. Please test with caution, but please test.

I run reiserfs3, doing allmodconfig now, I'll whinge tomorrow if it munches the filesystem ;)
<http://bugsplatter.mine.nu/test/boxen/sempro/>

Cheers,
Grant.

#14 lore raw
In reply to Andrew Morton
Quoted 4 lines · Andrew Morton

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

- There are a lot of reiser3 features and fixes here. Please test with caution, but please test.

Indeed there are!

This was first, about 15 mins after the partition was mounted:

Jan 19 01:24:32 tornado kernel: ReiserFS: sdb8: warning: vs-4080:
reiserfs_free_block: free_block (sdb8:9217)[dev:blocknr]: bit already cleared
Jan 19 01:24:32 tornado kernel: ReiserFS: sdb8: warning: vs-4080:
reiserfs_free_block: free_block (sdb8:9122)[dev:blocknr]: bit already cleared
Jan 19 01:24:32 tornado kernel: ReiserFS: sdb8: warning: vs-4080:
reiserfs_free_block: free_block (sdb8:9121)[dev:blocknr]: bit already cleared
Jan 19 01:24:32 tornado kernel: ReiserFS: sdb8: warning: vs-4080:
reiserfs_free_block: free_block (sdb8:9120)[dev:blocknr]: bit already cleared
Jan 19 01:24:32 tornado kernel: ReiserFS: sdb8: warning: vs-4080:
reiserfs_free_block: free_block (sdb8:9119)[dev:blocknr]: bit already cleared
Jan 19 01:24:32 tornado kernel: ReiserFS: sdb8: warning: vs-4080:
reiserfs_free_block: free_block (sdb8:9118)[dev:blocknr]: bit already cleared
Jan 19 01:24:32 tornado kernel: ReiserFS: sdb8: warning: vs-4080:
reiserfs_free_block: free_block (sdb8:9117)[dev:blocknr]: bit already cleared
Jan 19 01:24:32 tornado kernel: ReiserFS: sdb8: warning: vs-4080:
reiserfs_free_block: free_block (sdb8:9116)[dev:blocknr]: bit already cleared
Jan 19 01:24:32 tornado kernel: ReiserFS: sdb8: warning: vs-4080:

reiserfs_free_block: free_block (sdb8:8235)[dev:blocknr]: bit already cleared

Then some "bad stuff" (tm) really hit the fan:

Jan 19 01:24:35 tornado kernel: ------------[ cut here ]------------
Jan 19 01:24:35 tornado kernel: kernel BUG at fs/reiserfs/journal.c:1451!
Jan 19 01:24:35 tornado kernel: invalid opcode: 0000 [#1]
Jan 19 01:24:35 tornado kernel: SMP
Jan 19 01:24:35 tornado kernel: last sysfs file:
/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002e/vrm
Jan 19 01:24:35 tornado kernel: Modules linked in: nfsd exportfs lockd sunrpc
lm85 hwmon_vid eeprom ipv6 ip_gre ipt_ECN iptable_mangle iptable_nat ip_nat
ip_conntrack nfnetlink iptable_filter ip_tables binfmt_misc serio_raw hw_random
piix i2c_i801
Jan 19 01:24:35 tornado kernel: CPU:    0
Jan 19 01:24:35 tornado kernel: EIP:    0060:[<b01af240>]    Not tainted VLI
Jan 19 01:24:35 tornado kernel: EFLAGS: 00210202   (2.6.16-rc1-mm1)
Jan 19 01:24:35 tornado kernel: EIP is at flush_journal_list+0x55e/0x71d
Jan 19 01:24:35 tornado kernel: eax: 00000001   ebx: f0d0feb0   ecx: 00000000
edx: 00000000
Jan 19 01:24:35 tornado kernel: esi: b5a30724   edi: c17694c0   ebp: efd25cf8
esp: efd25cac
Jan 19 01:24:35 tornado kernel: ds: 007b   es: 007b   ss: 0068
Jan 19 01:24:36 tornado kernel: Process pdflush (pid: 158, threadinfo=efd25000
task=efd21030)
Jan 19 01:24:36 tornado kernel: Stack: <0>000080ad 00000001 b036f1e0 b1806060
eea1dc40 00000000 00000000 ee16d800
Jan 19 01:24:36 tornado kernel:        00000001 00000000 b03e7604 f0cf1000
00000002 00200246 f0cf914c 00000000
Jan 19 01:24:36 tornado kernel:        f0cf1000 f0cf1114 c0b86f40 efd25d4c
b01aef78 00000000 000004e9 b0375600
Jan 19 01:24:36 tornado kernel: Call Trace:
Jan 19 01:24:36 tornado kernel:  [<b0103bd5>] show_stack_log_lvl+0xc5/0xea
Jan 19 01:24:36 tornado kernel:  [<b0103d61>] show_registers+0x167/0x1ec
Jan 19 01:24:36 tornado kernel:  [<b0103f0c>] die+0x126/0x231
Jan 19 01:24:36 tornado kernel:  [<b010408a>] do_trap+0x73/0x9e
Jan 19 01:24:36 tornado kernel:  [<b010496a>] do_invalid_op+0x97/0xa1
Jan 19 01:24:36 tornado kernel:  [<b0103717>] error_code+0x4f/0x54
Jan 19 01:24:36 tornado kernel:  [<b01aef78>] flush_journal_list+0x296/0x71d
Jan 19 01:24:37 tornado kernel:  [<b01af623>] flush_used_journal_lists+0x224/0x35c
Jan 19 01:24:37 tornado kernel:  [<b01b148e>] do_journal_end+0x9f6/0xc20
Jan 19 01:24:37 tornado kernel:  [<b01b171d>] journal_end_sync+0x65/0x77
Jan 19 01:24:37 tornado kernel:  [<b01a1500>] reiserfs_sync_fs+0x57/0x64
Jan 19 01:24:37 tornado kernel:  [<b01a151a>] reiserfs_write_super+0xd/0xf
Jan 19 01:24:37 tornado kernel:  [<b015e6ba>] sync_supers+0xbe/0x103
Jan 19 01:24:37 tornado kernel:  [<b01414c8>] wb_kupdate+0x38/0x13f
Jan 19 01:24:37 tornado kernel:  [<b0141ed2>] pdflush+0xd1/0x1b4
Jan 19 01:24:37 tornado kernel:  [<b012e7b7>] kthread+0xa5/0xca
Jan 19 01:24:37 tornado kernel:  [<b0100d25>] kernel_thread_helper+0x5/0xb
Jan 19 01:24:37 tornado kernel: Code: 45 d0 e8 3e e8 ff ff 89 45 f0 85 c0 0f 85
0a 01 00 00 8b 4d d0 8b 81 f8 01 00 00 e9 6a fd ff ff 89 d8 e8 67 e3 ff ff 85 c0
74 0a <0f> 0b ab 05 4f 78 33 b0 31 c0 c7 45 dc 00 00 00 00 e9 1a ff ff
Jan 19 01:24:37 tornado kernel:  Badness in do_exit at kernel/exit.c:799
Jan 19 01:24:37 tornado kernel:  [<b01040d1>] show_trace+0xd/0xf
Jan 19 01:24:37 tornado kernel:  [<b0104172>] dump_stack+0x17/0x19
Jan 19 01:24:37 tornado kernel:  [<b011f87c>] do_exit+0x83a/0x83f
Jan 19 01:24:37 tornado kernel:  [<b0104017>] do_trap+0x0/0x9e
Jan 19 01:24:37 tornado kernel:  [<b010408a>] do_trap+0x73/0x9e
Jan 19 01:24:37 tornado kernel:  [<b010496a>] do_invalid_op+0x97/0xa1
Jan 19 01:24:37 tornado kernel:  [<b0103717>] error_code+0x4f/0x54
Jan 19 01:24:37 tornado kernel:  [<b01aef78>] flush_journal_list+0x296/0x71d
Jan 19 01:24:37 tornado kernel:  [<b01af623>] flush_used_journal_lists+0x224/0x35c
Jan 19 01:24:37 tornado kernel:  [<b01b148e>] do_journal_end+0x9f6/0xc20
Jan 19 01:24:38 tornado kernel:  [<b01b171d>] journal_end_sync+0x65/0x77
Jan 19 01:24:38 tornado kernel:  [<b01a1500>] reiserfs_sync_fs+0x57/0x64
Jan 19 01:24:38 tornado kernel:  [<b01a151a>] reiserfs_write_super+0xd/0xf
Jan 19 01:24:38 tornado kernel:  [<b015e6ba>] sync_supers+0xbe/0x103
Jan 19 01:24:38 tornado kernel:  [<b01414c8>] wb_kupdate+0x38/0x13f
Jan 19 01:24:38 tornado kernel:  [<b0141ed2>] pdflush+0xd1/0x1b4
Jan 19 01:24:38 tornado kernel:  [<b012e7b7>] kthread+0xa5/0xca
Jan 19 01:24:38 tornado kernel:  [<b0100d25>] kernel_thread_helper+0x5/0xb

Think I'll go quietly retreat to -rc1 on that box now and have a fiddle with my x86_64 box instead ;-)

reuben

#15 lore raw

Wireless issues (was Re: 2.6.16-rc1-mm1

In reply to Andrew Morton
Quoted 3 lines · Andrew Morton

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

My laptop has a Dell TrueMobile 1150 wireless card, which fell over using rc1-mm1.

/sbin/pccardctl ident:

Socket 2:
product info: "Dell", "TrueMobile 1150 Series PC Card", "Version 01.01", ""
manfid: 0x0156, 0x0002
function: 6 (network)

Found in 2.6.16-rc1-mm1 dmesg:

orinoco 0.15rc3 (David Gibson <[email protected]>, Pavel Roskin <[email protected]>, et al) orinoco_cs 0.15rc3 (David Gibson <[email protected]>, Pavel Roskin <[email protected]>, et al)
orinoco_cs: GetNextTuple(): No matching CIS configuration. Maybe you need the ignore_cis_vcc=1 parameter. 2.0: GetFirstTuple: No more items
orinoco_cs: GetNextTuple(): No matching CIS configuration. Maybe you need the ignore_cis_vcc=1 parameter. 2.0: GetFirstTuple: No more items

and a non-functioning wireless card.

A 2.6.15 dmesg says:

orinoco 0.15rc3 (David Gibson <[email protected]>, Pavel Roskin <[email protected]>, et al) orinoco_cs 0.15rc3 (David Gibson <[email protected]>, Pavel Roskin <[email protected]>, et al)
eth3: Hardware identity 0005:0004:0005:0000
eth3: Station identity 001f:0001:0008:000a
eth3: Firmware determined as Lucent/Agere 8.10
eth3: Ad-hoc demo mode supported
eth3: IEEE standard IBSS ad-hoc mode supported
eth3: WEP supported, 104-bit key
eth3: MAC address 00:02:2D:5C:11:48
eth3: Station name "HERMES I"
eth3: ready
eth3: index 0x01: Vcc 3.3, irq 11, io 0xe100-0xe13f

I haven't tried adding ignore_cis_vcc to the boot yet, I'm on my way out the door...

#16 lore raw

Re: Wireless issues (was Re: 2.6.16-rc1-mm1

Quoted 28 lines · [email protected] wrote:
Quoted 3 lines · Andrew Morton

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

My laptop has a Dell TrueMobile 1150 wireless card, which fell over using rc1-mm1.

/sbin/pccardctl ident:

Socket 2:
product info: "Dell", "TrueMobile 1150 Series PC Card", "Version 01.01", ""
manfid: 0x0156, 0x0002
function: 6 (network)

Found in 2.6.16-rc1-mm1 dmesg:

orinoco 0.15rc3 (David Gibson <[email protected]>, Pavel Roskin <[email protected]>, et al) orinoco_cs 0.15rc3 (David Gibson <[email protected]>, Pavel Roskin <[email protected]>, et al)
orinoco_cs: GetNextTuple(): No matching CIS configuration. Maybe you need the ignore_cis_vcc=1 parameter. 2.0: GetFirstTuple: No more items
orinoco_cs: GetNextTuple(): No matching CIS configuration. Maybe you need the ignore_cis_vcc=1 parameter. 2.0: GetFirstTuple: No more items

and a non-functioning wireless card.

A 2.6.15 dmesg says:

Quoted 12 lines

orinoco 0.15rc3 (David Gibson <[email protected]>, Pavel Roskin <[email protected]>, et al) orinoco_cs 0.15rc3 (David Gibson <[email protected]>, Pavel Roskin <[email protected]>, et al)
eth3: Hardware identity 0005:0004:0005:0000
eth3: Station identity 001f:0001:0008:000a
eth3: Firmware determined as Lucent/Agere 8.10
eth3: Ad-hoc demo mode supported
eth3: IEEE standard IBSS ad-hoc mode supported
eth3: WEP supported, 104-bit key
eth3: MAC address 00:02:2D:5C:11:48
eth3: Station name "HERMES I"
eth3: ready
eth3: index 0x01: Vcc 3.3, irq 11, io 0xe100-0xe13f

There are orinoco changes in git-pcmcia.patch. Could you try reverting add-support-for-possio-gcc-aka-pcmcia-siemens-mc45.patch and then git-pcmcia.patch?

Quoted 1 line

I haven't tried adding ignore_cis_vcc to the boot yet, I'm on my way out the door...

That shouldn't be necessary.

#17 lore raw

Re: Wireless issues (was Re: 2.6.16-rc1-mm1

Quoted 3 lines · Andrew Morton

There are orinoco changes in git-pcmcia.patch. Could you try reverting add-support-for-possio-gcc-aka-pcmcia-siemens-mc45.patch and then git-pcmcia.patch?

It turns out that we lost the initialization for the 'config_info_t conf;', so the compare to conf.Vcc was broken. Here's a works-for-me patch.

---

drivers/net/wireless/orinoco_cs.c renamed from drivers/net/wireless/orinoco_cs.c.v1 +4 -0
@@ -205,6 +205,10 @@ orinoco_cs_config(struct pcmcia_device *
 	/* Configure card */
 	link->state |= DEV_CONFIG;
 
+	/* Look up the current Vcc */
+	CS_CHECK(GetConfigurationInfo,
+		pcmcia_get_configuration_info(link, &conf));
+
 	/*
 	 * In this loop, we scan the CIS for configuration table
 	 * entries, each of which describes a valid card
#18 lore raw

Re: Wireless issues (was Re: 2.6.16-rc1-mm1)

Hi,

Quoted 8 lines · On Thu, Jan 19, 2006 at 02:33:39AM -0500, [email protected] wrote:
Quoted 3 lines · Andrew Morton

There are orinoco changes in git-pcmcia.patch. Could you try reverting add-support-for-possio-gcc-aka-pcmcia-siemens-mc45.patch and then git-pcmcia.patch?

It turns out that we lost the initialization for the 'config_info_t conf;', so the compare to conf.Vcc was broken. Here's a works-for-me patch.

Sorry about that, I accidentally removed this in orinoco_cs and spectrum_cs where it is still needed, while the removal is safe in many other places. git-pcmcia will be updated accordingly (i.e. with the initialization not being removed in the first place) soon.

Many thanks,
Dominik

#19 lore raw

PATCH 1/1 make pcmcia_release_{io,irq} static

In reply to Andrew Morton
Quoted 7 lines · Andrew Morton

...
Changes since 2.6.15-mm4:
...
git-pcmcia.patch
...
git trees
...

We can now make pcmcia_release_{io,irq} static.

drivers/pcmcia/pcmcia_resource.c renamed from drivers/pcmcia/pcmcia_resource.c.old +2 -2
@@ -511,7 +511,7 @@
  * don't bother checking the port ranges against the current socket
  * values.
  */
-int pcmcia_release_io(struct pcmcia_device *p_dev, io_req_t *req)
+static int pcmcia_release_io(struct pcmcia_device *p_dev, io_req_t *req)
 {
 	struct pcmcia_socket *s = p_dev->socket;
 	config_t *c = p_dev->function_config;
@@ -537,7 +537,7 @@
 } /* pcmcia_release_io */
 
 
-int pcmcia_release_irq(struct pcmcia_device *p_dev, irq_req_t *req)
+static int pcmcia_release_irq(struct pcmcia_device *p_dev, irq_req_t *req)
 {
 	struct pcmcia_socket *s = p_dev->socket;
 	config_t *c= p_dev->function_config;
maintainer Applied
#20 lore raw

Re: [-mm patch] make pcmcia_release_{io,irq} static

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

...
Changes since 2.6.15-mm4:
...
git-pcmcia.patch
...
git trees
...

We can now make pcmcia_release_{io,irq} static.

Applied, thanks.

Dominik

#21 lore raw

2.6.16-rc1-mm1: ia64 compile error

In reply to Andrew Morton
Quoted 7 lines · Andrew Morton

...
Changes since 2.6.15-mm4:
...
+gregkh-pci-pci-msi-vector-targeting-abstractions.patch
...
PCI tree updates
...

This patch breaks the ia64 defconfig:

<-- snip -->

...
CC arch/ia64/dig/machvec.o
In file included from arch/ia64/dig/machvec.c:3:
include/asm/machvec_init.h:32: error: 'ia64_msi_init' undeclared here (not in a function) make[1]: *** [arch/ia64/dig/machvec.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 Seed
#22 lore raw

Re: 2.6.16-rc1-mm1: ia64 compile error

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

...
Changes since 2.6.15-mm4:
...
+gregkh-pci-pci-msi-vector-targeting-abstractions.patch
...
PCI tree updates
...

This patch breaks the ia64 defconfig:

Quoted 7 lines

<-- snip -->

...
CC arch/ia64/dig/machvec.o
In file included from arch/ia64/dig/machvec.c:3:
include/asm/machvec_init.h:32: error: 'ia64_msi_init' undeclared here (not in a function) make[1]: *** [arch/ia64/dig/machvec.o] Error 1

Yeah, I had to drop the 3rd patch in that series that wsa ia64 specific due to major conflicts. Mark said he would give me updated patches soon.

thanks,

greg k-h

#23 lore raw

Re: 2.6.16-rc1-mm1: ia64 compile error

In reply to Adrian Bunk

yes, I discovered this last night for generic builds. I'm fixing up the MSI patches and will send them out in the morning.

sn2_defconfig and zx1_defconfig builds work, more generic ones do not.

Sorry 'bout that.

Mark

Quoted 23 lines · Adrian Bunk
Quoted 7 lines · Andrew Morton

...
Changes since 2.6.15-mm4:
...
+gregkh-pci-pci-msi-vector-targeting-abstractions.patch
...
PCI tree updates
...

This patch breaks the ia64 defconfig:

<-- snip -->

...
CC arch/ia64/dig/machvec.o
In file included from arch/ia64/dig/machvec.c:3:
include/asm/machvec_init.h:32: error: 'ia64_msi_init' undeclared here (not in a function) make[1]: *** [arch/ia64/dig/machvec.o] Error 1

<-- snip -->

cu
Adrian