[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-04-20 Thread Bryce Harrington
I've updated the title and description based on recent findings.

Hybrid graphics switching support is still fairly embryonic upstream and
I don't feel it is yet stable or reliable enough yet for us to support
in Ubuntu, so I am setting the importance of the X task here to
Wishlist.

However, even aside from switching graphics, the kernel should not be
failing with this particular hardware configuration, even if it is not
able to properly switch; it should pick one driver or the other and not
load both, even if it just has to pick at random.  So I'm leaving the
kernel task here open, in hopes that some fix can at least paper over
the crash.

** Description changed:

- Binary package hint: xserver-xorg-video-ati
+ [Problem]
+ On hybrid graphics hardware with this ATI chip and another (e.g. Intel), a 
failure occurs resulting in a black screen and errors from the radeon kernel 
module, as shown below.
  
- I'm running natty, and every since the upgrade to 6.14.0 I've been
- unable to consistently boot.  After some discussion in the forums, I
- tried repeatedly to boot into recovery mode.  In most cases, I got a
- black screen.  One time though, when I was able to successfully increase
- the brightness, I saw some errors from the radeon module.  I took a
- photo (available at http://i.imgur.com/P0bQ0.jpg), and here's the stack
- and call trace, as best as I can read it:
+ [Cause]
+ From upstream developer:
+ 
+ The switcheroo code needs more work to switch properly on some systems
+ it seems.  There are a set acpi methods required to  activate/deactivate
+ the respective gpus.  The drivers need to load and initialize active hw.
+ If the hw is not active when the driver loads, then the hw is not set up
+ properly and it won't work.  Probably some ordering issues in how the
+ switcheroo acpi methods are called.
+ 
+ [Workarounds]
+ Several options:
+ 
+ 1. If your BIOS includes functionality to disable the Intel card, use
+ BIOS settings to select which chip to load.
+ 
+ 2. Disable KMS by adding `radeon.modeset=0` in the boot line.  Note that
+ the default radeon gallium driver only works with KMS, so YMMV.
+ 
+ [Original Report]
+ I'm running natty, and every since the upgrade to 6.14.0 I've been unable to 
consistently boot.  After some discussion in the forums, I tried repeatedly to 
boot into recovery mode.  In most cases, I got a black screen.  One time 
though, when I was able to successfully increase the brightness, I saw some 
errors from the radeon module.  I took a photo (available at 
http://i.imgur.com/P0bQ0.jpg), and here's the stack and call trace, as best as 
I can read it:
  
  Stack:
-  880149eb8000 880149eb8000 0011 0911
-  fff4 88014b6c7800 88014b0f7b58 a022aba0
-  8801460f7b58 880149eb8000  00410028
+  880149eb8000 880149eb8000 0011 0911
+  fff4 88014b6c7800 88014b0f7b58 a022aba0
+  8801460f7b58 880149eb8000  00410028
  Call Trace:
-  [a022aba0] evergreen_cp_resume+0x3a0/0x630 [radeon]
-  [a022c8b7] evergreen_startup+0x157/0x260 [radeon]
-  [a01fe8a0] ? r600_pcie_gart_init+0x60/0x70 [radeon]
-  [a022dbec] evergreen_init+0x1ac/0x2d0 [radeon]
-  [a01a5a69] radeon_device_init+0x409/0x490 [radeon]
-  [a01a7142] radeon_driver_load_kms+0xb2/0x1a0 [radeon]
-  [a007fb2e] drm_get_pci_dev+0x18e/0x300 [drm]
-  [8115426f] ? kmem_cache_alloc_trace+0xff/0x120
-  [a023790e] radeon_pci_probe+0xb2/0xba [radeon]
-  [812fea7f] local_pci_probe+0x5f/0xd0
-  [81300369] pci_device_probe+0x119/0x120
-  [813b8eca] ? driver_sysfs_add+0x7a/0xb0
-  [813b8ff8] really_probe+0x68/0x190
-  [813b9305] driver_probe_device+0x45/0x70
-  [813b93db] __driver_attach+0xab/0xb0
-  [813b9330] ? __driver_attach+0x0/0xb0
-  [813b817e] bus_for_each_dev+0x5e/0x90
-  [813b8e4e] driver_attach+0x1e/0x20
-  [813b89b5] bus_add_driver+0xc5/0x280
-  [a0013000] ? radeon_init+0x0/0x1000 [radeon]
-  [813b9676] driver_register+0x76/0x140
-  [a0013000] ? radeon_init+0x0/0x1000 [radeon]
-  [812ff126] __pci_register_driver+0x56/0xd0
-  [a0080044] drm_pci_init+0xe4/0xf0 [drm]
-  [815bf36e] ? mutex_lock+0x1e/0x50
-  [a0013000] ? radeon_init+0x0/0x1000 [radeon]
-  [a0077688] drm_init+0x58/0x70 [drm]
-  [a00130c4] radeon_init+0xc4/0x1000 [radeon]
-  [81002195] do_one_initcall+0x45/0x190
-  [810a4573] sys_init_module+0x103/0x260
-  [8100c002] system_call_fastpath+0x16/0x1b
+  [a022aba0] evergreen_cp_resume+0x3a0/0x630 [radeon]
+  [a022c8b7] evergreen_startup+0x157/0x260 [radeon]
+  [a01fe8a0] ? r600_pcie_gart_init+0x60/0x70 [radeon]
+  [a022dbec] evergreen_init+0x1ac/0x2d0 [radeon]
+  

[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-04-15 Thread Timo Aaltonen
marking the bug as confirmed

** Changed in: xserver-xorg-video-ati (Ubuntu)
   Status: Incomplete = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-04-14 Thread Vangel Ajanovski
If I add 
radeon.modeset=0 
in the boot line when starting, the crash does not happen and the system 
continues with is using integrated Intel.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-04-09 Thread Dweia
Sorry, I got sidetracked while getting a set of logs. However, some (yet
slightly vague) findings may be useful - even if debugging gets maybe
even harder:

Firstly: the computer (BIOS or whatever) behaves differently when
external power is connected or only battery used, and secondly: it
behaves differently depending on the last state of the vgaswitcheroo
BEFORE the reboot. I need to do more testing regarding the former
(probably frequency of crashes higher with external power), but the
latter seemed to me pretty consistently only crashing after echo OFF 
/sys/kernel/debug/vgaswitcheroo/switch.

I did yesterday a kernel-update to 2.6.38-8, I'll try to reproduce the
findings and will try to see if anything changed in the behaviour.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-04-07 Thread Johan Fornander
@Bryce: Yes, booting with only discrete or integrated enabled does solve
the problem for me as well.

@Dweia: I patched the CMOS for my 3820TG and unlocked the Intel menu.
Now I can choose to only have the IGD activated and PEG (radeon)
completely shut off drawing zero power. Same thing as going through
vga_switcheroo or using the acpi calls but less hassle.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-04-07 Thread Johan Fornander
Btw, should we work on the bug on here on launchpad or keep the
discussion on freedesktop working directly with the AMD devs?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-04-05 Thread Johan Fornander
I have taken logs from a set of ubuntu kernels starting up using the
requested kernel boot argument drm.debug=0x0e:

2.6.38-7  ---  fb0: radeondrmfb frame buffer device
2.6.38-8  ---  fb0: inteldrmfb frame buffer device
2.6.39-rc1-- kernel oops (pointing to evergreen something), not caught in the 
logs. seems to be a new offset than the reported one above

Please see the attached files containng dmesg and kern.log for each
kernel. There are some other interesting things in the logs like invalid
DSDT and stuff that I will look into further.

** Attachment added: 3_sets_of_kernel_logs.tar.bz2
   
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/727620/+attachment/1985108/+files/3_sets_of_kernel_logs.tar.bz2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-04-05 Thread Bryce Harrington
afoglia - I've forwarded this bug upstream to
http://bugs.freedesktop.org/show_bug.cgi?id=36003 - please subscribe
yourself to this bug, in case they need further information or wish you
to test something.  Thanks ahead of time!

Johan, I attached your logs to the upstream bug report.  Generally
upstream prefers that the logs come from the original reporter, so I'm
not sure if they will accept the bug report.

** Bug watch added: freedesktop.org Bugzilla #36003
   http://bugs.freedesktop.org/show_bug.cgi?id=36003

** Also affects: xserver-xorg-driver-ati via
   http://bugs.freedesktop.org/show_bug.cgi?id=36003
   Importance: Unknown
   Status: Unknown

** Changed in: xserver-xorg-video-ati (Ubuntu)
   Status: Confirmed = Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-04-05 Thread Bryce Harrington
Upstream would like to see if setting the video to the radeon/descrete
setting in the BIOS configuration makes it function properly.

If so, this may be a known issue in the new vga_switcheroo
functionality, ala bug https://bugzilla.kernel.org/show_bug.cgi?id=30052

** Bug watch added: Linux Kernel Bug Tracker #30052
   http://bugzilla.kernel.org/show_bug.cgi?id=30052

** Changed in: xserver-xorg-video-ati (Ubuntu)
   Status: Triaged = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-04-05 Thread Dweia
Chris Halse Rogers wrote in #22: This does look a lot like some bad
interaction between i915/radeon

I agree - I did some more testing and placed an entry for the radeon-
module into /etc/initramfs-tools/modules, and voilá - no crash! (after
booting into X I can't get back to the text-console, but that's possibly
another issue).

What proves the bad interaction even more is: when also placing i915
into /etc/initramfs-tools/modules BEFORE radeon, booting isn't
possible at all any more, but when placing i915 AFTER radeon, booting is
possible, but I got a black screen (as in totally black, that is: no
backlight) until X starts up.

I'll try to get logs of four different initrd-configurations (though I
doubt I'll be able to record the one where the crash occurs already
during running of initrd...)


P.S. off-topic, I knew a cjwatson once - hi Kamion ;-)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-04-05 Thread Dweia
Bryce Harrington wrote in #25 Upstream would like to see if setting the
video to the radeon/descrete setting in the BIOS configuration makes it
function properly.

Answer: Yes it does. I tried that a while ago already, but can't (don't
want to) use that for regular running, because the radeon-card makes the
laptop-battery ruin out too fast. I read also that there's a
patched/hacked BIOS somewhere that allows to switch off the radeon-card
via BIOS, but if it can be solved with software I'd prefer that ;)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-04-05 Thread Bug Watch Updater
** Changed in: xserver-xorg-driver-ati
   Status: Unknown = Confirmed

** Changed in: xserver-xorg-driver-ati
   Importance: Unknown = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-04-05 Thread Chris Halse Rogers
This does look a lot like some bad interaction between
i915/radeon(/vesafb?).  Although we don't seem to have a full dmesg of a
-7 kernel it seems like it's not vesafb-based.

It would be useful to have logs - both of good and bad boots - with the
“drm.debug=0x0e” kernel argument added to the boot line.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-04-04 Thread Dweia
Unfortunately I discovered yesterday, that I lied. Wehn used without
battery (this is a Aspire 3820TG laptop) and connected power-cord, the
crash occurs also with kernel 2.6.36-1. Probably the BIOS does something
to/with the graphics-cards, when external power is connected. All the
previous tests had been running on battery-power.

Couldn't yet test the 2.6.35 kernel, since I removed it already- need to
reinstall that and see what happens.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-04-04 Thread Bryce Harrington
It's starting to sound like this is due to confusion (maybe a
regression) in the plumbing layer between X and the kernel, such as
module-init-tools or one of the related packages.

I think either apw or cjwatson need to look into this issue.  apw's on
vacation though.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-04-01 Thread Dweia
Bryce Harrington wrote on 2011-03-04:[...] That suggests a regression in
the kernel between 2.6.38-3 and -4

The error must have occured a lot earlier. I tried a bunch of different
kernels, each with the (at the moment) most recent version (highest
number after the dash):

2.6.35-25 - works
2.6.36-1 - works
2.6.37-12 - crashes most of the time
2.6.38-7 - crashes most of the time

I also tried some other versions, including the mentioned 2.6.38-3, but
no luck there for me.

There's another bug, which may or may not be related, and which got
apparently fixed with kernel 2.6.37, maybe thereby introducing this
problem with the crashes? This older problem causes entries like the
following in the kernel log when shutting down or rebooting the system.

kernel: [   36.068256] [drm:atom_op_jump] *ERROR* atombios stuck in loop for 
more than 5secs aborting
kernel: [   36.068719] [drm:atom_execute_table_locked] *ERROR* atombios stuck 
executing CF42 (len 72, WS 0, PS 0) @ 0xCF71
kernel: [   41.070113] [drm:atom_op_jump] *ERROR* atombios stuck in loop for 
more than 5secs aborting
kernel: [   41.070654] [drm:atom_execute_table_locked] *ERROR* atombios stuck 
executing CB20 (len 62, WS 0, PS 0) @ 0xCB3C
kernel: [   46.271694] [drm:atom_op_jump] *ERROR* atombios stuck in loop for 
more than 5secs aborting
kernel: [   46.272333] [drm:atom_execute_table_locked] *ERROR* atombios stuck 
executing CB20 (len 62, WS 0, PS 0) @ 0xCB3C

These entries occur only in kernel 2.6.35 once per second, in 2.6.36
every 5 seconds and disappear altogether in 2.6.37

P.S. I don't think the bug has to do with xserver-xorg at all - it's
most probably the radeon kernel-module, since the errors occur long
before X is starting. Also the bugs go away when I blacklist the radeon
module. Unfortunately I cannot switch off the Radeon-graphics card, when
the module for it isn't loaded. :-(

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-03-30 Thread Guillaume Modard
Does anybody works on this bug ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-03-22 Thread Johan Fornander
I have a theory... Maybe there is a race condition between the intel and
ati driver involved here? My notebook starts up in two seemingly random
configurations, or three including the radeon crash:

1. X server is on VT8 - unable to unload radeon module because it is in
use (by some framebuffer I guess). I am also unable to switch to
consoles VT1-7. If I use vga_switcheroo to switch to integrated gpu in
this mode then radeon crashes.

2. X server is on VT7 - I can unload the radeon module and use the
consoles VT1-6. vga_switcheroo works and I can also use acpi calls to
turn off the gpu.

3. The radeon driver crashes.  Forcing reboot through RSEIUB.

This makes it difficult to control the temperature since I cannot know
if the radeon module is in use or not (i.e. I might or might not be able
to use the vga_switcheroo, or unload the module and use a specific acpi
call to shut of the gpu).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-03-22 Thread Johan Fornander
When I have booted into an evironment where both X server and
framebuffer uses intel, sometimes when I try to unload the radeon module
it crashes like this:

