* 2.6.13-rc6-mm2
@ 2005-08-23 4:30 Andrew Morton
2005-08-23 8:57 ` 2.6.13-rc6-mm2 Grant.Coady
` (7 more replies)
0 siblings, 8 replies; 16+ messages in thread
From: Andrew Morton @ 2005-08-23 4:30 UTC (permalink / raw)
To: linux-kernel
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc6/2.6.13-rc6-mm2/
- Various updates. Nothing terribly noteworthy.
- This kernel still spits a bunch of scheduling-while-atomic warnings from
the scsi code. Please ignore.
Changes since 2.6.13-rc6-mm1:
linus.patch
git-acpi.patch
git-alsa.patch
git-arm.patch
git-cpufreq.patch
git-cryptodev.patch
git-drm.patch
git-ia64.patch
git-audit.patch
git-input.patch
git-kbuild.patch
git-libata-all.patch
git-mmc.patch
git-mtd.patch
git-netdev-all.patch
git-net.patch
git-ocfs2.patch
git-serial.patch
git-scsi-block.patch
git-scsi-iscsi.patch
git-scsi-iscsi-vs-git-net.patch
git-scsi-misc.patch
git-ucb.patch
git-watchdog.patch
Subsystem trees
-mobil-pentium-4-ht-and-the-nmi.patch
-sis190-must-select-mii.patch
-pci-pm-support-pm-cap-version-3.patch
-e1000-printk-warning-fix-2.patch
-r8169-pci-id-for-the-linksys-eg1032.patch
-driver-for-ibm-automatic-server-restart-watchdog.patch
-driver-for-ibm-automatic-server-restart-watchdog-fix.patch
Merged
+preempt-race-in-getppid.patch
getppid() fix
+md-make-sure-resync-gets-started-when-array-starts.patch
+gregkh-usb-usb-zd1201-kmalloc-size-fix.patch
+export-machine_power_off-on-ppc64.patch
+usbnet-oops-fix.patch
+x86_64-dont-oops-at-boot-when-empty-opteron-node-has-io.patch
Fixes for 2.6.13.
+git-acpi-ia64-fix-2.patch
Make git-acpi.patch compile (but not necessarily work) on ia64
+gregkh-driver-driver-kfree-check-cleanup.patch
+gregkh-driver-sysfs-write-ENOBUFS.patch
+gregkh-driver-klist-fix-semantics.patch
driver tree additions
+driver-core-fix-bus_rescan_devices-race.patch
Fix race in bus_rescan_devices()
+git-drm-drm_agpsupport-warning-fix.patch
Fix warning in git-drm.patch
+gregkh-i2c-w1-10-crc16.patch
+gregkh-i2c-w1-11.patch
+gregkh-i2c-w1-12.patch
i2c tree updates
+ia64-cpuset-build_sched_domains-mangles-structures.patch
Fix sched domains on ia64 only.
+sata_sisc-introducing-device-id-0x182.patch
New stat device ID (not for merging - just for keeping track of the
shortcoming (but it probably works OK)).
-git-net-fixups.patch
No longer needed
+negative-timer-loop-with-lots-of-ipv4-peers.patch
Fix an ipv4 problem with tons of connections.
+ocfs2-prep.patch
Revert earlier patches so that the ocfs2 patch applies without fuss. Don't
ask.
+gregkh-pci-pci-pm-support-pm-cap-version-3.patch
+gregkh-pci-pci-pci_walk_bus.patch
+gregkh-pci-pci-fix-hotplug-vars.patch
PCI tree updates
+git-scsi-misc-ibmvscsi-fix.patch
+git-scsi-misc-ibmvscsi-fix-fix.patch
Fix stuff in git-scsi-misc.patch
+gregkh-usb-usb-yealink-update.patch
+gregkh-usb-usb-storage-onetouch-cleanups.patch
USB tree updates
+git-ucb.patch
New arm-related tree from rmk.
+sparsemem-extreme-hotplug-preparation-fix.patch
Fix sparsemem-extreme-hotplug-preparation.patch
+slab-removes-local_irq_save-local_irq_restore-pair.patch
slab cleanup/speedup
+ppc32-fix-emac-tx-channel-assignments-for-npe405h.patch
+ppc32-fix-bamboo-and-luan-build-warnings.patch
ppc32 updates
+mips-add-default-select-configs-for-vr41xx-fix.patch
Fix mips-add-default-select-configs-for-vr41xx.patch
+mips-add-pcibios_select_root.patch
+mips-add-pcibios_bus_to_resource.patch
+mips-add-more-sys_support__kernel-and.patch
MIPS updates
+i386-fix-incorrect-fp-signal-delivery.patch
Fix x86 FP problem
+x86_64-fix-numa-node-sizing-in-nr_free_zone_pages.patch
Might fix the x86_64 failure to calcluate the correct amount of system
memory.
+swsusp-fix-error-handling-and-cleanups.patch
swsusp fix
-fix-handling-in-parport_pc-init-code.patch
Was wrong.
+arm26-one-g-is-enough-for-everyone.patch
ARM build cleanup
+largefile-support-for-accounting.patch
BSD accounting files can be big.
+fs-remove-redundant-timespec_equal-test-in-update_atime.patch
Clean up update_atime()
+remove-a-redundant-variable-in-sys_prctl.patch
+remove-filef_maxcount.patch
+remove-the-second-arg-of-do_timer_interrupt.patch
Cleanups
+fix-cramfs-making-duplicate-entries-in-inode-cache.patch
+fix-cramfs-making-duplicate-entries-in-inode-cache-tidy.patch
cramfs fix
+race-condition-with-drivers-char-vtc-bug-in-vt_ioctlc.patch
Fix vt race
+fix-send_sigqueue-vs-thread-exit-race.patch
Fix signal handling race.
+adapt-scripts-ver_linux-to-new-util-linux-version-strings.patch
ver_linux fix
+dmi-add-onboard-devices-discovery-fix.patch
Fix dmi-add-onboard-devices-discovery.patch
+dvb-clarify-description-text-for-dvb-bt8xx-in-kconfig-fix.patch
Update dvb-clarify-description-text-for-dvb-bt8xx-in-kconfig.patch
+yenta-auto-tune-ene-bridges-for-cb-cards.patch
Yenta fix for weird bridge types
+ingo-nfs-stuff-fix.patch
Fix ingo-nfs-stuff.patch
+nmi-lockup-and-altsysrq-p-dumping-calltraces-on-_all_-cpus-warning-fix.patch
Fix nmi-lockup-and-altsysrq-p-dumping-calltraces-on-_all_-cpus.patch
+sysfs-crash-debugging-fix.patch
Fix sysfs-crash-debugging.patch
+fbdev-resurrect-hooks-to-get-edid-from-firmware.patch
+fbdev-resurrect-hooks-to-get-edid-from-firmware-fix.patch
+savagefb-driver-updates.patch
+nvidiafb-fallback-to-firmware-edid.patch
+fbdev-fix-greater-than-1-bit-monochrome-color-handling.patch
+fbcon-saner-16-color-to-4-color-conversion.patch
+console-fix-buffer-copy-on-vc-resize.patch
+atyfb-remove-code-that-sets-sync-polarity-unconditionally.patch
+radeonfb_old-fix-broken-link.patch
fbdev updates
+md-support-md-linear-array-with-components-greater-than-2-terabytes.patch
+md-raid1_quiesce-is-back-to-front-fix-it.patch
+md-make-sure-bitmap_daemon_work-actually-does-work.patch
+md-do-not-set-mddev-bitmap-until-bitmap-is-fully-initialised.patch
+md-allow-hot-adding-devices-to-arrays-with-non-persistant-superblocks.patch
+md-allow-md-to-load-a-superblock-with-feature-bit-1-set.patch
+md-fix-bitmap-read_sb_page-so-that-it-handles-errors-properly.patch
RAID updates
+documentation-how-to-apply-patches-for-various-tree-fix.patch
Update documentation-how-to-apply-patches-for-various-trees.patch
+docs-fix-misinformation-about.patch
+update-kfree-vfree-and-vunmap-kerneldoc.patch
+suspend-update-warnings-in-documentation.patch
More documentation updates
+fbdev-update-framebuffer-feature-list.patch
Update post-halloween-doc.patch for fbdev
+drivers-cdrom-fix-up-schedule_timeout-usage-fix.patch
Fix drivers-cdrom-fix-up-schedule_timeout-usage.patch
All 1009 patches:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc6/2.6.13-rc6-mm2/patch-list
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: 2.6.13-rc6-mm2 2005-08-23 4:30 2.6.13-rc6-mm2 Andrew Morton @ 2005-08-23 8:57 ` Grant.Coady 2005-09-01 7:03 ` 2.6.13-rc6-mm2 Jean Delvare 2005-08-23 11:32 ` 2.6.13-rc6-mm2 Reuben Farrelly ` (6 subsequent siblings) 7 siblings, 1 reply; 16+ messages in thread From: Grant.Coady @ 2005-08-23 8:57 UTC (permalink / raw) To: Andrew Morton; +Cc: linux-kernel On Mon, 22 Aug 2005 21:30:21 -0700, Andrew Morton <akpm@osdl.org> wrote: > >ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc6/2.6.13-rc6-mm2/ > >- Various updates. Nothing terribly noteworthy. adm9240 i2c still broken, spamming debug with: Aug 23 18:48:40 peetoo kernel: [ 1591.151460] i2c_adapter i2c-0: Transaction (post): CNT=08, CMD=2c, ADD=5a, DAT0=00, DAT1=00 Aug 23 18:48:40 peetoo kernel: [ 1591.151834] i2c_adapter i2c-0: Transaction (pre): CNT=08, CMD=2c, ADD=5a, DAT0=00, DAT1=00 Aug 23 18:48:40 peetoo kernel: [ 1591.170515] i2c_adapter i2c-0: Transaction (post): CNT=08, CMD=2c, ADD=5a, DAT0=00, DAT1=00 Aug 23 18:48:40 peetoo kernel: [ 1591.170881] i2c_adapter i2c-0: Transaction (pre): CNT=08, CMD=2c, ADD=5a, DAT0=00, DAT1=00 Aug 23 18:48:40 peetoo kernel: [ 1591.189837] i2c_adapter i2c-0: Transaction (post): CNT=08, CMD=2c, ADD=5a, DAT0=00, DAT1=00 Aug 23 18:48:40 peetoo kernel: [ 1591.190217] i2c_adapter i2c-0: Transaction (pre): CNT=08, CMD=2c, ADD=5a, DAT0=00, DAT1=00 Aug 23 18:48:40 peetoo kernel: [ 1591.208927] i2c_adapter i2c-0: Transaction (post): CNT=08, CMD=2c, ADD=5a, DAT0=00, DAT1=00 Aug 23 18:48:40 peetoo kernel: [ 1591.209296] i2c_adapter i2c-0: Transaction (pre): CNT=08, CMD=2c, ADD=5a, DAT0=00, DAT1=00 As soon as write sysfs. Dunno where to start, this is from adm9240 driver that works in 2.6.13-rc6-git12 but not -mm1 or -mm2, terminal lost, but able to log in on another terminal. -mm2 was okay until I wrote to sysfs. With -mm1 it failed on reading the sysfs area as well, so there's a little progress. top: top - 18:52:07 up 29 min, 2 users, load average: 0.99, 0.62, 0.26 Tasks: 50 total, 3 running, 47 sleeping, 0 stopped, 0 zombie Cpu(s): 0.3% us, 0.0% sy, 0.0% ni, 99.7% id, 0.0% wa, 0.0% hi, 0.0% si Mem: 515360k total, 146504k used, 368856k free, 15932k buffers Swap: 514000k total, 0k used, 514000k free, 109296k cached Grant. ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: 2.6.13-rc6-mm2 2005-08-23 8:57 ` 2.6.13-rc6-mm2 Grant.Coady @ 2005-09-01 7:03 ` Jean Delvare 2005-09-01 21:21 ` 2.6.13-rc6-mm2 Grant.Coady 0 siblings, 1 reply; 16+ messages in thread From: Jean Delvare @ 2005-09-01 7:03 UTC (permalink / raw) To: Grant.Coady; +Cc: Andrew Morton, LKML Hi Grant, > adm9240 i2c still broken, spamming debug with: > (...) > Aug 23 18:48:40 peetoo kernel: [ 1591.151834] i2c_adapter i2c-0: Transaction (pre): CNT=08, CMD=2c, ADD=5a, DAT0=00, DAT1=00 > Aug 23 18:48:40 peetoo kernel: [ 1591.170515] i2c_adapter i2c-0: Transaction (post): CNT=08, CMD=2c, ADD=5a, DAT0=00, DAT1=00 > (...) > As soon as write sysfs. This is not the adm9240 driver writing this, but the smbus driver for the SMBus chip your ADM9240 chip is connected to. Which driver is it for you? lsmod should tell (if not, modprobe i2c-dev && i2cdetect -l should.) I suspect that you simply have CONFIG_I2C_DEBUG_BUS enabled. Please check your .config. -- Jean Delvare ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: 2.6.13-rc6-mm2 2005-09-01 7:03 ` 2.6.13-rc6-mm2 Jean Delvare @ 2005-09-01 21:21 ` Grant.Coady 0 siblings, 0 replies; 16+ messages in thread From: Grant.Coady @ 2005-09-01 21:21 UTC (permalink / raw) To: Jean Delvare; +Cc: Grant.Coady, Andrew Morton, LKML On Thu, 1 Sep 2005 09:03:38 +0200, Jean Delvare <khali@linux-fr.org> wrote: Hi Jean, >Hi Grant, > >> adm9240 i2c still broken, spamming debug with: >> (...) >> Aug 23 18:48:40 peetoo kernel: [ 1591.151834] i2c_adapter i2c-0: Transaction (pre): CNT=08, CMD=2c, ADD=5a, DAT0=00, DAT1=00 >> Aug 23 18:48:40 peetoo kernel: [ 1591.170515] i2c_adapter i2c-0: Transaction (post): CNT=08, CMD=2c, ADD=5a, DAT0=00, DAT1=00 >> (...) >> As soon as write sysfs. > >This is not the adm9240 driver writing this, but the smbus driver for >the SMBus chip your ADM9240 chip is connected to. Which driver is it for >you? lsmod should tell (if not, modprobe i2c-dev && i2cdetect -l >should.) root@peetoo:/var/log# modprobe adm9240 root@peetoo:/var/log# sensors adm9240-i2c-0-2d Adapter: SMBus PIIX4 adapter at 7000 2.5V: +1.51 V (min = +0.00 V, max = +3.32 V) -5V: -5.08 V (min = -11.66 V, max = -0.01 V) 3.3V: +3.37 V (min = +0.00 V, max = +4.38 V) 5V: +5.18 V (min = +0.00 V, max = +6.64 V) 12V: +12.31 V (min = +0.00 V, max = +15.94 V) -12V: -11.69 V (min = -28.33 V, max = -5.14 V) PS Fan: 0 RPM (min = 0 RPM, div = 2) Temp: +32.0°C (high = +127°C, hyst = +127°C) vid: +2.00 V alarms: Chassis intrusion detection ALARM root@peetoo:/sys/bus/i2c/devices/0-002d# echo -e "1\c" > chassis_clear root@peetoo:/sys/bus/i2c/devices/0-002d# echo -e "1" > chassis_clear <terminal lockup> It seems now to be Jon Smirl's stomping sysfs, sorry for noise. Cheers, Grant. ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: 2.6.13-rc6-mm2 2005-08-23 4:30 2.6.13-rc6-mm2 Andrew Morton 2005-08-23 8:57 ` 2.6.13-rc6-mm2 Grant.Coady @ 2005-08-23 11:32 ` Reuben Farrelly 2005-08-23 12:51 ` 2.6.13-rc6-mm2 (hangs on non-SMP x86-64 and oopses) Rafael J. Wysocki ` (5 subsequent siblings) 7 siblings, 0 replies; 16+ messages in thread From: Reuben Farrelly @ 2005-08-23 11:32 UTC (permalink / raw) To: Andrew Morton; +Cc: linux-kernel Hi, On 23/08/2005 4:30 p.m., Andrew Morton wrote: > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc6/2.6.13-rc6-mm2/ > > - Various updates. Nothing terribly noteworthy. Yup, seems to be generally good... Noticed this in the log earlier tonight: Aug 23 19:44:51 tornado kernel: hub 5-0:1.0: port 1 disabled by hub (EMI?), re-enabling... Aug 23 19:44:51 tornado kernel: usb 5-1: USB disconnect, address 2 Aug 23 19:44:51 tornado kernel: drivers/usb/class/usblp.c: usblp0: removed Aug 23 19:44:51 tornado kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000004 Aug 23 19:44:51 tornado kernel: printing eip: Aug 23 19:44:51 tornado kernel: c01ccef2 Aug 23 19:44:51 tornado kernel: *pde = 00000000 Aug 23 19:44:51 tornado kernel: Oops: 0000 [#1] Aug 23 19:44:51 tornado kernel: SMP Aug 23 19:44:51 tornado kernel: last sysfs file: /devices/pci0000:00/0000:00:1f.3/i2c-0/name Aug 23 19:44:51 tornado kernel: Modules linked in: nfsd exportfs lockd eeprom sunrpc ipv6 iptable_filter binfmt_misc reiser4 zlib_de flate zlib_inflate dm_mod video thermal processor fan button ac tpm_nsc i2c_i801 sky2 e100 sr_mod Aug 23 19:44:51 tornado kernel: CPU: 1 Aug 23 19:44:51 tornado kernel: EIP: 0060:[<c01ccef2>] Not tainted VLI Aug 23 19:44:51 tornado kernel: EFLAGS: 00010286 (2.6.13-rc6-mm2) Aug 23 19:44:51 tornado kernel: EIP is at _raw_spin_lock+0x7/0x73 Aug 23 19:44:51 tornado kernel: eax: 00000000 ebx: 00000000 ecx: c1a60658 edx: c1a63e24 Aug 23 19:44:51 tornado kernel: esi: 00000000 edi: c0382400 ebp: f7c55e98 esp: f7c55e90 Aug 23 19:44:51 tornado kernel: ds: 007b es: 007b ss: 0068 Aug 23 19:44:51 tornado kernel: Process khubd (pid: 109, threadinfo=f7c54000 task=c192b030) Aug 23 19:44:51 tornado kernel: Stack: f7c58a8c 00000000 f7c55ea0 c0312219 f7c55eb0 c030feb7 f7c58ae8 f7c58a48 Aug 23 19:44:51 tornado kernel: f7c55ec4 c0217e73 f7c58a48 f7d134ec 00000040 f7c55ed0 c0217ec0 f7c58a48 Aug 23 19:44:51 tornado kernel: f7c55edc c0217814 f7c58a48 f7c55eec c0216ad2 f7c58a48 f7c58a14 f7c55ef8 Aug 23 19:44:51 tornado kernel: Call Trace: Aug 23 19:44:51 tornado kernel: [<c01039c3>] show_stack+0x94/0xca Aug 23 19:44:51 tornado kernel: [<c0103b6c>] show_registers+0x15a/0x1ea Aug 23 19:44:51 tornado kernel: [<c0103d8a>] die+0x108/0x183 Aug 23 19:44:51 tornado kernel: [<c031295a>] do_page_fault+0x1ea/0x63d Aug 23 19:44:51 tornado kernel: [<c0103693>] error_code+0x4f/0x54 Aug 23 19:44:51 tornado kernel: [<c0312219>] _spin_lock+0x8/0xa Aug 23 19:44:51 tornado kernel: [<c030feb7>] klist_remove+0x10/0x2c Aug 23 19:44:51 tornado kernel: [<c0217e73>] __device_release_driver+0x41/0x65 Aug 23 19:44:51 tornado kernel: [<c0217ec0>] device_release_driver+0x29/0x39 Aug 23 19:44:51 tornado kernel: [<c0217814>] bus_remove_device+0x52/0x60 Aug 23 19:44:51 tornado kernel: [<c0216ad2>] device_del+0x2e/0x5d Aug 23 19:44:51 tornado kernel: [<c0216b0c>] device_unregister+0xb/0x15 Aug 23 19:44:51 tornado kernel: [<c0275d67>] usb_disconnect+0x115/0x15c Aug 23 19:44:51 tornado kernel: [<c0276b85>] hub_port_connect_change+0x54/0x399 Aug 23 19:44:51 tornado kernel: [<c027713e>] hub_events+0x274/0x3b2 Aug 23 19:44:51 tornado kernel: [<c0277296>] hub_thread+0x1a/0xdf Aug 23 19:44:51 tornado kernel: [<c012fba7>] kthread+0x99/0x9d Aug 23 19:44:51 tornado kernel: [<c01010b5>] kernel_thread_helper+0x5/0xb Aug 23 19:44:51 tornado kernel: Code: 00 00 00 8b 0d a8 62 36 c0 e9 61 ff ff ff f3 90 31 c0 86 07 84 c0 0f 8e 79 ff ff ff 83 c4 18 5 b 5e 5f 5d c3 55 89 e5 56 53 89 c3 <81> 78 04 ad 4e ad de 75 2d be 00 e0 ff ff 21 e6 8b 06 39 43 0c reuben ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: 2.6.13-rc6-mm2 (hangs on non-SMP x86-64 and oopses) 2005-08-23 4:30 2.6.13-rc6-mm2 Andrew Morton 2005-08-23 8:57 ` 2.6.13-rc6-mm2 Grant.Coady 2005-08-23 11:32 ` 2.6.13-rc6-mm2 Reuben Farrelly @ 2005-08-23 12:51 ` Rafael J. Wysocki 2005-08-23 13:07 ` Ralf Baechle 2005-08-23 17:03 ` 2.6.13-rc6-mm2 - fs/xfs/xfs*.c warnings Damir Perisa ` (4 subsequent siblings) 7 siblings, 1 reply; 16+ messages in thread From: Rafael J. Wysocki @ 2005-08-23 12:51 UTC (permalink / raw) To: Andrew Morton; +Cc: linux-kernel, Ralf Baechle, Greg KH On Tuesday, 23 of August 2005 06:30, Andrew Morton wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc6/2.6.13-rc6-mm2/ > > - Various updates. Nothing terribly noteworthy. It hangs solig during boot (after starting kjournald) on Asus L5D (non-SMP x86-64), which is caused by this patch: 8250-serial-console-locking-bug-spelling-fix.patch (from binary search). If this patch is reverted, it oopses like in the following trace. At the same time it works fine on an SMP box (dual-core Athlon 64). Greetings, Rafael ACPI: PCI Interrupt Link [LUS2] enabled at IRQ 5 PCI: setting IRQ 5 as level-triggered ACPI: PCI Interrupt 0000:00:02.2[C] -> Link [LUS2] -> GSI 5 (level, low) -> IRQ 5 PCI: Setting latency timer of device 0000:00:02.2 to 64 ehci_hcd 0000:00:02.2: EHCI Host Controller ehci_hcd 0000:00:02.2: debug port 1 ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 3 ehci_hcd 0000:00:02.2: irq 5, io mem 0xfebfdc00 PCI: cache line size of 64 is not supported by device 0000:00:02.2 ehci_hcd 0000:00:02.2: park 0 ehci_hcd 0000:00:02.2: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004 hub 3-0:1.0: USB hub found usb 2-2: string descriptor 0 read error: -110 hub 3-0:1.0: 6 ports detected usb 2-2: string descriptor 0 read error: -110 usb 2-2: can't set config #1, error -110 Unable to handle kernel NULL pointer dereference at 0000000000000004 RIP: <ffffffff8024373b>{_raw_spin_lock+27} PGD 2ca73067 PUD 2ca46067 PMD 0 Oops: 0000 [1] PREEMPT CPU 0 Modules linked in: ehci_hcd ohci_hcd sk98lin evdev joydev sg st sr_mod sd_mod scsi_mod ide_cd cdrom dm_mod parport_pc lp parport Pid: 108, comm: khubd Not tainted 2.6.13-rc6-mm2 RIP: 0010:[<ffffffff8024373b>] <ffffffff8024373b>{_raw_spin_lock+27} RSP: 0000:ffff81002fc7dcc8 EFLAGS: 00010282 RAX: ffff810001ce20d0 RBX: 0000000000000000 RCX: ffff81002d586530 RDX: 0000000000000000 RSI: ffff81002d586540 RDI: 0000000000000000 RBP: ffff81002fc7dce8 R08: 0000000000000000 R09: ffff81002d586410 R10: 00000000ffffffff R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff803f06a0 R14: ffff81002d5557f8 R15: 0000000000000002 FS: 00002aaaab28fe80(0000) GS:ffffffff804f8840(0000) knlGS:0000000000000000 CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b CR2: 0000000000000004 CR3: 000000002ca61000 CR4: 00000000000006e0 Process khubd (pid: 108, threadinfo ffff81002fc7c000, task ffff810001ce20d0) Stack: 0000000000000000 0000000000000000 ffffffff803f06a0 ffff81002d5557f8 ffff81002fc7dd08 ffffffff8035612e ffff81002d555918 ffff81002d555870 ffff81002fc7dd28 ffffffff80353b2f Call Trace:<ffffffff8035612e>{_spin_lock+30} <ffffffff80353b2f>{klist_remove+31} <ffffffff802ad11d>{__device_release_driver+93} <ffffffff802ad254>{device_release_driver+52} <ffffffff802ac994>{bus_remove_device+180} <ffffffff802ab7f8>{device_del+56} <ffffffff802d657f>{usb_new_device+495} <ffffffff802d7419>{hub_thread+1961} <ffffffff80354b6f>{thread_return+187} <ffffffff8014a710>{autoremove_wake_function+0} <ffffffff8014a710>{autoremove_wake_function+0} <ffffffff802d6c70>{hub_thread+0} <ffffffff8014a583>{kthread+211} <ffffffff8010f5e6>{child_rip+8} <ffffffff8014a4b0>{kthread+0} <ffffffff8010f5de>{child_rip+0} BUG: spinlock trylock failure on UP on CPU#0, khubd/108 lock: ffffffff803bf020, .magic: dead4ead, .owner: khubd/108, .owner_cpu: 0 Call Trace:<ffffffff802439f9>{add_preempt_count+105} <ffffffff80243623>{spin_bug+211} <ffffffff8011004b>{show_trace+571} <ffffffff8024370e>{_raw_spin_trylock+62} <ffffffff80355e4e>{_spin_trylock+30} <ffffffff8010fc81>{oops_begin+17} <ffffffff8035702a>{do_page_fault+1722} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff80355fa4>{_spin_unlock_irq+20} <ffffffff80354b6f>{thread_return+187} <ffffffff8010f431>{error_exit+0} <ffffffff8024373b>{_raw_spin_lock+27} <ffffffff802439f9>{add_preempt_count+105} <ffffffff8035612e>{_spin_lock+30} <ffffffff80353b2f>{klist_remove+31} <ffffffff802ad11d>{__device_release_driver+93} <ffffffff802ad254>{device_release_driver+52} <ffffffff802ac994>{bus_remove_device+180} <ffffffff802ab7f8>{device_del+56} <ffffffff802d657f>{usb_new_device+495} <ffffffff802d7419>{hub_thread+1961} <ffffffff80354b6f>{thread_return+187} <ffffffff8014a710>{autoremove_wake_function+0} <ffffffff8014a710>{autoremove_wake_function+0} <ffffffff802d6c70>{hub_thread+0} <ffffffff8014a583>{kthread+211} <ffffffff8010f5e6>{child_rip+8} <ffffffff8014a4b0>{kthread+0} <ffffffff8010f5de>{child_rip+0} --------------------------- | preempt count: 00000003 ] | 3 level deep critical section nesting: ---------------------------------------- .. [<ffffffff80356126>] .... _spin_lock+0x16/0x30 .....[<ffffffff80353b2f>] .. ( <= klist_remove+0x1f/0x50) .. [<ffffffff80355e46>] .... _spin_trylock+0x16/0x60 .....[<ffffffff8010fc81>] .. ( <= oops_begin+0x11/0x60) .. [<ffffffff80355e46>] .... _spin_trylock+0x16/0x60 .....[<ffffffff8010fc81>] .. ( <= oops_begin+0x11/0x60) Unable to handle kernel NULL pointer dereference at 0000000000000008 RIP: <ffffffff8011004b>{show_trace+571} PGD 2ca73067 PUD 2ca46067 PMD 0 Oops: 0000 [2] PREEMPT CPU 0 Modules linked in: ehci_hcd ohci_hcd sk98lin evdev joydev sg st sr_mod sd_mod scsi_mod ide_cd cdrom dm_mod parport_pc lp parport Pid: 108, comm: khubd Not tainted 2.6.13-rc6-mm2 RIP: 0010:[<ffffffff8011004b>] <ffffffff8011004b>{show_trace+571} RSP: 0000:ffff81002fc7da08 EFLAGS: 00010096 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000096 RDI: 0000000000000001 RBP: ffff81002fc7da48 R08: 0000000000000000 R09: ffff81002d558c50 R10: 00000000ffffffff R11: 0000000000000000 R12: ffff81002fc7e000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff80469fc0 FS: 00002aaaab28fe80(0000) GS:ffffffff804f8840(0000) knlGS:0000000000000000 CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b CR2: 0000000000000008 CR3: 000000002ca61000 CR4: 00000000000006e0 Process khubd (pid: 108, threadinfo ffff81002fc7c000, task ffff810001ce20d0) Stack: 0000000000000000 0000000000000096 000000002fc7da48 ffff81002fc7dd18 000000000000000a ffffffff80469fc0 ffffffff80465fc0 0000000000000000 ffff81002fc7da88 ffffffff80110168 Call Trace:<ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff80355fa4>{_spin_unlock_irq+20} <ffffffff80354b6f>{thread_return+187} <ffffffff8010f431>{error_exit+0} <ffffffff8024373b>{_raw_spin_lock+27} <ffffffff802439f9>{add_preempt_count+105} <ffffffff8035612e>{_spin_lock+30} <ffffffff80353b2f>{klist_remove+31} <ffffffff802ad11d>{__device_release_driver+93} <ffffffff802ad254>{device_release_driver+52} <ffffffff802ac994>{bus_remove_device+180} <ffffffff802ab7f8>{device_del+56} <ffffffff802d657f>{usb_new_device+495} <ffffffff802d7419>{hub_thread+1961} <ffffffff80354b6f>{thread_return+187} <ffffffff8014a710>{autoremove_wake_function+0} <ffffffff8014a710>{autoremove_wake_function+0} <ffffffff802d6c70>{hub_thread+0} <ffffffff8014a583>{kthread+211} <ffffffff8010f5e6>{child_rip+8} <ffffffff8014a4b0>{kthread+0} <ffffffff8010f5de>{child_rip+0} Unable to handle kernel NULL pointer dereference at 0000000000000008 RIP: <ffffffff8011004b>{show_trace+571} PGD 2ca73067 PUD 2ca46067 PMD 0 Oops: 0000 [3] PREEMPT CPU 0 Modules linked in: ehci_hcd ohci_hcd sk98lin evdev joydev sg st sr_mod sd_mod scsi_mod ide_cd cdrom dm_mod parport_pc lp parport Pid: 108, comm: khubd Not tainted 2.6.13-rc6-mm2 RIP: 0010:[<ffffffff8011004b>] <ffffffff8011004b>{show_trace+571} RSP: 0000:ffff81002fc7d748 EFLAGS: 00010096 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000092 RDI: 0000000000000001 RBP: ffff81002fc7d788 R08: 0000000000000000 R09: ffff81002d558c50 R10: 00000000ffffffff R11: 0000000000000000 R12: ffff81002fc7e000 R13: 0000000000000000 R14: 0000000000000020 R15: ffffffff80469fc0 FS: 00002aaaab28fe80(0000) GS:ffffffff804f8840(0000) knlGS:0000000000000000 CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b CR2: 0000000000000008 CR3: 000000002ca61000 CR4: 00000000000006e0 Process khubd (pid: 108, threadinfo ffff81002fc7c000, task ffff810001ce20d0) Stack: 0000000000000000 0000000000000096 000000002fc7d788 ffff81002fc7da58 000000000000000a ffffffff80469fc0 ffffffff80465fc0 0000000000000000 ffff81002fc7d7c8 ffffffff80110168 Call Trace:<ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff80355fa4>{_spin_unlock_irq+20} <ffffffff80354b6f>{thread_return+187} <ffffffff8010f431>{error_exit+0} <ffffffff8024373b>{_raw_spin_lock+27} <ffffffff802439f9>{add_preempt_count+105} <ffffffff8035612e>{_spin_lock+30} <ffffffff80353b2f>{klist_remove+31} <ffffffff802ad11d>{__device_release_driver+93} <ffffffff802ad254>{device_release_driver+52} <ffffffff802ac994>{bus_remove_device+180} <ffffffff802ab7f8>{device_del+56} <ffffffff802d657f>{usb_new_device+495} <ffffffff802d7419>{hub_thread+1961} <ffffffff80354b6f>{thread_return+187} <ffffffff8014a710>{autoremove_wake_function+0} <ffffffff8014a710>{autoremove_wake_function+0} <ffffffff802d6c70>{hub_thread+0} <ffffffff8014a583>{kthread+211} <ffffffff8010f5e6>{child_rip+8} <ffffffff8014a4b0>{kthread+0} <ffffffff8010f5de>{child_rip+0} Unable to handle kernel NULL pointer dereference at 0000000000000008 RIP: <ffffffff8011004b>{show_trace+571} PGD 2ca73067 PUD 2ca46067 PMD 0 Oops: 0000 [4] PREEMPT CPU 0 Modules linked in: ehci_hcd ohci_hcd sk98lin evdev joydev sg st sr_mod sd_mod scsi_mod ide_cd cdrom dm_mod parport_pc lp parport Pid: 108, comm: khubd Not tainted 2.6.13-rc6-mm2 RIP: 0010:[<ffffffff8011004b>] <ffffffff8011004b>{show_trace+571} RSP: 0000:ffff81002fc7d488 EFLAGS: 00010092 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000092 RDI: 0000000000000001 RBP: ffff81002fc7d4c8 R08: 0000000000000000 R09: ffff81002d558c50 R10: 00000000ffffffff R11: 0000000000000000 R12: ffff81002fc7e000 R13: 0000000000000000 R14: 0000000000000020 R15: ffffffff80469fc0 FS: 00002aaaab28fe80(0000) GS:ffffffff804f8840(0000) knlGS:0000000000000000 CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b CR2: 0000000000000008 CR3: 000000002ca61000 CR4: 00000000000006e0 Process khubd (pid: 108, threadinfo ffff81002fc7c000, task ffff810001ce20d0) Stack: 0000000000000000 0000000000000092 000000002fc7d4c8 ffff81002fc7d798 000000000000000a ffffffff80469fc0 ffffffff80465fc0 0000000000000000 ffff81002fc7d508 ffffffff80110168 Call Trace:<ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff80355fa4>{_spin_unlock_irq+20} <ffffffff80354b6f>{thread_return+187} <ffffffff8010f431>{error_exit+0} <ffffffff8024373b>{_raw_spin_lock+27} <ffffffff802439f9>{add_preempt_count+105} <ffffffff8035612e>{_spin_lock+30} <ffffffff80353b2f>{klist_remove+31} <ffffffff802ad11d>{__device_release_driver+93} <ffffffff802ad254>{device_release_driver+52} <ffffffff802ac994>{bus_remove_device+180} <ffffffff802ab7f8>{device_del+56} <ffffffff802d657f>{usb_new_device+495} <ffffffff802d7419>{hub_thread+1961} <ffffffff80354b6f>{thread_return+187} <ffffffff8014a710>{autoremove_wake_function+0} <ffffffff8014a710>{autoremove_wake_function+0} <ffffffff802d6c70>{hub_thread+0} <ffffffff8014a583>{kthread+211} <ffffffff8010f5e6>{child_rip+8} <ffffffff8014a4b0>{kthread+0} <ffffffff8010f5de>{child_rip+0} Unable to handle kernel NULL pointer dereference at 0000000000000008 RIP: <ffffffff8011004b>{show_trace+571} PGD 2ca73067 PUD 2ca46067 PMD 0 Oops: 0000 [5] PREEMPT CPU 0 Modules linked in: ehci_hcd ohci_hcd sk98lin evdev joydev sg st sr_mod sd_mod scsi_mod ide_cd cdrom dm_mod parport_pc lp parport Pid: 108, comm: khubd Not tainted 2.6.13-rc6-mm2 RIP: 0010:[<ffffffff8011004b>] <ffffffff8011004b>{show_trace+571} RSP: 0000:ffff81002fc7d1c8 EFLAGS: 00010092 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000096 RDI: 0000000000000001 RBP: ffff81002fc7d208 R08: 0000000000000000 R09: ffff81002d558c50 R10: 00000000ffffffff R11: 0000000000000000 R12: ffff81002fc7e000 R13: 0000000000000000 R14: 0000000000000020 R15: ffffffff80469fc0 FS: 00002aaaab28fe80(0000) GS:ffffffff804f8840(0000) knlGS:0000000000000000 CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b CR2: 0000000000000008 CR3: 000000002ca61000 CR4: 00000000000006e0 Process khubd (pid: 108, threadinfo ffff81002fc7c000, task ffff810001ce20d0) Stack: 0000000000000000 0000000000000092 000000002fc7d208 ffff81002fc7d4d8 000000000000000a ffffffff80469fc0 ffffffff80465fc0 0000000000000000 ffff81002fc7d248 ffffffff80110168 Call Trace:<ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff80355fa4>{_spin_unlock_irq+20} <ffffffff80354b6f>{thread_return+187} <ffffffff8010f431>{error_exit+0} <ffffffff8024373b>{_raw_spin_lock+27} <ffffffff802439f9>{add_preempt_count+105} <ffffffff8035612e>{_spin_lock+30} <ffffffff80353b2f>{klist_remove+31} <ffffffff802ad11d>{__device_release_driver+93} <ffffffff802ad254>{device_release_driver+52} <ffffffff802ac994>{bus_remove_device+180} <ffffffff802ab7f8>{device_del+56} <ffffffff802d657f>{usb_new_device+495} <ffffffff802d7419>{hub_thread+1961} <ffffffff80354b6f>{thread_return+187} <ffffffff8014a710>{autoremove_wake_function+0} <ffffffff8014a710>{autoremove_wake_function+0} <ffffffff802d6c70>{hub_thread+0} <ffffffff8014a583>{kthread+211} <ffffffff8010f5e6>{child_rip+8} <ffffffff8014a4b0>{kthread+0} <ffffffff8010f5de>{child_rip+0} Unable to handle kernel NULL pointer dereference at 0000000000000008 RIP: <ffffffff8011004b>{show_trace+571} PGD 2ca73067 PUD 2ca46067 PMD 0 Oops: 0000 [6] PREEMPT CPU 0 Modules linked in: ehci_hcd ohci_hcd sk98lin evdev joydev sg st sr_mod sd_mod scsi_mod ide_cd cdrom dm_mod parport_pc lp parport Pid: 108, comm: khubd Not tainted 2.6.13-rc6-mm2 RIP: 0010:[<ffffffff8011004b>] <ffffffff8011004b>{show_trace+571} RSP: 0000:ffff81002fc7cf08 EFLAGS: 00010096 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000096 RDI: 0000000000000001 RBP: ffff81002fc7cf48 R08: 0000000000000000 R09: ffff81002d558c50 R10: 00000000ffffffff R11: 0000000000000000 R12: ffff81002fc7e000 R13: 0000000000000000 R14: 0000000000000020 R15: ffffffff80469fc0 FS: 00002aaaab28fe80(0000) GS:ffffffff804f8840(0000) knlGS:0000000000000000 CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b CR2: 0000000000000008 CR3: 000000002ca61000 CR4: 00000000000006e0 Process khubd (pid: 108, threadinfo ffff81002fc7c000, task ffff810001ce20d0) Stack: 0000000000000000 0000000000000096 000000002fc7cf48 ffff81002fc7d218 000000000000000a ffffffff80469fc0 ffffffff80465fc0 0000000000000000 ffff81002fc7cf88 ffffffff80110168 Call Trace:<ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff80355fa4>{_spin_unlock_irq+20} <ffffffff80354b6f>{thread_return+187} <ffffffff8010f431>{error_exit+0} <ffffffff8024373b>{_raw_spin_lock+27} <ffffffff802439f9>{add_preempt_count+105} <ffffffff8035612e>{_spin_lock+30} <ffffffff80353b2f>{klist_remove+31} <ffffffff802ad11d>{__device_release_driver+93} <ffffffff802ad254>{device_release_driver+52} <ffffffff802ac994>{bus_remove_device+180} <ffffffff802ab7f8>{device_del+56} <ffffffff802d657f>{usb_new_device+495} <ffffffff802d7419>{hub_thread+1961} <ffffffff80354b6f>{thread_return+187} <ffffffff8014a710>{autoremove_wake_function+0} <ffffffff8014a710>{autoremove_wake_function+0} <ffffffff802d6c70>{hub_thread+0} <ffffffff8014a583>{kthread+211} <ffffffff8010f5e6>{child_rip+8} <ffffffff8014a4b0>{kthread+0} <ffffffff8010f5de>{child_rip+0} Unable to handle kernel NULL pointer dereference at 0000000000000008 RIP: <ffffffff8011004b>{show_trace+571} PGD 2ca73067 PUD 2ca46067 PMD 0 Oops: 0000 [7] PREEMPT CPU 0 Modules linked in: ehci_hcd ohci_hcd sk98lin evdev joydev sg st sr_mod sd_mod scsi_mod ide_cd cdrom dm_mod parport_pc lp parport Pid: 108, comm: khubd Not tainted 2.6.13-rc6-mm2 RIP: 0010:[<ffffffff8011004b>] <ffffffff8011004b>{show_trace+571} RSP: 0000:ffff81002fc7cc48 EFLAGS: 00010096 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000092 RDI: 0000000000000001 RBP: ffff81002fc7cc88 R08: 0000000000000000 R09: ffff81002d558c50 R10: 00000000ffffffff R11: 0000000000000000 R12: ffff81002fc7e000 R13: 0000000000000000 R14: 0000000000000020 R15: ffffffff80469fc0 FS: 00002aaaab28fe80(0000) GS:ffffffff804f8840(0000) knlGS:0000000000000000 CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b CR2: 0000000000000008 CR3: 000000002ca61000 CR4: 00000000000006e0 Process khubd (pid: 108, threadinfo ffff81002fc7c000, task ffff810001ce20d0) Stack: 0000000000000000 0000000000000096 000000002fc7cc88 ffff81002fc7cf58 000000000000000a ffffffff80469fc0 ffffffff80465fc0 0000000000000000 ffff81002fc7ccc8 ffffffff80110168 Call Trace:<ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff80355fa4>{_spin_unlock_irq+20} <ffffffff80354b6f>{thread_return+187} <ffffffff8010f431>{error_exit+0} <ffffffff8024373b>{_raw_spin_lock+27} <ffffffff802439f9>{add_preempt_count+105} <ffffffff8035612e>{_spin_lock+30} <ffffffff80353b2f>{klist_remove+31} <ffffffff802ad11d>{__device_release_driver+93} <ffffffff802ad254>{device_release_driver+52} <ffffffff802ac994>{bus_remove_device+180} <ffffffff802ab7f8>{device_del+56} <ffffffff802d657f>{usb_new_device+495} <ffffffff802d7419>{hub_thread+1961} <ffffffff80354b6f>{thread_return+187} <ffffffff8014a710>{autoremove_wake_function+0} <ffffffff8014a710>{autoremove_wake_function+0} <ffffffff802d6c70>{hub_thread+0} <ffffffff8014a583>{kthread+211} <ffffffff8010f5e6>{child_rip+8} <ffffffff8014a4b0>{kthread+0} <ffffffff8010f5de>{child_rip+0} Unable to handle kernel NULL pointer dereference at 0000000000000008 RIP: <ffffffff8011004b>{show_trace+571} PGD 2ca73067 PUD 2ca46067 PMD 0 Oops: 0000 [8] PREEMPT CPU 0 Modules linked in: ehci_hcd ohci_hcd sk98lin evdev joydev sg st sr_mod sd_mod scsi_mod ide_cd cdrom dm_mod parport_pc lp parport Pid: 108, comm: khubd Not tainted 2.6.13-rc6-mm2 RIP: 0010:[<ffffffff8011004b>] <ffffffff8011004b>{show_trace+571} RSP: 0000:ffff81002fc7c988 EFLAGS: 00010092 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000092 RDI: 0000000000000001 RBP: ffff81002fc7c9c8 R08: 0000000000000000 R09: ffff81002d558c50 R10: 00000000ffffffff R11: 0000000000000000 R12: ffff81002fc7e000 R13: 0000000000000000 R14: 0000000000000020 R15: ffffffff80469fc0 FS: 00002aaaab28fe80(0000) GS:ffffffff804f8840(0000) knlGS:0000000000000000 CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b CR2: 0000000000000008 CR3: 000000002ca61000 CR4: 00000000000006e0 Process khubd (pid: 108, threadinfo ffff81002fc7c000, task ffff810001ce20d0) Stack: 0000000000000000 0000000000000092 000000002fc7c9c8 ffff81002fc7cc98 000000000000000a ffffffff80469fc0 ffffffff80465fc0 0000000000000000 ffff81002fc7ca08 ffffffff80110168 Call Trace:<ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff8013452e>{vprintk+830} <ffffffff8013452e>{vprintk+830} <ffffffff80152296>{kallsyms_lookup+246} <ffffffff8010f431>{error_exit+0} <ffffffff8011004b>{show_trace+571} <ffffffff80110047>{show_trace+567} <ffffffff80110168>{show_stack+216} <ffffffff80110207>{show_registers+135} <ffffffff8011050e>{__die+142} <ffffffff80357098>{do_page_fault+1832} <ffffffff80355fa4>{_spin_unlock_irq+20} <ffffffff80354b6f>{thread_return+187} <ffffffff8010f431>{error_exit+0} <ffffffff8024373b>{_raw_spin_lock+27} <ffffffff802439f9>{add_preempt_count+105} <ffffffff8035612e>{_spin_lock+30} <ffffffff80353b2f>{klist_remove+31} <ffffffff802ad11d>{__device_release_driver+93} <ffffffff802ad254>{device_release_driver+52} <ffffffff802ac994>{bus_remove_device+180} <ffffffff802ab7f8>{device_del+56} <ffffffff802d657f>{usb_new_device+495} <ffffffff802d7419>{hub_thread+1961} <ffffffff80354b6f>{thread_return+187} <ffffffff8014a710>{autoremove_wake_function+0} <ffffffff8014a710>{autoremove_wake_function+0} <ffffffff802d6c70>{hub_thread+0} <ffffffff8014a583>{kthread+211} <ffffffff8010f5e6>{child_rip+8} <ffffffff8014a4b0>{kthread+0} <ffffffff8010f5de>{child_rip+0} Unable to handle kernel NULL pointer dereference at 0000000000000008 RIP: <ffffffff8011004b>{show_trace+571}----------- [cut here ] --------- [please bite here ] --------- Kernel BUG at "lib/preempt.c":64 invalid operand: 0000 [9] PREEMPT CPU 0 Modules linked in: ehci_hcd ohci_hcd sk98lin evdev joydev sg st sr_mod sd_mod scsi_mod ide_cd cdrom dm_mod parport_pc lp parport Pid: 108, comm: khubd Not tainted 2.6.13-rc6-mm2 RIP: 0010:[<ffffffff80243947>] <ffffffff80243947>{sub_preempt_count+23} RSP: 0000:ffff81002fc7c298 EFLAGS: 00010002 RAX: 0000000000000000 RBX: ffff81002fc7c368 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000092 RDI: 0000000000000001 RBP: ffff81002fc7c298 R08: 0000000000000000 R09: ffff81002d558c50 R10: 00000000ffffffff R11: 0000000000000000 R12: ffffffff8036fe93 R13: ffffffff8047cb62 R14: 0000000000000008 R15: 0000000000000022 FS: 00002aaaab28fe80(0000) GS:ffffffff804f8840(0000) knlGS:0000000000000000 CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b -- - Would you tell me, please, which way I ought to go from here? - That depends a good deal on where you want to get to. -- Lewis Carroll "Alice's Adventures in Wonderland" ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: 2.6.13-rc6-mm2 (hangs on non-SMP x86-64 and oopses) 2005-08-23 12:51 ` 2.6.13-rc6-mm2 (hangs on non-SMP x86-64 and oopses) Rafael J. Wysocki @ 2005-08-23 13:07 ` Ralf Baechle 0 siblings, 0 replies; 16+ messages in thread From: Ralf Baechle @ 2005-08-23 13:07 UTC (permalink / raw) To: Rafael J. Wysocki; +Cc: Andrew Morton, linux-kernel, Greg KH Andrew, On Tue, Aug 23, 2005 at 02:51:51PM +0200, Rafael J. Wysocki wrote: > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc6/2.6.13-rc6-mm2/ > > > > - Various updates. Nothing terribly noteworthy. > > It hangs solig during boot (after starting kjournald) on Asus L5D (non-SMP x86-64), > which is caused by this patch: > > 8250-serial-console-locking-bug-spelling-fix.patch > > (from binary search). > > If this patch is reverted, it oopses like in the following trace. I thought this one was already pulled? Ralf ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: 2.6.13-rc6-mm2 - fs/xfs/xfs*.c warnings 2005-08-23 4:30 2.6.13-rc6-mm2 Andrew Morton ` (2 preceding siblings ...) 2005-08-23 12:51 ` 2.6.13-rc6-mm2 (hangs on non-SMP x86-64 and oopses) Rafael J. Wysocki @ 2005-08-23 17:03 ` Damir Perisa 2005-08-23 19:25 ` 2.6.13-rc6-mm2 - complete list of warnings gcc 4.0.1 Damir Perisa 2005-08-23 17:27 ` 2.6.13-rc6-mm2 - drivers/net/s2io.o failed building Damir Perisa ` (3 subsequent siblings) 7 siblings, 1 reply; 16+ messages in thread From: Damir Perisa @ 2005-08-23 17:03 UTC (permalink / raw) To: Andrew Morton; +Cc: linux-kernel [-- Attachment #1: Type: text/plain, Size: 2096 bytes --] i'm compiling 2.6.13-rc6-mm2 atm and noticed that xfs is having lots of warnings while compiling. recently i switched to gcc 4.0.1 - maybe it's because of this. details: fs/xfs/xfs_acl.c: In function 'xfs_acl_access': fs/xfs/xfs_acl.c:445: warning: 'matched.ae_perm' may be used uninitialized in this function fs/xfs/xfs_alloc_btree.c: In function 'xfs_alloc_insrec': fs/xfs/xfs_alloc_btree.c:622: warning: 'nrec.ar_startblock' may be used uninitialized in this function fs/xfs/xfs_alloc_btree.c:622: warning: 'nrec.ar_blockcount' may be used uninitialized in this function fs/xfs/xfs_bmap.c: In function 'xfs_bmap_alloc': fs/xfs/xfs_bmap.c:2335: warning: 'rtx' is used uninitialized in this function fs/xfs/xfs_dir2_sf.c: In function 'xfs_dir2_block_sfsize': fs/xfs/xfs_dir2_sf.c:110: warning: 'parent' may be used uninitialized in this function fs/xfs/xfs_dir_leaf.c: In function 'xfs_dir_leaf_to_shortform': fs/xfs/xfs_dir_leaf.c:653: warning: 'parent' may be used uninitialized in this function fs/xfs/xfs_ialloc_btree.c: In function 'xfs_inobt_insrec': fs/xfs/xfs_ialloc_btree.c:750: warning: 'nrec.ir_free' is used uninitialized in this function fs/xfs/xfs_ialloc_btree.c:750: warning: 'nrec.ir_freecount' is used uninitialized in this function fs/xfs/xfs_ialloc_btree.c:567: warning: 'nrec.ir_startino' may be used uninitialized in this function and the following warning appears a lot of times: fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined just giving a heads-up if somebody wants to clean this code. thanx + greetings, Damir Le Tuesday 23 August 2005 06:30, Andrew Morton a écrit : | ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc |6/2.6.13-rc6-mm2/ | | - Various updates. Nothing terribly noteworthy. | | - This kernel still spits a bunch of scheduling-while-atomic warnings | from the scsi code. Please ignore. | -- It is impossible for an optimist to be pleasantly surprised. [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: 2.6.13-rc6-mm2 - complete list of warnings gcc 4.0.1 2005-08-23 17:03 ` 2.6.13-rc6-mm2 - fs/xfs/xfs*.c warnings Damir Perisa @ 2005-08-23 19:25 ` Damir Perisa 0 siblings, 0 replies; 16+ messages in thread From: Damir Perisa @ 2005-08-23 19:25 UTC (permalink / raw) To: Linux Kernel Mailing List; +Cc: Andrew Morton [-- Attachment #1.1: Type: text/plain, Size: 598 bytes --] just in case somebody is interested in cleaning code or reducing warnings... i disabled the broken net/s2io.o (see my other email in same thread) and recompiled using build-log for output of compile process. grepping for warnings, i found 677 occurances (see attachement). greetings, Damir Le Tuesday 23 August 2005 19:03, Damir Perisa a écrit : | i'm compiling 2.6.13-rc6-mm2 atm and noticed that xfs is having lots of | warnings while compiling. recently i switched to gcc 4.0.1 - maybe it's | because of this. -- "Don't blame me. I didn't do it!" -- Krusty Gets Busted [-- Attachment #1.2: build-log-2.6.13-rc6-mm2-warnings --] [-- Type: text/plain, Size: 66606 bytes --] arch/i386/kernel/cpu/transmeta.c:11: warning: 'cpu_freq' may be used uninitialized in this function arch/i386/kernel/apm.c:1186: warning: 'pm_send_all' is deprecated (declared at include/linux/pm.h:122) arch/i386/kernel/apm.c:1240: warning: 'pm_send_all' is deprecated (declared at include/linux/pm.h:122) arch/i386/kernel/apm.c:1361: warning: 'pm_send_all' is deprecated (declared at include/linux/pm.h:122) kernel/resource.c:482: warning: '__check_region' is deprecated (declared at kernel/resource.c:470) kernel/intermodule.c:178: warning: 'inter_module_register' is deprecated (declared at kernel/intermodule.c:38) kernel/intermodule.c:179: warning: 'inter_module_unregister' is deprecated (declared at kernel/intermodule.c:78) kernel/intermodule.c:181: warning: 'inter_module_put' is deprecated (declared at kernel/intermodule.c:159) kernel/power/pm.c:258: warning: 'pm_register' is deprecated (declared at kernel/power/pm.c:62) kernel/power/pm.c:259: warning: 'pm_unregister' is deprecated (declared at kernel/power/pm.c:85) kernel/power/pm.c:260: warning: 'pm_unregister_all' is deprecated (declared at kernel/power/pm.c:114) kernel/power/pm.c:261: warning: 'pm_send_all' is deprecated (declared at kernel/power/pm.c:233) fs/bio.c:167: warning: 'idx' may be used uninitialized in this function fs/9p/vfs_inode.c:1309: warning: initialization from incompatible pointer type fs/9p/vfs_inode.c:1310: warning: initialization from incompatible pointer type fs/configfs/symlink.c:268: warning: initialization from incompatible pointer type fs/configfs/symlink.c:270: warning: initialization from incompatible pointer type fs/fuse/dir.c:958: warning: initialization from incompatible pointer type fs/fuse/dir.c:959: warning: initialization from incompatible pointer type fs/jfs/jfs_txnmgr.c:1917: warning: 'pxd.addr2' may be used uninitialized in this function fs/jfs/jfs_txnmgr.c:1917: warning: 'pxd.addr1' may be used uninitialized in this function fs/jfs/jfs_txnmgr.c:1917: warning: 'pxd.len' may be used uninitialized in this function fs/nfsd/nfsctl.c:262: warning: 'maxsize' may be used uninitialized in this function fs/reiser4/seal.c:212:5: warning: "REISER4_DEBUG_OUTPUT" is not defined fs/reiser4/super.c:381:5: warning: "REISER4_DEBUG_OUTPUT" is not defined fs/reiser4/inode_ops.c:597: warning: initialization from incompatible pointer type fs/reiser4/plugin/plugin.c:326:5: warning: "REISER4_DEBUG_OUTPUT" is not defined fs/reiser4/plugin/cryptcompress.c:600:5: warning: "REISER4_TRACE" is not defined fs/reiser4/plugin/node/node40.c:448:5: warning: "REISER4_STATS" is not defined fs/reiser4/plugin/item/sde.c:21:5: warning: "REISER4_DEBUG_OUTPUT" is not defined fs/reiser4/plugin/item/cde.c:466:5: warning: "REISER4_DEBUG_OUTPUT" is not defined fs/reiser4/plugin/item/internal.c:213:5: warning: "REISER4_DEBUG_OUTPUT" is not defined fs/reiser4/plugin/item/ctail.c:198:5: warning: "REISER4_DEBUG_OUTPUT" is not defined fs/reiser4/plugin/item/item.c:353:5: warning: "REISER4_DEBUG_OUTPUT" is not defined fs/reiser4/plugin/item/item.c:406:5: warning: "REISER4_DEBUG_OUTPUT" is not defined fs/reiser4/plugin/item/item.c:463:5: warning: "REISER4_DEBUG_OUTPUT" is not defined fs/reiser4/plugin/item/item.c:520:5: warning: "REISER4_DEBUG_OUTPUT" is not defined fs/reiser4/plugin/item/item.c:681:5: warning: "REISER4_DEBUG_OUTPUT" is not defined fs/reiser4/plugin/item/item.c:741:5: warning: "REISER4_DEBUG_OUTPUT" is not defined fs/reiser4/plugin/dir/hashed_dir.c:1209:36: warning: "REISER4_STATS" is not defined fs/udf/balloc.c:756: warning: 'goal_eloc.logicalBlockNum' may be used uninitialized in this function fs/udf/super.c:1351: warning: 'ino.partitionReferenceNum' may be used uninitialized in this function fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_acl.c:445: warning: 'matched.ae_perm' may be used uninitialized in this function fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_alloc_btree.c:622: warning: 'nrec.ar_startblock' may be used uninitialized in this function fs/xfs/xfs_alloc_btree.c:622: warning: 'nrec.ar_blockcount' may be used uninitialized in this function fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap.c:2335: warning: 'rtx' is used uninitialized in this function fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.c:2020:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.c:2534:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_dir2_sf.c:110: warning: 'parent' may be used uninitialized in this function fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_dir_leaf.c:653: warning: 'parent' may be used uninitialized in this function fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_ialloc_btree.c:750: warning: 'nrec.ir_free' is used uninitialized in this function fs/xfs/xfs_ialloc_btree.c:750: warning: 'nrec.ir_freecount' is used uninitialized in this function fs/xfs/xfs_ialloc_btree.c:567: warning: 'nrec.ir_startino' may be used uninitialized in this function fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_inode_item.c:342:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_inode_item.c:470:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined ipc/msg.c:333: warning: 'setbuf.qbytes' may be used uninitialized in this function ipc/msg.c:333: warning: 'setbuf.uid' may be used uninitialized in this function ipc/msg.c:333: warning: 'setbuf.gid' may be used uninitialized in this function ipc/msg.c:333: warning: 'setbuf.mode' may be used uninitialized in this function ipc/sem.c:803: warning: 'setbuf.uid' may be used uninitialized in this function ipc/sem.c:803: warning: 'setbuf.gid' may be used uninitialized in this function ipc/sem.c:803: warning: 'setbuf.mode' may be used uninitialized in this function drivers/atm/zatm.c:373: warning: 'vcc' may be used uninitialized in this function drivers/atm/nicstar.c:2125: warning: 'previous' may be used uninitialized in this function drivers/atm/iphase.c:961: warning: 'tcnter' defined but not used drivers/atm/iphase.c:963: warning: 'xdump' defined but not used drivers/block/DAC960.c:2723: warning: 'ErrorStatus' may be used uninitialized in this function drivers/block/DAC960.c:2723: warning: 'Parameter0' may be used uninitialized in this function drivers/block/DAC960.c:2723: warning: 'Parameter1' may be used uninitialized in this function drivers/char/agp/efficeon-agp.c:222: warning: passing argument 1 of 'virt_to_phys' makes pointer from integer without a cast drivers/char/agp/via-agp.c:454: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/char/agp/via-agp.c:463: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/char/drm/drm_stub.c:248: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/char/mwave/mwavedd.c:450: warning: 'register_serial' is deprecated (declared at include/linux/serial.h:180) drivers/char/mwave/mwavedd.c:526: warning: 'unregister_serial' is deprecated (declared at include/linux/serial.h:181) drivers/char/speakup/synthlist.h:13:35: warning: "CONFIG_SPEAKUP_ACNTPC" is not defined drivers/char/speakup/synthlist.h:16:35: warning: "CONFIG_SPEAKUP_ACNTSA" is not defined drivers/char/speakup/synthlist.h:19:35: warning: "CONFIG_SPEAKUP_APOLLO" is not defined drivers/char/speakup/synthlist.h:22:35: warning: "CONFIG_SPEAKUP_AUDPTR" is not defined drivers/char/speakup/synthlist.h:25:32: warning: "CONFIG_SPEAKUP_BNS" is not defined drivers/char/speakup/synthlist.h:28:35: warning: "CONFIG_SPEAKUP_DECEXT" is not defined drivers/char/speakup/synthlist.h:31:35: warning: "CONFIG_SPEAKUP_DECTLK" is not defined drivers/char/speakup/synthlist.h:34:33: warning: "CONFIG_SPEAKUP_DTLK" is not defined drivers/char/speakup/synthlist.h:37:34: warning: "CONFIG_SPEAKUP_KEYPC" is not defined drivers/char/speakup/synthlist.h:40:33: warning: "CONFIG_SPEAKUP_LTLK" is not defined drivers/char/speakup/synthlist.h:43:35: warning: "CONFIG_SPEAKUP_SFTSYN" is not defined drivers/char/speakup/synthlist.h:46:35: warning: "CONFIG_SPEAKUP_SPKOUT" is not defined drivers/char/speakup/synthlist.h:49:34: warning: "CONFIG_SPEAKUP_TXPRT" is not defined drivers/char/speakup/synthlist.h:13:35: warning: "CONFIG_SPEAKUP_ACNTPC" is not defined drivers/char/speakup/synthlist.h:16:35: warning: "CONFIG_SPEAKUP_ACNTSA" is not defined drivers/char/speakup/synthlist.h:19:35: warning: "CONFIG_SPEAKUP_APOLLO" is not defined drivers/char/speakup/synthlist.h:22:35: warning: "CONFIG_SPEAKUP_AUDPTR" is not defined drivers/char/speakup/synthlist.h:25:32: warning: "CONFIG_SPEAKUP_BNS" is not defined drivers/char/speakup/synthlist.h:28:35: warning: "CONFIG_SPEAKUP_DECEXT" is not defined drivers/char/speakup/synthlist.h:31:35: warning: "CONFIG_SPEAKUP_DECTLK" is not defined drivers/char/speakup/synthlist.h:34:33: warning: "CONFIG_SPEAKUP_DTLK" is not defined drivers/char/speakup/synthlist.h:37:34: warning: "CONFIG_SPEAKUP_KEYPC" is not defined drivers/char/speakup/synthlist.h:40:33: warning: "CONFIG_SPEAKUP_LTLK" is not defined drivers/char/speakup/synthlist.h:43:35: warning: "CONFIG_SPEAKUP_SFTSYN" is not defined drivers/char/speakup/synthlist.h:46:35: warning: "CONFIG_SPEAKUP_SPKOUT" is not defined drivers/char/speakup/synthlist.h:49:34: warning: "CONFIG_SPEAKUP_TXPRT" is not defined drivers/char/speakup/synthlist.h:13:35: warning: "CONFIG_SPEAKUP_ACNTPC" is not defined drivers/char/speakup/synthlist.h:16:35: warning: "CONFIG_SPEAKUP_ACNTSA" is not defined drivers/char/speakup/synthlist.h:19:35: warning: "CONFIG_SPEAKUP_APOLLO" is not defined drivers/char/speakup/synthlist.h:22:35: warning: "CONFIG_SPEAKUP_AUDPTR" is not defined drivers/char/speakup/synthlist.h:25:32: warning: "CONFIG_SPEAKUP_BNS" is not defined drivers/char/speakup/synthlist.h:28:35: warning: "CONFIG_SPEAKUP_DECEXT" is not defined drivers/char/speakup/synthlist.h:31:35: warning: "CONFIG_SPEAKUP_DECTLK" is not defined drivers/char/speakup/synthlist.h:34:33: warning: "CONFIG_SPEAKUP_DTLK" is not defined drivers/char/speakup/synthlist.h:37:34: warning: "CONFIG_SPEAKUP_KEYPC" is not defined drivers/char/speakup/synthlist.h:40:33: warning: "CONFIG_SPEAKUP_LTLK" is not defined drivers/char/speakup/synthlist.h:43:35: warning: "CONFIG_SPEAKUP_SFTSYN" is not defined drivers/char/speakup/synthlist.h:46:35: warning: "CONFIG_SPEAKUP_SPKOUT" is not defined drivers/char/speakup/synthlist.h:49:34: warning: "CONFIG_SPEAKUP_TXPRT" is not defined drivers/char/speakup/synthlist.h:13:35: warning: "CONFIG_SPEAKUP_ACNTPC" is not defined drivers/char/speakup/synthlist.h:16:35: warning: "CONFIG_SPEAKUP_ACNTSA" is not defined drivers/char/speakup/synthlist.h:19:35: warning: "CONFIG_SPEAKUP_APOLLO" is not defined drivers/char/speakup/synthlist.h:22:35: warning: "CONFIG_SPEAKUP_AUDPTR" is not defined drivers/char/speakup/synthlist.h:25:32: warning: "CONFIG_SPEAKUP_BNS" is not defined drivers/char/speakup/synthlist.h:28:35: warning: "CONFIG_SPEAKUP_DECEXT" is not defined drivers/char/speakup/synthlist.h:31:35: warning: "CONFIG_SPEAKUP_DECTLK" is not defined drivers/char/speakup/synthlist.h:34:33: warning: "CONFIG_SPEAKUP_DTLK" is not defined drivers/char/speakup/synthlist.h:37:34: warning: "CONFIG_SPEAKUP_KEYPC" is not defined drivers/char/speakup/synthlist.h:40:33: warning: "CONFIG_SPEAKUP_LTLK" is not defined drivers/char/speakup/synthlist.h:43:35: warning: "CONFIG_SPEAKUP_SFTSYN" is not defined drivers/char/speakup/synthlist.h:46:35: warning: "CONFIG_SPEAKUP_SPKOUT" is not defined drivers/char/speakup/synthlist.h:49:34: warning: "CONFIG_SPEAKUP_TXPRT" is not defined drivers/char/specialix.c:343: warning: 'check_region' is deprecated (declared at include/linux/ioport.h:124) drivers/ide/pci/cs5530.c:254: warning: ignoring return value of 'pci_set_mwi', declared with attribute warn_unused_result drivers/ide/pci/sc1200.c:389: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/ide/pci/sc1200.c:399: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/ide/pci/sc1200.c:401: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/ide/ide-tape.c:2659: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result drivers/ide/ide-tape.c:2686: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result drivers/ieee1394/ohci1394.c:3555: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/input/gameport/fm801-gp.c:95: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/isdn/capi/capidrv.c:2108:3: warning: #warning FIXME: maybe a race condition the card should be removed here from global list /kkeil drivers/isdn/hisax/config.c:636: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result drivers/isdn/hisax/config.c:647: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result drivers/isdn/hisax/callc.c:1781: warning: large integer implicitly truncated to unsigned type drivers/isdn/hisax/hfc_usb.h:190: warning: 'conf_str' defined but not used drivers/isdn/i4l/isdn_v110.c:523: warning: 'ret' may be used uninitialized in this function drivers/isdn/i4l/isdn_common.c:1845: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result drivers/isdn/i4l/isdn_ppp.c:791: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result drivers/isdn/i4l/isdn_ppp.c:440: warning: 'get_filter' defined but not used drivers/isdn/icn/icn.c:719:4: warning: #warning TODO test headroom or use skb->nb to flag ACK drivers/isdn/pcbit/drv.c:730: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result drivers/isdn/pcbit/drv.c:737: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result drivers/isdn/pcbit/drv.c:739: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result drivers/isdn/pcbit/drv.c:746: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result drivers/isdn/pcbit/layer2.c:305: warning: 'msg' may be used uninitialized in this function drivers/isdn/sc/shmem.c:60: warning: passing argument 1 of 'memcpy_toio' makes pointer from integer without a cast drivers/isdn/sc/init.c:492: warning: passing argument 1 of 'readl' makes pointer from integer without a cast drivers/isdn/sc/init.c:502: warning: passing argument 1 of 'readl' makes pointer from integer without a cast drivers/isdn/sc/init.c:512: warning: passing argument 1 of 'readl' makes pointer from integer without a cast include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" drivers/media/video/bttv-driver.c:4087: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/media/video/bttv-driver.c:4090: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/media/video/cx88/cx88-video.c:1964: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/media/video/cx88/cx88-video.c:1967: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/media/video/cx88/cx88-mpeg.c:465: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/media/video/cx88/cx88-mpeg.c:468: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/message/fusion/mptbase.c:1390: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/message/fusion/mptbase.c:1413: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/message/fusion/mptbase.c:1415: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/message/fusion/mptctl.c:1737: warning: 'bufIn.len' may be used uninitialized in this function drivers/message/fusion/mptctl.c:1738: warning: 'bufOut.len' may be used uninitialized in this function drivers/misc/ibmasm/uart.c:57: warning: 'register_serial' is deprecated (declared at include/linux/serial.h:180) drivers/misc/ibmasm/uart.c:71: warning: 'unregister_serial' is deprecated (declared at include/linux/serial.h:181) drivers/net/e1000/e1000_main.c:3702: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/e1000/e1000_main.c:3703: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/e1000/e1000_main.c:3707: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/e1000/e1000_main.c:3708: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/e1000/e1000_main.c:3719: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/e1000/e1000_main.c:3720: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/e1000/e1000_main.c:3735: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/e1000/e1000_main.c:3747: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/e1000/e1000_main.c:3752: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/e1000/e1000_main.c:3753: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/irda/nsc-ircc.c:229: warning: 'pm_unregister_all' is deprecated (declared at include/linux/pm.h:117) drivers/net/irda/nsc-ircc.c:366: warning: 'pm_register' is deprecated (declared at include/linux/pm.h:107) drivers/net/irda/ali-ircc.c:231: warning: 'pm_unregister_all' is deprecated (declared at include/linux/pm.h:117) drivers/net/irda/ali-ircc.c:360: warning: 'pm_register' is deprecated (declared at include/linux/pm.h:107) drivers/net/irda/vlsi_ir.c:1761: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/irda/vlsi_ir.c:1779: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/irda/vlsi_ir.c:1805: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/sk98lin/skge.c:5160: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/sk98lin/skge.c:5165: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/sk98lin/skge.c:5178: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/sk98lin/skge.c:5180: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/net/tulip/winbond-840.c:1670: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/net/tulip/de2104x.c:2149: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/net/tulip/tulip_core.c:1759: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/tulip/tulip_core.c:1773: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/tulip/tulip_core.c:1776: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/net/wireless/ipw2100.c:6413: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/wireless/ipw2100.c:6610: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/wireless/ipw2100.c:6631: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/wireless/ipw2100.c:6632: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/net/wireless/ipw2200.c:7251: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/wireless/ipw2200.c:7264: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/wireless/ipw2200.c:7265: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/net/wireless/wavelan_cs.c:3613: warning: large integer implicitly truncated to unsigned type drivers/net/wireless/wavelan_cs.c:3614: warning: large integer implicitly truncated to unsigned type drivers/net/wireless/orinoco_pci.c:324: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/wireless/orinoco_pci.c:338: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/wireless/airo.c:5509: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/wireless/airo.c:5520: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/wireless/airo.c:5522: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/wireless/hostap/hostap_pci.c:419: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/wireless/hostap/hostap_pci.c:428: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/net/wireless/prism54/islpci_hotplug.c:174: warning: ignoring return value of 'pci_set_mwi', declared with attribute warn_unused_result drivers/net/wireless/prism54/islpci_hotplug.c:293: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/net/3c59x.c:977: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/3c59x.c:980: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/3c59x.c:991: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/3c59x.c:993: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/net/3c59x.c:1599: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/3c59x.c:1602: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/net/3c59x.c:3070: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/3c59x.c:3076: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/3c59x.c:3263: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/3c59x.c:3266: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/3c59x.c:3290: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/typhoon.c:1908: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/typhoon.c:1919: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/typhoon.c:2634: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/ne2k-pci.c:664: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/ne2k-pci.c:673: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/ne2k-pci.c:675: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/net/eepro100.c:801: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/eepro100.c:976: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/eepro100.c:1926: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/eepro100.c:2056: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/eepro100.c:2067: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/eepro100.c:2292: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/eepro100.c:2302: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/eepro100.c:2304: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/net/e100.c:2549: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/e100.c:2607: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/e100.c:2609: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/e100.c:2619: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/e100.c:2622: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/e100.c:2641: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/sis900.c:2346: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/sis900.c:2361: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/natsemi.c:3222: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/net/skge.c:3268: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/skge.c:3270: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/skge.c:3280: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/skge.c:3282: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/sky2.c:2629: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/sky2.c:2631: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/sky2.c:2641: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/sky2.c:2643: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/via-velocity.c:807: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/via-velocity.c:1745: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/via-velocity.c:1753: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/via-velocity.c:1871: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/via-velocity.c:2198: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/via-velocity.c:2211: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/via-velocity.c:2822: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/via-velocity.c:2838: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/via-velocity.c:3232: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/via-velocity.c:3233: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/via-velocity.c:3238: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/via-velocity.c:3257: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/via-velocity.c:3258: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/starfire.c:848: warning: ignoring return value of 'pci_set_mwi', declared with attribute warn_unused_result drivers/net/starfire.c:2099: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/hamachi.c:208:5: warning: "ADDRLEN" is not defined drivers/net/hamachi.c:472:5: warning: "ADDRLEN" is not defined drivers/net/hamachi.c:880:5: warning: "ADDRLEN" is not defined drivers/net/hamachi.c:988:5: warning: "ADDRLEN" is not defined drivers/net/sb1000.c:505: warning: 'st[0]' may be used uninitialized in this function drivers/net/sb1000.c:551: warning: 'st[1]' may be used uninitialized in this function drivers/net/sb1000.c:551: warning: 'st[2]' may be used uninitialized in this function drivers/net/sb1000.c:551: warning: 'st[0]' may be used uninitialized in this function drivers/net/sb1000.c:514: warning: 'st[0]' may be used uninitialized in this function drivers/net/sb1000.c:505: warning: 'st[0]' may be used uninitialized in this function drivers/net/sb1000.c:573: warning: 'st[1]' may be used uninitialized in this function drivers/net/sb1000.c:573: warning: 'st[2]' may be used uninitialized in this function drivers/net/sb1000.c:573: warning: 'st[3]' may be used uninitialized in this function drivers/net/sb1000.c:573: warning: 'st[4]' may be used uninitialized in this function drivers/net/sb1000.c:573: warning: 'st[0]' may be used uninitialized in this function drivers/net/sb1000.c:514: warning: 'st[0]' may be used uninitialized in this function drivers/net/sb1000.c:505: warning: 'st[0]' may be used uninitialized in this function drivers/net/sb1000.c:505: warning: 'st[0]' may be used uninitialized in this function drivers/net/sb1000.c:620: warning: 'st[1]' may be used uninitialized in this function drivers/net/sb1000.c:620: warning: 'st[2]' may be used uninitialized in this function drivers/net/sb1000.c:620: warning: 'st[0]' may be used uninitialized in this function drivers/net/sb1000.c:514: warning: 'st[0]' may be used uninitialized in this function drivers/net/sb1000.c:505: warning: 'st[0]' may be used uninitialized in this function drivers/net/sb1000.c:514: warning: 'st[0]' may be used uninitialized in this function drivers/net/sb1000.c:460: warning: 'st[3]' may be used uninitialized in this function drivers/net/sb1000.c:460: warning: 'st[0]' may be used uninitialized in this function drivers/net/sb1000.c:489: warning: 'st[1]' may be used uninitialized in this function drivers/net/sb1000.c:489: warning: 'st[2]' may be used uninitialized in this function drivers/net/sb1000.c:489: warning: 'st[3]' may be used uninitialized in this function drivers/net/sb1000.c:489: warning: 'st[4]' may be used uninitialized in this function drivers/net/sb1000.c:489: warning: 'st[0]' may be used uninitialized in this function drivers/net/sb1000.c:527: warning: 'st[3]' may be used uninitialized in this function drivers/net/sb1000.c:527: warning: 'st[0]' may be used uninitialized in this function drivers/net/sb1000.c:505: warning: 'st[0]' may be used uninitialized in this function drivers/net/sb1000.c:505: warning: 'st[0]' may be used uninitialized in this function include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" drivers/net/b44.c:1943: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" drivers/net/3c509.c:366: warning: 'pm_unregister' is deprecated (declared at include/linux/pm.h:112) drivers/net/3c509.c:576: warning: 'pm_register' is deprecated (declared at include/linux/pm.h:107) include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" drivers/net/8139cp.c:1658: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/8139cp.c:1659: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/8139cp.c:1856: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/8139cp.c:1907: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/8139too.c:2591: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/8139too.c:2604: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/cs89x0.c:185: warning: 'netcard_portlist' defined but not used drivers/net/amd8111e.c:1837: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/amd8111e.c:1838: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/amd8111e.c:1842: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/amd8111e.c:1843: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/amd8111e.c:1847: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/amd8111e.c:1859: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/net/amd8111e.c:1862: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/net/amd8111e.c:1863: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/parport/parport_serial.c:431: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/parport/parport_serial.c:439: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/parport/parport_serial.c:445: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/pcmcia/yenta_socket.c:1015: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/pcmcia/yenta_socket.c:1203: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/pcmcia/yenta_socket.c:1208: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/scsi/aic7xxx/aic79xx_osm.c:1036: warning: ignoring return value of 'scsi_add_host', declared with attribute warn_unused_result drivers/scsi/aic7xxx/aic79xx_osm_pci.c:173: warning: ignoring return value of 'pci_set_dma_mask', declared with attribute warn_unused_result drivers/scsi/aic7xxx/aic79xx_osm_pci.c:353: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/scsi/aic7xxx/aic7xxx_pci.c:723: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/scsi/aic7xxx/aic7xxx_pci.c:2013: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/scsi/aic7xxx/aic7xxx_osm.c:1034: warning: ignoring return value of 'scsi_add_host', declared with attribute warn_unused_result drivers/scsi/arcmsr/arcmsr.c:238:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:249:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:270:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:298:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:397:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:425:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:599:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:620:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:647:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:676:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:745:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:750:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:791:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:821:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:860:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:933:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:960:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:989:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1051:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1098:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1112:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1152:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1222:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1226:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1237:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1249:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1261:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1273:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1297:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1321:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1348:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1418:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1462:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1483:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1511:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1540:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1573:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1589:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1696:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1729:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1902:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1949:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:1971:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:2011:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:2031:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:2113:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:2179:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:2274:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:2387:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:2403:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:2425:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:2493:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:2535:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/arcmsr/arcmsr.c:2572:5: warning: "ARCMSR_DEBUG0" is not defined drivers/scsi/lpfc/lpfc_sli.c:2056: warning: 'iocb' may be used uninitialized in this function drivers/scsi/lpfc/lpfc_els.c:1693: warning: 'buf_ptr' may be used uninitialized in this function drivers/scsi/pcmcia/fdomain_stub.c:220: warning: ignoring return value of 'scsi_add_host', declared with attribute warn_unused_result drivers/scsi/fdomain.c:425: warning: 'ports' defined but not used drivers/scsi/fdomain.c:469: warning: 'signatures' defined but not used drivers/scsi/fdomain.c:652: warning: 'fdomain_get_irq' defined but not used drivers/scsi/pcmcia/nsp_cs.c:1887: warning: ignoring return value of 'scsi_add_host', declared with attribute warn_unused_result drivers/scsi/qla2xxx/qla_os.c:1134: warning: ignoring return value of 'pci_set_consistent_dma_mask', declared with attribute warn_unused_result drivers/scsi/qla2xxx/qla_os.c:1141: warning: ignoring return value of 'pci_set_dma_mask', declared with attribute warn_unused_result drivers/scsi/qla2xxx/qla_os.c:1144: warning: ignoring return value of 'pci_set_dma_mask', declared with attribute warn_unused_result drivers/scsi/sata_svw.c:106: warning: passing argument 2 of 'writeb' makes pointer from integer without a cast drivers/scsi/sata_svw.c:111: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_svw.c:112: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_svw.c:113: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_svw.c:114: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_svw.c:115: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_svw.c:117: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_svw.c:118: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_svw.c:119: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_svw.c:120: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_svw.c:121: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_svw.c:125: warning: passing argument 2 of 'writeb' makes pointer from integer without a cast drivers/scsi/sata_svw.c:136: warning: passing argument 1 of 'readw' makes pointer from integer without a cast drivers/scsi/sata_svw.c:137: warning: passing argument 1 of 'readw' makes pointer from integer without a cast drivers/scsi/sata_svw.c:138: warning: passing argument 1 of 'readw' makes pointer from integer without a cast drivers/scsi/sata_svw.c:139: warning: passing argument 1 of 'readw' makes pointer from integer without a cast drivers/scsi/sata_svw.c:140: warning: passing argument 1 of 'readw' makes pointer from integer without a cast drivers/scsi/sata_svw.c:143: warning: passing argument 1 of 'readw' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:89: warning: passing argument 1 of 'readb' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:94: warning: passing argument 2 of 'writeb' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:113: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:114: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:115: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:116: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:117: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:119: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:120: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:121: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:122: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:123: warning: passing argument 2 of 'writew' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:127: warning: passing argument 2 of 'writeb' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:138: warning: passing argument 1 of 'readw' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:139: warning: passing argument 1 of 'readw' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:140: warning: passing argument 1 of 'readw' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:141: warning: passing argument 1 of 'readw' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:142: warning: passing argument 1 of 'readw' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:145: warning: passing argument 1 of 'readb' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:254: warning: passing argument 2 of 'writel' makes pointer from integer without a cast drivers/scsi/sata_vsc.c:255: warning: passing argument 2 of 'writel' makes pointer from integer without a cast drivers/scsi/BusLogic.c:583: warning: 'check_region' is deprecated (declared at include/linux/ioport.h:124) drivers/scsi/BusLogic.c:585: warning: 'check_region' is deprecated (declared at include/linux/ioport.h:124) drivers/scsi/BusLogic.c:587: warning: 'check_region' is deprecated (declared at include/linux/ioport.h:124) drivers/scsi/BusLogic.c:589: warning: 'check_region' is deprecated (declared at include/linux/ioport.h:124) drivers/scsi/BusLogic.c:591: warning: 'check_region' is deprecated (declared at include/linux/ioport.h:124) drivers/scsi/BusLogic.c:593: warning: 'check_region' is deprecated (declared at include/linux/ioport.h:124) drivers/scsi/BusLogic.c:799: warning: 'check_region' is deprecated (declared at include/linux/ioport.h:124) drivers/scsi/BusLogic.c:809: warning: 'check_region' is deprecated (declared at include/linux/ioport.h:124) drivers/scsi/BusLogic.c:811: warning: 'check_region' is deprecated (declared at include/linux/ioport.h:124) drivers/scsi/BusLogic.c:813: warning: 'check_region' is deprecated (declared at include/linux/ioport.h:124) drivers/scsi/BusLogic.c:815: warning: 'check_region' is deprecated (declared at include/linux/ioport.h:124) drivers/scsi/BusLogic.c:817: warning: 'check_region' is deprecated (declared at include/linux/ioport.h:124) drivers/scsi/BusLogic.c:2299: warning: ignoring return value of 'scsi_add_host', declared with attribute warn_unused_result drivers/scsi/BusLogic.c:2960: warning: 'BusLogic_AbortCommand' defined but not used drivers/scsi/ultrastor.c:303: warning: matching constraint does not allow a register drivers/scsi/ultrastor.c:302: warning: matching constraint does not allow a register drivers/scsi/ultrastor.c:698: warning: matching constraint does not allow a register drivers/scsi/ultrastor.c:698: warning: matching constraint does not allow a register drivers/scsi/ultrastor.c:698: warning: matching constraint does not allow a register drivers/scsi/ultrastor.c:698: warning: matching constraint does not allow a register drivers/scsi/ultrastor.c:698: warning: matching constraint does not allow a register drivers/scsi/ultrastor.c:698: warning: matching constraint does not allow a register drivers/scsi/ultrastor.c:698: warning: matching constraint does not allow a register drivers/scsi/ultrastor.c:302: warning: matching constraint does not allow a register drivers/scsi/ultrastor.c:302: warning: matching constraint does not allow a register include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" drivers/scsi/aha1740.c:645: warning: ignoring return value of 'scsi_add_host', declared with attribute warn_unused_result drivers/scsi/ips.c:7058: warning: ignoring return value of 'scsi_add_host', declared with attribute warn_unused_result include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" drivers/scsi/fd_mcs.c:298: warning: 'fd_mcs_setup' defined but not used drivers/scsi/NCR5380.c:91:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:953:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:2122:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:2734:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:2734:16: warning: "NDEBUG_ABORT" is not defined drivers/scsi/NCR5380.c:701: warning: 'notyet_generic_proc_info' defined but not used drivers/scsi/NCR5380.c:91:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:953:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:2122:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:2734:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:2734:16: warning: "NDEBUG_ABORT" is not defined drivers/scsi/NCR5380.c:701: warning: 'notyet_generic_proc_info' defined but not used drivers/scsi/NCR53c406a.c:65:5: warning: "DEBUG" is not defined drivers/scsi/NCR53c406a.c:610: warning: 'NCR53c406a_setup' defined but not used drivers/scsi/ncr53c8xx.c:7622: warning: 'ncr53c8xx_setup' defined but not used drivers/scsi/NCR5380.c:91:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:953:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:2122:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:2734:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:2734:16: warning: "NDEBUG_ABORT" is not defined drivers/scsi/NCR5380.c:352: warning: 'phases' defined but not used drivers/scsi/NCR5380.c:91:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:953:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:2122:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:2734:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:2734:16: warning: "NDEBUG_ABORT" is not defined drivers/scsi/NCR5380.c:352: warning: 'phases' defined but not used drivers/scsi/NCR5380.c:91:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:953:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:2122:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:2734:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:2734:16: warning: "NDEBUG_ABORT" is not defined drivers/scsi/NCR5380.c:626: warning: 'NCR5380_print_options' defined but not used drivers/scsi/NCR5380.c:701: warning: 'NCR5380_proc_info' defined but not used drivers/scsi/NCR5380.c:352: warning: 'phases' defined but not used drivers/scsi/NCR5380.c:572: warning: 'NCR5380_probe_irq' defined but not used drivers/scsi/NCR5380.c:91:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:953:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:2122:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:2734:6: warning: "NDEBUG" is not defined drivers/scsi/NCR5380.c:2734:16: warning: "NDEBUG_ABORT" is not defined drivers/scsi/NCR5380.c:352: warning: 'phases' defined but not used include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" drivers/scsi/dc395x.c:4276: warning: 'ptr' may be used uninitialized in this function drivers/scsi/nsp32.c:2888: warning: ignoring return value of 'scsi_add_host', declared with attribute warn_unused_result drivers/scsi/nsp32.c:3449: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/scsi/nsp32.c:3463: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/scsi/nsp32.c:3464: warning: ignoring return value of 'pci_enable_wake', declared with attribute warn_unused_result drivers/serial/serial_core.c:2436: warning: 'uart_register_port' is deprecated (declared at drivers/serial/serial_core.c:2357) drivers/serial/serial_core.c:2437: warning: 'uart_unregister_port' is deprecated (declared at drivers/serial/serial_core.c:2414) drivers/serial/8250.c:2737: warning: 'register_serial' is deprecated (declared at drivers/serial/8250.c:2693) drivers/serial/8250.c:2753: warning: 'unregister_serial' is deprecated (declared at drivers/serial/8250.c:2750) drivers/serial/8250_pci.c:1705: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/serial/8250_pci.c:1713: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/serial/8250_pci.c:1720: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result drivers/telephony/ixj.c:3448: warning: 'blankword.high' may be used uninitialized in this function drivers/telephony/ixj.c:3448: warning: 'blankword.low' may be used uninitialized in this function drivers/telephony/ixj.c:4841: warning: 'bytes.high' may be used uninitialized in this function drivers/usb/input/keyspan_remote.c:185: warning: 'message.toggle' may be used uninitialized in this function drivers/usb/net/net1080.c:432: warning: unused variable 'net' drivers/usb/gadget/net2280.c:2905: warning: ignoring return value of 'pci_set_mwi', declared with attribute warn_unused_result drivers/video/savage/savagefb_driver.c:2214: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/video/savage/savagefb_driver.c:2236: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/video/savage/savagefb_driver.c:2242: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/video/i810/i810_main.c:1533: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/video/i810/i810_main.c:1547: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result drivers/video/i810/i810_main.c:1548: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result sound/core/oss/route.c:207: warning: 'src' may be used uninitialized in this function sound/pci/atiixp_modem.c:1118: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result sound/pci/atiixp_modem.c:1128: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result sound/pci/atiixp_modem.c:1129: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result sound/pci/atiixp.c:1429: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result sound/pci/atiixp.c:1439: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result sound/pci/atiixp.c:1440: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result sound/pci/cs4281.c:1353: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result sound/pci/cs4281.c:2091: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result sound/pci/ens1370.c:1889: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result sound/pci/ens1370.c:1889: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result sound/pci/es1938.c:1410: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result sound/pci/es1968.c:2183: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result sound/pci/es1968.c:2429: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result sound/pci/intel8x0.c:2399: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result sound/pci/intel8x0m.c:1088: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result sound/pci/maestro3.c:2617: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result sound/pci/via82xx_modem.c:1018: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result sound/pci/via82xx_modem.c:1028: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result sound/pci/via82xx_modem.c:1029: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result sound/pci/via82xx.c:1980: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result sound/pci/via82xx.c:1990: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result sound/pci/via82xx.c:1991: warning: ignoring return value of 'pci_set_power_state', declared with attribute warn_unused_result sound/pci/ali5451/ali5451.c:2070: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result sound/pci/au88x0/au88x0.c:151: warning: ignoring return value of 'pci_set_dma_mask', declared with attribute warn_unused_result sound/pci/au88x0/au88x0.c:151: warning: ignoring return value of 'pci_set_dma_mask', declared with attribute warn_unused_result sound/pci/au88x0/au88x0.c:151: warning: ignoring return value of 'pci_set_dma_mask', declared with attribute warn_unused_result sound/pci/cs46xx/cs46xx_lib.c:3727: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result sound/pci/hda/hda_intel.c:1235: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result sound/pci/nm256/nm256.c:1332: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result sound/pci/trident/trident_main.c:3950: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result sound/pci/ymfpci/ymfpci_main.c:2232: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result lib/zlib_inflate/inftrees.c:121: warning: 'r.base' may be used uninitialized in this function [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: 2.6.13-rc6-mm2 - drivers/net/s2io.o failed building 2005-08-23 4:30 2.6.13-rc6-mm2 Andrew Morton ` (3 preceding siblings ...) 2005-08-23 17:03 ` 2.6.13-rc6-mm2 - fs/xfs/xfs*.c warnings Damir Perisa @ 2005-08-23 17:27 ` Damir Perisa 2005-08-24 11:10 ` 2.6.13-rc6-mm2 doesn't compile on xtensa Adrian Bunk ` (2 subsequent siblings) 7 siblings, 0 replies; 16+ messages in thread From: Damir Perisa @ 2005-08-23 17:27 UTC (permalink / raw) To: Andrew Morton; +Cc: Linux Kernel Mailing List [-- Attachment #1: Type: text/plain, Size: 780 bytes --] 2.6.13-rc6-mm2 failed building with this problem (gcc 4.0.1): CC [M] drivers/net/s2io.o In file included from drivers/net/s2io.c:65: drivers/net/s2io.h: In function 'readq': drivers/net/s2io.h:765: error: invalid lvalue in assignment drivers/net/s2io.h:766: error: invalid lvalue in assignment make[2]: *** [drivers/net/s2io.o] Error 1 make[1]: *** [drivers/net] Error 2 make: *** [drivers] Error 2 ==> ERROR: Build Failed. Aborting... greetings, Damir Le Tuesday 23 August 2005 06:30, vous avez écrit : | - Various updates. Nothing terribly noteworthy. | | - This kernel still spits a bunch of scheduling-while-atomic warnings | from the scsi code. Please ignore. -- "Never give in. Never give in. Never. Never. Never." -- Winston Churchill [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* 2.6.13-rc6-mm2 doesn't compile on xtensa 2005-08-23 4:30 2.6.13-rc6-mm2 Andrew Morton ` (4 preceding siblings ...) 2005-08-23 17:27 ` 2.6.13-rc6-mm2 - drivers/net/s2io.o failed building Damir Perisa @ 2005-08-24 11:10 ` Adrian Bunk 2005-08-24 16:08 ` H. J. Lu 2005-08-24 14:14 ` [PATCH] mips: fix build warnings Yoichi Yuasa 2005-08-31 12:12 ` 2.6.13-rc6-mm2 - breaks USB unplug Marc Ballarin 7 siblings, 1 reply; 16+ messages in thread From: Adrian Bunk @ 2005-08-24 11:10 UTC (permalink / raw) To: Andrew Morton, H. J. Lu; +Cc: linux-kernel auxiliary-vector-cleanups.patch broke compilation on the xtensa architecture because it doesn't add an asm/auxvec.h on this architecture. 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] 16+ messages in thread
* Re: 2.6.13-rc6-mm2 doesn't compile on xtensa 2005-08-24 11:10 ` 2.6.13-rc6-mm2 doesn't compile on xtensa Adrian Bunk @ 2005-08-24 16:08 ` H. J. Lu 0 siblings, 0 replies; 16+ messages in thread From: H. J. Lu @ 2005-08-24 16:08 UTC (permalink / raw) To: Adrian Bunk; +Cc: Andrew Morton, linux-kernel On Wed, Aug 24, 2005 at 01:10:35PM +0200, Adrian Bunk wrote: > auxiliary-vector-cleanups.patch broke compilation on the xtensa > architecture because it doesn't add an asm/auxvec.h on this > architecture. > This added asm-frv/auxvec.h and asm-xtensa/auxvec.h. H.J. --- --- linux/include/asm-alpha/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-alpha/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,24 @@ +#ifndef __ASM_ALPHA_AUXVEC_H +#define __ASM_ALPHA_AUXVEC_H + +/* Reserve these numbers for any future use of a VDSO. */ +#if 0 +#define AT_SYSINFO 32 +#define AT_SYSINFO_EHDR 33 +#endif + +/* More complete cache descriptions than AT_[DIU]CACHEBSIZE. If the + value is -1, then the cache doesn't exist. Otherwise: + + bit 0-3: Cache set-associativity; 0 means fully associative. + bit 4-7: Log2 of cacheline size. + bit 8-31: Size of the entire cache >> 8. + bit 32-63: Reserved. +*/ + +#define AT_L1I_CACHESHAPE 34 +#define AT_L1D_CACHESHAPE 35 +#define AT_L2_CACHESHAPE 36 +#define AT_L3_CACHESHAPE 37 + +#endif /* __ASM_ALPHA_AUXVEC_H */ --- linux/include/asm-alpha/elf.h.auxv 2005-03-01 23:38:09.000000000 -0800 +++ linux/include/asm-alpha/elf.h 2005-08-24 09:03:39.000000000 -0700 @@ -1,6 +1,8 @@ #ifndef __ASM_ALPHA_ELF_H #define __ASM_ALPHA_ELF_H +#include <asm/auxvec.h> + /* Special values for the st_other field in the symbol table. */ #define STO_ALPHA_NOPV 0x80 @@ -142,26 +144,6 @@ extern int dump_elf_task_fp(elf_fpreg_t : amask (AMASK_CIX) ? "ev6" : "ev67"); \ }) -/* Reserve these numbers for any future use of a VDSO. */ -#if 0 -#define AT_SYSINFO 32 -#define AT_SYSINFO_EHDR 33 -#endif - -/* More complete cache descriptions than AT_[DIU]CACHEBSIZE. If the - value is -1, then the cache doesn't exist. Otherwise: - - bit 0-3: Cache set-associativity; 0 means fully associative. - bit 4-7: Log2 of cacheline size. - bit 8-31: Size of the entire cache >> 8. - bit 32-63: Reserved. -*/ - -#define AT_L1I_CACHESHAPE 34 -#define AT_L1D_CACHESHAPE 35 -#define AT_L2_CACHESHAPE 36 -#define AT_L3_CACHESHAPE 37 - #ifdef __KERNEL__ #define SET_PERSONALITY(EX, IBCS2) \ --- linux/include/asm-arm/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-arm/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,4 @@ +#ifndef __ASMARM_AUXVEC_H +#define __ASMARM_AUXVEC_H + +#endif --- linux/include/asm-arm26/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-arm26/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,4 @@ +#ifndef __ASMARM_AUXVEC_H +#define __ASMARM_AUXVEC_H + +#endif --- linux/include/asm-cris/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-cris/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,4 @@ +#ifndef __ASMCRIS_AUXVEC_H +#define __ASMCRIS_AUXVEC_H + +#endif --- linux/include/asm-frv/auxvec.h.auxv 2005-08-24 09:05:17.000000000 -0700 +++ linux/include/asm-frv/auxvec.h 2005-08-24 09:05:39.000000000 -0700 @@ -0,0 +1,4 @@ +#ifndef __FRV_AUXVEC_H +#define __FRV_AUXVEC_H + +#endif --- linux/include/asm-h8300/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-h8300/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,4 @@ +#ifndef __ASMH8300_AUXVEC_H +#define __ASMH8300_AUXVEC_H + +#endif --- linux/include/asm-i386/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-i386/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,11 @@ +#ifndef __ASMi386_AUXVEC_H +#define __ASMi386_AUXVEC_H + +/* + * Architecture-neutral AT_ values in 0-17, leave some room + * for more of them, start the x86-specific ones at 32. + */ +#define AT_SYSINFO 32 +#define AT_SYSINFO_EHDR 33 + +#endif --- linux/include/asm-i386/elf.h.auxv 2005-03-01 23:38:13.000000000 -0800 +++ linux/include/asm-i386/elf.h 2005-08-24 09:03:39.000000000 -0700 @@ -9,6 +9,7 @@ #include <asm/user.h> #include <asm/processor.h> #include <asm/system.h> /* for savesegment */ +#include <asm/auxvec.h> #include <linux/utsname.h> @@ -109,13 +110,6 @@ typedef struct user_fxsr_struct elf_fpxr #define ELF_PLATFORM (system_utsname.machine) -/* - * Architecture-neutral AT_ values in 0-17, leave some room - * for more of them, start the x86-specific ones at 32. - */ -#define AT_SYSINFO 32 -#define AT_SYSINFO_EHDR 33 - #ifdef __KERNEL__ #define SET_PERSONALITY(ex, ibcs2) do { } while (0) --- linux/include/asm-ia64/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-ia64/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,11 @@ +#ifndef _ASM_IA64_AUXVEC_H +#define _ASM_IA64_AUXVEC_H + +/* + * Architecture-neutral AT_ values are in the range 0-17. Leave some room for more of + * them, start the architecture-specific ones at 32. + */ +#define AT_SYSINFO 32 +#define AT_SYSINFO_EHDR 33 + +#endif /* _ASM_IA64_AUXVEC_H */ --- linux/include/asm-ia64/elf.h.auxv 2005-03-01 23:38:13.000000000 -0800 +++ linux/include/asm-ia64/elf.h 2005-08-24 09:03:39.000000000 -0700 @@ -12,6 +12,7 @@ #include <asm/fpu.h> #include <asm/page.h> +#include <asm/auxvec.h> /* * This is used to ensure we don't load something for the wrong architecture. @@ -177,13 +178,6 @@ extern void ia64_elf_core_copy_regs (str relevant until we have real hardware to play with... */ #define ELF_PLATFORM NULL -/* - * Architecture-neutral AT_ values are in the range 0-17. Leave some room for more of - * them, start the architecture-specific ones at 32. - */ -#define AT_SYSINFO 32 -#define AT_SYSINFO_EHDR 33 - #ifdef __KERNEL__ #define SET_PERSONALITY(ex, ibcs2) set_personality(PER_LINUX) #define elf_read_implies_exec(ex, executable_stack) \ --- linux/include/asm-m32r/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-m32r/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,4 @@ +#ifndef _ASM_M32R__AUXVEC_H +#define _ASM_M32R__AUXVEC_H + +#endif /* _ASM_M32R__AUXVEC_H */ --- linux/include/asm-m68k/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-m68k/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,4 @@ +#ifndef __ASMm68k_AUXVEC_H +#define __ASMm68k_AUXVEC_H + +#endif --- linux/include/asm-m68knommu/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-m68knommu/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,4 @@ +#ifndef __ASMm68k_AUXVEC_H +#define __ASMm68k_AUXVEC_H + +#endif --- linux/include/asm-mips/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-mips/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,4 @@ +#ifndef _ASM_AUXVEC_H +#define _ASM_AUXVEC_H + +#endif /* _ASM_AUXVEC_H */ --- linux/include/asm-parisc/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-parisc/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,4 @@ +#ifndef __ASMPARISC_AUXVEC_H +#define __ASMPARISC_AUXVEC_H + +#endif --- linux/include/asm-ppc/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-ppc/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,14 @@ +#ifndef __PPC_AUXVEC_H +#define __PPC_AUXVEC_H + +/* + * We need to put in some extra aux table entries to tell glibc what + * the cache block size is, so it can use the dcbz instruction safely. + */ +#define AT_DCACHEBSIZE 19 +#define AT_ICACHEBSIZE 20 +#define AT_UCACHEBSIZE 21 +/* A special ignored type value for PPC, for glibc compatibility. */ +#define AT_IGNOREPPC 22 + +#endif --- linux/include/asm-ppc/elf.h.auxv 2005-03-01 23:37:30.000000000 -0800 +++ linux/include/asm-ppc/elf.h 2005-08-24 09:03:39.000000000 -0700 @@ -7,6 +7,7 @@ #include <asm/types.h> #include <asm/ptrace.h> #include <asm/cputable.h> +#include <asm/auxvec.h> /* PowerPC relocations defined by the ABIs */ #define R_PPC_NONE 0 @@ -122,16 +123,6 @@ extern int dump_task_fpu(struct task_str #define SET_PERSONALITY(ex, ibcs2) set_personality((ibcs2)?PER_SVR4:PER_LINUX) -/* - * We need to put in some extra aux table entries to tell glibc what - * the cache block size is, so it can use the dcbz instruction safely. - */ -#define AT_DCACHEBSIZE 19 -#define AT_ICACHEBSIZE 20 -#define AT_UCACHEBSIZE 21 -/* A special ignored type value for PPC, for glibc compatibility. */ -#define AT_IGNOREPPC 22 - extern int dcache_bsize; extern int icache_bsize; extern int ucache_bsize; --- linux/include/asm-ppc64/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-ppc64/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,19 @@ +#ifndef __PPC64_AUXVEC_H +#define __PPC64_AUXVEC_H + +/* + * We need to put in some extra aux table entries to tell glibc what + * the cache block size is, so it can use the dcbz instruction safely. + */ +#define AT_DCACHEBSIZE 19 +#define AT_ICACHEBSIZE 20 +#define AT_UCACHEBSIZE 21 +/* A special ignored type value for PPC, for glibc compatibility. */ +#define AT_IGNOREPPC 22 + +/* The vDSO location. We have to use the same value as x86 for glibc's + * sake :-) + */ +#define AT_SYSINFO_EHDR 33 + +#endif /* __PPC64_AUXVEC_H */ --- linux/include/asm-ppc64/elf.h.auxv 2005-07-08 11:50:09.000000000 -0700 +++ linux/include/asm-ppc64/elf.h 2005-08-24 09:03:39.000000000 -0700 @@ -4,6 +4,7 @@ #include <asm/types.h> #include <asm/ptrace.h> #include <asm/cputable.h> +#include <asm/auxvec.h> /* PowerPC relocations defined by the ABIs */ #define R_PPC_NONE 0 @@ -237,21 +238,6 @@ do { \ #endif -/* - * We need to put in some extra aux table entries to tell glibc what - * the cache block size is, so it can use the dcbz instruction safely. - */ -#define AT_DCACHEBSIZE 19 -#define AT_ICACHEBSIZE 20 -#define AT_UCACHEBSIZE 21 -/* A special ignored type value for PPC, for glibc compatibility. */ -#define AT_IGNOREPPC 22 - -/* The vDSO location. We have to use the same value as x86 for glibc's - * sake :-) - */ -#define AT_SYSINFO_EHDR 33 - extern int dcache_bsize; extern int icache_bsize; extern int ucache_bsize; --- linux/include/asm-s390/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-s390/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,4 @@ +#ifndef __ASMS390_AUXVEC_H +#define __ASMS390_AUXVEC_H + +#endif --- linux/include/asm-sh/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-sh/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,4 @@ +#ifndef __ASM_SH_AUXVEC_H +#define __ASM_SH_AUXVEC_H + +#endif /* __ASM_SH_AUXVEC_H */ --- linux/include/asm-sh64/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-sh64/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,4 @@ +#ifndef __ASM_SH64_AUXVEC_H +#define __ASM_SH64_AUXVEC_H + +#endif /* __ASM_SH64_AUXVEC_H */ --- linux/include/asm-sparc/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-sparc/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,4 @@ +#ifndef __ASMSPARC_AUXVEC_H +#define __ASMSPARC_AUXVEC_H + +#endif /* !(__ASMSPARC_AUXVEC_H) */ --- linux/include/asm-sparc64/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-sparc64/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,4 @@ +#ifndef __ASM_SPARC64_AUXVEC_H +#define __ASM_SPARC64_AUXVEC_H + +#endif /* !(__ASM_SPARC64_AUXVEC_H) */ --- linux/include/asm-um/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-um/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,4 @@ +#ifndef __UM_AUXVEC_H +#define __UM_AUXVEC_H + +#endif --- linux/include/asm-v850/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-v850/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,4 @@ +#ifndef __V850_AUXVEC_H__ +#define __V850_AUXVEC_H__ + +#endif /* __V850_AUXVEC_H__ */ --- linux/include/asm-x86_64/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/asm-x86_64/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,4 @@ +#ifndef __ASM_X86_64_AUXVEC_H +#define __ASM_X86_64_AUXVEC_H + +#endif --- linux/include/asm-xtensa/auxvec.h.auxv 2005-08-24 09:05:24.000000000 -0700 +++ linux/include/asm-xtensa/auxvec.h 2005-08-24 09:06:06.000000000 -0700 @@ -0,0 +1,4 @@ +#ifndef __XTENSA_AUXVEC_H +#define __XTENSA_AUXVEC_H + +#endif --- linux/include/linux/auxvec.h.auxv 2005-08-24 09:03:39.000000000 -0700 +++ linux/include/linux/auxvec.h 2005-08-24 09:03:39.000000000 -0700 @@ -0,0 +1,31 @@ +#ifndef _LINUX_AUXVEC_H +#define _LINUX_AUXVEC_H + +#include <asm/auxvec.h> + +/* Symbolic values for the entries in the auxiliary table + put on the initial stack */ +#define AT_NULL 0 /* end of vector */ +#define AT_IGNORE 1 /* entry should be ignored */ +#define AT_EXECFD 2 /* file descriptor of program */ +#define AT_PHDR 3 /* program headers for program */ +#define AT_PHENT 4 /* size of program header entry */ +#define AT_PHNUM 5 /* number of program headers */ +#define AT_PAGESZ 6 /* system page size */ +#define AT_BASE 7 /* base address of interpreter */ +#define AT_FLAGS 8 /* flags */ +#define AT_ENTRY 9 /* entry point of program */ +#define AT_NOTELF 10 /* program is not ELF */ +#define AT_UID 11 /* real uid */ +#define AT_EUID 12 /* effective uid */ +#define AT_GID 13 /* real gid */ +#define AT_EGID 14 /* effective gid */ +#define AT_PLATFORM 15 /* string identifying CPU for optimizations */ +#define AT_HWCAP 16 /* arch dependent hints at CPU capabilities */ +#define AT_CLKTCK 17 /* frequency at which times() increments */ + +#define AT_SECURE 23 /* secure mode boolean */ + +#define AT_VECTOR_SIZE 42 /* Size of auxiliary table. */ + +#endif /* _LINUX_AUXVEC_H */ --- linux/include/linux/elf.h.auxv 2005-03-01 23:37:49.000000000 -0800 +++ linux/include/linux/elf.h 2005-08-24 09:03:39.000000000 -0700 @@ -2,6 +2,7 @@ #define _LINUX_ELF_H #include <linux/types.h> +#include <linux/auxvec.h> #include <asm/elf.h> #ifndef elf_read_implies_exec @@ -158,29 +159,6 @@ typedef __s64 Elf64_Sxword; #define ELF64_ST_BIND(x) ELF_ST_BIND(x) #define ELF64_ST_TYPE(x) ELF_ST_TYPE(x) -/* Symbolic values for the entries in the auxiliary table - put on the initial stack */ -#define AT_NULL 0 /* end of vector */ -#define AT_IGNORE 1 /* entry should be ignored */ -#define AT_EXECFD 2 /* file descriptor of program */ -#define AT_PHDR 3 /* program headers for program */ -#define AT_PHENT 4 /* size of program header entry */ -#define AT_PHNUM 5 /* number of program headers */ -#define AT_PAGESZ 6 /* system page size */ -#define AT_BASE 7 /* base address of interpreter */ -#define AT_FLAGS 8 /* flags */ -#define AT_ENTRY 9 /* entry point of program */ -#define AT_NOTELF 10 /* program is not ELF */ -#define AT_UID 11 /* real uid */ -#define AT_EUID 12 /* effective uid */ -#define AT_GID 13 /* real gid */ -#define AT_EGID 14 /* effective gid */ -#define AT_PLATFORM 15 /* string identifying CPU for optimizations */ -#define AT_HWCAP 16 /* arch dependent hints at CPU capabilities */ -#define AT_CLKTCK 17 /* frequency at which times() increments */ - -#define AT_SECURE 23 /* secure mode boolean */ - typedef struct dynamic{ Elf32_Sword d_tag; union{ --- linux/include/linux/sched.h.auxv 2005-08-24 09:02:00.000000000 -0700 +++ linux/include/linux/sched.h 2005-08-24 09:03:39.000000000 -0700 @@ -35,6 +35,8 @@ #include <linux/topology.h> #include <linux/seccomp.h> +#include <linux/auxvec.h> /* For AT_VECTOR_SIZE */ + struct exec_domain; /* @@ -244,7 +246,7 @@ struct mm_struct { mm_counter_t _rss; mm_counter_t _anon_rss; - unsigned long saved_auxv[42]; /* for /proc/PID/auxv */ + unsigned long saved_auxv[AT_VECTOR_SIZE]; /* for /proc/PID/auxv */ unsigned dumpable:2; cpumask_t cpu_vm_mask; ^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH] mips: fix build warnings 2005-08-23 4:30 2.6.13-rc6-mm2 Andrew Morton ` (5 preceding siblings ...) 2005-08-24 11:10 ` 2.6.13-rc6-mm2 doesn't compile on xtensa Adrian Bunk @ 2005-08-24 14:14 ` Yoichi Yuasa 2005-08-31 12:12 ` 2.6.13-rc6-mm2 - breaks USB unplug Marc Ballarin 7 siblings, 0 replies; 16+ messages in thread From: Yoichi Yuasa @ 2005-08-24 14:14 UTC (permalink / raw) To: Andrew Morton; +Cc: yuasa, linux-kernel Hi, This patch has fixed the following warnings. arch/mips/kernel/genex.S:250:5: warning: "CONFIG_64BIT" is not defined arch/mips/math-emu/cp1emu.c:1128:5: warning: "__mips64" is not defined arch/mips/math-emu/cp1emu.c:1206:5: warning: "__mips64" is not defined arch/mips/math-emu/cp1emu.c:1270:5: warning: "__mips64" is not defined arch/mips/math-emu/cp1emu.c:323:5: warning: "__mips64" is not defined arch/mips/math-emu/cp1emu.c:808:5: warning: "__mips64" is not defined arch/mips/math-emu/cp1emu.c:953:5: warning: "__mips64" is not defined arch/mips/mm/tlbex.c:519:5: warning: "CONFIG_64BIT" is not defined include/asm/reg.h:73:5: warning: "CONFIG_64BIT" is not defined Yoichi Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp> diff -urN -X dontdiff mm2-orig/arch/mips/kernel/genex.S mm2/arch/mips/kernel/genex.S --- mm2-orig/arch/mips/kernel/genex.S 2005-08-24 23:04:03.000000000 +0900 +++ mm2/arch/mips/kernel/genex.S 2005-08-24 22:31:00.000000000 +0900 @@ -244,10 +244,10 @@ start with an n and gas will believe \n is ok ... */ .macro __BUILD_verbose nexception LONG_L a1, PT_EPC(sp) -#if CONFIG_32BIT +#ifdef CONFIG_32BIT PRINT("Got \nexception at %08lx\012") #endif -#if CONFIG_64BIT +#ifdef CONFIG_64BIT PRINT("Got \nexception at %016lx\012") #endif .endm diff -urN -X dontdiff mm2-orig/arch/mips/math-emu/cp1emu.c mm2/arch/mips/math-emu/cp1emu.c --- mm2-orig/arch/mips/math-emu/cp1emu.c 2005-08-08 03:18:56.000000000 +0900 +++ mm2/arch/mips/math-emu/cp1emu.c 2005-08-24 22:50:55.000000000 +0900 @@ -320,7 +320,7 @@ case cop1_op: switch (MIPSInst_RS(ir)) { -#if __mips64 && !defined(SINGLE_ONLY_FPU) +#if defined(__mips64) && !defined(SINGLE_ONLY_FPU) case dmfc_op: /* copregister fs -> gpr[rt] */ if (MIPSInst_RT(ir) != 0) { @@ -805,7 +805,7 @@ ieee754dp d; ieee754sp s; int w; -#if __mips64 +#ifdef __mips64 s64 l; #endif } rv; /* resulting value */ @@ -950,7 +950,7 @@ } #endif /* __mips >= 2 */ -#if __mips64 && !defined(SINGLE_ONLY_FPU) +#if defined(__mips64) && !defined(SINGLE_ONLY_FPU) case fcvtl_op:{ ieee754sp fs; @@ -1125,7 +1125,7 @@ } #endif -#if __mips64 && !defined(SINGLE_ONLY_FPU) +#if defined(__mips64) && !defined(SINGLE_ONLY_FPU) case fcvtl_op:{ ieee754dp fs; @@ -1203,7 +1203,7 @@ break; } -#if __mips64 && !defined(SINGLE_ONLY_FPU) +#if defined(__mips64) && !defined(SINGLE_ONLY_FPU) case l_fmt:{ switch (MIPSInst_FUNC(ir)) { case fcvts_op: @@ -1267,7 +1267,7 @@ case w_fmt: SITOREG(rv.w, MIPSInst_FD(ir)); break; -#if __mips64 && !defined(SINGLE_ONLY_FPU) +#if defined(__mips64) && !defined(SINGLE_ONLY_FPU) case l_fmt: DITOREG(rv.l, MIPSInst_FD(ir)); break; diff -urN -X dontdiff mm2-orig/arch/mips/mm/tlbex.c mm2/arch/mips/mm/tlbex.c --- mm2-orig/arch/mips/mm/tlbex.c 2005-08-24 23:04:03.000000000 +0900 +++ mm2/arch/mips/mm/tlbex.c 2005-08-24 22:32:48.000000000 +0900 @@ -516,7 +516,7 @@ static __init void i_LA_mostly(u32 **buf, unsigned int rs, long addr) { -#if CONFIG_64BIT +#ifdef CONFIG_64BIT if (!in_compat_space_p(addr)) { i_lui(buf, rs, rel_highest(addr)); if (rel_higher(addr)) diff -urN -X dontdiff mm2-orig/include/asm-mips/reg.h mm2/include/asm-mips/reg.h --- mm2-orig/include/asm-mips/reg.h 2005-08-24 23:04:07.000000000 +0900 +++ mm2/include/asm-mips/reg.h 2005-08-24 22:30:38.000000000 +0900 @@ -70,7 +70,7 @@ #endif -#if CONFIG_64BIT +#ifdef CONFIG_64BIT #define EF_R0 0 #define EF_R1 1 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: 2.6.13-rc6-mm2 - breaks USB unplug 2005-08-23 4:30 2.6.13-rc6-mm2 Andrew Morton ` (6 preceding siblings ...) 2005-08-24 14:14 ` [PATCH] mips: fix build warnings Yoichi Yuasa @ 2005-08-31 12:12 ` Marc Ballarin 2005-08-31 16:18 ` Daniel Ritz 7 siblings, 1 reply; 16+ messages in thread From: Marc Ballarin @ 2005-08-31 12:12 UTC (permalink / raw) To: Andrew Morton; +Cc: linux-kernel, daniel.ritz, gregkh Hi, -rc6-mm2 breaks USB unplug for me. Happens with every USB device, gcc-3.3.5 and gcc-3.4.4 as well as preempt and non-preempt and is 100% reproducible. -rc6-mm1 seems fine. Reverting the following part of driver-core-fix-bus_rescan_devices-race.patch fixes this for me: diff -puN drivers/base/dd.c~driver-core-fix-bus_rescan_devices-race drivers/base/dd.c --- devel/drivers/base/dd.c~driver-core-fix-bus_rescan_devices-race 2005-08-22 17:44:11.000000000 -0700 +++ devel-akpm/drivers/base/dd.c 2005-08-22 17:44:11.000000000 -0700 @@ -127,10 +127,9 @@ int device_attach(struct device * dev) int ret = 0; down(&dev->sem); - if (dev->driver) { - device_bind_driver(dev); + if (dev->driver) ret = 1; - } else + else ret = bus_for_each_drv(dev->bus, NULL, dev, __device_attach); up(&dev->sem); return ret; dmesg and OOPS below (-laptop is just CONFIG_LOCALVERSION): Linux version 2.6.13-rc6-mm2-laptop (marc@mocktop) (gcc-Version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) #1 PREEMPT Wed Aug 31 12:05:38 CEST 2005 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009f800 (usable) BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000002fee0000 (usable) BIOS-e820: 000000002fee0000 - 000000002feec000 (ACPI data) BIOS-e820: 000000002feec000 - 000000002ff00000 (ACPI NVS) BIOS-e820: 000000002ff00000 - 0000000030000000 (reserved) BIOS-e820: 00000000fec10000 - 00000000fec20000 (reserved) BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved) BIOS-e820: 00000000fffffc00 - 0000000100000000 (reserved) 766MB LOWMEM available. On node 0, present: 196320, spanned: 196320 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 192224 pages, LIFO batch:31 HighMem zone: 0 pages, LIFO batch:1 DMI present. ACPI: RSDP (v000 ACER ) @ 0x000f62c0 ACPI: RSDT (v001 ACER Kestrel 0x20021012 LTP 0x00000000) @ 0x2fee6205 ACPI: FADT (v001 ACER Kestrel 0x20021012 PTL 0x00000050) @ 0x2feebf2c ACPI: HPET (v001 ACER Kestrel 0x20021012 PTL 0x00000000) @ 0x2feebfa0 ACPI: BOOT (v001 ACER Kestrel 0x20021012 LTP 0x00000001) @ 0x2feebfd8 ACPI: DSDT (v001 ACER Kestrel 0x20021012 MSFT 0x0100000e) @ 0x00000000 ACPI: PM-Timer IO Port: 0x1008 ACPI: HPET id: 0x8086a201 base: 0x0 Allocating PCI resources starting at 30000000 (gap: 30000000:cec10000) Built 1 zonelists Local APIC disabled by BIOS -- reenabling. Found and enabled local APIC! mapped APIC to ffffd000 (fee00000) Initializing CPU#0 Kernel command line: BOOT_IMAGE=Test-Kernel ro root=306 lapic ec_polling usb-handoff init 2 PID hash table entries: 4096 (order: 12, 65536 bytes) Detected 1599.324 MHz processor. Using pmtmr for high-res timesource Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 774328k/785280k available (1963k kernel code, 10488k reserved, 741k data, 460k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 3198.86 BogoMIPS (lpj=1599431) Security Framework v1.0.0 initialized Capability LSM initialized Mount-cache hash table entries: 512 CPU: After generic identify, caps: afe9fbbf 00000000 00000000 00000000 00000180 00000000 00000000 CPU: After vendor identify, caps: afe9fbbf 00000000 00000000 00000000 00000180 00000000 00000000 CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 2048K CPU: After all inits, caps: afe9fbbf 00000000 00000000 00000040 00000180 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. mtrr: v2.0 (20020519) CPU: Intel(R) Pentium(R) M processor 1.60GHz stepping 06 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. ACPI: setting ELCR to 0200 (from 0440) NET: Registered protocol family 16 ACPI: bus type pci registered PCI: PCI BIOS revision 2.10 entry at 0xfd782, last bus=2 PCI: Using configuration type 1 ACPI: Subsystem revision 20050729 ACPI: Interpreter enabled ACPI: Using PIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Probing PCI hardware (bus 00) PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1 Boot video device is 0000:01:00.0 PCI: Transparent bridge - 0000:00:1e.0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs *6) ACPI: PCI Interrupt Link [LNKB] (IRQs *10) ACPI: PCI Interrupt Link [LNKC] (IRQs *6) ACPI: PCI Interrupt Link [LNKD] (IRQs *6) ACPI: PCI Interrupt Link [LNKE] (IRQs *10) ACPI: PCI Interrupt Link [LNKF] (IRQs 10) *0, disabled. ACPI: PCI Interrupt Link [LNKG] (IRQs 6) *0, disabled. ACPI: PCI Interrupt Link [LNKH] (IRQs *10) ACPI: Embedded Controller [EC0] (gpe 29) ACPI: Power Resource [PFN0] (off) ACPI: Power Resource [PFN1] (off) Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI init pnp: PnP ACPI: found 9 devices PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report PCI: Bridge: 0000:00:01.0 IO window: 3000-3fff MEM window: d0100000-d01fffff PREFETCH window: d8000000-dfffffff PCI: Bus 3, cardbus bridge: 0000:02:06.0 IO window: 00004000-00004fff IO window: 00005000-00005fff PREFETCH window: 30000000-31ffffff MEM window: 34000000-35ffffff PCI: Bridge: 0000:00:1e.0 IO window: 4000-4fff MEM window: d0200000-d05fffff PREFETCH window: 30000000-32ffffff PCI: Setting latency timer of device 0000:00:1e.0 to 64 PCI: Enabling device 0000:02:06.0 (0104 -> 0107) ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 10 PCI: setting IRQ 10 as level-triggered ACPI: PCI Interrupt 0000:02:06.0[A] -> Link [LNKE] -> GSI 10 (level, low) -> IRQ 10 pnp: 00:03: ioport range 0x164e-0x164f has been reserved Simple Boot Flag at 0x37 set to 0x1 Total HugeTLB memory allocated, 0 Initializing Cryptographic API ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 6 PCI: setting IRQ 6 as level-triggered ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 6 (level, low) -> IRQ 6 radeonfb: Retreived PLL infos from BIOS radeonfb: Reference=27.00 MHz (RefDiv=6) Memory=450.00 Mhz, System=210.00 MHz radeonfb: PLL min 20000 max 35000 Non-DDC laptop panel detected radeonfb: Monitor 1 type LCD found radeonfb: Monitor 2 type CRT found radeonfb: EDID probed radeonfb: panel ID string: QDS radeonfb: detected LVDS panel size from BIOS: 1280x800 radeondb: BIOS provided dividers will be used radeonfb: Dynamic Clock Power Management enabled Console: switching to colour frame buffer device 160x50 radeonfb (0000:01:00.0): ATI Radeon NP ACPI: Power Button (FF) [PWRF] ACPI: Lid Switch [LID] ACPI: Sleep Button (CM) [SLPB] ACPI: Fan [FAN0] (off) ACPI: Fan [FAN1] (off) ACPI: Video Device [VGA] (multi-head: yes rom: no post: no) Using specific hotkey driver ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3]) ACPI: Processor [CPU0] (supports 8 throttling states) ACPI: Thermal Zone [THRM] (57 C) Real Time Clock Driver v1.12 PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:MOU2] at 0x60,0x64 irq 1,12 i8042.c: Detected active multiplexing controller, rev 1.1. serio: i8042 AUX0 port at 0x60,0x64 irq 12 serio: i8042 AUX1 port at 0x60,0x64 irq 12 serio: i8042 AUX2 port at 0x60,0x64 irq 12 serio: i8042 AUX3 port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 mice: PS/2 mouse device common for all mice io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ICH4: IDE controller at PCI slot 0000:00:1f.1 PCI: Enabling device 0000:00:1f.1 (0005 -> 0007) ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 6 ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link [LNKC] -> GSI 6 (level, low) -> IRQ 6 ICH4: chipset revision 3 ICH4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:DMA, hdd:pio Probing IDE interface ide0... input: AT Translated Set 2 keyboard on isa0060/serio0 hda: IC25N060ATMR04-0, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... hdc: MATSHITAUJ-831D, ATAPI CD/DVD-ROM drive ide1 at 0x170-0x177,0x376 on irq 15 hda: max request size: 1024KiB hda: 117210240 sectors (60011 MB) w/7884KiB Cache, CHS=16383/255/63, UDMA(100) hda: cache flushes supported hda: hda1 hda2 hda3 < hda5 hda6 hda7 > hda1: <netbsd:bad subpartition - ignored bad subpartition - ignored bad subpartition - ignored bad subpartition - ignored > hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com perfctr: driver 2.7.17, cpu type Intel P6 at 1599324 kHz NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 5, 131072 bytes) TCP established hash table entries: 131072 (order: 8, 1048576 bytes) TCP bind hash table entries: 65536 (order: 6, 262144 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI Shortcut mode BIOS EDD facility v0.16 2004-Jun-25, 1 devices found Freeing unused kernel memory: 460k freed EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds cdrom: open failed. EXT3 FS on hda6, internal journal Linux agpgart interface v0.101 (c) Dave Jones agpgart: Detected an Intel 855GM Chipset. agpgart: AGP aperture is 256M @ 0xe0000000 [drm] Initialized drm 1.0.0 20040925 ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 6 (level, low) -> IRQ 6 [drm] Initialized radeon 1.17.0 20050311 on minor 0: usbcore: registered new driver usbfs usbcore: registered new driver hub USB Universal Host Controller Interface driver v2.3 ACPI: PCI Interrupt 0000:00:1d.0[A] -> Link [LNKA] -> GSI 6 (level, low) -> IRQ 6 PCI: Setting latency timer of device 0000:00:1d.0 to 64 uhci_hcd 0000:00:1d.0: UHCI Host Controller uhci_hcd 0000:00:1d.0: detected 2 ports uhci_hcd 0000:00:1d.0: check_and_reset_hc: legsup = 0x2f00 uhci_hcd 0000:00:1d.0: Performing full reset uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:1d.0: irq 6, io base 0x00001800 usb usb1: default language 0x0409 usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: UHCI Host Controller usb usb1: Manufacturer: Linux 2.6.13-rc6-mm2-laptop uhci_hcd usb usb1: SerialNumber: 0000:00:1d.0 usb usb1: hotplug usb usb1: adding 1-0:1.0 (config #1, interface 0) usb 1-0:1.0: hotplug hub 1-0:1.0: usb_probe_interface hub 1-0:1.0: usb_probe_interface - got id hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected hub 1-0:1.0: standalone hub hub 1-0:1.0: no power switching (usb 1.0) hub 1-0:1.0: individual port over-current protection hub 1-0:1.0: power on to power good time: 2ms hub 1-0:1.0: local power source is good hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0000 ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 6 ACPI: PCI Interrupt 0000:00:1d.1[B] -> Link [LNKD] -> GSI 6 (level, low) -> IRQ 6 PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: UHCI Host Controller uhci_hcd 0000:00:1d.1: detected 2 ports uhci_hcd 0000:00:1d.1: check_and_reset_hc: legsup = 0x2f00 uhci_hcd 0000:00:1d.1: Performing full reset uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:1d.1: irq 6, io base 0x00001820 usb usb2: default language 0x0409 usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1 usb usb2: Product: UHCI Host Controller usb usb2: Manufacturer: Linux 2.6.13-rc6-mm2-laptop uhci_hcd usb usb2: SerialNumber: 0000:00:1d.1 usb usb2: hotplug usb usb2: adding 2-0:1.0 (config #1, interface 0) usb 2-0:1.0: hotplug hub 2-0:1.0: usb_probe_interface hub 2-0:1.0: usb_probe_interface - got id hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected hub 2-0:1.0: standalone hub hub 2-0:1.0: no power switching (usb 1.0) hub 2-0:1.0: individual port over-current protection hub 2-0:1.0: power on to power good time: 2ms hub 2-0:1.0: local power source is good hub 2-0:1.0: state 5 ports 2 chg 0000 evt 0000 uhci_hcd 0000:00:1d.1: port 2 portsc 01ab,00 hub 2-0:1.0: port 2, status 0301, change 0003, 1.5 Mb/s ACPI: PCI Interrupt 0000:00:1d.2[C] -> Link [LNKC] -> GSI 6 (level, low) -> IRQ 6 PCI: Setting latency timer of device 0000:00:1d.2 to 64 uhci_hcd 0000:00:1d.2: UHCI Host Controller uhci_hcd 0000:00:1d.2: detected 2 ports uhci_hcd 0000:00:1d.2: check_and_reset_hc: legsup = 0x2000 uhci_hcd 0000:00:1d.2: Performing full reset uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:1d.2: irq 6, io base 0x00001840 usb usb3: default language 0x0409 usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1 usb usb3: Product: UHCI Host Controller usb usb3: Manufacturer: Linux 2.6.13-rc6-mm2-laptop uhci_hcd usb usb3: SerialNumber: 0000:00:1d.2 usb usb3: hotplug usb usb3: adding 3-0:1.0 (config #1, interface 0) usb 3-0:1.0: hotplug hub 3-0:1.0: usb_probe_interface hub 3-0:1.0: usb_probe_interface - got id hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected hub 3-0:1.0: standalone hub hub 3-0:1.0: no power switching (usb 1.0) hub 3-0:1.0: individual port over-current protection hub 3-0:1.0: power on to power good time: 2ms hub 3-0:1.0: local power source is good ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96 ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 10 ACPI: PCI Interrupt 0000:00:1d.7[D] -> Link [LNKH] -> GSI 10 (level, low) -> IRQ 10 PCI: Setting latency timer of device 0000:00:1d.7 to 64 ehci_hcd 0000:00:1d.7: EHCI Host Controller ehci_hcd 0000:00:1d.7: reset hcs_params 0x103206 dbg=1 cc=3 pcc=2 ordered !ppc ports=6 ehci_hcd 0000:00:1d.7: reset hcc_params 6871 thresh 7 uframes 1024 64 bit addr ehci_hcd 0000:00:1d.7: debug port 1 ehci_hcd 0000:00:1d.7: capability 0001 at 68 ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4 ehci_hcd 0000:00:1d.7: irq 10, io mem 0xd0000000 ehci_hcd 0000:00:1d.7: reset command 080002 (park)=0 ithresh=8 period=1024 Reset HALT PCI: cache line size of 32 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: unable to enable MWI - not fatal. ehci_hcd 0000:00:1d.7: init command 010001 (park)=0 ithresh=1 period=1024 RUN ehci_hcd 0000:00:1d.7: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004 ehci_hcd 0000:00:1d.7: supports USB remote wakeup usb usb4: default language 0x0409 usb usb4: new device strings: Mfr=3, Product=2, SerialNumber=1 usb usb4: Product: EHCI Host Controller usb usb4: Manufacturer: Linux 2.6.13-rc6-mm2-laptop ehci_hcd usb usb4: SerialNumber: 0000:00:1d.7 usb usb4: hotplug usb usb4: adding 4-0:1.0 (config #1, interface 0) usb 4-0:1.0: hotplug hub 4-0:1.0: usb_probe_interface hub 4-0:1.0: usb_probe_interface - got id hub 4-0:1.0: USB hub found hub 4-0:1.0: 6 ports detected hub 4-0:1.0: standalone hub hub 4-0:1.0: no power switching (usb 1.0) hub 4-0:1.0: individual port over-current protection hub 4-0:1.0: Single TT hub 4-0:1.0: TT requires at most 8 FS bit times (666 ns) hub 4-0:1.0: power on to power good time: 20ms hub 4-0:1.0: local power source is good uhci_hcd 0000:00:1d.1: port 2 portsc 0082,00 b44.c:v0.95 (Aug 3, 2004) ACPI: PCI Interrupt 0000:02:02.0[A] -> Link [LNKD] -> GSI 6 (level, low) -> IRQ 6 eth0: Broadcom 4400 10/100BaseT Ethernet 00:c0:9f:72:89:d4 base: 0x18 alert: 0x20 i2c-acpi-ec.c: ACPI EC SMBus adapter at 0x18 ACPI: Smart Battery System [SBS0] hub 2-0:1.0: debounce: port 2: total 125ms stable 100ms status 0x100 hub 3-0:1.0: state 5 ports 2 chg 0000 evt 0004 uhci_hcd 0000:00:1d.2: port 2 portsc 008a,00 hub 3-0:1.0: port 2, status 0100, change 0003, 12 Mb/s ACPI: Smart Battery Charger [SBC] ACPI: Smart Battery Selector [SBSEL] hub 3-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x100 hub 4-0:1.0: state 5 ports 6 chg 0000 evt 0000 ehci_hcd 0000:00:1d.7: GetStatus port 4 status 001403 POWER sig=k CSC CONNECT hub 4-0:1.0: port 4, status 0501, change 0001, 480 Mb/s hub 4-0:1.0: debounce: port 4: total 100ms stable 100ms status 0x501 ehci_hcd 0000:00:1d.7: port 4 low speed --> companion ehci_hcd 0000:00:1d.7: GetStatus port 4 status 003002 POWER OWNER sig=se0 CSC hub 4-0:1.0: port_wait_reset: err = -107 ehci_hcd 0000:00:1d.7: GetStatus port 6 status 001403 POWER sig=k CSC CONNECT hub 4-0:1.0: port 6, status 0501, change 0001, 480 Mb/s hub 4-0:1.0: debounce: port 6: total 100ms stable 100ms status 0x501 ehci_hcd 0000:00:1d.7: port 6 low speed --> companion ehci_hcd 0000:00:1d.7: GetStatus port 6 status 003002 POWER OWNER sig=se0 CSC hub 4-0:1.0: port_wait_reset: err = -107 hub 4-0:1.0: state 5 ports 6 chg 0000 evt 0000 hub 2-0:1.0: state 5 ports 2 chg 0000 evt 0004 uhci_hcd 0000:00:1d.1: port 2 portsc 01a3,00 hub 2-0:1.0: port 2, status 0301, change 0001, 1.5 Mb/s Synaptics Touchpad, model: 1, fw: 5.9, id: 0x126eb1, caps: 0xa04713/0x4000 hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x301 input: SynPS/2 Synaptics TouchPad on isa0060/serio4 usb 2-2: new low speed USB device using uhci_hcd and address 2 usb 2-2: skipped 1 descriptor after interface usb 2-2: default language 0x0409 usb 2-2: new device strings: Mfr=1, Product=2, SerialNumber=0 usb 2-2: Product: Optical USB Mouse usb 2-2: Manufacturer: Logitech usb 2-2: hotplug usb 2-2: adding 2-2:1.0 (config #1, interface 0) usb 2-2:1.0: hotplug hub 3-0:1.0: state 5 ports 2 chg 0000 evt 0004 uhci_hcd 0000:00:1d.2: port 2 portsc 01a3,00 hub 3-0:1.0: port 2, status 0301, change 0001, 1.5 Mb/s hub 3-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x301 uhci_hcd 0000:00:1d.0: suspend_rh (auto-stop) usb 3-2: new low speed USB device using uhci_hcd and address 2 usb 3-2: skipped 1 descriptor after interface usb 3-2: skipped 1 descriptor after interface usb 3-2: default language 0x0409 usb 3-2: new device strings: Mfr=1, Product=2, SerialNumber=0 usb 3-2: Product: Logitech USB Keyboard usb 3-2: Manufacturer: Logitech usb 3-2: hotplug usb 3-2: adding 3-2:1.0 (config #1, interface 0) usb 3-2:1.0: hotplug usb 3-2: adding 3-2:1.1 (config #1, interface 1) usb 3-2:1.1: hotplug hub 2-0:1.0: state 5 ports 2 chg 0000 evt 0004 ACPI: Smart Battery Slot [SB0] (battery present) ACPI: Smart Battery Slot [SB1] (battery absent) acpi-cpufreq: CPU0 - ACPI performance management activated. loop: loaded (max 8 devices) usbcore: registered new driver hiddev usbhid 2-2:1.0: usb_probe_interface usbhid 2-2:1.0: usb_probe_interface - got id input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:00:1d.1-2 usbhid 3-2:1.0: usb_probe_interface usbhid 3-2:1.0: usb_probe_interface - got id input: USB HID v1.10 Keyboard [Logitech Logitech USB Keyboard] on usb-0000:00:1d.2-2 usbhid 3-2:1.1: usb_probe_interface usbhid 3-2:1.1: usb_probe_interface - got id input: USB HID v1.10 Mouse [Logitech Logitech USB Keyboard] on usb-0000:00:1d.2-2 usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver cdrom: open failed. ReiserFS: hda7: found reiserfs format "3.6" with standard journal ReiserFS: hda7: using ordered data mode ReiserFS: hda7: journal params: device hda7, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 ReiserFS: hda7: checking transaction log (hda7) ReiserFS: hda7: Using r5 hash to sort names NTFS driver 2.1.23 [Flags: R/W MODULE]. Adding 524280k swap on /.swapfile. Priority:-1 extents:276 across:1008812k ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10 ACPI: PCI Interrupt 0000:00:1f.5[B] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10 PCI: Setting latency timer of device 0000:00:1f.5 to 64 intel8x0_measure_ac97_clock: measured 50287 usecs intel8x0: clocking to 48000 ================== UNPLUG MOUSE HERE ================== hub 2-0:1.0: state 5 ports 2 chg 0000 evt 0004 uhci_hcd 0000:00:1d.1: port 2 portsc 008a,00 hub 2-0:1.0: port 2, status 0100, change 0003, 12 Mb/s usb 2-2: USB disconnect, address 2 usb 2-2: usb_disable_device nuking all URBs usb 2-2: unregistering interface 2-2:1.0 usb 2-2:1.0: hotplug usb 2-2: unregistering device BUG: atomic counter underflow at: [<c01c7cd1>] kref_put+0x51/0xa0 [<c0195789>] sysfs_hash_and_remove+0x59/0x102 [<c02e7a7b>] klist_remove+0x1b/0x40 [<c023a333>] __device_release_driver+0x43/0xa0 [<c023a3a6>] device_release_driver+0x16/0x30 [<c0239b9f>] bus_remove_device+0x4f/0x60 [<c0238b74>] device_del+0x24/0x60 [<c0238bb8>] device_unregister+0x8/0x10 [<f08660e2>] hub_port_connect_change+0x362/0x4f0 [usbcore] [<f0862328>] clear_port_feature+0x48/0x50 [usbcore] [<f086663f>] hub_events+0x3cf/0x5e0 [usbcore] [<c012d940>] autoremove_wake_function+0x0/0x50 [<f0866875>] hub_thread+0x25/0x120 [usbcore] [<c02e810d>] schedule+0x32d/0x6b0 [<c012d940>] autoremove_wake_function+0x0/0x50 [<c012d940>] autoremove_wake_function+0x0/0x50 [<f0866850>] hub_thread+0x0/0x120 [usbcore] [<c012d3f6>] kthread+0x96/0xe0 [<c012d360>] kthread+0x0/0xe0 [<c0100fa5>] kernel_thread_helper+0x5/0x10 Unable to handle kernel NULL pointer dereference at virtual address 00000000 printing eip: c02e85db *pde = 00000000 Oops: 0002 [#1] PREEMPT last sysfs file: /class/vc/vcsa4/dev Modules linked in: snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd snd_page_alloc ntfs vfat fat reiserfs usbhid loop acpi_cpufreq acpi_sbs i2c_acpi_ec b44 mii ehci_hcd uhci_hcd usbcore radeon drm intel_agp agpgart psmouse CPU: 0 EIP: 0060:[<c02e85db>] Not tainted VLI EFLAGS: 00010002 (2.6.13-rc6-mm2-laptop) EIP is at wait_for_completion+0x5b/0xf0 eax: ef12689c ebx: ee890000 ecx: ee891e80 edx: 00000000 esi: ef126898 edi: ee890000 ebp: ee891ea0 esp: ee891e54 ds: 007b es: 007b ss: 0068 Process khubd (pid: 5192, threadinfo=ee890000 task=ef0b6030) Stack: 00000000 ef0b6030 c0115320 00000000 00000000 ef126894 c02e79d0 f087dc60 00000001 ef0b6030 c0115320 ef12689c c0195789 ef5f6ac0 ef4695a8 ee890000 ef1268c4 ef126864 f087dc60 ef5f6ac0 c023a333 ef126864 ef786064 00000002 Call Trace: [<c0115320>] default_wake_function+0x0/0x10 [<c02e79d0>] klist_release+0x0/0x50 [<c0115320>] default_wake_function+0x0/0x10 [<c0195789>] sysfs_hash_and_remove+0x59/0x102 [<c023a333>] __device_release_driver+0x43/0xa0 [<c023a3a6>] device_release_driver+0x16/0x30 [<c0239b9f>] bus_remove_device+0x4f/0x60 [<c0238b74>] device_del+0x24/0x60 [<c0238bb8>] device_unregister+0x8/0x10 [<f08660e2>] hub_port_connect_change+0x362/0x4f0 [usbcore] [<f0862328>] clear_port_feature+0x48/0x50 [usbcore] [<f086663f>] hub_events+0x3cf/0x5e0 [usbcore] [<c012d940>] autoremove_wake_function+0x0/0x50 [<f0866875>] hub_thread+0x25/0x120 [usbcore] [<c02e810d>] schedule+0x32d/0x6b0 [<c012d940>] autoremove_wake_function+0x0/0x50 [<c012d940>] autoremove_wake_function+0x0/0x50 [<f0866850>] hub_thread+0x0/0x120 [usbcore] [<c012d3f6>] kthread+0x96/0xe0 [<c012d360>] kthread+0x0/0xe0 [<c0100fa5>] kernel_thread_helper+0x5/0x10 Code: e0 89 df 8b 13 c7 45 bc 20 53 11 c0 83 c8 01 89 45 d4 8d 46 04 89 55 b8 89 55 d8 c7 45 dc 20 53 11 c0 8b 50 04 89 45 e0 89 48 04 <89> 0a 89 55 e4 8b 07 c7 00 02 00 00 00 fb ff 4f 14 8b 47 08 a8 <3>BUG: khubd[5192] exited with nonzero preempt_count 1! uhci_hcd 0000:00:1d.1: suspend_rh (auto-stop) ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: 2.6.13-rc6-mm2 - breaks USB unplug 2005-08-31 12:12 ` 2.6.13-rc6-mm2 - breaks USB unplug Marc Ballarin @ 2005-08-31 16:18 ` Daniel Ritz 0 siblings, 0 replies; 16+ messages in thread From: Daniel Ritz @ 2005-08-31 16:18 UTC (permalink / raw) To: Marc Ballarin; +Cc: Andrew Morton, linux-kernel, gregkh hi On Wednesday 31 August 2005 14.12, Marc Ballarin wrote: > Hi, > > -rc6-mm2 breaks USB unplug for me. Happens with every USB device, > gcc-3.3.5 and gcc-3.4.4 as well as preempt and non-preempt and is 100% > reproducible. > -rc6-mm1 seems fine. > > Reverting the following part of > driver-core-fix-bus_rescan_devices-race.patch > fixes this for me: > [snip] see http://marc.theaimsgroup.com/?l=linux-kernel&m=112481438512222&w=2 rgds -daniel ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: 2.6.13-rc6-mm2
@ 2005-08-23 16:28 Daniel Ritz
0 siblings, 0 replies; 16+ messages in thread
From: Daniel Ritz @ 2005-08-23 16:28 UTC (permalink / raw)
To: Reuben Farrelly, Andrew Morton; +Cc: linux-kernel, Greg KH
> Yup, seems to be generally good...
>
> Noticed this in the log earlier tonight:
>
> Aug 23 19:44:51 tornado kernel: hub 5-0:1.0: port 1 disabled by hub (EMI?),
> re-enabling...
> Aug 23 19:44:51 tornado kernel: usb 5-1: USB disconnect, address 2
> Aug 23 19:44:51 tornado kernel: drivers/usb/class/usblp.c: usblp0: removed
> Aug 23 19:44:51 tornado kernel: Unable to handle kernel NULL pointer
> dereference at virtual address 00000004
> Aug 23 19:44:51 tornado kernel: printing eip:
> Aug 23 19:44:51 tornado kernel: c01ccef2
> Aug 23 19:44:51 tornado kernel: *pde = 00000000
> Aug 23 19:44:51 tornado kernel: Oops: 0000 [#1]
> Aug 23 19:44:51 tornado kernel: SMP
> Aug 23 19:44:51 tornado kernel: last sysfs file:
> /devices/pci0000:00/0000:00:1f.3/i2c-0/name
> Aug 23 19:44:51 tornado kernel: Modules linked in: nfsd exportfs lockd eeprom
> sunrpc ipv6 iptable_filter binfmt_misc reiser4 zlib_de
> flate zlib_inflate dm_mod video thermal processor fan button ac tpm_nsc
> i2c_i801 sky2 e100 sr_mod
> Aug 23 19:44:51 tornado kernel: CPU: 1
> Aug 23 19:44:51 tornado kernel: EIP: 0060:[<c01ccef2>] Not tainted VLI
> Aug 23 19:44:51 tornado kernel: EFLAGS: 00010286 (2.6.13-rc6-mm2)
> Aug 23 19:44:51 tornado kernel: EIP is at _raw_spin_lock+0x7/0x73
> Aug 23 19:44:51 tornado kernel: eax: 00000000 ebx: 00000000 ecx: c1a60658
> edx: c1a63e24
> Aug 23 19:44:51 tornado kernel: esi: 00000000 edi: c0382400 ebp: f7c55e98
> esp: f7c55e90
> Aug 23 19:44:51 tornado kernel: ds: 007b es: 007b ss: 0068
> Aug 23 19:44:51 tornado kernel: Process khubd (pid: 109, threadinfo=f7c54000
> task=c192b030)
> Aug 23 19:44:51 tornado kernel: Stack: f7c58a8c 00000000 f7c55ea0 c0312219
> f7c55eb0 c030feb7 f7c58ae8 f7c58a48
> Aug 23 19:44:51 tornado kernel: f7c55ec4 c0217e73 f7c58a48 f7d134ec
> 00000040 f7c55ed0 c0217ec0 f7c58a48
> Aug 23 19:44:51 tornado kernel: f7c55edc c0217814 f7c58a48 f7c55eec
> c0216ad2 f7c58a48 f7c58a14 f7c55ef8
> Aug 23 19:44:51 tornado kernel: Call Trace:
> Aug 23 19:44:51 tornado kernel: [<c01039c3>] show_stack+0x94/0xca
> Aug 23 19:44:51 tornado kernel: [<c0103b6c>] show_registers+0x15a/0x1ea
> Aug 23 19:44:51 tornado kernel: [<c0103d8a>] die+0x108/0x183
> Aug 23 19:44:51 tornado kernel: [<c031295a>] do_page_fault+0x1ea/0x63d
> Aug 23 19:44:51 tornado kernel: [<c0103693>] error_code+0x4f/0x54
> Aug 23 19:44:51 tornado kernel: [<c0312219>] _spin_lock+0x8/0xa
> Aug 23 19:44:51 tornado kernel: [<c030feb7>] klist_remove+0x10/0x2c
> Aug 23 19:44:51 tornado kernel: [<c0217e73>] __device_release_driver+0x41/0x65
> Aug 23 19:44:51 tornado kernel: [<c0217ec0>] device_release_driver+0x29/0x39
> Aug 23 19:44:51 tornado kernel: [<c0217814>] bus_remove_device+0x52/0x60
> Aug 23 19:44:51 tornado kernel: [<c0216ad2>] device_del+0x2e/0x5d
> Aug 23 19:44:51 tornado kernel: [<c0216b0c>] device_unregister+0xb/0x15
> Aug 23 19:44:51 tornado kernel: [<c0275d67>] usb_disconnect+0x115/0x15c
> Aug 23 19:44:51 tornado kernel: [<c0276b85>] hub_port_connect_change+0x54/0x399
> Aug 23 19:44:51 tornado kernel: [<c027713e>] hub_events+0x274/0x3b2
> Aug 23 19:44:51 tornado kernel: [<c0277296>] hub_thread+0x1a/0xdf
> Aug 23 19:44:51 tornado kernel: [<c012fba7>] kthread+0x99/0x9d
> Aug 23 19:44:51 tornado kernel: [<c01010b5>] kernel_thread_helper+0x5/0xb
> Aug 23 19:44:51 tornado kernel: Code: 00 00 00 8b 0d a8 62 36 c0 e9 61 ff ff
> ff f3 90 31 c0 86 07 84 c0 0f 8e 79 ff ff ff 83 c4 18 5
> b 5e 5f 5d c3 55 89 e5 56 53 89 c3 <81> 78 04 ad 4e ad de 75 2d be 00 e0 ff ff
> 21 e6 8b 06 39 43 0c
>
this one is my fault, caused by driver-core-fix-bus_rescan_devices-race.patch
problem is that USB is direclty messing with dev->driver and then calling
device_bind_driver() if the device is not already bound...
i think the correct solution would be a sane API here and disallow direct
messing with dev->driver...meanwhile the attached patch will do.
messing directly with dev->driver is especially bad if it's already set
to another driver. this leads to problems later in device_release_driver().
akpm: please replace driver-core-fix-bus_rescan_devices-race.patch with
the attached one.
rgds
-daniel
---
[PATCH] driver core: fix bus_rescan_devices() race.
bus_rescan_devices_helper() does not hold the dev->sem when it checks for
!dev->driver. device_attach() holds the sem, but calls again device_bind_driver()
even when dev->driver is set. what happens is that a first device_attach() call
(module insertion time) is on the way binding the device to a driver. another
thread calls bus_rescan_devices(). now when bus_rescan_devices_helper() checks
for dev->driver it is still NULL 'cos the the prior device_attach() is not yet
finished. but as soon as the first one releases the dev->sem the second
device_attach() tries to rebind the already bound device again.
device_bind_driver() does this blindly which leads to a corrupt
driver->klist_devices list (the device links itself, the head points to the
device). later a call to device_release_driver() sets dev->driver to NULL and
breaks the link it has to itself on knode_driver. rmmoding the driver later
calls driver_detach() which leads to an endless loop 'cos the list head in
klist_devices still points to the device. and since dev->driver is NULL it's
stuck with the same device forever. boom. and rmmod hangs.
very easy to reproduce with new-style pcmcia and a 16bit card. just loop
modprobe <pcmcia-modules> ;cardctl eject; rmmod <card driver, pcmcia modules>.
easiest fix is to check if the device is already bound to a driver in
device_bind_driver(). this avoids the double binding. nicer would be not to
call device_bind_driver() in device_attach() if dev->driver is set. but since
some drivers are messing with dev->driver directly this is not a good idea.
and while at it replace spin_(un|)lock_irq in driver_detach with the non-irq
variants. just doesn't make sense to me. the whole klist locking never uses the
irq variants.
Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
diff --git a/drivers/base/bus.c b/drivers/base/bus.c
--- a/drivers/base/bus.c
+++ b/drivers/base/bus.c
@@ -485,8 +485,7 @@ void bus_remove_driver(struct device_dri
/* Helper for bus_rescan_devices's iter */
static int bus_rescan_devices_helper(struct device *dev, void *data)
{
- if (!dev->driver)
- device_attach(dev);
+ device_attach(dev);
return 0;
}
diff --git a/drivers/base/dd.c b/drivers/base/dd.c
--- a/drivers/base/dd.c
+++ b/drivers/base/dd.c
@@ -40,6 +40,9 @@
*/
void device_bind_driver(struct device * dev)
{
+ if (klist_node_attached(&dev->knode_driver))
+ return;
+
pr_debug("bound device '%s' to driver '%s'\n",
dev->bus_id, dev->driver->name);
klist_add_tail(&dev->driver->klist_devices, &dev->knode_driver);
@@ -222,15 +225,15 @@ void driver_detach(struct device_driver
struct device * dev;
for (;;) {
- spin_lock_irq(&drv->klist_devices.k_lock);
+ spin_lock(&drv->klist_devices.k_lock);
if (list_empty(&drv->klist_devices.k_list)) {
- spin_unlock_irq(&drv->klist_devices.k_lock);
+ spin_unlock(&drv->klist_devices.k_lock);
break;
}
dev = list_entry(drv->klist_devices.k_list.prev,
struct device, knode_driver.n_node);
get_device(dev);
- spin_unlock_irq(&drv->klist_devices.k_lock);
+ spin_unlock(&drv->klist_devices.k_lock);
down(&dev->sem);
if (dev->driver == drv)
^ permalink raw reply [flat|nested] 16+ messages in threadend of thread, other threads:[~2005-09-01 21:21 UTC | newest] Thread overview: 16+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-08-23 4:30 2.6.13-rc6-mm2 Andrew Morton 2005-08-23 8:57 ` 2.6.13-rc6-mm2 Grant.Coady 2005-09-01 7:03 ` 2.6.13-rc6-mm2 Jean Delvare 2005-09-01 21:21 ` 2.6.13-rc6-mm2 Grant.Coady 2005-08-23 11:32 ` 2.6.13-rc6-mm2 Reuben Farrelly 2005-08-23 12:51 ` 2.6.13-rc6-mm2 (hangs on non-SMP x86-64 and oopses) Rafael J. Wysocki 2005-08-23 13:07 ` Ralf Baechle 2005-08-23 17:03 ` 2.6.13-rc6-mm2 - fs/xfs/xfs*.c warnings Damir Perisa 2005-08-23 19:25 ` 2.6.13-rc6-mm2 - complete list of warnings gcc 4.0.1 Damir Perisa 2005-08-23 17:27 ` 2.6.13-rc6-mm2 - drivers/net/s2io.o failed building Damir Perisa 2005-08-24 11:10 ` 2.6.13-rc6-mm2 doesn't compile on xtensa Adrian Bunk 2005-08-24 16:08 ` H. J. Lu 2005-08-24 14:14 ` [PATCH] mips: fix build warnings Yoichi Yuasa 2005-08-31 12:12 ` 2.6.13-rc6-mm2 - breaks USB unplug Marc Ballarin 2005-08-31 16:18 ` Daniel Ritz -- strict thread matches above, loose matches on Subject: below -- 2005-08-23 16:28 2.6.13-rc6-mm2 Daniel Ritz
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox