[Bug 707003] Re: Kernel panic when trying to offline CPU1
Since we only have one more SRU update for Maverick scheduled at this point, I am marking this as "won't fix". ** Changed in: linux-ti-omap4 (Ubuntu Maverick) Status: In Progress => Won't Fix ** Changed in: linux-ti-omap4 (Ubuntu) Status: In Progress => Fix Released ** Changed in: linux-ti-omap4 (Ubuntu) Milestone: maverick-updates => natty-updates ** Changed in: linux-ti-omap4 (Ubuntu Natty) Milestone: maverick-updates => natty-updates ** Changed in: linux-ti-omap4 (Ubuntu Maverick) Milestone: None => maverick-updates -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/707003 Title: Kernel panic when trying to offline CPU1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/707003/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 707003] Re: Kernel panic when trying to offline CPU1
The attachment "0001-oprofile-Fix-the-hang-while-taking-the-cpu- offline.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report. [This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/707003 Title: Kernel panic when trying to offline CPU1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/707003/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 707003] Re: Kernel panic when trying to offline CPU1
Is this bug going to get fixed for Maverick? I tested the kernel at http://people.canonical.com/~ppisati/lp707003/linux- image-2.6.35-903-omap4_2.6.35-903.22_armel.deb and it works fine. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/707003 Title: Kernel panic when trying to offline CPU1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/707003/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 707003] Re: Kernel panic when trying to offline CPU1
** Changed in: linux-ti-omap4 (Ubuntu Natty) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/707003 Title: Kernel panic when trying to offline CPU1 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 707003] Re: Kernel panic when trying to offline CPU1
** Changed in: linux-ti-omap4 (Ubuntu Maverick) Status: New => In Progress ** Changed in: linux-ti-omap4 (Ubuntu Maverick) Assignee: (unassigned) => Paolo Pisati (p-pisati) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/707003 Title: Kernel panic when trying to offline CPU1 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 707003] Re: Kernel panic when trying to offline CPU1
** Also affects: linux-ti-omap4 (Ubuntu Maverick) Importance: Undecided Status: New ** Also affects: linux-ti-omap4 (Ubuntu Natty) Importance: Medium Assignee: Paolo Pisati (p-pisati) Status: In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/707003 Title: Kernel panic when trying to offline CPU1 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 707003] Re: Kernel panic when trying to offline CPU1
Both putting cpu offline and putting it back to online works on my Panda board with latest 1208.12 natty kernel. http://pastebin.ubuntu.com/599657/ ** Changed in: linux-ti-omap4 (Ubuntu) Milestone: None => maverick-updates ** Changed in: linux-ti-omap4 (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/707003 Title: Kernel panic when trying to offline CPU1 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 707003] Re: Kernel panic when trying to offline CPU1
reverting 587ba4e34d53149ca9bf4c53265ab6fe7e203b46 fixes the panic (see attached patch). http://people.canonical.com/~ppisati/lp707003/linux- image-2.6.35-903-omap4_2.6.35-903.22_armel.deb this is a maverick/ti-omap4 kernel (with the two patches mentioned in this thread applied) that fixes this problem. ** Patch added: "0002-Revert-omap4-pm-CPU1-wakeup-workaround-form-Low-powe.patch" https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/707003/+attachment/1992954/+files/0002-Revert-omap4-pm-CPU1-wakeup-workaround-form-Low-powe.patch ** Changed in: linux-ti-omap4 (Ubuntu) Status: New => In Progress ** Changed in: linux-ti-omap4 (Ubuntu) Assignee: (unassigned) => Paolo Pisati (p-pisati) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/707003 Title: Kernel panic when trying to offline CPU1 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 707003] Re: Kernel panic when trying to offline CPU1
@Tobin: the attached patch fix the terminal hangs in maverick/ti-omap4, but unfortunately when i try to put the cpu back online i get: 1) a solid hang with no output on console 2) a garbled console interwound with a panic message from what i could gather from 2, it seems it's the same issue Philipp is experiencing, but i can't get a "clean" panic/stack trace with this kernel. @Philipp: i can't reproduce your panic: git://dev.omapzoom.org/pub/scm/integration/kernel-ubuntu.git kernel- ubuntu i tried different tags/sha: Ubuntu-2.6.35-980.1release9 Ubuntu-2.6.35-980.1release1 Ubuntu-2.6.35-ti903.13+release3 is it correct? ** Patch added: "0001-oprofile-Fix-the-hang-while-taking-the-cpu-offline.patch" https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/707003/+attachment/1958971/+files/0001-oprofile-Fix-the-hang-while-taking-the-cpu-offline.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/707003 Title: Kernel panic when trying to offline CPU1 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 707003] Re: Kernel panic when trying to offline CPU1
I can not reproduce this on the current natty kernel (2.6.35-1101.4). On maverick with the latest updated kernel (2.6.35-903.21) running this command shuts down the cpu with no dmesg error, however the system doesn't return to a shell prompt. Opening a new terminal and running with 1 reenables the cpu, but also fails to return the shell prompt. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/707003 Title: Kernel panic when trying to offline CPU1 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 707003] Re: Kernel panic when trying to offline CPU1
I do not see the "Unknown IPI message" line. The panic occurs a while after shutting down CPU1, not when trying to boot it again. I had enough time to get the dmesg via ssh. The full log is attached. ** Attachment added: "full dmesg log" https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/707003/+attachment/1809941/+files/dmesg2.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/707003 Title: Kernel panic when trying to offline CPU1 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 707003] Re: Kernel panic when trying to offline CPU1
Philipp: Did you see this message in you dmesg: [ 6634.133392] CPU1: Unknown IPI message 0x1 -Bryan -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/707003 Title: Kernel panic when trying to offline CPU1 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 707003] Re: Kernel panic when trying to offline CPU1
Oh, weird. I can reproduce it on 2.6.38-rc2 kernel: http://pastebin.ubuntu.com/558885/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/707003 Title: Kernel panic when trying to offline CPU1 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 707003] Re: Kernel panic when trying to offline CPU1
Just tested and this bug doesn't happen with current Natty's kernel. linux-image-2.6.35-1101-omap4 2.6.35-1101.4 root@panda-natty:~# echo 0 | sudo tee /sys/devices/system/cpu/cpu1/online 0 root@panda-natty:~# dmesg [ 1926.179595] CPU1: shutdown root@panda-natty:~# echo 1 | sudo tee /sys/devices/system/cpu/cpu1/online 1 root@panda-natty:~# dmesg [ 1926.179595] CPU1: shutdown [ 1931.928710] CPU1: Booted secondary processor ** Tags added: armel -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/707003 Title: Kernel panic when trying to offline CPU1 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs