[Bug 660746] Re: System (notebook) freze after electric cable is detached in Maverick
** This bug is no longer a duplicate of bug 656745 notebook crashes on battery with particular wlan or other pcie devices enabled dell vostro 3700 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in Ubuntu. https://bugs.launchpad.net/bugs/660746 Title: System (notebook) freze after electric cable is detached in Maverick To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-power/+bug/660746/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 660746] Re: System (notebook) freze after electric cable is detached in Maverick
markush1986, thank you for reporting this and helping make Ubuntu better. Maverick reached EOL on April 10, 2012. Please see this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases We were wondering if this is still an issue in a supported release? If so, could you please capture the oops following https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Capturing_OOPs ? As well, could you please test for this with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ . If it remains an issue, could you please run the following command in the development release from a Terminal (Applications-Accessories-Terminal), as it will automatically gather and attach updated debug information to this report: apport-collect -p linux replace-with-bug-number Also, could you please test the latest upstream kernel available? It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please do not test the kernel in the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please remove the 'needs-upstream- testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. As well, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'. If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream', and comment as to why specifically you were unable to test it. Please let us know your results. Thanks in advance. Helpful Bug Reporting Links: https://help.ubuntu.com/community/ReportingBugs#Bug_Reporting_Etiquette https://help.ubuntu.com/community/ReportingBugs#A3._Make_sure_the_bug_hasn.27t_already_been_reported https://help.ubuntu.com/community/ReportingBugs#Adding_Apport_Debug_Information_to_an_Existing_Launchpad_Bug https://help.ubuntu.com/community/ReportingBugs#Adding_Additional_Attachments_to_an_Existing_Launchpad_Bug ** Tags added: needs-upstream-testing ** Tags removed: regression-release ** Package changed: gnome-power-manager (Ubuntu) = linux (Ubuntu) ** Changed in: linux (Ubuntu) Importance: Undecided = Medium ** Changed in: linux (Ubuntu) Status: Confirmed = Incomplete ** Project changed: gnome-power = linux ** Changed in: linux Importance: Medium = Undecided ** Changed in: linux Remote watch: GNOME Bug Tracker #636197 = None ** Changed in: linux Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in Ubuntu. https://bugs.launchpad.net/bugs/660746 Title: System (notebook) freze after electric cable is detached in Maverick To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/660746/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 660746] Re: System (notebook) freze after electric cable is detached in Maverick
*** This bug is a duplicate of bug 656745 *** https://bugs.launchpad.net/bugs/656745 i want to remove maverick from my notebook.how do i do this -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in Ubuntu. https://bugs.launchpad.net/bugs/660746 Title: System (notebook) freze after electric cable is detached in Maverick -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 660746] Re: System (notebook) freze after electric cable is detached in Maverick
*** This bug is a duplicate of bug 656745 *** https://bugs.launchpad.net/bugs/656745 Same problem on ASUS K50IE with ubuntu 10.10 64 bits I have found a bypass and maybe a lead for debugging : I have install the package laptop-mode-tools : It remove the packages acpi-support and pm-utils and then it works on battery ( I'm currently on battery ;-) ) I hope it helps! -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. https://bugs.launchpad.net/bugs/660746 Title: System (notebook) freze after electric cable is detached in Maverick -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 660746] Re: System (notebook) freze after electric cable is detached in Maverick
Hi Miroslav, your post gave me the idea to try to just disable the wireless powersaving for now: sudo mv /usr/lib/pm-utils/power.d/wireless ~ (Just moving it to somewhere save.) This works for me. Now wireless works fine on battery. This is of course just a workaround. We need to find out what powersave attempts cause which cards to fail and why... -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. https://bugs.launchpad.net/bugs/660746 Title: System (notebook) freze after electric cable is detached in Maverick -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 660746] Re: System (notebook) freze after electric cable is detached in Maverick
Hi Wolfgang, I've been trying to find what's the problem whole day and I think I found the solution/workaround. You are pretty close, but /usr/lib/pm-utils/power.d/wireless does nothing in my case, I only get the message in pm-powersave.log: Running hook /usr/lib/pm-utils/power.d/wireless true: Turning powersave for wlan0 on...Error for wireless request Set Power Management (8B2C) : SET failed on device wlan0 ; Operation not supported. Failed. /usr/lib/pm-utils/power.d/wireless true: success. But I found the script causing problem is: /usr/lib/pm-utils/power.d/pcie_aspm Very simple workaround is to create empty file pcie_aspm in /etc/pm/power.d folder with execute bit disabled. What this does it prevents /usr/lib/pm-utils/power.d/pcie_aspm from running. It's better way than to delete /usr/lib/pm-utils/power.d/pcie_aspm, because that can be recreated in future updates. I wish you people give a try and check whether this help. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. https://bugs.launchpad.net/bugs/660746 Title: System (notebook) freze after electric cable is detached in Maverick -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 660746] Re: System (notebook) freze after electric cable is detached in Maverick
I forgot - I didn't study what pcie_aspm does but I guess it tries to enable some power-saving on PCIE lanes. I'm not sure we find what is the real cause of the problem, it might be the poor hardware implementation in (my) Intel WiFi card. With Broadcom WiFi card everything was just fine... -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. https://bugs.launchpad.net/bugs/660746 Title: System (notebook) freze after electric cable is detached in Maverick -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 660746] Re: System (notebook) freze after electric cable is detached in Maverick
*** This bug is a duplicate of bug 656745 *** https://bugs.launchpad.net/bugs/656745 ** This bug has been marked a duplicate of bug 656745 dell vostro 3700 always crash (frozen) if I work with battery (power or thermal limit exceeded) * You can subscribe to bug 656745 by following this link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/656745/+subscribe -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. https://bugs.launchpad.net/bugs/660746 Title: System (notebook) freze after electric cable is detached in Maverick -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 660746] Re: System (notebook) freze after electric cable is detached in Maverick
Some updates today: I put the hardrive with Maverick into my laptop and installed new updates. Then I removed the power lead and the system crashed. Again. So no progress in solving this bug yet. I started to dig in my system little bit: 1.) I removed the internal WiFi card (based on Intel 4965AGN), then I booted the Maverick, removed the power lead and NOTHING! No crash! But without wifi my laptop is quite useless, so: 2.) I plugged the USB WiFi stick (based on RaLink chipset RT2500USB), removed the power lead and NOTHING! No crash! I have spare internal WiFi card, so I removed the USB WiFi stick and: 3.) I plugged another internal WiFi card (based on Broadcom BCM4315 chipset), booted Maverick, installed restricted kernel drivers, restarted the system and removed the power lead - NOTHING! No crash! Now I started to suspect the Intel 4965AGN WiFi card to be the cause of all the problems. So I removed the Broadcom card and plugged the Intel back. Restarted, removed the power lead and CRASH! So we are closer now, at least in my case. I started to study the logs, I did this before but because of crashes there was nothing. But today I found two pieces of information: The last rows in the kern.log are suspicious: kernel: [ 119.059334] atkbd serio0: Unknown key pressed (translated set 2, code 0xee on isa0060/serio0). kernel: [ 119.059344] atkbd serio0: Use 'setkeycodes e06e keycode' to make it known. kernel: [ 119.069352] atkbd serio0: Unknown key released (translated set 2, code 0xee on isa0060/serio0). kernel: [ 119.069360] atkbd serio0: Use 'setkeycodes e06e keycode' to make it known. ...(my comment - these 4 messages are harmless, they always appear when I remove the power lead)... kernel: [ 121.272191] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro,commit=600 ...(my comment - following messages are the latest before crash)... kernel: [ 126.610093] No probe response from AP 00:16:01:af:aa:7c after 500ms, disconnecting. kernel: [ 127.110065] iwlagn :05:00.0: Error sending REPLY_RXON: time out after 500ms. kernel: [ 127.110079] iwlagn :05:00.0: Error setting new RXON (-110) kernel: [ 127.610087] iwlagn :05:00.0: Error sending REPLY_REMOVE_STA: time out after 500ms. kernel: [ 127.610103] iwlagn :05:00.0: Error removing station 00:16:01:af:aa:7c kernel: [ 127.662743] cfg80211: All devices are disconnected, going to restore regulatory settings kernel: [ 127.662763] cfg80211: Restoring regulatory settings kernel: [ 127.662773] cfg80211: Calling CRDA to update world regulatory domain kernel: [ 127.675943] cfg80211: World regulatory domain updated: kernel: [ 127.675953] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) kernel: [ 127.675961] (2402000 KHz - 2472000 KHz @ 4 KHz), (300 mBi, 2000 mBm) kernel: [ 127.675968] (2457000 KHz - 2482000 KHz @ 2 KHz), (300 mBi, 2000 mBm) kernel: [ 127.675975] (2474000 KHz - 2494000 KHz @ 2 KHz), (300 mBi, 2000 mBm) kernel: [ 127.675983] (517 KHz - 525 KHz @ 4 KHz), (300 mBi, 2000 mBm) kernel: [ 127.675989] (5735000 KHz - 5835000 KHz @ 4 KHz), (300 mBi, 2000 mBm) kernel: [ 127.873202] iwlagn :05:00.0: HARDWARE GONE?? INTA == 0x kernel: [ 127.873202] iwlagn :05:00.0: HARDWARE GONE?? INTA == 0x kernel: [ 128.466123] iwlagn :05:00.0: Error sending REPLY_SCAN_CMD: time out after 500ms. kernel: [ 128.960078] iwlagn :05:00.0: Error sending REPLY_TX_PWR_TABLE_CMD: time out after 500ms. I also found something interesting in the pm-powersave.log: Running hook /usr/lib/pm-utils/power.d/wireless false: Turning powersave for wlan0 off...Error for wireless request Set Power Management (8B2C) : SET failed on device wlan0 ; Operation not supported. Failed. /usr/lib/pm-utils/power.d/wireless false: success. So what's that mean??? What I think happened - gnome power management system detectes that power lead has been removed and tries to force the intel wifi card into some power saving mode. Intel wifi driver probably doesn't recognise the command OR screwes something. Maybe it even crashes the wifi card and the card consequently crashes the PCI-express bus between card slot and northbridge. Why this crashes the whole system I don't know. My suggestion for gnome power management subsystem developers is - please find the way how to blacklist the Intel wifi driver from being pushed into power save mode or better inform the Intel driver developers about the problem. Now I'm going to put back the hardrive with fully operating 10.04. I will wait for some usefull replies. Bye for now. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. https://bugs.launchpad.net/bugs/660746 Title: System (notebook) freze after electric cable is detached in Maverick -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com
[Bug 660746] Re: System (notebook) freze after electric cable is detached in Maverick
** Changed in: gnome-power Status: Unknown = New ** Changed in: gnome-power Importance: Unknown = Medium -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. https://bugs.launchpad.net/bugs/660746 Title: System (notebook) freze after electric cable is detached in Maverick -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs