linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.16-rc5-mm2
@ 2006-03-03 12:56 Andrew Morton
  2006-03-03 15:26 ` 2.6.16-rc5-mm2: IPW_QOS: two remarks Adrian Bunk
                   ` (16 more replies)
  0 siblings, 17 replies; 40+ messages in thread
From: Andrew Morton @ 2006-03-03 12:56 UTC (permalink / raw)
  To: linux-kernel


ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm2/


- Should be a bit better than 2.6.16-rc5-mm1, but I still had to fix a ton
  of things to get this to compile and boot.  We're not being careful enough.

- The procfs rework is getting there, but some problems probably still remain.

- There will be a number of new warnings at boot time when initcalls fail. 
  Generally that's OK: it usually indicates that you linked something into
  vmlinux which you're not actually using.  But sometimes it can indicate
  kernel bugs.

- The (much-shrunk) audit git tree is back.



Boilerplate:

- See the `hot-fixes' directory for any important updates to this patchset.

- To fetch an -mm tree using git, use (for example)

  git fetch git://git.kernel.org/pub/scm/linux/kernel/git/smurf/linux-trees.git v2.6.16-rc2-mm1

- -mm kernel commit activity can be reviewed by subscribing to the
  mm-commits mailing list.

        echo "subscribe mm-commits" | mail majordomo@vger.kernel.org

- 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.16-rc5-mm1:


 linus.patch
 git-acpi.patch
 git-agpgart.patch
 git-alsa.patch
 git-audit-master.patch
 git-blktrace.patch
 git-cfq.patch
 git-cifs.patch
 git-cpufreq.patch
 git-drm.patch
 git-dvb.patch
 git-ia64.patch
 git-ieee1394.patch
 git-infiniband.patch
 git-input.patch
 git-jfs.patch
 git-kbuild.patch
 git-libata-all.patch
 git-netdev-all.patch
 git-net.patch
 git-nfs.patch
 git-ocfs2.patch
 git-powerpc.patch
 git-sym2.patch
 git-pcmcia.patch
 git-scsi-misc.patch
 git-sas-jg.patch
 git-sparc64.patch
 git-watchdog.patch
 git-xfs.patch
 git-cryptodev.patch
 git-viro-bird-m32r.patch
 git-viro-bird-m68k.patch
 git-viro-bird-xfs.patch
 git-viro-bird-uml.patch
 git-viro-bird-frv.patch
 git-viro-bird-misc.patch
 git-viro-bird-upf.patch
 git-viro-bird-volatile.patch

 git trees

+git-audit-fixes.patch
+git-audit-master-build-fix.patch
+git-infiniband-build-fix.patch
+git-net-vs-remove-module_parm.patch

 Fix things in them.

-move-pci_dev_put-outside-a-spinlock.patch
-x86-microcode-driver-vs-hotplug-cpus.patch
-x86-microcode-driver-vs-hotplug-cpus-fix.patch
-fix-sys_migrate_pages-move-all-pages-when-invoked-from-root.patch
-powerpc-vdso-64bits-gettimeofday-bug.patch
-fuse-fix-bug-in-negative-lookup.patch
-s390-multiple-subchannel-sets-support-fix.patch
-drives-mtd-redbootc-recognise-a-foreign-byte-sex-partition-table.patch
-altix-more-ioc3-cleanups.patch
-pnp-bus-type-fix.patch
-video1394-fix-return-e-typo.patch
-tty-buffering-comment-out-debug-code.patch
-remove_from_swap-fix-locking.patch
-nommu-implement-vmalloc_node.patch
-mips-only-include-iomap-on-systems-with-pci.patch
-add-mm-task_size-and-fix-powerpc-vdso.patch
-let-ipw21200-select-ieee80211.patch
-ipw2200-restrict-wep-fix.patch
-via-velocity-massive-memory-corruption-with-jumbo-frames.patch
-git-net-fixup.patch
-git-pcmcia-bt3c_cs-fix.patch
-add-support-for-possio-gcc-aka-pcmcia-siemens-mc45.patch
-axnet_cs-support-amb8110.patch
-git-scsi-rc-fixes-fixup.patch
-gregkh-usb-usb-unusual_devs-entry-for-lyra-rca-rd1080.patch
-gregkh-usb-usb-lh7a40x-gadget-driver-fixed-a-dead-lock.patch
-gregkh-usb-usb-gadget-rndis-fix-alloc-bug.patch
-gregkh-usb-usb-fix-masking-bug-initialization-of-freescale-ehci-controller.patch
-gregkh-usb-usb-visor.c-id-for-gspda-smartphone.patch
-x86_64-fix-string-fix.patch
-usb-fix-ehci-bios-handshake.patch
-time_interpolator-use-readq_relaxed-instead-of-readq.patch

 Merged

+powerpc-restore-eeh_add_device_late-prototype.patch

 powerpc fix

+serial-core-work-around-sub-driver-bugs.patch

 serial driver bug avoidance

+i386-port-ati-timer-fix-from-x86_64-to-i386-ii.patch
+i386-port-ati-timer-fix-from-x86_64-to-i386-ii-fixes.patch

 ATI timer fix for x86

+cramfs-mounts-provide-corrupted-content-since-2615.patch

 cramfs fix

+i4l-add-new-pci-ids-for-hfc-s-pci.patch
+i4l-fix-refcounting-problem-with-ttyix-devices.patch
+i4l-fix-compatiblity-issue-with-big-endian-systems.patch

 i4l fixes

+x86-fix-potential-jiffies-overflow-in-timer_resume.patch

 timer resume fix

+acpi-remove-__init-__exit-from-asus-add-remove-methods.patch
+serial-remove-8250_acpi-replaced-by-8250_pnp-and-pnpacpi.patch
+acpi-remove-__init-__exit-from-sony-add-remove-methods.patch

 ACPi fixes

+revert-gregkh-driver-fix-up-the-sysfs-pollable-patch.patch
+revert-gregkh-driver-allow-sysfs-attribute-files-to-be-pollable.patch

 Drop a few driver tree patches

+sysfs_h-cleanup.patch

 cleanup

+get_cpu_sysdev-signedness-fix.patch
+topologyc-tweaks.patch
+cpuc-section-fixes.patch

 Various little fixes

+ia64-update-hp-csr-space-discovery-via-acpi.patch

 ia64 fix

+nfs-permit-filesystem-to-override-root-dentry-on-mount.patch
+nfs-apply-mount-root-dentry-override-to-filesystems.patch
+nfs-apply-mount-root-dentry-override-to-filesystems-v9fs-fix.patch
+nfs-abstract-out-namespace-initialisation.patch
+nfs-add-dentry-materialisation-op.patch
+nfs-unify-nfs-superblocks-per-protocol-per-server.patch
+nfs-unify-nfs-superblocks-per-protocol-per-server-fix.patch

 Share nfs superblocks between mounts from the same server.

+powerpc-fix-pud_error-message.patch

 powerpc fixlet

+gregkh-usb-usb-fix-masking-bug-initialization-of-freescale-ehci-controller.patch
+gregkh-usb-usb-kzalloc-conversion-for-rest-of-drivers-usb.patch
+gregkh-usb-usb-kzalloc-conversion-in-drivers-usb-gadget.patch
+gregkh-usb-usb-sn9c10x-driver-updates.patch
+gregkh-usb-usb-et61x51-driver-updates.patch
+gregkh-usb-usb-zc0301-driver-updates-2.patch
+gregkh-usb-cypress_m8-add-support-for-the-nokia-ca42-version-2-cable.patch
+gregkh-usb-usb-pl2303-and-tiocmiwait.patch
+gregkh-usb-usb-support-for-usb-to-serial-cable-from-speed-dragon-multimedia.patch
+gregkh-usb-usb-uhci-increase-port-reset-completion-delay-for-hp-controllers.patch
+gregkh-usb-omninet_debug.patch

 USB tree updates

+gregkh-usb-usbfs2-vs-nfs-apply-mount-root-dentry-override-to-filesystems.patch

 Fix usbfs for the NFS patches

+x86_64-mm-blk-bounce.patch
+x86_64-mm-floppy-dma.patch
+x86_64-mm-iommu-noretry.patch
+x86_64-mm-disable-8254-timer-by-default.patch
+x86_64-mm-basic-reorder-infrastructure.patch
+x86_64-mm-microcode-quiet.patch

 x86_64 tree updates

+x86_64-mm-blk-bounce-ia64-fix.patch

 Fix it.

+hugepage-strict-page-reservation-for-hugepage-inodes-fix.patch
+hugepage-make-allocfree_huge_page-local.patch
+hugepage-fix-hugepage-logic-in-free_pgtables.patch
+hugepage-fix-hugepage-logic-in-free_pgtables-harder.patch

 hugetlbpage fixes

+mm-implement-swap-prefetching-fix.patch

 Fix mm-implement-swap-prefetching.patch

+powerpc-tidy-up-of_register_driver-driver_register-return-values.patch
+macintosh-tidy-up-driver_register-return-values.patch

 powerpc fixes

+remove-entries-in-sys-firmware-acpi-for-processor-also.patch
+remove-unnecessary-lapic-definition-from-acpidefh.patch
+support-physical-cpu-hotplug-for-x86_64.patch
+support-physical-cpu-hotplug-for-x86_64-fix-2.patch
+patch-to-limit-present-cpus-to-fake-cpu-hot-add-testing.patch
+enable-sci_emulate-to-manually-simulate-physical-hotplug-testing.patch

 x86_64 CPU hotplug

-x86_64-clean-up-timer-messages.patch

 Dropped

+add-s2ram-pointer-to-suspend-documentation.patch

 Docs

+strndup_user.patch
+strndup_user-convert-module.patch
+strndup_user-convert-keyctl.patch

 Add and use strndup_user().

-keys-deal-properly-with-strnlen_user.patch

 No longer needed

+reiserfs-handle-trans_id-overflow.patch
+reiserfs-reiserfs_file_write-will-lose-error-code-when-a-0-length-write-occurs-w-o_sync.patch
+reiserfs-use-balance_dirty_pages_ratelimited_nr-in-reiserfs_file_write.patch
+reiserfs-fix-unaligned-bitmap-usage.patch

 reiserfs3 fixes

+inotify-lock-avoidance-with-parent-watch-status-in-dentry-fix-2.patch

 Fix inotify-lock-avoidance-with-parent-watch-status-in-dentry.patch

+reiserfs-cleanups.patch

 reiserfs cleanup

+initcall-failure-reporting.patch

 Print warning when an initcall fails

+hp300-fix-driver_register-return-handling-remove-dio_module_init.patch
+eisa-tidy-up-driver_register-return-value.patch
+amiga-fix-driver_register-return-handling-remove-zorro_module_init.patch

 Fix driver_register() return value handling

+change-buffer_headb_size-to-size_t.patch
+pass-b_size-to-get_block.patch
+pass-b_size-to-get_block-speedup.patch
+pass-b_size-to-get_block-remove-unneeded-assignments.patch
+map-multiple-blocks-for-mpage_readpages.patch
+map-multiple-blocks-for-mpage_readpages-tidy.patch
+remove-get_blocks-support.patch

 Extend the filesystem get_block() callback, use it in mpage_readpages().

+fix-next_timer_interrupt-for-hrtimer.patch

 hrtimer fix

+x86-kprobes-booster-fix.patch

 Fix x86-kprobes-booster.patch

+kprobe-handler-discard-user-space-trap-fix.patch

 Fix kprobe-handler-discard-user-space-trap.patch

+edac-switch-to-kthread_-api.patch
+edac-switch-to-kthread_-api-tidy.patch
+edac-printk-cleanup.patch
+edac-name-cleanup-remove-old-bluesmoke-stuff.patch
+edac-amd76x-pci_dev_get-pci_dev_put-fixes.patch
+edac-e752x-cleanup.patch
+edac-i82860-cleanup.patch
+edac-i82875p-cleanup.patch
+edac-fix-minor-logic-bug-in-e7xxx_remove_one.patch
+edac-cleanup-code-for-clearing-initial-errors.patch
+edac-edac_mc_add_mc-fix-1.patch
+edac-edac_mc_add_mc-fix-2.patch
+edac-fix-usage-of-kobject_init-kobject_put.patch
+edac-kobject-sysfs-fixes.patch
+edac-protect-memory-controller-list.patch
+edac-kconfig-dependency-changes.patch
+edac-kconfig-dependency-changes-fix.patch

 EDAC driver updates

+sched-fix-task-interactivity-calculation.patch

 CPU scheduler fix

-asfs-filesystem-driver.patch
-fs-asfs-make-code-static.patch

 Dropped - I haven't heard from the developer in nearly a year and it doesn't
 seem terribly important.

+lightweight-robust-futexes-arch-defaults-fix.patch

 Fix lightweight-robust-futexes-arch-defaults.patch

-proc-dont-lock-task_structs-indefinitely-cpuset-fix.patch
+proc-dont-lock-task_structs-indefinitely-cpuset-fix-2.patch
+proc-dont-lock-task_structs-indefinitely-mem_read-fix.patch
+proc-dont-lock-task_structs-indefinitely-task_mmu-bug-fix.patch
+proc-use-sane-permission-checks-on-the-proc-pid-fd.patch
+proc-use-sane-permission-checks-on-the-proc-pid-fd-fix.patch
+proc-use-sane-permission-checks-on-the-proc-pid-fd-fix-2.patch

 Various fixes to the /proc rework patches

+pnp-parport-adjust-pnp_register_driver-signature.patch
+pnp-mpu401-adjust-pnp_register_driver-signature.patch
+pnp-cs4236-adjust-pnp_register_driver-signature.patch
+pnp-opl3sa2-adjust-pnp_register_driver-signature.patch
+pnp-ns558-adjust-pnp_register_driver-signature.patch
+pnp-i8042-adjust-pnp_register_driver-signature.patch
+pnp-irda-adjust-pnp_register_driver-signature.patch
+pnp-cs4232-adjust-pnp_register_driver-signature.patch
+pnp-pnp-adjust-pnp_register_driver-signature.patch

 pnp drver updates

+reiser4-vs-nfs-apply-mount-root-dentry-override-to-filesystems.patch

 Update reiser4 for the NFS patches

-fbdev-framebuffer-driver-for-geode-gx-Kconfig-fix.patch
+fbdev-framebuffer-driver-for-geode-gx-kconfig-fix-2.patch

 New version




All 1346 patches:

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



^ permalink raw reply	[flat|nested] 40+ messages in thread

* 2.6.16-rc5-mm2: IPW_QOS: two remarks
  2006-03-03 12:56 2.6.16-rc5-mm2 Andrew Morton
@ 2006-03-03 15:26 ` Adrian Bunk
  2006-03-05  0:46   ` Andreas Happe
  2006-03-03 16:08 ` 2.6.16-rc5-mm2 (mips compile fix) Jason Baron
                   ` (15 subsequent siblings)
  16 siblings, 1 reply; 40+ messages in thread
From: Adrian Bunk @ 2006-03-03 15:26 UTC (permalink / raw)
  To: Andrew Morton, Andreas Happe; +Cc: linux-kernel, linville, jgarzik, netdev

On Fri, Mar 03, 2006 at 04:56:51AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.16-rc5-mm1:
>...
>  git-netdev-all.patch
>...
>  git trees
>...

Two remarks regarding the new IPW_QOS option:
- it should be named IPW2200_QOS (similar to the other IPW2200_* 
  options)
- please add a help text

cu
Adrian

-- 

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


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2 (mips compile fix)
  2006-03-03 12:56 2.6.16-rc5-mm2 Andrew Morton
  2006-03-03 15:26 ` 2.6.16-rc5-mm2: IPW_QOS: two remarks Adrian Bunk
@ 2006-03-03 16:08 ` Jason Baron
  2006-03-03 17:08 ` 2.6.16-rc5-mm2 Benoit Boissinot
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 40+ messages in thread
From: Jason Baron @ 2006-03-03 16:08 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel


On Fri, 3 Mar 2006, Andrew Morton wrote:

> 
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm2/
> 
> 
> - Should be a bit better than 2.6.16-rc5-mm1, but I still had to fix a ton
>   of things to get this to compile and boot.  We're not being careful enough.
> 
> - The procfs rework is getting there, but some problems probably still remain.
> 
> - There will be a number of new warnings at boot time when initcalls fail. 
>   Generally that's OK: it usually indicates that you linked something into
>   vmlinux which you're not actually using.  But sometimes it can indicate
>   kernel bugs.
> 
> - The (much-shrunk) audit git tree is back.
> 
> 

In the audit syscall speedup patch, i messed up the following, if people 
are building on mips. thanks.

-Jason