[  346.860598] radeon :02:00.0: 88014b362000 unpin not necessary
[  346.860619] BUG: unable to handle kernel paging request at c9002268
[  346.861758] IP: [a01f00bc] rs600_gart_set_page+0x3c/0x50 [radeon]
[  346.863120] PGD 157818067 PUD 157819067 PMD 14959b067 PTE 0
[  346.864707] Oops: 0002 [#1] SMP 
[  346.866297] last sysfs file: 
/sys/devices/pci:00/:00:02.0/drm/card0/card0-VGA-1/status
[  346.867941] CPU 3 
[  346.867963] Modules linked in: cryptd aes_x86_64 aes_generic binfmt_misc 
parport_pc ppdev dm_crypt wl(P) lib80211 snd_hda_codec_hdmi 
snd_hda_codec_realtek arc4 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm joydev 
snd_seq_midi brcm80211(C) snd_rawmidi snd_seq_midi_event snd_seq snd_timer 
snd_seq_device sparse_keymap mac80211 cfg80211 uvcvideo videodev psmouse snd 
v4l2_compat_ioctl32 intel_ips serio_raw lp soundcore snd_page_alloc parport 
radeon(-) i915 ttm ahci atl1c libahci drm_kms_helper drm i2c_algo_bit video
[  346.877408] 
[  346.879334] Pid: 2518, comm: rmmod Tainted: P C  2.6.38-7-generic 
#38-Ubuntu Acer Aspire 3820/JM31_CP
[  346.881377] RIP: 0010:[a01f00bc]  [a01f00bc] 
rs600_gart_set_page+0x3c/0x50 [radeon]
[  346.883456] RSP: 0018:8801259e7c68  EFLAGS: 00010286
[  346.885512] RAX: ffea RBX: 880149e0 RCX: c9002268
[  346.887607] RDX: 36822067 RSI:  RDI: 880149e0
[  346.889724] RBP: 8801259e7c68 R08:  R09: 88014adf7748
[  346.891854] R10:  R11: 0001 R12: 0111
[  346.893993] R13: 0111 R14: 0888 R15: 0001
[  346.896139] FS:  7f8e31ee8720() GS:88009318() 
knlGS:
[  346.898319] CS:  0010 DS:  ES:  CR0: 8005003b
[  346.900511] CR2: c9002268 CR3: 000125af6000 CR4: 06e0
[  346.902754] DR0:  DR1:  DR2: 
[  346.905025] DR3:  DR6: 0ff0 DR7: 0400
[  346.907314] Process rmmod (pid: 2518, threadinfo 8801259e6000, task 
88013d67c440)
[  346.909638] Stack:
[  346.911920]  8801259e7cb8 a01bf146 880149e01338 
0002
[  346.914277]  8801259e7cb8 880149e0 88014f0c6000 
a025a590
[  346.916600]  88014f80e000 0001 8801259e7cd8 
a01bf49d
[  346.918952] Call Trace:
[  346.921281]  [a01bf146] radeon_gart_unbind+0xb6/0x160 [radeon]
[  346.923664]  [a01bf49d] radeon_gart_fini+0x7d/0x80 [radeon]
[  346.926056]  [a022a146] evergreen_pcie_gart_fini+0x26/0x30 [radeon]
[  346.928466]  [a022dc8e] evergreen_fini+0x3e/0x90 [radeon]
[  346.930871]  [a01a5b0b] radeon_device_fini+0x3b/0xa0 [radeon]
[  346.933291]  [a01a7045] radeon_driver_unload_kms+0x35/0x60 [radeon]
[  346.935709]  [a0020b16] drm_put_dev+0xc6/0x1d0 [drm]
[  346.938125]  [a018b11d] radeon_pci_remove+0x1d/0x20 [radeon]
[  346.940534]  [813000d2] pci_device_remove+0x52/0x120
[  346.942925]  [813b90f5] __device_release_driver+0x75/0xe0
[  346.945297]  [813b9878] driver_detach+0xc8/0xd0
[  346.947672]  [813b8f59] bus_remove_driver+0x79/0xd0
[  346.950054]  [813b9912] driver_unregister+0x62/0xa0
[  346.952447]  [813001e5] pci_unregister_driver+0x45/0xc0
[  346.954863]  [a001a62c] drm_exit+0x8c/0x90 [drm]
[  346.957300]  [a023787b] radeon_exit+0x15/0x79a [radeon]
[  346.959711]  [810a358d] sys_delete_module+0x18d/0x260
[  346.962128]  [815c1bd5] ? page_fault+0x25/0x30
[  346.964505]  [8100c002] system_call_fastpath+0x16/0x1b
[  346.966873] Code: 50 03 00 00 85 f6 79 07 c9 c3 0f 1f 44 00 00 3b b7 38 03 
00 00 77 f1 c1 e6 03 48 81 e2 00 f0 ff ff 48 63 f6 48 83 ca 67 48 01 f1 48 89 
11 31 c0 c9 c3 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 55 
[  346.972557] RIP  [a01f00bc] rs600_gart_set_page+0x3c/0x50 [radeon]
[  346.975233]  RSP 8801259e7c68
[  346.977836] CR2: c9002268
[  346.980370] ---[ end trace 1d85aaf7d2addf05 ]---

I am running the xorg-edgers repo. Should I file another bug and if so,
where and to what project? This is kind of part of the crashing
lifecycle for my notebook atm...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-03-21 Thread Guillaume Modard
I confirm that the bug is still there. I install last update this
morning (I saw xserver-xorg-video-ati, -radeon... update so I was
expecting the bug to be solved).

When I restart, I need to reboot more than 5 time before I get a
desktop. And now, when the boot crash, I don't get any shell, screen
stay black (as if it is off).

I really expect this bug will be solved before the final release. If
not, Ubuntu won't work on plenty of the last HP pavilion laptop.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-03-21 Thread Guillaume Modard
Note : Here is the result of
lspci -v | grep -A 12 VGA :


guillaume@guillaume-HP-Notebook:~$ lspci -v | grep -A 12 VGA
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated 
Graphics Controller (rev 02) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device 163c
Flags: bus master, fast devsel, latency 0, IRQ 44
Memory at c000 (64-bit, non-prefetchable) [size=4M]
Memory at b000 (64-bit, prefetchable) [size=256M]
I/O ports at 5050 [size=8]
Expansion ROM at unassigned [disabled]
Capabilities: access denied
Kernel driver in use: i915
Kernel modules: i915

00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series 
Chipset HECI Controller (rev 06)
Subsystem: Hewlett-Packard Company Device 163c
--
01:00.0 VGA compatible controller: ATI Technologies Inc Robson CE [AMD Radeon 
HD 6300 Series] (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device 163c
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at a000 (64-bit, prefetchable) [size=256M]
Memory at c440 (64-bit, non-prefetchable) [size=128K]
I/O ports at 4000 [size=256]
Expansion ROM at c444 [disabled] [size=128K]
Capabilities: access denied
Kernel driver in use: radeon
Kernel modules: radeon

01:00.1 Audio device: ATI Technologies Inc Manhattan HDMI Audio [Mobility 
Radeon HD 5000 Series]
Subsystem: Hewlett-Packard Company Device 163c
guillaume@guillaume-HP-Notebook:~$

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-03-19 Thread Bryce Harrington
kolio, not sure what you're talking about.  The Radeon HD 5650 came on
the market on Jan 7, 2010, so it did not exist 2 or 3 years ago.
Whatever posts you're looking at are unrelated to this problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-03-19 Thread Bryce Harrington
afoglia, just to confirm - you still seeing this crash with the current
kernel?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-03-19 Thread Bryce Harrington
** Changed in: xserver-xorg-video-ati (Ubuntu)
   Status: Triaged = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-03-19 Thread afoglia
Yes and no.  I did six normal boots with 2.6.38-7.35, then realized
there was an update, and booted that both normally and in recovery and
here's what I saw

2.6.38-7.36 normal, 6 boots, 5 reached gdm login screen, 1 gdm started but hung 
before login window appeared (only one of the 5 successful boots showed the 
plymouth boot screen)
2.6.38-7.36 recovery mode, 5 boots, all hung with the monitor off, no plymouth, 
brightness key did nothing.
2.6.38-7.35 normal, 6 boots, 3 hung with monitor off, 3 reached gdm

Since I still can't boot in recovery (and I don't see anything in the
changelog for -7.36 obviously related), I'd say the bug is still there.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-03-13 Thread bugbot
** Tags added: crash

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-03-09 Thread kolio kostadinov
Hi guys,
i have the same problem.I like very much this OS-Ubuntu, but why such a good 
system do not resolve this problem such a long time?I see a posts from the last 
2 or 3 yaers.It's strange for me.I don't want to experiment with my PC.I tried 
but it's always a crash,black screen,red screen.I wait a new better release 
or help me with something that really works.Thank you very much.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 727620] Re: [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-03-03 Thread Bryce Harrington
Even though this seems to be pinpointed to the kernel, I'll leave the X
task open for now so we can keep track of the bug's progress from the X
end.

** Summary changed:

- [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot
+ [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal 
boot (Regression from 2.6.38-3 to -4)

** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: xserver-xorg-video-ati (Ubuntu)
   Importance: Undecided = High

** Changed in: xserver-xorg-video-ati (Ubuntu)
   Status: Incomplete = Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727620

Title:
  [Radeon HD 5650 and 5470] Driver crash during recovery boot and in
  normal boot (Regression from 2.6.38-3 to -4)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs