* 3.1-rc9 and 3.1 wifi problem , problem continues with 3.1
@ 2011-10-26 21:47 werner
2011-10-26 21:11 ` Guy, Wey-Yi
2011-10-26 22:21 ` wwguy
0 siblings, 2 replies; 7+ messages in thread
From: werner @ 2011-10-26 21:47 UTC (permalink / raw)
To: linux-kernel, linux-wireless, dave.taht, rientjes, arend,
toralf.foerster, wey-yi.w.guy, ilw, larry.finger
[-- Attachment #1: Type: text/plain, Size: 5402 bytes --]
As reported, with 3.1-rc9 the wifi of a friend's laptop
didnt work at all. With 3.0.4 it's working normally.
The problem continues with 3.1
Now I take some files for identify the problem. Below see
lsmod and dmesg , and enclosed is hwinfo and syslog of
that laptop as it was running with 3.1 just as wifi didn't
work. For comparison, on syslog you can see the
previous boots (I separated them by blank lines), all with
3.0.4 , when wifi was working.
I hope that's now enough information to fix that problem.
Werner Landgraf
============= lsmod ========================
Module Size Used by
bnep 7766 2
rfcomm 25786 3
hidp 10944 2
bluetooth 120537 16 bnep,rfcomm,hidp
snd_usb_audio 67370 0
snd_usbmidi_lib 13290 1 snd_usb_audio
snd_rawmidi 12740 1 snd_usbmidi_lib
snd_seq_device 3765 1 snd_rawmidi
tpm_tis 6429 0
tpm 9267 1 tpm_tis
tpm_bios 3680 1 tpm
i2c_i801 6737 0
iTCO_wdt 9371 0
iTCO_vendor_support 1329 1 iTCO_wdt
iwlagn 175521 0
mac80211 172429 1 iwlagn
cfg80211 123540 2 iwlagn,mac80211
uvcvideo 50646 0
rtc_cmos 7122 0
snd_hda_codec_realtek 194904 1
snd_hda_intel 17064 7
snd_hda_codec 55426 2
snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 4142 2
snd_usb_audio,snd_hda_codec
snd_pcm 52489 5
snd_usb_audio,snd_hda_intel,snd_hda_codec
snd_timer 13192 3 snd_pcm
snd 36610 20
snd_usb_audio,snd_usbmidi_lib,snd_rawmidi,snd_seq_device,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 3803 1 snd
snd_page_alloc 5101 2 snd_hda_intel,snd_pcm
================= dmesg (only last part which is visible)
===================
... plenty tests deleted ...
Testing event system raw_syscalls: OK
Running tests on all trace events:
Testing all events: OK
kmemleak: Kernel memory leak detector initialized
kmemleak: Automatic memory scanning thread started
kAFS: Red Hat AFS client v0.1 registering.
FS-Cache: Netfs 'afs' registered for caching
raid6test: testing the 4-disk case...
raid6test: test_disks(0, 1): faila= 0(D) failb= 1(D)
OK
... plenty raid tests deleted
raid6test: complete (257 tests, 0 failures)
register_blkdev: cannot get major 3 for hd
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
md: Waiting for all devices to be available before
autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
kjournald starting. Commit interval 5 seconds
EXT3-fs (sda1): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) readonly on device
8:1.
devtmpfs: mounted
Freeing unused kernel memory: 1004k freed
Write protecting the kernel text: 15588k
Write protecting the kernel read-only data: 4744k
udevd (5746): /proc/5746/oom_adj is deprecated, please use
/proc/5746/oom_score_adj instead.
snd_hda_intel 0000:00:1b.0: power state changed by ACPI to
D0
snd_hda_intel 0000:00:1b.0: power state changed by ACPI to
D0
ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 10
snd_hda_intel 0000:00:1b.0: PCI INT A -> Link[LNKF] -> GSI
10 (level, low) -> IRQ 10
snd_hda_intel 0000:00:1b.0: setting latency timer to 64
hda_codec: ALC269: BIOS auto-probing.
input: HDA Digital PCBeep as
/devices/pci0000:00/0000:00:1b.0/input/input10
input: HDA Intel Mic as
/devices/pci0000:00/0000:00:1b.0/sound/card0/input11
input: HDA Intel Headphone as
/devices/pci0000:00/0000:00:1b.0/sound/card0/input12
snd_hda_intel 0000:01:00.1: PCI INT B -> GSI 0 (level,
low) -> IRQ 0
hda-intel: unable to grab IRQ 0, disabling device
snd_hda_intel 0000:01:00.1: PCI INT B disabled
snd_hda_intel: probe of 0000:01:00.1 failed with error -16
rtc_cmos 00:08: RTC can wake from S4
rtc_cmos 00:08: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one month, y3k, 242 bytes nvram, hpet
irqs
uvcvideo: Found UVC 1.00 device CNF8015 (04f2:b112)
input: CNF8015 as
/devices/pci0000:00/0000:00:1a.7/usb1/1-2/1-2:1.0/input/input13
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
cfg80211: Calling CRDA to update world regulatory domain
Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:
Copyright(c) 2003-2011 Intel Corporation
iwlagn 0000:03:00.0: PCI INT A -> Link[LNKB] -> GSI 11
(level, low) -> IRQ 11
iwlagn 0000:03:00.0: setting latency timer to 64
iTCO_vendor_support: vendor-support=0
iwlagn 0000:03:00.0: pci_resource_len = 0x00002000
iwlagn 0000:03:00.0: pci_resource_base = fa07c000
iwlagn 0000:03:00.0: HW Revision ID = 0x0
iTCO_wdt: Intel TCO WatchDog Timer Driver v1.06
iwlagn 0000:03:00.0: pci_enable_msi failed
iwlagn 0000:03:00.0: PCI INT A disabled
iTCO_wdt: Found a ICH9M TCO device (Version=2,
TCOBASE=0x0460)
iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
i801_smbus 0000:00:1f.3: PCI INT C -> Link[LNKD] -> GSI 10
(level, low) -> IRQ 10
EXT3-fs (sda1): using internal journal
usbcore: registered new interface driver snd-usb-audio
---
Professional hosting for everyone - http://www.host.ru
[-- Attachment #2: hwinfo.bz2 --]
[-- Type: application/bzip2, Size: 54865 bytes --]
[-- Attachment #3: syslog.last.bz2 --]
[-- Type: application/bzip2, Size: 13235 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 3.1-rc9 and 3.1 wifi problem , problem continues with 3.1
2011-10-26 21:47 3.1-rc9 and 3.1 wifi problem , problem continues with 3.1 werner
@ 2011-10-26 21:11 ` Guy, Wey-Yi
2011-10-26 22:21 ` wwguy
1 sibling, 0 replies; 7+ messages in thread
From: Guy, Wey-Yi @ 2011-10-26 21:11 UTC (permalink / raw)
To: werner
Cc: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org,
dave.taht@gmail.com, rientjes@google.com, arend@broadcom.com,
toralf.foerster@gmx.de, ilw@linux.intel.com,
larry.finger@gmail.com
On Wed, 2011-10-26 at 14:47 -0700, werner wrote:
> As reported, with 3.1-rc9 the wifi of a friend's laptop
> didnt work at all. With 3.0.4 it's working normally.
>
> The problem continues with 3.1
>
> Now I take some files for identify the problem. Below see
> lsmod and dmesg , and enclosed is hwinfo and syslog of
> that laptop as it was running with 3.1 just as wifi didn't
> work. For comparison, on syslog you can see the
> previous boots (I separated them by blank lines), all with
> 3.0.4 , when wifi was working.
>
> I hope that's now enough information to fix that problem.
>
> The driver fail to enable msi, here is in the syslog
"Oct 26 11:39:29 darkstar kernel: hda-intel: unable to grab IRQ 0,
disabling device
Oct 26 11:39:29 darkstar kernel: snd_hda_intel: probe of 0000:01:00.1
failed with error -16
Oct 26 11:39:29 darkstar kernel: iwlagn 0000:03:00.0: pci_enable_msi
failed
"
Thanks
Wey
>
>
> ============= lsmod ========================
> Module Size Used by
> bnep 7766 2
> rfcomm 25786 3
> hidp 10944 2
> bluetooth 120537 16 bnep,rfcomm,hidp
> snd_usb_audio 67370 0
> snd_usbmidi_lib 13290 1 snd_usb_audio
> snd_rawmidi 12740 1 snd_usbmidi_lib
> snd_seq_device 3765 1 snd_rawmidi
> tpm_tis 6429 0
> tpm 9267 1 tpm_tis
> tpm_bios 3680 1 tpm
> i2c_i801 6737 0
> iTCO_wdt 9371 0
> iTCO_vendor_support 1329 1 iTCO_wdt
> iwlagn 175521 0
> mac80211 172429 1 iwlagn
> cfg80211 123540 2 iwlagn,mac80211
> uvcvideo 50646 0
> rtc_cmos 7122 0
> snd_hda_codec_realtek 194904 1
> snd_hda_intel 17064 7
> snd_hda_codec 55426 2
> snd_hda_codec_realtek,snd_hda_intel
> snd_hwdep 4142 2
> snd_usb_audio,snd_hda_codec
> snd_pcm 52489 5
> snd_usb_audio,snd_hda_intel,snd_hda_codec
> snd_timer 13192 3 snd_pcm
> snd 36610 20
> snd_usb_audio,snd_usbmidi_lib,snd_rawmidi,snd_seq_device,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
> soundcore 3803 1 snd
> snd_page_alloc 5101 2 snd_hda_intel,snd_pcm
>
>
>
> ================= dmesg (only last part which is visible)
> ===================
> ... plenty tests deleted ...
>
> Testing event system raw_syscalls: OK
> Running tests on all trace events:
> Testing all events: OK
> kmemleak: Kernel memory leak detector initialized
> kmemleak: Automatic memory scanning thread started
> kAFS: Red Hat AFS client v0.1 registering.
> FS-Cache: Netfs 'afs' registered for caching
> raid6test: testing the 4-disk case...
> raid6test: test_disks(0, 1): faila= 0(D) failb= 1(D)
> OK
>
> ... plenty raid tests deleted
>
> raid6test: complete (257 tests, 0 failures)
> register_blkdev: cannot get major 3 for hd
> drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
> BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
> md: Waiting for all devices to be available before
> autodetect
> md: If you don't use raid, use raid=noautodetect
> md: Autodetecting RAID arrays.
> md: Scanned 0 and added 0 devices.
> md: autorun ...
> md: ... autorun DONE.
> kjournald starting. Commit interval 5 seconds
> EXT3-fs (sda1): mounted filesystem with ordered data mode
> VFS: Mounted root (ext3 filesystem) readonly on device
> 8:1.
> devtmpfs: mounted
> Freeing unused kernel memory: 1004k freed
> Write protecting the kernel text: 15588k
> Write protecting the kernel read-only data: 4744k
> udevd (5746): /proc/5746/oom_adj is deprecated, please use
> /proc/5746/oom_score_adj instead.
> snd_hda_intel 0000:00:1b.0: power state changed by ACPI to
> D0
> snd_hda_intel 0000:00:1b.0: power state changed by ACPI to
> D0
> ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 10
> snd_hda_intel 0000:00:1b.0: PCI INT A -> Link[LNKF] -> GSI
> 10 (level, low) -> IRQ 10
> snd_hda_intel 0000:00:1b.0: setting latency timer to 64
> hda_codec: ALC269: BIOS auto-probing.
> input: HDA Digital PCBeep as
> /devices/pci0000:00/0000:00:1b.0/input/input10
> input: HDA Intel Mic as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
> input: HDA Intel Headphone as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
> snd_hda_intel 0000:01:00.1: PCI INT B -> GSI 0 (level,
> low) -> IRQ 0
> hda-intel: unable to grab IRQ 0, disabling device
> snd_hda_intel 0000:01:00.1: PCI INT B disabled
> snd_hda_intel: probe of 0000:01:00.1 failed with error -16
> rtc_cmos 00:08: RTC can wake from S4
> rtc_cmos 00:08: rtc core: registered rtc_cmos as rtc0
> rtc0: alarms up to one month, y3k, 242 bytes nvram, hpet
> irqs
> uvcvideo: Found UVC 1.00 device CNF8015 (04f2:b112)
> input: CNF8015 as
> /devices/pci0000:00/0000:00:1a.7/usb1/1-2/1-2:1.0/input/input13
> usbcore: registered new interface driver uvcvideo
> USB Video Class driver (1.1.1)
> cfg80211: Calling CRDA to update world regulatory domain
> Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:
> Copyright(c) 2003-2011 Intel Corporation
> iwlagn 0000:03:00.0: PCI INT A -> Link[LNKB] -> GSI 11
> (level, low) -> IRQ 11
> iwlagn 0000:03:00.0: setting latency timer to 64
> iTCO_vendor_support: vendor-support=0
> iwlagn 0000:03:00.0: pci_resource_len = 0x00002000
> iwlagn 0000:03:00.0: pci_resource_base = fa07c000
> iwlagn 0000:03:00.0: HW Revision ID = 0x0
> iTCO_wdt: Intel TCO WatchDog Timer Driver v1.06
> iwlagn 0000:03:00.0: pci_enable_msi failed
> iwlagn 0000:03:00.0: PCI INT A disabled
> iTCO_wdt: Found a ICH9M TCO device (Version=2,
> TCOBASE=0x0460)
> iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
> i801_smbus 0000:00:1f.3: PCI INT C -> Link[LNKD] -> GSI 10
> (level, low) -> IRQ 10
> EXT3-fs (sda1): using internal journal
> usbcore: registered new interface driver snd-usb-audio
> ---
> Professional hosting for everyone - http://www.host.ru
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 3.1-rc9 and 3.1 wifi problem , problem continues with 3.1
2011-10-26 21:47 3.1-rc9 and 3.1 wifi problem , problem continues with 3.1 werner
2011-10-26 21:11 ` Guy, Wey-Yi
@ 2011-10-26 22:21 ` wwguy
1 sibling, 0 replies; 7+ messages in thread
From: wwguy @ 2011-10-26 22:21 UTC (permalink / raw)
To: werner
Cc: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org,
dave.taht@gmail.com, rientjes@google.com, arend@broadcom.com,
toralf.foerster@gmx.de, ilw@linux.intel.com,
larry.finger@gmail.com
[-- Attachment #1: Type: text/plain, Size: 667 bytes --]
On Wed, 2011-10-26 at 14:47 -0700, werner wrote:
> As reported, with 3.1-rc9 the wifi of a friend's laptop
> didnt work at all. With 3.0.4 it's working normally.
>
> The problem continues with 3.1
>
> Now I take some files for identify the problem. Below see
> lsmod and dmesg , and enclosed is hwinfo and syslog of
> that laptop as it was running with 3.1 just as wifi didn't
> work. For comparison, on syslog you can see the
> previous boots (I separated them by blank lines), all with
> 3.0.4 , when wifi was working.
>
> I hope that's now enough information to fix that problem.
>
>
> Werner Landgraf
could you try this test patch
Thanks
Wey
[-- Attachment #2: 0001-iwlwifi-allow-pci_enable_msi-fail.patch --]
[-- Type: text/x-patch, Size: 1126 bytes --]
>From 64a1b22cc9d179d69c66b23619691ba2a13ee646 Mon Sep 17 00:00:00 2001
From: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Date: Wed, 26 Oct 2011 15:15:38 -0700
Subject: [PATCH 1/1] iwlwifi: allow pci_enable_msi fail
Continue the init process even fail to enable msi
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
---
drivers/net/wireless/iwlwifi/iwl-pci.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/net/wireless/iwlwifi/iwl-pci.c b/drivers/net/wireless/iwlwifi/iwl-pci.c
index 35d4551..911186f 100644
--- a/drivers/net/wireless/iwlwifi/iwl-pci.c
+++ b/drivers/net/wireless/iwlwifi/iwl-pci.c
@@ -429,10 +429,9 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
pci_write_config_byte(pdev, PCI_CFG_RETRY_TIMEOUT, 0x00);
err = pci_enable_msi(pdev);
- if (err) {
- dev_printk(KERN_ERR, &pdev->dev, "pci_enable_msi failed");
- goto out_iounmap;
- }
+ if (err)
+ dev_printk(KERN_ERR, &pdev->dev,
+ "pci_enable_msi failed(0X%x)", err);
/* TODO: Move this away, not needed if not MSI */
/* enable rfkill interrupt: hw bug w/a */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* 3.1-rc9 and 3.1 wifi problem , problem continues with 3.1
@ 2011-10-27 12:53 werner
2011-10-27 12:57 ` wwguy
2011-10-27 20:12 ` David Rientjes
0 siblings, 2 replies; 7+ messages in thread
From: werner @ 2011-10-27 12:53 UTC (permalink / raw)
To: linux-kernel, linux-wireless, dave.taht, rientjes, arend,
toralf.foerster, wey-yi.w.guy, ilw, larry.finger
With the patch sent by Guy, Wey-Yi W , now wifi works at
that laptop.
Werner Landgraf
---
Professional hosting for everyone - http://www.host.ru
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 3.1-rc9 and 3.1 wifi problem , problem continues with 3.1
2011-10-27 12:53 werner
@ 2011-10-27 12:57 ` wwguy
2011-10-27 20:12 ` David Rientjes
1 sibling, 0 replies; 7+ messages in thread
From: wwguy @ 2011-10-27 12:57 UTC (permalink / raw)
To: werner
Cc: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org,
dave.taht@gmail.com, rientjes@google.com, arend@broadcom.com,
toralf.foerster@gmx.de, ilw@linux.intel.com,
larry.finger@gmail.com
On Thu, 2011-10-27 at 05:53 -0700, werner wrote:
> With the patch sent by Guy, Wey-Yi W , now wifi works at
> that laptop.
>
thanks for reporting and testing
Wey
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 3.1-rc9 and 3.1 wifi problem , problem continues with 3.1
2011-10-27 12:53 werner
2011-10-27 12:57 ` wwguy
@ 2011-10-27 20:12 ` David Rientjes
2011-10-27 19:30 ` Guy, Wey-Yi
1 sibling, 1 reply; 7+ messages in thread
From: David Rientjes @ 2011-10-27 20:12 UTC (permalink / raw)
To: werner
Cc: linux-kernel, linux-wireless, dave.taht, arend, toralf.foerster,
wey-yi.w.guy, ilw, larry.finger
On Thu, 27 Oct 2011, werner wrote:
> With the patch sent by Guy, Wey-Yi W , now wifi works at that laptop.
>
Could you send a pointer to the exact patch(es) that you applied so we can
add your tested-by?
Thanks for testing!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 3.1-rc9 and 3.1 wifi problem , problem continues with 3.1
2011-10-27 20:12 ` David Rientjes
@ 2011-10-27 19:30 ` Guy, Wey-Yi
0 siblings, 0 replies; 7+ messages in thread
From: Guy, Wey-Yi @ 2011-10-27 19:30 UTC (permalink / raw)
To: David Rientjes
Cc: werner, linux-kernel@vger.kernel.org,
linux-wireless@vger.kernel.org, dave.taht@gmail.com,
arend@broadcom.com, toralf.foerster@gmx.de, ilw@linux.intel.com,
larry.finger@gmail.com
On Thu, 2011-10-27 at 13:12 -0700, David Rientjes wrote:
> On Thu, 27 Oct 2011, werner wrote:
>
> > With the patch sent by Guy, Wey-Yi W , now wifi works at that laptop.
> >
>
> Could you send a pointer to the exact patch(es) that you applied so we can
> add your tested-by?
>
> Thanks for testing!
I did not push the patch yet, I will have the Reported-by and Tested-by
and push it to wireless and CC to stable tree tomorrow
Thanks
Wey
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-10-27 20:21 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-26 21:47 3.1-rc9 and 3.1 wifi problem , problem continues with 3.1 werner
2011-10-26 21:11 ` Guy, Wey-Yi
2011-10-26 22:21 ` wwguy
-- strict thread matches above, loose matches on Subject: below --
2011-10-27 12:53 werner
2011-10-27 12:57 ` wwguy
2011-10-27 20:12 ` David Rientjes
2011-10-27 19:30 ` Guy, Wey-Yi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).