--- audit-current/arch/mips/kernel/ptrace.c.bak	2006-03-03 10:46:51.000000000 -0500
+++ audit-current/arch/mips/kernel/ptrace.c	2006-03-03 10:55:46.000000000 -0500
@@ -468,7 +468,7 @@ static inline int audit_arch(void)
  */
 asmlinkage void do_syscall_trace(struct pt_regs *regs, int entryexit)
 {
-	if (audit_invoke_exit && entryexit)
+	if (audit_invoke_exit() && entryexit)
 		audit_syscall_exit(current, AUDITSC_RESULT(regs->regs[2]),
 		                   regs->regs[2]);
 
@@ -492,7 +492,7 @@ asmlinkage void do_syscall_trace(struct 
 		current->exit_code = 0;
 	}
  out:
-	if (audit_invoke_entry && !entryexit)
+	if (audit_invoke_entry() && !entryexit)
 		audit_syscall_entry(current, audit_arch(), regs->regs[2],
 				    regs->regs[4], regs->regs[5],
 				    regs->regs[6], regs->regs[7]);

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2
  2006-03-03 12:56 2.6.16-rc5-mm2 Andrew Morton
  2006-03-03 15:26 ` 2.6.16-rc5-mm2: IPW_QOS: two remarks Adrian Bunk
  2006-03-03 16:08 ` 2.6.16-rc5-mm2 (mips compile fix) Jason Baron
@ 2006-03-03 17:08 ` Benoit Boissinot
  2006-03-04  1:34 ` 2.6.16-rc5-mm2 Grant Coady
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 40+ messages in thread
From: Benoit Boissinot @ 2006-03-03 17:08 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

On 3/3/06, Andrew Morton <akpm@osdl.org> wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm2/
>
>
> - Should be a bit better than 2.6.16-rc5-mm1, but I still had to fix a ton
>   of things to get this to compile and boot.  We're not being careful enough.
>
> - The procfs rework is getting there, but some problems probably still remain.
>
> - There will be a number of new warnings at boot time when initcalls fail.
>   Generally that's OK: it usually indicates that you linked something into
>   vmlinux which you're not actually using.  But sometimes it can indicate
>   kernel bugs.
>
> - The (much-shrunk) audit git tree is back.
>

I have the following warning:

drivers/rtc/interface.c: In function 'rtc_set_mmss':
drivers/rtc/interface.c:91: warning: 'old.tm_hour' is used uninitialized in this function
drivers/rtc/interface.c:91: warning: 'old.tm_min' is used uninitialized in this function

The following patch fixes it (maybe using goto would be better and avoid
having lines > 80 chars).

Signed-off-by: Benoit Boissinot <benoit.boissinot@ens-lyon.fr>

Index: linux/drivers/rtc/interface.c
===================================================================
--- linux.orig/drivers/rtc/interface.c
+++ linux/drivers/rtc/interface.c
@@ -76,21 +76,25 @@ int rtc_set_mmss(struct class_device *cl
 		if (rtc->ops->read_time && rtc->ops->set_time) {
 		        struct rtc_time new, old;
 
-		        new.tm_sec  = secs % 60;
-		        secs /= 60;
-		        new.tm_min  = secs % 60;
-		        secs /= 60;
-		        new.tm_hour = secs % 24;
-
-		       /*
-		        * avoid writing when we're going to change the day
-		        * of the month.  We will retry in the next minute.
-		        * This basically means that if the RTC must not drift
-		        * by more than 1 minute in 11 minutes.
-		        */
-			if (!((old.tm_hour == 23 && old.tm_min == 59) ||
-		            (new.tm_hour == 23 && new.tm_min == 59)))
-				err = rtc->ops->set_time(class_dev->dev, &new);
+			err = rtc->ops->read_time(class_dev->dev, &old);
+			if (!err) {
+
+				new.tm_sec  = secs % 60;
+				secs /= 60;
+				new.tm_min  = secs % 60;
+				secs /= 60;
+				new.tm_hour = secs % 24;
+
+			       /*
+				* avoid writing when we're going to change the day
+				* of the month.  We will retry in the next minute.
+				* This basically means that if the RTC must not drift
+				* by more than 1 minute in 11 minutes.
+				*/
+				if (!((old.tm_hour == 23 && old.tm_min == 59) ||
+				    (new.tm_hour == 23 && new.tm_min == 59)))
+					err = rtc->ops->set_time(class_dev->dev, &new);
+			}
 		}
 		else
 			err = -EINVAL;

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2
  2006-03-03 12:56 2.6.16-rc5-mm2 Andrew Morton
                   ` (2 preceding siblings ...)
  2006-03-03 17:08 ` 2.6.16-rc5-mm2 Benoit Boissinot
@ 2006-03-04  1:34 ` Grant Coady
  2006-03-05  6:26   ` 2.6.16-rc5-mm2 Andrew Morton
  2006-03-05 12:34   ` 2.6.16-rc5-mm2 Antonino A. Daplas
  2006-03-04 12:14 ` [-mm patch] drivers/acpi/bus.c: make struct acpi_sci_dir static Adrian Bunk
                   ` (12 subsequent siblings)
  16 siblings, 2 replies; 40+ messages in thread
From: Grant Coady @ 2006-03-04  1:34 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

On Fri, 3 Mar 2006 04:56:51 -0800, Andrew Morton <akpm@osdl.org> wrote:

>ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm2/

make oldconfig: some new options should default to 'N'?

Examples:
Sony Laptop Extras (ACPI_SONY) [M/n/y/?] (NEW)

Enable firmware EDID (FB_FIRMWARE_EDID) [Y/n/?] (NEW)

Alsa:
Why do I want these by default?
OSS PCM (digital audio) API - Include plugin system (SND_PCM_OSS_PLUGINS) [Y/n/?] (NEW)
Verbose procfs contents (SND_VERBOSE_PROCFS) [Y/n/?] (NEW)

RTC class (RTC_CLASS) [Y/n/m/?] (NEW) ?

I used a .config from 2.6.16-rc4 then make oldconfig.  In general I'd 
expect new features to default off.  There's others too, but I'd have 
to start from scratch to fins them all.  Not in summer time ;)

Grant.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* [-mm patch] drivers/acpi/bus.c: make struct acpi_sci_dir static
  2006-03-03 12:56 2.6.16-rc5-mm2 Andrew Morton
                   ` (3 preceding siblings ...)
  2006-03-04  1:34 ` 2.6.16-rc5-mm2 Grant Coady
@ 2006-03-04 12:14 ` Adrian Bunk
  2006-03-04 12:14 ` [RFC: -mm patch] drivers/media/video/msp3400-kthreads.c: make 3 functions static Adrian Bunk
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 40+ messages in thread
From: Adrian Bunk @ 2006-03-04 12:14 UTC (permalink / raw)
  To: Andrew Morton, Ashok Raj; +Cc: linux-kernel, len.brown, linux-acpi

On Fri, Mar 03, 2006 at 04:56:51AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.16-rc5-mm1:
>...
> +enable-sci_emulate-to-manually-simulate-physical-hotplug-testing.patch
> 
>  x86_64 CPU hotplug
>...


There's no reason for struct acpi_sci_dir being global.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.16-rc5-mm2-full/drivers/acpi/bus.c.old	2006-03-03 17:33:38.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/drivers/acpi/bus.c	2006-03-03 17:33:51.000000000 +0100
@@ -47,7 +47,7 @@
 static void acpi_sci_notify_client(char *acpi_name, u32 event);
 static int acpi_sci_notify_write_proc(struct file *file, const char *buffer, \
 	unsigned long count, void *data);
-struct proc_dir_entry 		*acpi_sci_dir;
+static struct proc_dir_entry 	*acpi_sci_dir;
 
 #else
 #define acpi_init_sci_emulate()


^ permalink raw reply	[flat|nested] 40+ messages in thread

* [RFC: -mm patch] drivers/media/video/msp3400-kthreads.c: make 3 functions static
  2006-03-03 12:56 2.6.16-rc5-mm2 Andrew Morton
                   ` (4 preceding siblings ...)
  2006-03-04 12:14 ` [-mm patch] drivers/acpi/bus.c: make struct acpi_sci_dir static Adrian Bunk
@ 2006-03-04 12:14 ` Adrian Bunk
  2006-03-04 12:14 ` [RFC: -mm patch] drivers/message/fusion/mptbase.c: make mpt_read_ioc_pg_3() static Adrian Bunk
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 40+ messages in thread
From: Adrian Bunk @ 2006-03-04 12:14 UTC (permalink / raw)
  To: Andrew Morton, mchehab; +Cc: linux-kernel, v4l-dvb-maintainer

On Fri, Mar 03, 2006 at 04:56:51AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.16-rc5-mm1:
>...
>  git-dvb.patch
>...
>  git trees
>...


This patch makes three needlessly global functions static.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 drivers/media/video/msp3400-kthreads.c |    6 +++---
 drivers/media/video/msp3400.h          |    1 -
 2 files changed, 3 insertions(+), 4 deletions(-)

--- linux-2.6.16-rc5-mm2-full/drivers/media/video/msp3400.h.old	2006-03-03 17:40:22.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/drivers/media/video/msp3400.h	2006-03-03 17:40:41.000000000 +0100
@@ -104,7 +104,6 @@
 
 /* msp3400-kthreads.c */
 const char *msp_standard_std_name(int std);
-void msp_set_source(struct i2c_client *client, u16 src);
 void msp_set_audmode(struct i2c_client *client);
 void msp_detect_stereo(struct i2c_client *client);
 int msp3400c_thread(void *data);
--- linux-2.6.16-rc5-mm2-full/drivers/media/video/msp3400-kthreads.c.old	2006-03-03 17:39:29.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/drivers/media/video/msp3400-kthreads.c	2006-03-03 17:40:10.000000000 +0100
@@ -154,7 +154,7 @@
 	return "unknown";
 }
 
-void msp_set_source(struct i2c_client *client, u16 src)
+static void msp_set_source(struct i2c_client *client, u16 src)
 {
 	struct msp_state *state = i2c_get_clientdata(client);
 
@@ -217,7 +217,7 @@
 
 /* Set audio mode. Note that the pre-'G' models do not support BTSC+SAP,
    nor do they support stereo BTSC. */
-void msp3400c_set_audmode(struct i2c_client *client)
+static void msp3400c_set_audmode(struct i2c_client *client)
 {
 	static char *strmode[] = { "mono", "stereo", "lang2", "lang1" };
 	struct msp_state *state = i2c_get_clientdata(client);
@@ -944,7 +944,7 @@
 		status, is_stereo, is_bilingual, state->rxsubchans);
 }
 
-void msp34xxg_set_audmode(struct i2c_client *client)
+static void msp34xxg_set_audmode(struct i2c_client *client)
 {
 	struct msp_state *state = i2c_get_clientdata(client);
 	int source;


^ permalink raw reply	[flat|nested] 40+ messages in thread

* [RFC: -mm patch] drivers/message/fusion/mptbase.c: make mpt_read_ioc_pg_3() static
  2006-03-03 12:56 2.6.16-rc5-mm2 Andrew Morton
                   ` (5 preceding siblings ...)
  2006-03-04 12:14 ` [RFC: -mm patch] drivers/media/video/msp3400-kthreads.c: make 3 functions static Adrian Bunk
@ 2006-03-04 12:14 ` Adrian Bunk
  2006-03-04 12:14 ` [-mm patch] kernel/futex.c: make futexfs_get_sb() static again Adrian Bunk
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 40+ messages in thread
From: Adrian Bunk @ 2006-03-04 12:14 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

On Fri, Mar 03, 2006 at 04:56:51AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.16-rc5-mm1:
>...
>  git-scsi-misc.patch
>...
>  git trees
>...


mpt_read_ioc_pg_3() can now become static.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 drivers/message/fusion/mptbase.c |    4 ++--
 drivers/message/fusion/mptbase.h |    1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

--- linux-2.6.16-rc5-mm2-full/drivers/message/fusion/mptbase.h.old	2006-03-03 17:44:55.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/drivers/message/fusion/mptbase.h	2006-03-03 17:45:02.000000000 +0100
@@ -1021,7 +1021,6 @@
 extern void	 mpt_alloc_fw_memory(MPT_ADAPTER *ioc, int size);
 extern void	 mpt_free_fw_memory(MPT_ADAPTER *ioc);
 extern int	 mpt_findImVolumes(MPT_ADAPTER *ioc);
-extern int	 mpt_read_ioc_pg_3(MPT_ADAPTER *ioc);
 extern int	 mptbase_sas_persist_operation(MPT_ADAPTER *ioc, u8 persist_opcode);
 extern int	 mptbase_GetFcPortPage0(MPT_ADAPTER *ioc, int portnum);
 
--- linux-2.6.16-rc5-mm2-full/drivers/message/fusion/mptbase.c.old	2006-03-03 17:45:10.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/drivers/message/fusion/mptbase.c	2006-03-03 17:47:07.000000000 +0100
@@ -180,6 +180,7 @@
 static void	mpt_fc_log_info(MPT_ADAPTER *ioc, u32 log_info);
 static void	mpt_spi_log_info(MPT_ADAPTER *ioc, u32 log_info);
 static void	mpt_sas_log_info(MPT_ADAPTER *ioc, u32 log_info);
+static int	mpt_read_ioc_pg_3(MPT_ADAPTER *ioc);
 
 /* module entry point */
 static int  __init    fusion_init  (void);
@@ -4871,7 +4872,7 @@
 	return rc;
 }
 
-int
+static int
 mpt_read_ioc_pg_3(MPT_ADAPTER *ioc)
 {
 	IOCPage3_t		*pIoc3;
@@ -6364,7 +6365,6 @@
 EXPORT_SYMBOL(mpt_HardResetHandler);
 EXPORT_SYMBOL(mpt_config);
 EXPORT_SYMBOL(mpt_findImVolumes);
-EXPORT_SYMBOL(mpt_read_ioc_pg_3);
 EXPORT_SYMBOL(mpt_alloc_fw_memory);
 EXPORT_SYMBOL(mpt_free_fw_memory);
 EXPORT_SYMBOL(mptbase_sas_persist_operation);


^ permalink raw reply	[flat|nested] 40+ messages in thread

* [-mm patch] kernel/futex.c: make futexfs_get_sb() static again
  2006-03-03 12:56 2.6.16-rc5-mm2 Andrew Morton
                   ` (6 preceding siblings ...)
  2006-03-04 12:14 ` [RFC: -mm patch] drivers/message/fusion/mptbase.c: make mpt_read_ioc_pg_3() static Adrian Bunk
@ 2006-03-04 12:14 ` Adrian Bunk
  2006-03-04 12:14 ` [-mm patch] mm/bootmem.c: make bdata_list static Adrian Bunk
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 40+ messages in thread
From: Adrian Bunk @ 2006-03-04 12:14 UTC (permalink / raw)
  To: Andrew Morton, David Howells; +Cc: linux-kernel

On Fri, Mar 03, 2006 at 04:56:51AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.16-rc5-mm1:
>...
> +nfs-apply-mount-root-dentry-override-to-filesystems.patch
>...
>  Share nfs superblocks between mounts from the same server.
>...


futexfs_get_sb() became global for no good reason.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.16-rc5-mm2-full/kernel/futex.c.old	2006-03-03 18:18:09.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/kernel/futex.c	2006-03-03 18:18:27.000000000 +0100
@@ -1057,9 +1057,9 @@
 			(unsigned long)uaddr2, val2, val3);
 }
 
-int futexfs_get_sb(struct file_system_type *fs_type,
-		   int flags, const char *dev_name, void *data,
-		   struct vfsmount *mnt)
+static int futexfs_get_sb(struct file_system_type *fs_type,
+			  int flags, const char *dev_name, void *data,
+			  struct vfsmount *mnt)
 {
 	return get_sb_pseudo(fs_type, "futex", NULL, 0xBAD1DEA, mnt);
 }


^ permalink raw reply	[flat|nested] 40+ messages in thread

* [-mm patch] mm/bootmem.c: make bdata_list static
  2006-03-03 12:56 2.6.16-rc5-mm2 Andrew Morton
                   ` (7 preceding siblings ...)
  2006-03-04 12:14 ` [-mm patch] kernel/futex.c: make futexfs_get_sb() static again Adrian Bunk
@ 2006-03-04 12:14 ` Adrian Bunk
  2006-03-04 12:14 ` [-mm patch] NFS: make 2 functions static Adrian Bunk
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 40+ messages in thread
From: Adrian Bunk @ 2006-03-04 12:14 UTC (permalink / raw)
  To: Andrew Morton, KAMEZAWA Hiroyuki; +Cc: linux-kernel

bdata_list is global for no good reason.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.16-rc5-mm2-full/mm/bootmem.c.old	2006-03-03 18:21:41.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/mm/bootmem.c	2006-03-03 18:21:58.000000000 +0100
@@ -33,7 +33,7 @@
 				 * dma_get_required_mask(), which uses
 				 * it, can be an inline function */
 
-LIST_HEAD(bdata_list);
+static LIST_HEAD(bdata_list);
 #ifdef CONFIG_CRASH_DUMP
 /*
  * If we have booted due to a crash, max_pfn will be a very low value. We need


^ permalink raw reply	[flat|nested] 40+ messages in thread

* [-mm patch] NFS: make 2 functions static
  2006-03-03 12:56 2.6.16-rc5-mm2 Andrew Morton
                   ` (8 preceding siblings ...)
  2006-03-04 12:14 ` [-mm patch] mm/bootmem.c: make bdata_list static Adrian Bunk
@ 2006-03-04 12:14 ` Adrian Bunk
  2006-03-04 12:14 ` [RFC: -mm patch] fs/locks.c: make posix_locks_deadlock() static Adrian Bunk
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 40+ messages in thread
From: Adrian Bunk @ 2006-03-04 12:14 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

On Fri, Mar 03, 2006 at 04:56:51AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.16-rc5-mm1:
>...
>  git-nfs.patch
>...
>  git trees
>...

This introduces two needlessly global functions.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 fs/lockd/svclock.c |    2 +-
 net/sunrpc/stats.c |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

--- linux-2.6.16-rc5-mm2-full/fs/lockd/svclock.c.old	2006-03-03 18:14:09.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/fs/lockd/svclock.c	2006-03-03 18:14:17.000000000 +0100
@@ -636,7 +636,7 @@
 	svc_wake_up(block->b_daemon);
 }
 
-void nlmsvc_grant_release(void *data)
+static void nlmsvc_grant_release(void *data)
 {
 	nlmsvc_release_block(data);
 }
--- linux-2.6.16-rc5-mm2-full/net/sunrpc/stats.c.old	2006-03-03 18:24:48.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/net/sunrpc/stats.c	2006-03-03 18:25:10.000000000 +0100
@@ -176,7 +176,8 @@
 	op_metrics->om_execute += execute;
 }
 
-void _print_name(struct seq_file *seq, unsigned int op, struct rpc_procinfo *procs)
+static void _print_name(struct seq_file *seq, unsigned int op,
+			struct rpc_procinfo *procs)
 {
 	if (procs[op].p_name)
 		seq_printf(seq, "\t%12s: ", procs[op].p_name);

^ permalink raw reply	[flat|nested] 40+ messages in thread

* [RFC: -mm patch] fs/locks.c: make posix_locks_deadlock() static
  2006-03-03 12:56 2.6.16-rc5-mm2 Andrew Morton
                   ` (9 preceding siblings ...)
  2006-03-04 12:14 ` [-mm patch] NFS: make 2 functions static Adrian Bunk
@ 2006-03-04 12:14 ` Adrian Bunk
  2006-03-04 17:29 ` 2.6.16-rc5-mm2 Mattia Dongili
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 40+ messages in thread
From: Adrian Bunk @ 2006-03-04 12:14 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

On Fri, Mar 03, 2006 at 04:56:51AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.16-rc5-mm1:
>...
>  git-nfs.patch
>...
>  git trees
>...


We can now make posix_locks_deadlock() static.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 fs/locks.c         |    4 +---
 include/linux/fs.h |    1 -
 2 files changed, 1 insertion(+), 4 deletions(-)

--- linux-2.6.16-rc5-mm2-full/include/linux/fs.h.old	2006-03-03 18:15:14.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/include/linux/fs.h	2006-03-03 18:15:20.000000000 +0100
@@ -761,7 +761,6 @@
 extern int posix_lock_file(struct file *, struct file_lock *);
 extern int posix_lock_file_wait(struct file *, struct file_lock *);
 extern int posix_unblock_lock(struct file *, struct file_lock *);
-extern int posix_locks_deadlock(struct file_lock *, struct file_lock *);
 extern int flock_lock_file_wait(struct file *filp, struct file_lock *fl);
 extern int __break_lease(struct inode *inode, unsigned int flags);
 extern void lease_get_mtime(struct inode *, struct timespec *time);
--- linux-2.6.16-rc5-mm2-full/fs/locks.c.old	2006-03-03 18:15:31.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/fs/locks.c	2006-03-03 18:15:54.000000000 +0100
@@ -715,7 +715,7 @@
  * from a broken NFS client. But broken NFS clients have a lot more to
  * worry about than proper deadlock detection anyway... --okir
  */
-int posix_locks_deadlock(struct file_lock *caller_fl,
+static int posix_locks_deadlock(struct file_lock *caller_fl,
 				struct file_lock *block_fl)
 {
 	struct list_head *tmp;
@@ -734,8 +734,6 @@
 	return 0;
 }
 
-EXPORT_SYMBOL(posix_locks_deadlock);
-
 /* Try to create a FLOCK lock on filp. We always insert new FLOCK locks
  * at the head of the list, but that's secret knowledge known only to
  * flock_lock_file and posix_lock_file.


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2
  2006-03-03 12:56 2.6.16-rc5-mm2 Andrew Morton
                   ` (10 preceding siblings ...)
  2006-03-04 12:14 ` [RFC: -mm patch] fs/locks.c: make posix_locks_deadlock() static Adrian Bunk
@ 2006-03-04 17:29 ` Mattia Dongili
  2006-03-05  6:28   ` 2.6.16-rc5-mm2 Andrew Morton
  2006-03-05  8:14 ` 2.6.16-rc5-mm2 Benoit Boissinot
                   ` (4 subsequent siblings)
  16 siblings, 1 reply; 40+ messages in thread
From: Mattia Dongili @ 2006-03-04 17:29 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

On Fri, Mar 03, 2006 at 04:56:51AM -0800, Andrew Morton wrote:
> 
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm2/

I just got this one:

[ 1865.676000] BUG: unable to handle kernel NULL pointer dereference at virtual address 0000003c
[ 1865.676000]  printing eip:
[ 1865.676000] c01798f0
[ 1865.676000] *pde = 00000000
[ 1865.676000] Oops: 0000 [#1]
[ 1865.676000] PREEMPT 
[ 1865.676000] last sysfs file: /devices/system/cpu/cpu0/cpufreq/scaling_max_freq
[ 1865.676000] Modules linked in: nfs nfsd lockd sunrpc ipt_MASQUERADE iptable_nat ip_nat xt_tcpudp xt_state ip_conntrack iptable_filter ip_tables x_tables reiser4 xfs exportfs sd_mod rtc sony_acpi tun psmouse sonypi speedstep_ich speedstep_lib freq_table evdev pcspkr cpufreq_ondemand cpufreq_powersave pcmcia usb_storage scsi_mod usbhid yenta_socket rsrc_nonstatic pcmcia_core e100 mii snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer i2c_i801 intel_agp uhci_hcd hw_random snd soundcore snd_page_alloc agpgart usbcore
[ 1865.676000] CPU:    0
[ 1865.676000] EIP:    0060:[<c01798f0>]    Not tainted VLI
[ 1865.676000] EFLAGS: 00010286   (2.6.16-rc5-mm2-1 #12) 
[ 1865.676000] EIP is at clear_inode+0x60/0xc0
[ 1865.676000] eax: 00000000   ebx: cb54e860   ecx: cb54e860   edx: 00000000
[ 1865.676000] esi: cb54e97c   edi: cb54e860   ebp: cff5ae6c   esp: cff5ae60
[ 1865.676000] ds: 007b   es: 007b   ss: 0068
[ 1865.676000] Process kswapd0 (pid: 128, threadinfo=cff5a000 task=cff57030)
[ 1865.676000] Stack: <0>cb54e860 cb54e860 cf4d3200 cff5ae88 c017a0ca cb54e860 00000002 c030851c 
[ 1865.676000]        cb54e860 cb4ee094 cff5ae9c c017902e cb54e860 c0448220 cff5a000 cff5aec0 
[ 1865.676000]        c0176ded cb54e860 cfc9d294 c04481f8 cff5a000 cb4ee094 cb4ee0a0 cff5a000 
[ 1865.676000] Call Trace:
[ 1865.676000]  <c01039a9> show_stack_log_lvl+0xc9/0x110   <c0103b8b> show_registers+0x19b/0x230
[ 1865.676000]  <c0103ebe> die+0x11e/0x270   <c0113337> do_page_fault+0x397/0x69c
[ 1865.676000]  <c0103293> error_code+0x4f/0x54   <c017a0ca> generic_drop_inode+0x14a/0x1a0
[ 1865.676000]  <c017902e> iput+0x6e/0x80   <c0176ded> dentry_iput+0x8d/0x120
[ 1865.676000]  <c01776c9> prune_dcache+0xb9/0x1b0   <c0177800> shrink_dcache_memory+0x40/0x50
[ 1865.676000]  <c0146a28> shrink_slab+0x188/0x220   <c01481aa> balance_pgdat+0x24a/0x420
[ 1865.676000]  <c014844a> kswapd+0xca/0x110   <c0101005> kernel_thread_helper+0x5/0x10
[ 1865.676000] Code: 32 c0 a8 20 74 08 0f 0b 01 01 6e 43 32 c0 8b 83 1c 01 00 00 8d b3 1c 01 00 00 a8 08 75 4d 8b 83 90 00 00 00 85 c0 74 0f 8b 40 20 <8b> 40 3c 85 c0 74 05 89 1c 24 ff d0 8b 83 f0 00 00 00 85 c0 74 
[ 1865.676000]  

I don't know how to reproduce it though...

-- 
mattia
:wq!

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2: IPW_QOS: two remarks
  2006-03-03 15:26 ` 2.6.16-rc5-mm2: IPW_QOS: two remarks Adrian Bunk
@ 2006-03-05  0:46   ` Andreas Happe
  2006-03-07 17:06     ` Adrian Bunk
  0 siblings, 1 reply; 40+ messages in thread
From: Andreas Happe @ 2006-03-05  0:46 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Andrew Morton, linux-kernel, linville, jgarzik, netdev

On Friday 03 March 2006 16:26, Adrian Bunk wrote:
> Two remarks regarding the new IPW_QOS option:
> - it should be named IPW2200_QOS (similar to the other IPW2200_*
>   options)

done.

> - please add a help text

i could add some stuff about WMM to its help text, but I think someone more 
involved with the ipw2200-project should do that.

andy

Add the following config entries for the ipw2200 driver to 
drivers/net/wireless/Kconfig
 * IPW2200_MONITOR
	enables Monitor mode, as this seems to generate lots of firmware errors
	it depends upon BROKEN
 * IPW2200_QOS
	enables QoS feature - this is under development right now, so it depends 
	upon EXPERIMENTAL.

Changes:
 * Renamed IPW_QOS to IPW2200_QOS as requested by Adrian Bunk.
 * Made IPW2200_MONITOR depend upon BROKEN
 * QoS option is named IPW_QOS not IPW2200_MONITOR.
   Spotted by Daniel Paschka, thanks.

Signed-off-by: Andreas Happe <andreashappe@snikt.net>
diff -uprN linux-2.6.15-base/drivers/net/wireless/ipw2200.c 
linux-2.6.15/drivers/net/wireless/ipw2200.c
--- linux-2.6.15-base/drivers/net/wireless/ipw2200.c	2006-03-05 
01:17:52.000000000 +0100
+++ linux-2.6.15/drivers/net/wireless/ipw2200.c	2006-03-05 01:28:04.000000000 
+0100
@@ -60,7 +60,7 @@ static const char ipw_modes[] = {
 	'a', 'b', 'g', '?'
 };
 
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 static int qos_enable = 0;
 static int qos_burst_enable = 0;
 static int qos_no_ack_mask = 0;
@@ -124,7 +124,7 @@ static int ipw_send_qos_params_command(s
 				       *qos_param);
 static int ipw_send_qos_info_command(struct ipw_priv *priv, struct 
ieee80211_qos_information_element
 				     *qos_param);
-#endif				/* CONFIG_IPW_QOS */
+#endif				/* CONFIG_IPW2200_QOS */
 
 static struct iw_statistics *ipw_get_wireless_stats(struct net_device *dev);
 static void ipw_remove_current_network(struct ipw_priv *priv);
@@ -4208,7 +4208,7 @@ static void ipw_rx_notification(struct i
 					queue_work(priv->workqueue,
 						   &priv->system_config);
 
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 #define IPW_GET_PACKET_STYPE(x) WLAN_FC_GET_STYPE( \
 			 le16_to_cpu(((struct ieee80211_hdr *)(x))->frame_ctl))
 					if ((priv->status & STATUS_AUTH) &&
@@ -6549,7 +6549,7 @@ static int ipw_wx_set_mlme(struct net_de
 	return 0;
 }
 
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 
 /* QoS */
 /*
@@ -7031,7 +7031,7 @@ static int ipw_send_qos_info_command(str
 	return ipw_send_cmd(priv, &cmd);
 }
 
-#endif				/* CONFIG_IPW_QOS */
+#endif				/* CONFIG_IPW2200_QOS */
 
 static int ipw_associate_network(struct ipw_priv *priv,
 				 struct ieee80211_network *network,
@@ -7193,7 +7193,7 @@ static int ipw_associate_network(struct 
 
 	priv->assoc_network = network;
 
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 	ipw_qos_association(priv, network);
 #endif
 
@@ -8027,10 +8027,10 @@ static int ipw_sw_reset(struct ipw_priv 
 		IPW_DEBUG_INFO("Bind to static channel %d\n", channel);
 		/* TODO: Validate that provided channel is in range */
 	}
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 	ipw_qos_init(priv, qos_enable, qos_burst_enable,
 		     burst_duration_CCK, burst_duration_OFDM);
-#endif				/* CONFIG_IPW_QOS */
+#endif				/* CONFIG_IPW2200_QOS */
 
 	switch (mode) {
 	case 1:
@@ -9636,7 +9636,7 @@ static int ipw_tx_skb(struct ipw_priv *p
 	    txb->fragments[0]->data;
 	int i = 0;
 	struct tfd_frame *tfd;
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 	int tx_id = ipw_get_tx_queue_number(priv, pri);
 	struct clx2_tx_queue *txq = &priv->txq[tx_id];
 #else
@@ -9749,9 +9749,9 @@ static int ipw_tx_skb(struct ipw_priv *p
 		/* No hardware encryption */
 		tfd->u.data.tx_flags |= DCT_FLAG_NO_WEP;
 
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 	ipw_qos_set_tx_queue_command(priv, pri, &(tfd->u.data), unicast);
-#endif				/* CONFIG_IPW_QOS */
+#endif				/* CONFIG_IPW2200_QOS */
 
 	/* payload */
 	tfd->u.data.num_chunks = cpu_to_le32(min((u8) (NUM_TFD_CHUNKS - 2),
@@ -9828,12 +9828,12 @@ static int ipw_tx_skb(struct ipw_priv *p
 static int ipw_net_is_queue_full(struct net_device *dev, int pri)
 {
 	struct ipw_priv *priv = ieee80211_priv(dev);
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 	int tx_id = ipw_get_tx_queue_number(priv, pri);
 	struct clx2_tx_queue *txq = &priv->txq[tx_id];
 #else
 	struct clx2_tx_queue *txq = &priv->txq[0];
-#endif				/* CONFIG_IPW_QOS */
+#endif				/* CONFIG_IPW2200_QOS */
 
 	if (ipw_queue_space(&txq->q) < txq->q.high_mark)
 		return 1;
@@ -10157,10 +10157,10 @@ static int ipw_setup_deferred_work(struc
 	INIT_WORK(&priv->merge_networks,
 		  (void (*)(void *))ipw_merge_adhoc_network, priv);
 
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 	INIT_WORK(&priv->qos_activate, (void (*)(void *))ipw_bg_qos_activate,
 		  priv);
-#endif				/* CONFIG_IPW_QOS */
+#endif				/* CONFIG_IPW2200_QOS */
 
 	tasklet_init(&priv->irq_tasklet, (void (*)(unsigned long))
 		     ipw_irq_tasklet, (unsigned long)priv);
@@ -10309,10 +10309,10 @@ static int ipw_config(struct ipw_priv *p
 		if (ipw_send_rts_threshold(priv, priv->rts_threshold))
 			goto error;
 	}
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 	IPW_DEBUG_QOS("QoS: call ipw_qos_activate\n");
 	ipw_qos_activate(priv, NULL);
-#endif				/* CONFIG_IPW_QOS */
+#endif				/* CONFIG_IPW2200_QOS */
 
 	if (ipw_set_random_seed(priv))
 		goto error;
@@ -11023,11 +11023,11 @@ static int ipw_pci_probe(struct pci_dev 
 	priv->ieee->set_security = shim__set_security;
 	priv->ieee->is_queue_full = ipw_net_is_queue_full;
 
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 	priv->ieee->handle_probe_response = ipw_handle_beacon;
 	priv->ieee->handle_beacon = ipw_handle_probe_response;
 	priv->ieee->handle_assoc_response = ipw_handle_assoc_response;
-#endif				/* CONFIG_IPW_QOS */
+#endif				/* CONFIG_IPW2200_QOS */
 
 	priv->ieee->perfect_rssi = -20;
 	priv->ieee->worst_rssi = -85;
@@ -11256,7 +11256,7 @@ MODULE_PARM_DESC(debug, "debug output ma
 module_param(channel, int, 0444);
 MODULE_PARM_DESC(channel, "channel to limit associate to (default 0 [ANY])");
 
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 module_param(qos_enable, int, 0444);
 MODULE_PARM_DESC(qos_enable, "enable all QoS functionalitis");
 
@@ -11271,7 +11271,7 @@ MODULE_PARM_DESC(burst_duration_CCK, "se
 
 module_param(burst_duration_OFDM, int, 0444);
 MODULE_PARM_DESC(burst_duration_OFDM, "set OFDM burst value");
-#endif				/* CONFIG_IPW_QOS */
+#endif				/* CONFIG_IPW2200_QOS */
 
 #ifdef CONFIG_IPW2200_MONITOR
 module_param(mode, int, 0444);
diff -uprN linux-2.6.15-base/drivers/net/wireless/Kconfig 
linux-2.6.15/drivers/net/wireless/Kconfig
--- linux-2.6.15-base/drivers/net/wireless/Kconfig	2006-03-05 
01:17:52.000000000 +0100
+++ linux-2.6.15/drivers/net/wireless/Kconfig	2006-03-05 01:25:38.000000000 
+0100
@@ -237,6 +237,20 @@ config IPW2200_DEBUG
 	  If you are not trying to debug or develop the IPW2200 driver, you 
 	  most likely want to say N here.
 
+config IPW2200_MONITOR
+	bool "Enable promiscuous mode"
+	depends on IPW2200 && BROKEN
+	---help---
+	Enables promiscuous/monitor mode support for the ipw2200 driver.
+	
+	With this feature compiled into the driver, you can switch to.
+	promiscuous mode via the Wireless Tool's Monitor mode.  While in this
+	mode, no packets can be sent.
+	
+config IPW2200_QOS
+	bool "Enable QoS support"
+	depends on IPW2200 && EXPERIMENTAL
+
 config AIRO
 	tristate "Cisco/Aironet 34X/35X/4500/4800 ISA and PCI cards"
 	depends on NET_RADIO && ISA_DMA_API && CRYPTO && (PCI || BROKEN)

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2
  2006-03-04  1:34 ` 2.6.16-rc5-mm2 Grant Coady
@ 2006-03-05  6:26   ` Andrew Morton
  2006-03-05  7:24     ` 2.6.16-rc5-mm2 Mike Galbraith
  2006-03-06 11:35     ` 2.6.16-rc5-mm2 Takashi Iwai
  2006-03-05 12:34   ` 2.6.16-rc5-mm2 Antonino A. Daplas
  1 sibling, 2 replies; 40+ messages in thread
From: Andrew Morton @ 2006-03-05  6:26 UTC (permalink / raw)
  To: gcoady; +Cc: linux-kernel, Jaroslav Kysela, Takashi Iwai, Alessandro Zummo

Grant Coady <gcoady@gmail.com> wrote:
>
> On Fri, 3 Mar 2006 04:56:51 -0800, Andrew Morton <akpm@osdl.org> wrote:
> 
> >ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm2/
> 
> make oldconfig: some new options should default to 'N'?
> 
> Examples:
> Sony Laptop Extras (ACPI_SONY) [M/n/y/?] (NEW)

That's for mine own convenience.  If you don't like it, buy a Sony ;)

> Enable firmware EDID (FB_FIRMWARE_EDID) [Y/n/?] (NEW)

That's deliberate - previous kernels had this functionality unconditionally
enabled.   We newly provide a way of disabling it.

> Alsa:
> Why do I want these by default?
> OSS PCM (digital audio) API - Include plugin system (SND_PCM_OSS_PLUGINS) [Y/n/?] (NEW)
> Verbose procfs contents (SND_VERBOSE_PROCFS) [Y/n/?] (NEW)

cc's added.

> RTC class (RTC_CLASS) [Y/n/m/?] (NEW) ?

Ditto.


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2
  2006-03-04 17:29 ` 2.6.16-rc5-mm2 Mattia Dongili
@ 2006-03-05  6:28   ` Andrew Morton
  0 siblings, 0 replies; 40+ messages in thread
From: Andrew Morton @ 2006-03-05  6:28 UTC (permalink / raw)
  To: Mattia Dongili; +Cc: linux-kernel

Mattia Dongili <malattia@linux.it> wrote:
>
> On Fri, Mar 03, 2006 at 04:56:51AM -0800, Andrew Morton wrote:
>  > 
>  > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm2/
> 
>  I just got this one:
> 
>  [ 1865.676000] BUG: unable to handle kernel NULL pointer dereference at virtual address 0000003c

There's some random memory scribbling going on.  It hits me about once per
thirty boots, so I'm bisection-searching ~1400 patches at two hours per
iteration.  It's fascinating stuff.


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2
  2006-03-05  6:26   ` 2.6.16-rc5-mm2 Andrew Morton
@ 2006-03-05  7:24     ` Mike Galbraith
  2006-03-06 11:35     ` 2.6.16-rc5-mm2 Takashi Iwai
  1 sibling, 0 replies; 40+ messages in thread
From: Mike Galbraith @ 2006-03-05  7:24 UTC (permalink / raw)
  To: Andrew Morton
  Cc: gcoady, linux-kernel, Jaroslav Kysela, Takashi Iwai, Alessandro Zummo

On Sat, 2006-03-04 at 22:26 -0800, Andrew Morton wrote:
> Grant Coady <gcoady@gmail.com> wrote:

> > Alsa:
> > Why do I want these by default?
> > OSS PCM (digital audio) API - Include plugin system (SND_PCM_OSS_PLUGINS) [Y/n/?] (NEW)
> > Verbose procfs contents (SND_VERBOSE_PROCFS) [Y/n/?] (NEW)
> 
> cc's added.

Those PCM bits are probably good to have on as default for a while.
Some of the audio toys that came with my pretty recent SuSE10
installation stopped working when I tried to be an alsa purist.

	-Mike


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2
  2006-03-03 12:56 2.6.16-rc5-mm2 Andrew Morton
                   ` (11 preceding siblings ...)
  2006-03-04 17:29 ` 2.6.16-rc5-mm2 Mattia Dongili
@ 2006-03-05  8:14 ` Benoit Boissinot
  2006-03-05  8:34   ` 2.6.16-rc5-mm2 Andrew Morton
  2006-03-05 22:54 ` 2.6.16-rc5-mm2 Dominik Karall
                   ` (3 subsequent siblings)
  16 siblings, 1 reply; 40+ messages in thread
From: Benoit Boissinot @ 2006-03-05  8:14 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Stefan Rompf, James Ketrenos

On 3/3/06, Andrew Morton <akpm@osdl.org> wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm2/
>
>
> - Should be a bit better than 2.6.16-rc5-mm1, but I still had to fix a ton
>   of things to get this to compile and boot.  We're not being careful enough.
>
> - The procfs rework is getting there, but some problems probably still remain.
>
> - There will be a number of new warnings at boot time when initcalls fail.
>   Generally that's OK: it usually indicates that you linked something into
>   vmlinux which you're not actually using.  But sometimes it can indicate
>   kernel bugs.
>
> - The (much-shrunk) audit git tree is back.
>
...

>
> Changes since 2.6.16-rc5-mm1:
>
>
...
>  git-netdev-all.patch

commit 23afaec4441baf0579fa115b626242d4d23704dd
Author: Stefan Rompf <stefan@loplof.de>
Date:   Tue Feb 7 03:42:23 2006 +0800

    [PATCH] ipw2200: Fix WPA network selection problem

reverting this patch permits me to have access to the WEP network here.
Otherwise wpa_supplicant cannot establish a connection.

regards,

Benoit

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2
  2006-03-05  8:14 ` 2.6.16-rc5-mm2 Benoit Boissinot
@ 2006-03-05  8:34   ` Andrew Morton
  2006-03-05 11:42     ` 2.6.16-rc5-mm2 Stefan Rompf
  0 siblings, 1 reply; 40+ messages in thread
From: Andrew Morton @ 2006-03-05  8:34 UTC (permalink / raw)
  To: Benoit Boissinot
  Cc: linux-kernel, stefan, jketreno, John W. Linville, Jeff Garzik

Benoit Boissinot <bboissin@gmail.com> wrote:
>
> On 3/3/06, Andrew Morton <akpm@osdl.org> wrote:
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm2/
> >
> >
> > - Should be a bit better than 2.6.16-rc5-mm1, but I still had to fix a ton
> >   of things to get this to compile and boot.  We're not being careful enough.
> >
> > - The procfs rework is getting there, but some problems probably still remain.
> >
> > - There will be a number of new warnings at boot time when initcalls fail.
> >   Generally that's OK: it usually indicates that you linked something into
> >   vmlinux which you're not actually using.  But sometimes it can indicate
> >   kernel bugs.
> >
> > - The (much-shrunk) audit git tree is back.
> >
> ...
> 
> >
> > Changes since 2.6.16-rc5-mm1:
> >
> >
> ...
> >  git-netdev-all.patch
> 
> commit 23afaec4441baf0579fa115b626242d4d23704dd
> Author: Stefan Rompf <stefan@loplof.de>
> Date:   Tue Feb 7 03:42:23 2006 +0800
> 
>     [PATCH] ipw2200: Fix WPA network selection problem
> 
> reverting this patch permits me to have access to the WEP network here.
> Otherwise wpa_supplicant cannot establish a connection.
> 

That check was changed from

	"If this STA doesn't use WPA and that AP does, then bale"

into

	"If this STA does use WPA and that AP doesn't then bale".

So a theory would be that your AP isn't filling in those WPA length fields.
I see no reason why we should permit that to disable WEP?

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2
  2006-03-05  8:34   ` 2.6.16-rc5-mm2 Andrew Morton
@ 2006-03-05 11:42     ` Stefan Rompf
  2006-03-06 15:22       ` 2.6.16-rc5-mm2 James Ketrenos
  0 siblings, 1 reply; 40+ messages in thread
From: Stefan Rompf @ 2006-03-05 11:42 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Benoit Boissinot, linux-kernel, jketreno, John W. Linville, Jeff Garzik

Hi,

Am Sonntag 05 März 2006 09:34 schrieb Andrew Morton:

> That check was changed from
>
> 	"If this STA doesn't use WPA and that AP does, then bale"
>
> into
>
> 	"If this STA does use WPA and that AP doesn't then bale".
>
> So a theory would be that your AP isn't filling in those WPA length fields.
> I see no reason why we should permit that to disable WEP?

problem is that wpa_supplicant needs to set wpa_enabled unconditionally, so 
with this  change it hasn't been possible to connect to non-WPA networks 
using WPA supplicant. For the discussion on the IPW list, see 
http://marc.theaimsgroup.com/?t=114004412300002&r=1&w=2 .

1.0.12 fixes this by removing the check entirely. James: Does it makes sense 
for you to push 1.1.0 out to netdev soon, or better just the fix for this?

Stefan

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2
  2006-03-04  1:34 ` 2.6.16-rc5-mm2 Grant Coady
  2006-03-05  6:26   ` 2.6.16-rc5-mm2 Andrew Morton
@ 2006-03-05 12:34   ` Antonino A. Daplas
  1 sibling, 0 replies; 40+ messages in thread
From: Antonino A. Daplas @ 2006-03-05 12:34 UTC (permalink / raw)
  To: gcoady; +Cc: Andrew Morton, linux-kernel

Grant Coady wrote:
> On Fri, 3 Mar 2006 04:56:51 -0800, Andrew Morton <akpm@osdl.org> wrote:
> 
> 
> Enable firmware EDID (FB_FIRMWARE_EDID) [Y/n/?] (NEW)

The option is new, but the feature is old (2.5.x).  So as not to risk
breaking working setups, this needs to default to y.

Tony

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2
  2006-03-03 12:56 2.6.16-rc5-mm2 Andrew Morton
                   ` (12 preceding siblings ...)
  2006-03-05  8:14 ` 2.6.16-rc5-mm2 Benoit Boissinot
@ 2006-03-05 22:54 ` Dominik Karall
  2006-03-07  5:43   ` 2.6.16-rc5-mm2 Andrew Morton
  2006-03-07 10:43   ` 2.6.16-rc5-mm2 David Howells
  2006-03-06  8:45 ` 2.6.16-rc5-mm2 Cornelia Huck
                   ` (2 subsequent siblings)
  16 siblings, 2 replies; 40+ messages in thread
From: Dominik Karall @ 2006-03-05 22:54 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

On Friday, 3. March 2006 13:56, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.
>6.16-rc5-mm2/

hi,
I don't know why, but it seems that the kernel doesn't use the correct BIOS 
time. I set it to the 23:30 and after booting I got ~01:00 (next day).

Here is another bug I got after mounting /mnt/extHDD2 a second time (it was 
already mounted).

Kernel BUG at fs/super.c:838
invalid opcode: 0000 [1] PREEMPT SMP
last sysfs file: /block/sdc/size
CPU 0
Modules linked in: radeon drm ppp_deflate zlib_deflate bsd_comp ppp_async 
ohci_hcd i2c_viapro ehci_hcd uhci_hcd r8169 snd_bt87x
Pid: 9213, comm: mount Not tainted 2.6.16-rc5-mm2 #5
RIP: 0010:[<ffffffff810cee79>] <ffffffff810cee79>{do_kern_mount+121}
RSP: 0018:ffff810036497ce8  EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff81003ea3f2d0 RCX: 0000000000000002
RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff81003c7752e0
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000001 R11: ffffffff81130b00 R12: ffffffff813fda40
R13: ffff810036485000 R14: 0000000000000000 R15: 000000000000000f
FS:  00002aee57e24cf0(0000) GS:ffffffff814f2000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000526000 CR3: 000000003787d000 CR4: 00000000000006e0
Process mount (pid: 9213, threadinfo ffff810036496000, task ffff81003b92b110)
Stack: 000000000000000e 0000000000000000 ffff8100379e4000 ffff810037975000
       ffff810036485000 ffffffff810d8689 ffff8100372b60c8 0000000000000000
       ffff8100372b60c8 ffffffff81025531
Call Trace: <ffffffff810d8689>{do_mount+1753} <ffffffff81025531>{__up_read+33}
       <ffffffff810749c5>{_spin_unlock_irqrestore+21} 
<ffffffff8100b027>{do_page_fault+1271}
       <ffffffff81013b1f>{poison_obj+63} 
<ffffffff81037114>{cache_free_debugcheck+660}
       <ffffffff8100a517>{get_page_from_freelist+759} 
<ffffffff81044c1b>{__get_free_pages+27}
       <ffffffff81057eab>{sys_mount+155} <ffffffff8106cbde>{system_call+126}

Code: 0f 0b 68 e7 33 38 81 c2 46 03 48 83 78 68 00 75 0a 0f 0b 68
RIP <ffffffff810cee79>{do_kern_mount+121} RSP <ffff810036497ce8>

--
dominik

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2
  2006-03-03 12:56 2.6.16-rc5-mm2 Andrew Morton
                   ` (13 preceding siblings ...)
  2006-03-05 22:54 ` 2.6.16-rc5-mm2 Dominik Karall
@ 2006-03-06  8:45 ` Cornelia Huck
  2006-03-06  9:10 ` 2.6.16-rc5-mm2 compile error in urb.c Helge Hafting
  2006-03-06 14:44 ` [-mm patch] kernel/futex.c: make futexfs_get_sb() static again David Howells
  16 siblings, 0 replies; 40+ messages in thread
From: Cornelia Huck @ 2006-03-06  8:45 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

On Fri, 3 Mar 2006 04:56:51 -0800
Andrew Morton <akpm@osdl.org> wrote:

> Changes since 2.6.16-rc5-mm1:
...
> -s390-multiple-subchannel-sets-support-fix.patch
> 
>  Merged

Not in my copy of the git tree at least :)

Either this patch or (preferrably) the patch in
http://marc.theaimsgroup.com/?l=linux-kernel&m=114102840429459&q=raw
should be merged for 2.6.16 so that users on old machines or on
hercules aren't grieved...

Cornelia

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2 compile error in urb.c
  2006-03-03 12:56 2.6.16-rc5-mm2 Andrew Morton
                   ` (14 preceding siblings ...)
  2006-03-06  8:45 ` 2.6.16-rc5-mm2 Cornelia Huck
@ 2006-03-06  9:10 ` Helge Hafting
  2006-03-06  9:21   ` Andrew Morton
  2006-03-06 14:44 ` [-mm patch] kernel/futex.c: make futexfs_get_sb() static again David Howells
  16 siblings, 1 reply; 40+ messages in thread
From: Helge Hafting @ 2006-03-06  9:10 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, gregkh

Compiling 2.6.16-rc5-mm2 stopped here:

  CC      drivers/usb/core/urb.o
drivers/usb/core/urb.c: In function ‘usb_alloc_urb’:
drivers/usb/core/urb.c:65: error: dereferencing pointer to incomplete type
drivers/usb/core/urb.c: In function ‘usb_submit_urb’:
drivers/usb/core/urb.c:329: error: dereferencing pointer to incomplete type
make[3]: *** [drivers/usb/core/urb.o] Error 1
make[2]: *** [drivers/usb/core] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2


Helge Hafting

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2 compile error in urb.c
  2006-03-06  9:10 ` 2.6.16-rc5-mm2 compile error in urb.c Helge Hafting
@ 2006-03-06  9:21   ` Andrew Morton
  2006-03-06 12:17     ` Helge Hafting
  0 siblings, 1 reply; 40+ messages in thread
From: Andrew Morton @ 2006-03-06  9:21 UTC (permalink / raw)
  To: Helge Hafting; +Cc: linux-kernel, gregkh, Tilman Schmidt

Helge Hafting <helge.hafting@aitel.hist.no> wrote:
>
> Compiling 2.6.16-rc5-mm2 stopped here:
> 
>   CC      drivers/usb/core/urb.o
> drivers/usb/core/urb.c: In function ___usb_alloc_urb___:
> drivers/usb/core/urb.c:65: error: dereferencing pointer to incomplete type
> drivers/usb/core/urb.c: In function ___usb_submit_urb___:
> drivers/usb/core/urb.c:329: error: dereferencing pointer to incomplete type
> make[3]: *** [drivers/usb/core/urb.o] Error 1
> make[2]: *** [drivers/usb/core] Error 2
> make[1]: *** [drivers/usb] Error 2
> make: *** [drivers] Error 2
> 

I guess this is gregkh-usb-usb-reduce-syslog-clutter.patch trying to
dereference THIS_MODULE when the driver is being built into vmlinux.  I
suggest you revert that patch, thanks.


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2
  2006-03-05  6:26   ` 2.6.16-rc5-mm2 Andrew Morton
  2006-03-05  7:24     ` 2.6.16-rc5-mm2 Mike Galbraith
@ 2006-03-06 11:35     ` Takashi Iwai
  1 sibling, 0 replies; 40+ messages in thread
From: Takashi Iwai @ 2006-03-06 11:35 UTC (permalink / raw)
  To: Andrew Morton; +Cc: gcoady, linux-kernel, Jaroslav Kysela, Alessandro Zummo

At Sat, 4 Mar 2006 22:26:57 -0800,
Andrew Morton wrote:
> 
> Grant Coady <gcoady@gmail.com> wrote:
> > Alsa:
> > Why do I want these by default?
> > OSS PCM (digital audio) API - Include plugin system (SND_PCM_OSS_PLUGINS) [Y/n/?] (NEW)
> > Verbose procfs contents (SND_VERBOSE_PROCFS) [Y/n/?] (NEW)
> 
> cc's added.

They became conditionals for reducing the size by making some
functionalities optional.  Thus defaulting to Y is safer.
Especially the former one would be needed for many motherboards to
work like former versions.  The latter is relatively harmless.  It's
for cutting some memory usage by procfs.

Maybe better to add CONFIG_EMBEDDED for these flags to avoid
confusion?


Takashi

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2 compile error in urb.c
  2006-03-06  9:21   ` Andrew Morton
@ 2006-03-06 12:17     ` Helge Hafting
  0 siblings, 0 replies; 40+ messages in thread
From: Helge Hafting @ 2006-03-06 12:17 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, gregkh, Tilman Schmidt

Andrew Morton wrote:

>Helge Hafting <helge.hafting@aitel.hist.no> wrote:
>  
>
>>Compiling 2.6.16-rc5-mm2 stopped here:
>>
>>  CC      drivers/usb/core/urb.o
>>drivers/usb/core/urb.c: In function ___usb_alloc_urb___:
>>drivers/usb/core/urb.c:65: error: dereferencing pointer to incomplete type
>>drivers/usb/core/urb.c: In function ___usb_submit_urb___:
>>drivers/usb/core/urb.c:329: error: dereferencing pointer to incomplete type
>>make[3]: *** [drivers/usb/core/urb.o] Error 1
>>make[2]: *** [drivers/usb/core] Error 2
>>make[1]: *** [drivers/usb] Error 2
>>make: *** [drivers] Error 2
>>
>>    
>>
>
>I guess this is gregkh-usb-usb-reduce-syslog-clutter.patch trying to
>dereference THIS_MODULE when the driver is being built into vmlinux.  I
>suggest you revert that patch, thanks.
>  
>
Thanks. Reverting this gave me a kernel that compiled and booted.

Helge Hafting

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [-mm patch] kernel/futex.c: make futexfs_get_sb() static again
  2006-03-03 12:56 2.6.16-rc5-mm2 Andrew Morton
                   ` (15 preceding siblings ...)
  2006-03-06  9:10 ` 2.6.16-rc5-mm2 compile error in urb.c Helge Hafting
@ 2006-03-06 14:44 ` David Howells
  16 siblings, 0 replies; 40+ messages in thread
From: David Howells @ 2006-03-06 14:44 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Andrew Morton, David Howells, linux-kernel

Adrian Bunk <bunk@stusta.de> wrote:

> futexfs_get_sb() became global for no good reason.

Oops.

Acked-By: David Howells <dhowells@redhat.com>

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2
  2006-03-05 11:42     ` 2.6.16-rc5-mm2 Stefan Rompf
@ 2006-03-06 15:22       ` James Ketrenos
  0 siblings, 0 replies; 40+ messages in thread
From: James Ketrenos @ 2006-03-06 15:22 UTC (permalink / raw)
  To: Stefan Rompf
  Cc: Andrew Morton, Benoit Boissinot, linux-kernel, John W. Linville,
	Jeff Garzik, Zhu Yi

Stefan Rompf wrote:

>Hi,
>
>Am Sonntag 05 März 2006 09:34 schrieb Andrew Morton:
>
>  
>
>>That check was changed from
>>
>>	"If this STA doesn't use WPA and that AP does, then bale"
>>
>>into
>>
>>	"If this STA does use WPA and that AP doesn't then bale".
>>
>>So a theory would be that your AP isn't filling in those WPA length fields.
>>I see no reason why we should permit that to disable WEP?
>>    
>>
>
>problem is that wpa_supplicant needs to set wpa_enabled unconditionally, so 
>with this  change it hasn't been possible to connect to non-WPA networks 
>using WPA supplicant. For the discussion on the IPW list, see 
>http://marc.theaimsgroup.com/?t=114004412300002&r=1&w=2 .
>
>1.0.12 fixes this by removing the check entirely. James: Does it makes sense 
>for you to push 1.1.0 out to netdev soon, or better just the fix for this?
>  
>
We'll gather up all the patches that have accumulated out of tree that
are not already in John's tree and get them sent to netdev today.

Thanks,
James


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2
  2006-03-05 22:54 ` 2.6.16-rc5-mm2 Dominik Karall
@ 2006-03-07  5:43   ` Andrew Morton
  2006-03-07 14:33     ` 2.6.16-rc5-mm2 Dominik Karall
  2006-03-07 10:43   ` 2.6.16-rc5-mm2 David Howells
  1 sibling, 1 reply; 40+ messages in thread
From: Andrew Morton @ 2006-03-07  5:43 UTC (permalink / raw)
  To: Dominik Karall; +Cc: linux-kernel, john stultz, David Howells

Dominik Karall <dominik.karall@gmx.net> wrote:
>
> On Friday, 3. March 2006 13:56, Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.
> >6.16-rc5-mm2/
> 
> hi,
> I don't know why, but it seems that the kernel doesn't use the correct BIOS 
> time. I set it to the 23:30 and after booting I got ~01:00 (next day).

Is that new behaviour?  What's the most recent -mm kernel which that
machine ran?

The full dmesg output might tell us something.

> Here is another bug I got after mounting /mnt/extHDD2 a second time (it was 
> already mounted).

What type of filesystem is that?  ext3?

> Kernel BUG at fs/super.c:838
> invalid opcode: 0000 [1] PREEMPT SMP
> last sysfs file: /block/sdc/size
> CPU 0
> Modules linked in: radeon drm ppp_deflate zlib_deflate bsd_comp ppp_async 
> ohci_hcd i2c_viapro ehci_hcd uhci_hcd r8169 snd_bt87x
> Pid: 9213, comm: mount Not tainted 2.6.16-rc5-mm2 #5
> RIP: 0010:[<ffffffff810cee79>] <ffffffff810cee79>{do_kern_mount+121}
> RSP: 0018:ffff810036497ce8  EFLAGS: 00010246
> RAX: 0000000000000000 RBX: ffff81003ea3f2d0 RCX: 0000000000000002
> RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff81003c7752e0
> RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
> R10: 0000000000000001 R11: ffffffff81130b00 R12: ffffffff813fda40
> R13: ffff810036485000 R14: 0000000000000000 R15: 000000000000000f
> FS:  00002aee57e24cf0(0000) GS:ffffffff814f2000(0000) knlGS:0000000000000000
> CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> CR2: 0000000000526000 CR3: 000000003787d000 CR4: 00000000000006e0
> Process mount (pid: 9213, threadinfo ffff810036496000, task ffff81003b92b110)
> Stack: 000000000000000e 0000000000000000 ffff8100379e4000 ffff810037975000
>        ffff810036485000 ffffffff810d8689 ffff8100372b60c8 0000000000000000
>        ffff8100372b60c8 ffffffff81025531
> Call Trace: <ffffffff810d8689>{do_mount+1753} <ffffffff81025531>{__up_read+33}
>        <ffffffff810749c5>{_spin_unlock_irqrestore+21} 
> <ffffffff8100b027>{do_page_fault+1271}
>        <ffffffff81013b1f>{poison_obj+63} 
> <ffffffff81037114>{cache_free_debugcheck+660}
>        <ffffffff8100a517>{get_page_from_freelist+759} 
> <ffffffff81044c1b>{__get_free_pages+27}
>        <ffffffff81057eab>{sys_mount+155} <ffffffff8106cbde>{system_call+126}
> 
> Code: 0f 0b 68 e7 33 38 81 c2 46 03 48 83 78 68 00 75 0a 0f 0b 68
> RIP <ffffffff810cee79>{do_kern_mount+121} RSP <ffff810036497ce8>

That's

        BUG_ON(!mnt->mnt_sb);

which has a dhowells feel to it.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2
  2006-03-05 22:54 ` 2.6.16-rc5-mm2 Dominik Karall
  2006-03-07  5:43   ` 2.6.16-rc5-mm2 Andrew Morton
@ 2006-03-07 10:43   ` David Howells
  1 sibling, 0 replies; 40+ messages in thread
From: David Howells @ 2006-03-07 10:43 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Dominik Karall, linux-kernel, john stultz, David Howells

Andrew Morton <akpm@osdl.org> wrote:

> > Here is another bug I got after mounting /mnt/extHDD2 a second time (it was 
> > already mounted).
> 
> What type of filesystem is that?  ext3?

That's updated in my latest patch which you've seen.

David


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2
  2006-03-07  5:43   ` 2.6.16-rc5-mm2 Andrew Morton
@ 2006-03-07 14:33     ` Dominik Karall
  2006-03-07 17:25       ` 2.6.16-rc5-mm2 john stultz
  0 siblings, 1 reply; 40+ messages in thread
From: Dominik Karall @ 2006-03-07 14:33 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, john stultz

On Tuesday, 7. March 2006 06:43, Andrew Morton wrote:
> Dominik Karall <dominik.karall@gmx.net> wrote:
> > On Friday, 3. March 2006 13:56, Andrew Morton wrote:
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc
> > >5/2. 6.16-rc5-mm2/
> >
> > hi,
> > I don't know why, but it seems that the kernel doesn't use the correct
> > BIOS time. I set it to the 23:30 and after booting I got ~01:00 (next
> > day).
>
> Is that new behaviour?  What's the most recent -mm kernel which that
> machine ran?
>
> The full dmesg output might tell us something.

I bootet 2.6.16-rc5 now, but the bug is still present. I set BIOS time to 
15:07 and after booting linux showed 17:35.
Here is the dmesg output:

Linux version 2.6.16-rc5 (root@localhost) (gcc-Version 4.1.0 (Gentoo 4.1.0)) 
#6 SMP PREEMPT Tue Mar 7 15:04:35 CET 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003ff30000 (usable)
 BIOS-e820: 000000003ff30000 - 000000003ff40000 (ACPI data)
 BIOS-e820: 000000003ff40000 - 000000003fff0000 (ACPI NVS)
 BIOS-e820: 000000003fff0000 - 0000000040000000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
ACPI: RSDP (v002 ACPIAM                                ) @ 0x00000000000fa8b0
ACPI: XSDT (v001 A M I  OEMXSDT  0x08000403 MSFT 0x00000097) @ 
0x000000003ff30100
ACPI: FADT (v003 A M I  OEMFACP  0x08000403 MSFT 0x00000097) @ 
0x000000003ff30290
ACPI: MADT (v001 A M I  OEMAPIC  0x08000403 MSFT 0x00000097) @ 
0x000000003ff30390
ACPI: OEMB (v001 A M I  OEMBIOS  0x08000403 MSFT 0x00000097) @ 
0x000000003ff40040
ACPI: DSDT (v001  A0058 A0058002 0x00000002 MSFT 0x0100000d) @ 
0x0000000000000000
Scanning NUMA topology in Northbridge 24
Number of nodes 1
Node 0 MemBase 0000000000000000 Limit 000000003ff30000
NUMA: Using 63 for the hash shift.
Using node hash shift of 63
Bootmem setup node 0 0000000000000000-000000003ff30000
On node 0 totalpages: 258249
  DMA zone: 3934 pages, LIFO batch:0
  DMA32 zone: 254315 pages, LIFO batch:31
  Normal zone: 0 pages, LIFO batch:0
  HighMem zone: 0 pages, LIFO batch:0
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:12 APIC version 16
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 3, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Setting APIC routing to flat
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 50000000 (gap: 40000000:bff80000)
Checking aperture...
CPU 0: aperture @ e0000000 size 256 MB
Built 1 zonelists
Kernel command line:
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 131072 bytes)
time.c: Using 3.579545 MHz WALL PM GTOD PIT/TSC timer.
time.c: Detected 2460.198 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Memory: 1010564k/1047744k available (3289k kernel code, 36792k reserved, 1308k 
data, 220k init)
Calibrating delay using timer specific routine.. 4928.48 BogoMIPS 
(lpj=2464243)
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 0(1) -> Node 0 -> Core 0
Using local APIC timer interrupts.
result 12813545
Detected 12.813 MHz APIC timer.
Brought up 1 CPUs
testing NMI watchdog ... OK.
migration_cost=0
DMI 2.3 present.
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
ACPI: Subsystem revision 20060127
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 7 10 11 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 *7 10 11 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
agpgart: Detected AGP bridge 0
agpgart: AGP aperture is 256M @ 0xe0000000
PCI-DMA: Disabling IOMMU.
PCI: Bridge: 0000:00:01.0
  IO window: a000-afff
  MEM window: fcd00000-fd2fffff
  PREFETCH window: 9fb00000-dfafffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI: Sleep Button (CM) [SLPB]
Using specific hotkey driver
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
loop: loaded (max 8 devices)
GSI 16 sharing vector 0xA9 and IRQ 16
ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 169
sk98lin: Asus mainboard with buggy VPD? Correcting data.
eth0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
      PrefPort:A  RlmtMode:Check Link State
PPP generic driver version 2.4.2
Linux video capture interface: v1.00
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
GSI 17 sharing vector 0xB1 and IRQ 17
ACPI: PCI Interrupt 0000:00:0d.0[A] -> GSI 18 (level, low) -> IRQ 177
bttv0: Bt878 (rev 17) at 0000:00:0d.0, irq: 177, latency: 128, mmio: 
0xdfe00000
bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
bttv0: using: Hauppauge (bt878) [card=10,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00fffffb [init]
bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
tveeprom 0-0050: Hauppauge model 38074, rev B521, serial# 5099850
tveeprom 0-0050: tuner model is Philips FM1216 (idx 21, type 5)
tveeprom 0-0050: TV standards PAL(B/G) (eeprom 0x04)
tveeprom 0-0050: audio processor is None (idx 0)
tveeprom 0-0050: has radio
bttv0: Hauppauge eeprom indicates model#38074
bttv0: using tuner=5
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0
bttv0: PLL: 28636363 => 35468950 .. ok
input: i2c IR (Hauppauge) as /class/input/input0
ir-kbd-i2c: i2c IR (Hauppauge) detected at i2c-0/0-0018/ir0 [bt878 #0 [sw]]
tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw])
tuner 0-0061: type set to 5 (Philips PAL_BG (FI1216 and compatibles))
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:0f.1
GSI 18 sharing vector 0xB9 and IRQ 18
ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 185
PCI: Via IRQ fixup for 0000:00:0f.1, from 255 to 9
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: SAMSUNG SP1604N, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: ATAPI DVD DD 2X16X4X16, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 512KiB
hda: 312581808 sectors (160041 MB) w/2048KiB Cache, CHS=19457/255/63, 
UDMA(133)
hda: cache flushes supported
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
hdc: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
libata version 1.20 loaded.
sata_via 0000:00:0f.0: version 1.1
ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI 20 (level, low) -> IRQ 185
PCI: Via IRQ fixup for 0000:00:0f.0, from 10 to 9
sata_via 0000:00:0f.0: routed to hard irq line 9
ata1: SATA max UDMA/133 cmd 0xE800 ctl 0xE402 bmdma 0xD400 irq 185
ata2: SATA max UDMA/133 cmd 0xE000 ctl 0xD802 bmdma 0xD408 irq 185
ata1: SATA link down (SStatus 0)
scsi0 : sata_via
ata2: SATA link down (SStatus 0)
scsi1 : sata_via
ieee1394: Initialized config rom entry `ip1394'
GSI 19 sharing vector 0xC1 and IRQ 19
ACPI: PCI Interrupt 0000:00:07.0[A] -> GSI 16 (level, low) -> IRQ 193
PCI: Via IRQ fixup for 0000:00:07.0, from 11 to 1
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[193]  MMIO=[fd800000-fd8007ff]  
Max Packet=[2048]  IR/IT contexts=[4/8]
eth1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input1
input: PC Speaker as /class/input/input2
i2c /dev entries driver
device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel@redhat.com
Advanced Linux Sound Architecture Driver Version 1.0.11rc2 (Wed Jan 04 
08:57:20 2006 UTC).
GSI 20 sharing vector 0xC9 and IRQ 20
ACPI: PCI Interrupt 0000:00:11.5[C] -> GSI 22 (level, low) -> IRQ 201
PCI: Via IRQ fixup for 0000:00:11.5, from 5 to 9
PCI: Setting latency timer of device 0000:00:11.5 to 64
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
ALSA device list:
  #0: VIA 8237 with AD1980 at 0xc800, irq 201
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
TCP established hash table entries: 131072 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 9, 2097152 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
TCP bic registered
TCP westwood registered
TCP htcp registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.60.0)
powernow-k8:    0 : fid 0x2 (1000 MHz), vid 0x12 (1100 mV)
powernow-k8:    1 : fid 0xa (1800 MHz), vid 0xe (1200 mV)
powernow-k8:    2 : fid 0xc (2000 MHz), vid 0xa (1300 mV)
powernow-k8:    3 : fid 0xe (2200 MHz), vid 0x6 (1400 mV)
powernow-k8:    4 : fid 0x10 (2400 MHz), vid 0x2 (1500 mV)
cpu_init done, current fid 0x10, vid 0x0
powernow-k8: ph2 null fid transition 0x10
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
input: ImPS/2 Generic Wheel Mouse as /class/input/input3
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00e0180000ad032e]
EXT3-fs: hda1: orphan cleanup on readonly fs
kjournald starting.  Commit interval 5 seconds
ext3_orphan_cleanup: deleting unreferenced inode 1971295
ext3_orphan_cleanup: deleting unreferenced inode 1971248
ext3_orphan_cleanup: deleting unreferenced inode 1971040
EXT3-fs: hda1: 3 orphan inodes deleted
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 220k freed
Adding 996020k swap on /dev/hda3.  Priority:-1 extents:1 across:996020k
EXT3 FS on hda1, internal journal
ACPI: PCI Interrupt 0000:00:0d.1[A] -> GSI 18 (level, low) -> IRQ 177
r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded
GSI 21 sharing vector 0xD1 and IRQ 21
ACPI: PCI Interrupt 0000:00:0e.0[A] -> GSI 19 (level, low) -> IRQ 209
eth2: Identified chip type is 'RTL8169s/8110s'.
eth2: RTL8169 at 0xffffc20000246000, 00:0c:f6:04:87:c0, IRQ 209
USB Universal Host Controller Interface driver v2.3
GSI 22 sharing vector 0xD9 and IRQ 22
ACPI: PCI Interrupt 0000:00:10.0[A] -> GSI 21 (level, low) -> IRQ 217
PCI: Via IRQ fixup for 0000:00:10.0, from 11 to 9
uhci_hcd 0000:00:10.0: UHCI Host Controller
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:10.0: irq 217, io base 0x0000b400
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.1[A] -> GSI 21 (level, low) -> IRQ 217
PCI: Via IRQ fixup for 0000:00:10.1, from 11 to 9
uhci_hcd 0000:00:10.1: UHCI Host Controller
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:10.1: irq 217, io base 0x0000b800
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.2[B] -> GSI 21 (level, low) -> IRQ 217
PCI: Via IRQ fixup for 0000:00:10.2, from 10 to 9
uhci_hcd 0000:00:10.2: UHCI Host Controller
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:10.2: irq 217, io base 0x0000c000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.3[B] -> GSI 21 (level, low) -> IRQ 217
PCI: Via IRQ fixup for 0000:00:10.3, from 10 to 9
uhci_hcd 0000:00:10.3: UHCI Host Controller
uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:10.3: irq 217, io base 0x0000c400
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usb 1-2: new full speed USB device using uhci_hcd and address 2
usb 1-2: configuration #1 chosen from 1 choice
hub 1-2:1.0: USB hub found
hub 1-2:1.0: 4 ports detected
usb 2-1: new full speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 
proto 2 vid 0x03F0 pid 0x7004
ACPI: PCI Interrupt 0000:00:10.4[C] -> GSI 21 (level, low) -> IRQ 217
PCI: Via IRQ fixup for 0000:00:10.4, from 5 to 9
ehci_hcd 0000:00:10.4: EHCI Host Controller
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 5
ehci_hcd 0000:00:10.4: irq 217, io mem 0xfdf00000
ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 8 ports detected
hub 1-2:1.0: hub_port_status failed (err = -71)
hub 1-2:1.0: connect-debounce failed, port 1 disabled
hub 1-2:1.0: cannot disable port 1 (err = -71)
hub 1-2:1.0: hub_port_status failed (err = -71)
hub 1-2:1.0: hub_port_status failed (err = -71)
hub 1-2:1.0: hub_port_status failed (err = -71)
usb 2-1: USB disconnect, address 2
drivers/usb/class/usblp.c: usblp0: removed
usb 5-2: new high speed USB device using ehci_hcd and address 2
usb 5-2: configuration #1 chosen from 1 choice
hub 5-2:1.0: USB hub found
hub 5-2:1.0: 4 ports detected
usb 1-2: USB disconnect, address 2
usb 5-2.1: new high speed USB device using ehci_hcd and address 4
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
usb 5-2.1: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usb 2-1: new full speed USB device using uhci_hcd and address 3
usb 2-1: configuration #1 chosen from 1 choice
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 
proto 2 vid 0x03F0 pid 0x7004
  Vendor: Generic   Model: 223 U HS-CF       Rev: 1.95
  Type:   Direct-Access                      ANSI SCSI revision: 00
sd 2:0:0:0: Attached scsi removable disk sda
sd 2:0:0:0: Attached scsi generic sg0 type 0
  Vendor: Generic   Model: 223 U HS-MS       Rev: 1.95
  Type:   Direct-Access                      ANSI SCSI revision: 00
sd 2:0:0:1: Attached scsi removable disk sdb
sd 2:0:0:1: Attached scsi generic sg1 type 0
usb-storage: device scan complete
ReiserFS: dm-0: found reiserfs format "3.6" with standard journal
ReiserFS: dm-0: using ordered data mode
ReiserFS: dm-0: journal params: device dm-0, size 8192, journal first block 
18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: dm-0: checking transaction log (dm-0)
ReiserFS: dm-0: Using r5 hash to sort names
eth0: network connection up using port A
    speed:           100
    autonegotiation: yes
    duplex mode:     full
    flowctrl:        symmetric
    irq moderation:  disabled
    scatter-gather:  disabled
    tx-checksum:     disabled
    rx-checksum:     disabled
PPP BSD Compression module registered
PPP Deflate Compression module registered
usb 5-2.2: new high speed USB device using ehci_hcd and address 5
usb 5-2.2: configuration #1 chosen from 1 choice
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
  Vendor: ST325082  Model: 3A                Rev: 3.02
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdc: 488397168 512-byte hdwr sectors (250059 MB)
sdc: Write Protect is off
sdc: Mode Sense: 03 00 00 00
sdc: assuming drive cache: write through
SCSI device sdc: 488397168 512-byte hdwr sectors (250059 MB)
sdc: Write Protect is off
sdc: Mode Sense: 03 00 00 00
sdc: assuming drive cache: write through
 sdc:<6>Device not ready. Make sure there is a disc in the drive.
Device not ready. Make sure there is a disc in the drive.
Device not ready. Make sure there is a disc in the drive.
Device not ready. Make sure there is a disc in the drive.
 sdc1 sdc2
sd 3:0:0:0: Attached scsi disk sdc
sd 3:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
[drm] Initialized drm 1.0.1 20051102
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 193
[drm] Initialized radeon 1.22.0 20051229 on minor 0
agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
agpgart: X tried to set rate=x12. Setting to AGP3 x8 mode.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[drm] Loading R300 Microcode
agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
agpgart: X tried to set rate=x12. Setting to AGP3 x8 mode.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[drm] Loading R300 Microcode

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2: IPW_QOS: two remarks
  2006-03-05  0:46   ` Andreas Happe
@ 2006-03-07 17:06     ` Adrian Bunk
  2006-03-17 19:14       ` John W. Linville
  0 siblings, 1 reply; 40+ messages in thread
From: Adrian Bunk @ 2006-03-07 17:06 UTC (permalink / raw)
  To: Andreas Happe; +Cc: Andrew Morton, linux-kernel, linville, jgarzik, netdev

On Sun, Mar 05, 2006 at 01:46:26AM +0100, Andreas Happe wrote:
> On Friday 03 March 2006 16:26, Adrian Bunk wrote:
>...
> > - please add a help text
> 
> i could add some stuff about WMM to its help text, but I think someone more 
> involved with the ipw2200-project should do that.

Even a short help text is better than no help text.

> andy
>...

cu
Adrian

-- 

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


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2
  2006-03-07 14:33     ` 2.6.16-rc5-mm2 Dominik Karall
@ 2006-03-07 17:25       ` john stultz
  2006-03-08  1:13         ` 2.6.16-rc5-mm2 Andi Kleen
  0 siblings, 1 reply; 40+ messages in thread
From: john stultz @ 2006-03-07 17:25 UTC (permalink / raw)
  To: Dominik Karall; +Cc: Andi Kleen, Andrew Morton, linux-kernel

On Tue, 2006-03-07 at 15:33 +0100, Dominik Karall wrote:
> On Tuesday, 7. March 2006 06:43, Andrew Morton wrote:
> > Dominik Karall <dominik.karall@gmx.net> wrote:
> > > On Friday, 3. March 2006 13:56, Andrew Morton wrote:
> > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc
> > > >5/2. 6.16-rc5-mm2/
> > >
> > > hi,
> > > I don't know why, but it seems that the kernel doesn't use the correct
> > > BIOS time. I set it to the 23:30 and after booting I got ~01:00 (next
> > > day).
> >
> > Is that new behaviour?  What's the most recent -mm kernel which that
> > machine ran?
> >
> > The full dmesg output might tell us something.
> 
> I bootet 2.6.16-rc5 now, but the bug is still present. I set BIOS time to 
> 15:07 and after booting linux showed 17:35.

Interesting. Right off, I'm not sure where this would be coming from.
>From your dmesg it looks like this is running an x86-64 kernel, correct?
Andi, do you have any ideas?

thanks
-john


> Here is the dmesg output:
> 
> Linux version 2.6.16-rc5 (root@localhost) (gcc-Version 4.1.0 (Gentoo 4.1.0)) 
> #6 SMP PREEMPT Tue Mar 7 15:04:35 CET 2006
> BIOS-provided physical RAM map:
>  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
>  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
>  BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
>  BIOS-e820: 0000000000100000 - 000000003ff30000 (usable)
>  BIOS-e820: 000000003ff30000 - 000000003ff40000 (ACPI data)
>  BIOS-e820: 000000003ff40000 - 000000003fff0000 (ACPI NVS)
>  BIOS-e820: 000000003fff0000 - 0000000040000000 (reserved)
>  BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
> ACPI: RSDP (v002 ACPIAM                                ) @ 0x00000000000fa8b0
> ACPI: XSDT (v001 A M I  OEMXSDT  0x08000403 MSFT 0x00000097) @ 
> 0x000000003ff30100
> ACPI: FADT (v003 A M I  OEMFACP  0x08000403 MSFT 0x00000097) @ 
> 0x000000003ff30290
> ACPI: MADT (v001 A M I  OEMAPIC  0x08000403 MSFT 0x00000097) @ 
> 0x000000003ff30390
> ACPI: OEMB (v001 A M I  OEMBIOS  0x08000403 MSFT 0x00000097) @ 
> 0x000000003ff40040
> ACPI: DSDT (v001  A0058 A0058002 0x00000002 MSFT 0x0100000d) @ 
> 0x0000000000000000
> Scanning NUMA topology in Northbridge 24
> Number of nodes 1
> Node 0 MemBase 0000000000000000 Limit 000000003ff30000
> NUMA: Using 63 for the hash shift.
> Using node hash shift of 63
> Bootmem setup node 0 0000000000000000-000000003ff30000
> On node 0 totalpages: 258249
>   DMA zone: 3934 pages, LIFO batch:0
>   DMA32 zone: 254315 pages, LIFO batch:31
>   Normal zone: 0 pages, LIFO batch:0
>   HighMem zone: 0 pages, LIFO batch:0
> ACPI: PM-Timer IO Port: 0x808
> ACPI: Local APIC address 0xfee00000
> ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
> Processor #0 15:12 APIC version 16
> ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
> IOAPIC[0]: apic_id 1, version 3, address 0xfec00000, GSI 0-23
> ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
> ACPI: IRQ0 used by override.
> ACPI: IRQ2 used by override.
> ACPI: IRQ9 used by override.
> Setting APIC routing to flat
> Using ACPI (MADT) for SMP configuration information
> Allocating PCI resources starting at 50000000 (gap: 40000000:bff80000)
> Checking aperture...
> CPU 0: aperture @ e0000000 size 256 MB
> Built 1 zonelists
> Kernel command line:
> Initializing CPU#0
> PID hash table entries: 4096 (order: 12, 131072 bytes)
> time.c: Using 3.579545 MHz WALL PM GTOD PIT/TSC timer.
> time.c: Detected 2460.198 MHz processor.
> Console: colour VGA+ 80x25
> Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
> Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
> Memory: 1010564k/1047744k available (3289k kernel code, 36792k reserved, 1308k 
> data, 220k init)
> Calibrating delay using timer specific routine.. 4928.48 BogoMIPS 
> (lpj=2464243)
> Mount-cache hash table entries: 256
> CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
> CPU: L2 Cache: 512K (64 bytes/line)
> CPU 0(1) -> Node 0 -> Core 0
> Using local APIC timer interrupts.
> result 12813545
> Detected 12.813 MHz APIC timer.
> Brought up 1 CPUs
> testing NMI watchdog ... OK.
> migration_cost=0
> DMI 2.3 present.
> NET: Registered protocol family 16
> ACPI: bus type pci registered
> PCI: Using configuration type 1
> ACPI: Subsystem revision 20060127
> ACPI: Interpreter enabled
> ACPI: Using IOAPIC for interrupt routing
> ACPI: PCI Root Bridge [PCI0] (0000:00)
> PCI: Probing PCI hardware (bus 00)
> Boot video device is 0000:01:00.0
> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
> ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 10 *11 14 15)
> ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 *10 11 14 15)
> ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 7 10 11 14 15)
> ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 *7 10 11 14 15)
> ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
> ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
> ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
> ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
> SCSI subsystem initialized
> usbcore: registered new driver usbfs
> usbcore: registered new driver hub
> PCI: Using ACPI for IRQ routing
> PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
> agpgart: Detected AGP bridge 0
> agpgart: AGP aperture is 256M @ 0xe0000000
> PCI-DMA: Disabling IOMMU.
> PCI: Bridge: 0000:00:01.0
>   IO window: a000-afff
>   MEM window: fcd00000-fd2fffff
>   PREFETCH window: 9fb00000-dfafffff
> PCI: Setting latency timer of device 0000:00:01.0 to 64
> IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
> Initializing Cryptographic API
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
> ACPI: Power Button (FF) [PWRF]
> ACPI: Power Button (CM) [PWRB]
> ACPI: Sleep Button (CM) [SLPB]
> Using specific hotkey driver
> Real Time Clock Driver v1.12ac
> Non-volatile memory driver v1.2
> Linux agpgart interface v0.101 (c) Dave Jones
> serio: i8042 AUX port at 0x60,0x64 irq 12
> serio: i8042 KBD port at 0x60,0x64 irq 1
> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
> serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> loop: loaded (max 8 devices)
> GSI 16 sharing vector 0xA9 and IRQ 16
> ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 169
> sk98lin: Asus mainboard with buggy VPD? Correcting data.
> eth0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
>       PrefPort:A  RlmtMode:Check Link State
> PPP generic driver version 2.4.2
> Linux video capture interface: v1.00
> bttv: driver version 0.9.16 loaded
> bttv: using 8 buffers with 2080k (520 pages) each for capture
> bttv: Bt8xx card found (0).
> GSI 17 sharing vector 0xB1 and IRQ 17
> ACPI: PCI Interrupt 0000:00:0d.0[A] -> GSI 18 (level, low) -> IRQ 177
> bttv0: Bt878 (rev 17) at 0000:00:0d.0, irq: 177, latency: 128, mmio: 
> 0xdfe00000
> bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
> bttv0: using: Hauppauge (bt878) [card=10,autodetected]
> bttv0: gpio: en=00000000, out=00000000 in=00fffffb [init]
> bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
> tveeprom 0-0050: Hauppauge model 38074, rev B521, serial# 5099850
> tveeprom 0-0050: tuner model is Philips FM1216 (idx 21, type 5)
> tveeprom 0-0050: TV standards PAL(B/G) (eeprom 0x04)
> tveeprom 0-0050: audio processor is None (idx 0)
> tveeprom 0-0050: has radio
> bttv0: Hauppauge eeprom indicates model#38074
> bttv0: using tuner=5
> bttv0: registered device video0
> bttv0: registered device vbi0
> bttv0: registered device radio0
> bttv0: PLL: 28636363 => 35468950 .. ok
> input: i2c IR (Hauppauge) as /class/input/input0
> ir-kbd-i2c: i2c IR (Hauppauge) detected at i2c-0/0-0018/ir0 [bt878 #0 [sw]]
> tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw])
> tuner 0-0061: type set to 5 (Philips PAL_BG (FI1216 and compatibles))
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> VP_IDE: IDE controller at PCI slot 0000:00:0f.1
> GSI 18 sharing vector 0xB9 and IRQ 18
> ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 185
> PCI: Via IRQ fixup for 0000:00:0f.1, from 255 to 9
> VP_IDE: chipset revision 6
> VP_IDE: not 100% native mode: will probe irqs later
> VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
>     ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
>     ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio
> Probing IDE interface ide0...
> hda: SAMSUNG SP1604N, ATA DISK drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> Probing IDE interface ide1...
> hdc: ATAPI DVD DD 2X16X4X16, ATAPI CD/DVD-ROM drive
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: max request size: 512KiB
> hda: 312581808 sectors (160041 MB) w/2048KiB Cache, CHS=19457/255/63, 
> UDMA(133)
> hda: cache flushes supported
>  hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
> hdc: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
> Uniform CD-ROM driver Revision: 3.20
> libata version 1.20 loaded.
> sata_via 0000:00:0f.0: version 1.1
> ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI 20 (level, low) -> IRQ 185
> PCI: Via IRQ fixup for 0000:00:0f.0, from 10 to 9
> sata_via 0000:00:0f.0: routed to hard irq line 9
> ata1: SATA max UDMA/133 cmd 0xE800 ctl 0xE402 bmdma 0xD400 irq 185
> ata2: SATA max UDMA/133 cmd 0xE000 ctl 0xD802 bmdma 0xD408 irq 185
> ata1: SATA link down (SStatus 0)
> scsi0 : sata_via
> ata2: SATA link down (SStatus 0)
> scsi1 : sata_via
> ieee1394: Initialized config rom entry `ip1394'
> GSI 19 sharing vector 0xC1 and IRQ 19
> ACPI: PCI Interrupt 0000:00:07.0[A] -> GSI 16 (level, low) -> IRQ 193
> PCI: Via IRQ fixup for 0000:00:07.0, from 11 to 1
> ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[193]  MMIO=[fd800000-fd8007ff]  
> Max Packet=[2048]  IR/IT contexts=[4/8]
> eth1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
> usbcore: registered new driver usblp
> drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
> Initializing USB Mass Storage driver...
> usbcore: registered new driver usb-storage
> USB Mass Storage support registered.
> mice: PS/2 mouse device common for all mice
> input: AT Translated Set 2 keyboard as /class/input/input1
> input: PC Speaker as /class/input/input2
> i2c /dev entries driver
> device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel@redhat.com
> Advanced Linux Sound Architecture Driver Version 1.0.11rc2 (Wed Jan 04 
> 08:57:20 2006 UTC).
> GSI 20 sharing vector 0xC9 and IRQ 20
> ACPI: PCI Interrupt 0000:00:11.5[C] -> GSI 22 (level, low) -> IRQ 201
> PCI: Via IRQ fixup for 0000:00:11.5, from 5 to 9
> PCI: Setting latency timer of device 0000:00:11.5 to 64
> codec_read: codec 0 is not valid [0xfe0000]
> codec_read: codec 0 is not valid [0xfe0000]
> codec_read: codec 0 is not valid [0xfe0000]
> codec_read: codec 0 is not valid [0xfe0000]
> ALSA device list:
>   #0: VIA 8237 with AD1980 at 0xc800, irq 201
> NET: Registered protocol family 2
> IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
> TCP established hash table entries: 131072 (order: 10, 4194304 bytes)
> TCP bind hash table entries: 65536 (order: 9, 2097152 bytes)
> TCP: Hash tables configured (established 131072 bind 65536)
> TCP reno registered
> IPv4 over IPv4 tunneling driver
> GRE over IPv4 tunneling driver
> TCP bic registered
> TCP westwood registered
> TCP htcp registered
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> NET: Registered protocol family 15
> powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.60.0)
> powernow-k8:    0 : fid 0x2 (1000 MHz), vid 0x12 (1100 mV)
> powernow-k8:    1 : fid 0xa (1800 MHz), vid 0xe (1200 mV)
> powernow-k8:    2 : fid 0xc (2000 MHz), vid 0xa (1300 mV)
> powernow-k8:    3 : fid 0xe (2200 MHz), vid 0x6 (1400 mV)
> powernow-k8:    4 : fid 0x10 (2400 MHz), vid 0x2 (1500 mV)
> cpu_init done, current fid 0x10, vid 0x0
> powernow-k8: ph2 null fid transition 0x10
> EXT3-fs: INFO: recovery required on readonly filesystem.
> EXT3-fs: write access will be enabled during recovery.
> input: ImPS/2 Generic Wheel Mouse as /class/input/input3
> ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00e0180000ad032e]
> EXT3-fs: hda1: orphan cleanup on readonly fs
> kjournald starting.  Commit interval 5 seconds
> ext3_orphan_cleanup: deleting unreferenced inode 1971295
> ext3_orphan_cleanup: deleting unreferenced inode 1971248
> ext3_orphan_cleanup: deleting unreferenced inode 1971040
> EXT3-fs: hda1: 3 orphan inodes deleted
> EXT3-fs: recovery complete.
> EXT3-fs: mounted filesystem with ordered data mode.
> VFS: Mounted root (ext3 filesystem) readonly.
> Freeing unused kernel memory: 220k freed
> Adding 996020k swap on /dev/hda3.  Priority:-1 extents:1 across:996020k
> EXT3 FS on hda1, internal journal
> ACPI: PCI Interrupt 0000:00:0d.1[A] -> GSI 18 (level, low) -> IRQ 177
> r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded
> GSI 21 sharing vector 0xD1 and IRQ 21
> ACPI: PCI Interrupt 0000:00:0e.0[A] -> GSI 19 (level, low) -> IRQ 209
> eth2: Identified chip type is 'RTL8169s/8110s'.
> eth2: RTL8169 at 0xffffc20000246000, 00:0c:f6:04:87:c0, IRQ 209
> USB Universal Host Controller Interface driver v2.3
> GSI 22 sharing vector 0xD9 and IRQ 22
> ACPI: PCI Interrupt 0000:00:10.0[A] -> GSI 21 (level, low) -> IRQ 217
> PCI: Via IRQ fixup for 0000:00:10.0, from 11 to 9
> uhci_hcd 0000:00:10.0: UHCI Host Controller
> uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 1
> uhci_hcd 0000:00:10.0: irq 217, io base 0x0000b400
> usb usb1: configuration #1 chosen from 1 choice
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 2 ports detected
> ACPI: PCI Interrupt 0000:00:10.1[A] -> GSI 21 (level, low) -> IRQ 217
> PCI: Via IRQ fixup for 0000:00:10.1, from 11 to 9
> uhci_hcd 0000:00:10.1: UHCI Host Controller
> uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 2
> uhci_hcd 0000:00:10.1: irq 217, io base 0x0000b800
> usb usb2: configuration #1 chosen from 1 choice
> hub 2-0:1.0: USB hub found
> hub 2-0:1.0: 2 ports detected
> ACPI: PCI Interrupt 0000:00:10.2[B] -> GSI 21 (level, low) -> IRQ 217
> PCI: Via IRQ fixup for 0000:00:10.2, from 10 to 9
> uhci_hcd 0000:00:10.2: UHCI Host Controller
> uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 3
> uhci_hcd 0000:00:10.2: irq 217, io base 0x0000c000
> usb usb3: configuration #1 chosen from 1 choice
> hub 3-0:1.0: USB hub found
> hub 3-0:1.0: 2 ports detected
> ACPI: PCI Interrupt 0000:00:10.3[B] -> GSI 21 (level, low) -> IRQ 217
> PCI: Via IRQ fixup for 0000:00:10.3, from 10 to 9
> uhci_hcd 0000:00:10.3: UHCI Host Controller
> uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 4
> uhci_hcd 0000:00:10.3: irq 217, io base 0x0000c400
> usb usb4: configuration #1 chosen from 1 choice
> hub 4-0:1.0: USB hub found
> hub 4-0:1.0: 2 ports detected
> usb 1-2: new full speed USB device using uhci_hcd and address 2
> usb 1-2: configuration #1 chosen from 1 choice
> hub 1-2:1.0: USB hub found
> hub 1-2:1.0: 4 ports detected
> usb 2-1: new full speed USB device using uhci_hcd and address 2
> usb 2-1: configuration #1 chosen from 1 choice
> drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 
> proto 2 vid 0x03F0 pid 0x7004
> ACPI: PCI Interrupt 0000:00:10.4[C] -> GSI 21 (level, low) -> IRQ 217
> PCI: Via IRQ fixup for 0000:00:10.4, from 5 to 9
> ehci_hcd 0000:00:10.4: EHCI Host Controller
> ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 5
> ehci_hcd 0000:00:10.4: irq 217, io mem 0xfdf00000
> ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
> usb usb5: configuration #1 chosen from 1 choice
> hub 5-0:1.0: USB hub found
> hub 5-0:1.0: 8 ports detected
> hub 1-2:1.0: hub_port_status failed (err = -71)
> hub 1-2:1.0: connect-debounce failed, port 1 disabled
> hub 1-2:1.0: cannot disable port 1 (err = -71)
> hub 1-2:1.0: hub_port_status failed (err = -71)
> hub 1-2:1.0: hub_port_status failed (err = -71)
> hub 1-2:1.0: hub_port_status failed (err = -71)
> usb 2-1: USB disconnect, address 2
> drivers/usb/class/usblp.c: usblp0: removed
> usb 5-2: new high speed USB device using ehci_hcd and address 2
> usb 5-2: configuration #1 chosen from 1 choice
> hub 5-2:1.0: USB hub found
> hub 5-2:1.0: 4 ports detected
> usb 1-2: USB disconnect, address 2
> usb 5-2.1: new high speed USB device using ehci_hcd and address 4
> ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
> usb 5-2.1: configuration #1 chosen from 1 choice
> scsi2 : SCSI emulation for USB Mass Storage devices
> usb-storage: device found at 4
> usb-storage: waiting for device to settle before scanning
> usb 2-1: new full speed USB device using uhci_hcd and address 3
> usb 2-1: configuration #1 chosen from 1 choice
> drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 
> proto 2 vid 0x03F0 pid 0x7004
>   Vendor: Generic   Model: 223 U HS-CF       Rev: 1.95
>   Type:   Direct-Access                      ANSI SCSI revision: 00
> sd 2:0:0:0: Attached scsi removable disk sda
> sd 2:0:0:0: Attached scsi generic sg0 type 0
>   Vendor: Generic   Model: 223 U HS-MS       Rev: 1.95
>   Type:   Direct-Access                      ANSI SCSI revision: 00
> sd 2:0:0:1: Attached scsi removable disk sdb
> sd 2:0:0:1: Attached scsi generic sg1 type 0
> usb-storage: device scan complete
> ReiserFS: dm-0: found reiserfs format "3.6" with standard journal
> ReiserFS: dm-0: using ordered data mode
> ReiserFS: dm-0: journal params: device dm-0, size 8192, journal first block 
> 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
> ReiserFS: dm-0: checking transaction log (dm-0)
> ReiserFS: dm-0: Using r5 hash to sort names
> eth0: network connection up using port A
>     speed:           100
>     autonegotiation: yes
>     duplex mode:     full
>     flowctrl:        symmetric
>     irq moderation:  disabled
>     scatter-gather:  disabled
>     tx-checksum:     disabled
>     rx-checksum:     disabled
> PPP BSD Compression module registered
> PPP Deflate Compression module registered
> usb 5-2.2: new high speed USB device using ehci_hcd and address 5
> usb 5-2.2: configuration #1 chosen from 1 choice
> scsi3 : SCSI emulation for USB Mass Storage devices
> usb-storage: device found at 5
> usb-storage: waiting for device to settle before scanning
>   Vendor: ST325082  Model: 3A                Rev: 3.02
>   Type:   Direct-Access                      ANSI SCSI revision: 00
> SCSI device sdc: 488397168 512-byte hdwr sectors (250059 MB)
> sdc: Write Protect is off
> sdc: Mode Sense: 03 00 00 00
> sdc: assuming drive cache: write through
> SCSI device sdc: 488397168 512-byte hdwr sectors (250059 MB)
> sdc: Write Protect is off
> sdc: Mode Sense: 03 00 00 00
> sdc: assuming drive cache: write through
>  sdc:<6>Device not ready. Make sure there is a disc in the drive.
> Device not ready. Make sure there is a disc in the drive.
> Device not ready. Make sure there is a disc in the drive.
> Device not ready. Make sure there is a disc in the drive.
>  sdc1 sdc2
> sd 3:0:0:0: Attached scsi disk sdc
> sd 3:0:0:0: Attached scsi generic sg2 type 0
> usb-storage: device scan complete
> [drm] Initialized drm 1.0.1 20051102
> ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 193
> [drm] Initialized radeon 1.22.0 20051229 on minor 0
> agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
> agpgart: X tried to set rate=x12. Setting to AGP3 x8 mode.
> agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
> agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
> [drm] Loading R300 Microcode
> agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
> agpgart: X tried to set rate=x12. Setting to AGP3 x8 mode.
> agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
> agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
> [drm] Loading R300 Microcode


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2
  2006-03-07 17:25       ` 2.6.16-rc5-mm2 john stultz
@ 2006-03-08  1:13         ` Andi Kleen
  0 siblings, 0 replies; 40+ messages in thread
From: Andi Kleen @ 2006-03-08  1:13 UTC (permalink / raw)
  To: john stultz; +Cc: Dominik Karall, Andrew Morton, linux-kernel

On Tue, Mar 07, 2006 at 09:25:12AM -0800, john stultz wrote:
> On Tue, 2006-03-07 at 15:33 +0100, Dominik Karall wrote:
> > On Tuesday, 7. March 2006 06:43, Andrew Morton wrote:
> > > Dominik Karall <dominik.karall@gmx.net> wrote:
> > > > On Friday, 3. March 2006 13:56, Andrew Morton wrote:
> > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc
> > > > >5/2. 6.16-rc5-mm2/
> > > >
> > > > hi,
> > > > I don't know why, but it seems that the kernel doesn't use the correct
> > > > BIOS time. I set it to the 23:30 and after booting I got ~01:00 (next
> > > > day).
> > >
> > > Is that new behaviour?  What's the most recent -mm kernel which that
> > > machine ran?
> > >
> > > The full dmesg output might tell us something.
> > 
> > I bootet 2.6.16-rc5 now, but the bug is still present. I set BIOS time to 
> > 15:07 and after booting linux showed 17:35.
> 
> Interesting. Right off, I'm not sure where this would be coming from.
> >>From your dmesg it looks like this is running an x86-64 kernel, correct?
> Andi, do you have any ideas?

Normally the time is read again in the startup scripts of the distribution.
Sounds like he configured the wrong time zone. Usually distributions
can be configured to assume UTC real clock time or local time RTC.

You can test that theory by commenting out any calls to hwclock
in your boot scripts. 

But that behaviour should be the same in all kernels.

-Andi

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.16-rc5-mm2: IPW_QOS: two remarks
  2006-03-07 17:06     ` Adrian Bunk
@ 2006-03-17 19:14       ` John W. Linville
  2006-03-18 17:47         ` [PATCH 2.6.16-rc6 1/1] ipw2200: Add Kconfig entries for QOS and Monitor mode Andreas Happe
  0 siblings, 1 reply; 40+ messages in thread
From: John W. Linville @ 2006-03-17 19:14 UTC (permalink / raw)
  To: Andreas Happe, Adrian Bunk
  Cc: Andrew Morton, linux-kernel, jgarzik, netdev, zhu.yi

On Sun, Mar 05, 2006 at 01:46:26AM +0100, Andreas Happe wrote:

> Add the following config entries for the ipw2200 driver to 
> drivers/net/wireless/Kconfig
>  * IPW2200_MONITOR
> 	enables Monitor mode, as this seems to generate lots of firmware errors
> 	it depends upon BROKEN
>  * IPW2200_QOS
> 	enables QoS feature - this is under development right now, so it depends 
> 	upon EXPERIMENTAL.

Your patch appears to be whitespace-damaged.  Please configure your
mailer appropriately.

Also, please stick to the patch format described here:

	http://linux.yyz.us/patch-format.html

In particular, don't put anything in the message that doesn't belong
in the kernel's changelog, such as email-ish messages.

On Tue, Mar 07, 2006 at 06:06:42PM +0100, Adrian Bunk wrote:
> On Sun, Mar 05, 2006 at 01:46:26AM +0100, Andreas Happe wrote:
> > On Friday 03 March 2006 16:26, Adrian Bunk wrote:
> >...
> > > - please add a help text
> > 
> > i could add some stuff about WMM to its help text, but I think someone more 
> > involved with the ipw2200-project should do that.
> 
> Even a short help text is better than no help text.

I agree w/ Adrian.  Since you are touching it, please put something
appropriate in the Kconfig file.  Zhu Yi may be able to help if you
aren't sure what the help text should say.

Thanks!

John
-- 
John W. Linville
linville@tuxdriver.com

^ permalink raw reply	[flat|nested] 40+ messages in thread

* [PATCH 2.6.16-rc6 1/1] ipw2200: Add Kconfig entries for QOS and Monitor mode
  2006-03-17 19:14       ` John W. Linville
@ 2006-03-18 17:47         ` Andreas Happe
  2006-03-22  3:11           ` Zhu Yi
  0 siblings, 1 reply; 40+ messages in thread
From: Andreas Happe @ 2006-03-18 17:47 UTC (permalink / raw)
  To: Adrian Bunk, Andrew Morton, linux-kernel, jgarzik, netdev, zhu.yi

Adds Kconfig entries for enabling Monitor mode and Quality of service
to the ipw2200 driver. It also renames the IPW_QOS define to
IPW2200_QOS.

As Monitor mode generates lots of firmware errors it depends upon
BROKEN. QOS is under development, so it depends upon EXPERIMENTAL.

Signed-off-by: Andreas Happe <andreashappe@snikt.net>
diff -uNr linux-2.6.16-rc6-base/drivers/net/wireless/ipw2200.c linux-2.6.15/drivers/net/wireless/ipw2200.c
--- linux-2.6.16-rc6-base/drivers/net/wireless/ipw2200.c	2006-03-18 18:20:16.000000000 +0100
+++ linux-2.6.15/drivers/net/wireless/ipw2200.c	2006-03-18 18:24:08.000000000 +0100
@@ -60,7 +60,7 @@
 	'a', 'b', 'g', '?'
 };
 
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 static int qos_enable = 0;
 static int qos_burst_enable = 0;
 static int qos_no_ack_mask = 0;
@@ -124,7 +124,7 @@
 				       *qos_param);
 static int ipw_send_qos_info_command(struct ipw_priv *priv, struct ieee80211_qos_information_element
 				     *qos_param);
-#endif				/* CONFIG_IPW_QOS */
+#endif				/* CONFIG_IPW2200_QOS */
 
 static struct iw_statistics *ipw_get_wireless_stats(struct net_device *dev);
 static void ipw_remove_current_network(struct ipw_priv *priv);
@@ -4208,7 +4208,7 @@
 					queue_work(priv->workqueue,
 						   &priv->system_config);
 
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 #define IPW_GET_PACKET_STYPE(x) WLAN_FC_GET_STYPE( \
 			 le16_to_cpu(((struct ieee80211_hdr *)(x))->frame_ctl))
 					if ((priv->status & STATUS_AUTH) &&
@@ -6549,7 +6549,7 @@
 	return 0;
 }
 
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 
 /* QoS */
 /*
@@ -7031,7 +7031,7 @@
 	return ipw_send_cmd(priv, &cmd);
 }
 
-#endif				/* CONFIG_IPW_QOS */
+#endif				/* CONFIG_IPW2200_QOS */
 
 static int ipw_associate_network(struct ipw_priv *priv,
 				 struct ieee80211_network *network,
@@ -7193,7 +7193,7 @@
 
 	priv->assoc_network = network;
 
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 	ipw_qos_association(priv, network);
 #endif
 
@@ -8027,10 +8027,10 @@
 		IPW_DEBUG_INFO("Bind to static channel %d\n", channel);
 		/* TODO: Validate that provided channel is in range */
 	}
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 	ipw_qos_init(priv, qos_enable, qos_burst_enable,
 		     burst_duration_CCK, burst_duration_OFDM);
-#endif				/* CONFIG_IPW_QOS */
+#endif				/* CONFIG_IPW2200_QOS */
 
 	switch (mode) {
 	case 1:
@@ -9636,7 +9636,7 @@
 	    txb->fragments[0]->data;
 	int i = 0;
 	struct tfd_frame *tfd;
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 	int tx_id = ipw_get_tx_queue_number(priv, pri);
 	struct clx2_tx_queue *txq = &priv->txq[tx_id];
 #else
@@ -9749,9 +9749,9 @@
 		/* No hardware encryption */
 		tfd->u.data.tx_flags |= DCT_FLAG_NO_WEP;
 
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 	ipw_qos_set_tx_queue_command(priv, pri, &(tfd->u.data), unicast);
-#endif				/* CONFIG_IPW_QOS */
+#endif				/* CONFIG_IPW2200_QOS */
 
 	/* payload */
 	tfd->u.data.num_chunks = cpu_to_le32(min((u8) (NUM_TFD_CHUNKS - 2),
@@ -9828,12 +9828,12 @@
 static int ipw_net_is_queue_full(struct net_device *dev, int pri)
 {
 	struct ipw_priv *priv = ieee80211_priv(dev);
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 	int tx_id = ipw_get_tx_queue_number(priv, pri);
 	struct clx2_tx_queue *txq = &priv->txq[tx_id];
 #else
 	struct clx2_tx_queue *txq = &priv->txq[0];
-#endif				/* CONFIG_IPW_QOS */
+#endif				/* CONFIG_IPW2200_QOS */
 
 	if (ipw_queue_space(&txq->q) < txq->q.high_mark)
 		return 1;
@@ -10157,10 +10157,10 @@
 	INIT_WORK(&priv->merge_networks,
 		  (void (*)(void *))ipw_merge_adhoc_network, priv);
 
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 	INIT_WORK(&priv->qos_activate, (void (*)(void *))ipw_bg_qos_activate,
 		  priv);
-#endif				/* CONFIG_IPW_QOS */
+#endif				/* CONFIG_IPW2200_QOS */
 
 	tasklet_init(&priv->irq_tasklet, (void (*)(unsigned long))
 		     ipw_irq_tasklet, (unsigned long)priv);
@@ -10309,10 +10309,10 @@
 		if (ipw_send_rts_threshold(priv, priv->rts_threshold))
 			goto error;
 	}
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 	IPW_DEBUG_QOS("QoS: call ipw_qos_activate\n");
 	ipw_qos_activate(priv, NULL);
-#endif				/* CONFIG_IPW_QOS */
+#endif				/* CONFIG_IPW2200_QOS */
 
 	if (ipw_set_random_seed(priv))
 		goto error;
@@ -11023,11 +11023,11 @@
 	priv->ieee->set_security = shim__set_security;
 	priv->ieee->is_queue_full = ipw_net_is_queue_full;
 
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 	priv->ieee->handle_probe_response = ipw_handle_beacon;
 	priv->ieee->handle_beacon = ipw_handle_probe_response;
 	priv->ieee->handle_assoc_response = ipw_handle_assoc_response;
-#endif				/* CONFIG_IPW_QOS */
+#endif				/* CONFIG_IPW2200_QOS */
 
 	priv->ieee->perfect_rssi = -20;
 	priv->ieee->worst_rssi = -85;
@@ -11256,7 +11256,7 @@
 module_param(channel, int, 0444);
 MODULE_PARM_DESC(channel, "channel to limit associate to (default 0 [ANY])");
 
-#ifdef CONFIG_IPW_QOS
+#ifdef CONFIG_IPW2200_QOS
 module_param(qos_enable, int, 0444);
 MODULE_PARM_DESC(qos_enable, "enable all QoS functionalitis");
 
@@ -11271,7 +11271,7 @@
 
 module_param(burst_duration_OFDM, int, 0444);
 MODULE_PARM_DESC(burst_duration_OFDM, "set OFDM burst value");
-#endif				/* CONFIG_IPW_QOS */
+#endif				/* CONFIG_IPW2200_QOS */
 
 #ifdef CONFIG_IPW2200_MONITOR
 module_param(mode, int, 0444);
diff -uNr linux-2.6.16-rc6-base/drivers/net/wireless/Kconfig linux-2.6.15/drivers/net/wireless/Kconfig
--- linux-2.6.16-rc6-base/drivers/net/wireless/Kconfig	2006-03-18 18:20:16.000000000 +0100
+++ linux-2.6.15/drivers/net/wireless/Kconfig	2006-03-18 18:33:33.000000000 +0100
@@ -237,6 +237,26 @@
 	  If you are not trying to debug or develop the IPW2200 driver, you 
 	  most likely want to say N here.
 
+config IPW2200_MONITOR
+	bool "Enable promiscuous mode"
+	depends on IPW2200 && BROKEN
+	---help---
+	Enables promiscuous/monitor mode support for the ipw2200 driver.
+	
+	With this feature compiled into the driver, you can switch to.
+	promiscuous mode via the Wireless Tool's Monitor mode.  While in this
+	mode, no packets can be sent.
+	
+config IPW2200_QOS
+	bool "Enable QoS support"
+	depends on IPW2200 && EXPERIMENTAL
+	---help---
+	Enables QOS (Quality of Service) and WMM (Wireless MultiMedia) support
+	for the ipw2200 driver.
+	
+	Enable this option if you need shaping of data which is transmitted
+	over the wireless card (i.e. VoIP).
+	
 config AIRO
 	tristate "Cisco/Aironet 34X/35X/4500/4800 ISA and PCI cards"
 	depends on NET_RADIO && ISA_DMA_API && CRYPTO && (PCI || BROKEN)


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PATCH 2.6.16-rc6 1/1] ipw2200: Add Kconfig entries for QOS and Monitor mode
  2006-03-18 17:47         ` [PATCH 2.6.16-rc6 1/1] ipw2200: Add Kconfig entries for QOS and Monitor mode Andreas Happe
@ 2006-03-22  3:11           ` Zhu Yi
  0 siblings, 0 replies; 40+ messages in thread
From: Zhu Yi @ 2006-03-22  3:11 UTC (permalink / raw)
  To: Andreas Happe; +Cc: Adrian Bunk, Andrew Morton, linux-kernel, jgarzik, netdev

On Sat, 2006-03-18 at 18:47 +0100, Andreas Happe wrote:
> Adds Kconfig entries for enabling Monitor mode and Quality of service
> to the ipw2200 driver. It also renames the IPW_QOS define to
> IPW2200_QOS.
> 
> As Monitor mode generates lots of firmware errors it depends upon
> BROKEN. QOS is under development, so it depends upon EXPERIMENTAL.

Ack the rename and QoS description changes.

The IPW2200_MONITOR and monitor mode firmware error are already fixed in
wireless-2.6 GIT
http://kernel.org/git/?p=linux/kernel/git/linville/wireless-2.6.git;a=summary

Wireless related development happens there. I'd suggest you create
patches against that tree.

Thanks,
-yi


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [RFC: -mm patch] drivers/media/video/msp3400-kthreads.c: make 3 functions static
  2006-03-08  9:08 [RFC: -mm patch] drivers/media/video/msp3400-kthreads.c: make 3 functions static Adrian Bunk
@ 2006-03-08 18:46 ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 40+ messages in thread
From: Mauro Carvalho Chehab @ 2006-03-08 18:46 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Andrew Morton, linux-kernel, v4l-dvb-maintainer

Adrian,

Em Qua, 2006-03-08 às 10:08 +0100, Adrian Bunk escreveu:
> This patch makes three needlessly global functions static.

Thanks. Applied on both Mercurial and git trees. 

Cheers, 
Mauro.


^ permalink raw reply	[flat|nested] 40+ messages in thread

* [RFC: -mm patch] drivers/media/video/msp3400-kthreads.c: make 3 functions static
@ 2006-03-08  9:08 Adrian Bunk
  2006-03-08 18:46 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 40+ messages in thread
From: Adrian Bunk @ 2006-03-08  9:08 UTC (permalink / raw)
  To: Andrew Morton, mchehab; +Cc: linux-kernel, v4l-dvb-maintainer

This patch makes three needlessly global functions static.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 4 Mar 2006

 drivers/media/video/msp3400-kthreads.c |    6 +++---
 drivers/media/video/msp3400.h          |    1 -
 2 files changed, 3 insertions(+), 4 deletions(-)

--- linux-2.6.16-rc5-mm2-full/drivers/media/video/msp3400.h.old	2006-03-03 17:40:22.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/drivers/media/video/msp3400.h	2006-03-03 17:40:41.000000000 +0100
@@ -104,7 +104,6 @@
 
 /* msp3400-kthreads.c */
 const char *msp_standard_std_name(int std);
-void msp_set_source(struct i2c_client *client, u16 src);
 void msp_set_audmode(struct i2c_client *client);
 void msp_detect_stereo(struct i2c_client *client);
 int msp3400c_thread(void *data);
--- linux-2.6.16-rc5-mm2-full/drivers/media/video/msp3400-kthreads.c.old	2006-03-03 17:39:29.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/drivers/media/video/msp3400-kthreads.c	2006-03-03 17:40:10.000000000 +0100
@@ -154,7 +154,7 @@
 	return "unknown";
 }
 
-void msp_set_source(struct i2c_client *client, u16 src)
+static void msp_set_source(struct i2c_client *client, u16 src)
 {
 	struct msp_state *state = i2c_get_clientdata(client);
 
@@ -217,7 +217,7 @@
 
 /* Set audio mode. Note that the pre-'G' models do not support BTSC+SAP,
    nor do they support stereo BTSC. */
-void msp3400c_set_audmode(struct i2c_client *client)
+static void msp3400c_set_audmode(struct i2c_client *client)
 {
 	static char *strmode[] = { "mono", "stereo", "lang2", "lang1" };
 	struct msp_state *state = i2c_get_clientdata(client);
@@ -944,7 +944,7 @@
 		status, is_stereo, is_bilingual, state->rxsubchans);
 }
 
-void msp34xxg_set_audmode(struct i2c_client *client)
+static void msp34xxg_set_audmode(struct i2c_client *client)
 {
 	struct msp_state *state = i2c_get_clientdata(client);
 	int source;


^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2006-03-22  3:20 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-03 12:56 2.6.16-rc5-mm2 Andrew Morton
2006-03-03 15:26 ` 2.6.16-rc5-mm2: IPW_QOS: two remarks Adrian Bunk
2006-03-05  0:46   ` Andreas Happe
2006-03-07 17:06     ` Adrian Bunk
2006-03-17 19:14       ` John W. Linville
2006-03-18 17:47         ` [PATCH 2.6.16-rc6 1/1] ipw2200: Add Kconfig entries for QOS and Monitor mode Andreas Happe
2006-03-22  3:11           ` Zhu Yi
2006-03-03 16:08 ` 2.6.16-rc5-mm2 (mips compile fix) Jason Baron
2006-03-03 17:08 ` 2.6.16-rc5-mm2 Benoit Boissinot
2006-03-04  1:34 ` 2.6.16-rc5-mm2 Grant Coady
2006-03-05  6:26   ` 2.6.16-rc5-mm2 Andrew Morton
2006-03-05  7:24     ` 2.6.16-rc5-mm2 Mike Galbraith
2006-03-06 11:35     ` 2.6.16-rc5-mm2 Takashi Iwai
2006-03-05 12:34   ` 2.6.16-rc5-mm2 Antonino A. Daplas
2006-03-04 12:14 ` [-mm patch] drivers/acpi/bus.c: make struct acpi_sci_dir static Adrian Bunk
2006-03-04 12:14 ` [RFC: -mm patch] drivers/media/video/msp3400-kthreads.c: make 3 functions static Adrian Bunk
2006-03-04 12:14 ` [RFC: -mm patch] drivers/message/fusion/mptbase.c: make mpt_read_ioc_pg_3() static Adrian Bunk
2006-03-04 12:14 ` [-mm patch] kernel/futex.c: make futexfs_get_sb() static again Adrian Bunk
2006-03-04 12:14 ` [-mm patch] mm/bootmem.c: make bdata_list static Adrian Bunk
2006-03-04 12:14 ` [-mm patch] NFS: make 2 functions static Adrian Bunk
2006-03-04 12:14 ` [RFC: -mm patch] fs/locks.c: make posix_locks_deadlock() static Adrian Bunk
2006-03-04 17:29 ` 2.6.16-rc5-mm2 Mattia Dongili
2006-03-05  6:28   ` 2.6.16-rc5-mm2 Andrew Morton
2006-03-05  8:14 ` 2.6.16-rc5-mm2 Benoit Boissinot
2006-03-05  8:34   ` 2.6.16-rc5-mm2 Andrew Morton
2006-03-05 11:42     ` 2.6.16-rc5-mm2 Stefan Rompf
2006-03-06 15:22       ` 2.6.16-rc5-mm2 James Ketrenos
2006-03-05 22:54 ` 2.6.16-rc5-mm2 Dominik Karall
2006-03-07  5:43   ` 2.6.16-rc5-mm2 Andrew Morton
2006-03-07 14:33     ` 2.6.16-rc5-mm2 Dominik Karall
2006-03-07 17:25       ` 2.6.16-rc5-mm2 john stultz
2006-03-08  1:13         ` 2.6.16-rc5-mm2 Andi Kleen
2006-03-07 10:43   ` 2.6.16-rc5-mm2 David Howells
2006-03-06  8:45 ` 2.6.16-rc5-mm2 Cornelia Huck
2006-03-06  9:10 ` 2.6.16-rc5-mm2 compile error in urb.c Helge Hafting
2006-03-06  9:21   ` Andrew Morton
2006-03-06 12:17     ` Helge Hafting
2006-03-06 14:44 ` [-mm patch] kernel/futex.c: make futexfs_get_sb() static again David Howells
2006-03-08  9:08 [RFC: -mm patch] drivers/media/video/msp3400-kthreads.c: make 3 functions static Adrian Bunk
2006-03-08 18:46 ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).