You are not logged in.

#1 2010-04-11 07:56:49

xCrucialDudex
Member
Registered: 2007-08-19
Posts: 144

[SOLVED] Blank locked screen after this morning -Syu

So, I did a routine weekly full system upgrade this morning to keep my system up to date. It turned out ugly, unfortunately.

The problem is that my laptop boots into a blank screen and it seems locked. I'm not sure completely if it is actually locked or not but I tried to do a "blind" log in and execute `reboot' command which didn't succeed.

This time my upgrade included the following important packages among the others (full list):

[2010-04-11 07:44] upgraded libdrm (2.4.18-2 -> 2.4.19-1)
[2010-04-11 07:44] upgraded libgl (7.7.1-0.1 -> 7.7.1-1)
[2010-04-11 07:44] upgraded ati-dri (7.7.1-0.1 -> 7.7.1-1)

[2010-04-11 07:49] upgraded kernel26-firmware (2.6.32.10-1 -> 2.6.33.2-1)
[2010-04-11 07:50] upgraded mesa (7.7.1-0.1 -> 7.7.1-1)

[2010-04-11 07:51] upgraded xf86-video-ati (6.12.4-3 -> 6.12.192-1)
[2010-04-11 07:51] upgraded xorg-server (1.7.5.902-1 -> 1.7.6-3)
[2010-04-11 07:51] upgraded xorg-xinit (1.2.0-1 -> 1.2.1-1)

It is Samsung R-20 with ATI Express 1250 on-board video chip.

So, the last thing I can see on the screen before it goes blank is that Udev was started and then BAM! it goes completely blank.

Now the list of suspects is rather exhaustive. It might be the new kernel, or the video driver, or perhaps even X server, but maybe mesa or even libdrm, right?

While examining the system log files I noticed that there are a few BUG lines:

% grep "Apr 11" kernel.log |grep BUG -A 4 -B 4
Apr 11 08:45:35 sega kernel: radeon 0000:01:05.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
Apr 11 08:45:35 sega kernel: [drm] radeon: Initializing kernel modesetting.
Apr 11 08:45:35 sega kernel: [drm] register mmio base: 0xC0100000
Apr 11 08:45:35 sega kernel: [drm] register mmio size: 65536
Apr 11 08:45:35 sega kernel: BUG: unable to handle kernel NULL pointer dereference at (null)
Apr 11 08:45:35 sega kernel: IP: [<(null)>] (null)
Apr 11 08:45:35 sega kernel: *pde = 00000000
Apr 11 08:45:35 sega kernel: Oops: 0000 [#1] PREEMPT SMP
Apr 11 08:45:35 sega kernel: last sysfs file: /sys/devices/pci0000:00/0000:00:13.0/usb2/manufacturer
--
Apr 11 08:45:35 sega kernel: sdc: sdc1
Apr 11 08:45:35 sega kernel: sd 6:0:0:0: [sdc] Assuming drive cache: write through
Apr 11 08:45:35 sega kernel: sd 6:0:0:0: [sdc] Attached SCSI disk
Apr 11 08:45:35 sega kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Apr 11 08:45:41 sega kernel: BUG: unable to handle kernel NULL pointer dereference at (null)
Apr 11 08:45:41 sega kernel: IP: [<c12d2a4c>] __mutex_lock_slowpath+0xac/0x2d0
Apr 11 08:45:41 sega kernel: *pde = 00000000
Apr 11 08:45:41 sega kernel: Oops: 0002 [#2] PREEMPT SMP
Apr 11 08:45:41 sega kernel: last sysfs file: /sys/devices/pci0000:00/0000:00:01.0/0000:01:05.0/boot_vga
--
Apr 11 08:45:41 sega kernel: EIP: [<c12d2a4c>] __mutex_lock_slowpath+0xac/0x2d0 SS:ESP 0068:f60d7ebc
Apr 11 08:45:41 sega kernel: CR2: 0000000000000000
Apr 11 08:45:41 sega kernel: ---[ end trace d79f4cf737442b88 ]---
Apr 11 08:45:41 sega kernel: note: X[1745] exited with preempt_count 2
Apr 11 08:45:41 sega kernel: BUG: scheduling while atomic: X/1745/0x10000002
Apr 11 08:45:41 sega kernel: Modules linked in: sch_tbf xt_recent ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 xt_state xt_tcpudp iptable_filter ip_tables x_tables nls_utf8 ntfs arc4 ecb snd_seq_dummy snd_seq_oss snd_hda_codec_realtek snd_seq_midi_event usbhid ath5k hid usb_storage snd_hda_codec_si3054 snd_seq mac80211 snd_hda_intel snd_hda_codec ath nf_conntrack_ftp snd_seq_device radeon(+) joydev snd_pcm_oss snd_hwdep nf_conntrack ttm snd_pcm snd_mixer_oss ohci_hcd snd_timer drm_kms_helper cfg80211 drm snd rfkill soundcore i2c_algo_bit i2c_piix4 ehci_hcd snd_page_alloc 8139too cpufreq_userspace 8139cp cpufreq_powersave ati_agp video i2c_core shpchp led_class mii output cpufreq_conservative usbcore ac pci_hotplug agpgart battery evdev psmouse thermal cpufreq_ondemand serio_raw button sg pcspkr acpi_cpufreq freq_table processor rtc_cmos rtc_core rtc_lib ext3 jbd mbcache sr_mod cdrom ata_generic sd_mod pata_atiixp pata_acpi ahci libata scsi_mod
Apr 11 08:45:41 sega kernel: Pid: 1745, comm: X Tainted: G      D    2.6.33-ARCH #1
Apr 11 08:45:41 sega kernel: Call Trace:
Apr 11 08:45:41 sega kernel: [<c10363bd>] __schedule_bug+0x5d/0x70
--
Apr 11 08:53:10 sega kernel: [drm] radeon: Initializing kernel modesetting.
Apr 11 08:53:10 sega kernel: usb 1-6: new high speed USB device using ehci_hcd and address 4
Apr 11 08:53:10 sega kernel: [drm] register mmio base: 0xC0100000
Apr 11 08:53:10 sega kernel: [drm] register mmio size: 65536
Apr 11 08:53:10 sega kernel: BUG: unable to handle kernel NULL pointer dereference at (null)
Apr 11 08:53:10 sega kernel: IP: [<(null)>] (null)
Apr 11 08:53:10 sega kernel: *pde = 00000000
Apr 11 08:53:10 sega kernel: Oops: 0000 [#1] PREEMPT SMP
Apr 11 08:53:10 sega kernel: last sysfs file: /sys/module/snd_timer/initstate
--
Apr 11 08:53:11 sega kernel: sd 6:0:0:0: [sdb] Assuming drive cache: write through
Apr 11 08:53:11 sega kernel: sdb: sdb1
Apr 11 08:53:11 sega kernel: sd 6:0:0:0: [sdb] Assuming drive cache: write through
Apr 11 08:53:11 sega kernel: sd 6:0:0:0: [sdb] Attached SCSI removable disk
Apr 11 08:53:16 sega kernel: BUG: unable to handle kernel NULL pointer dereference at (null)
Apr 11 08:53:16 sega kernel: IP: [<c12d2a4c>] __mutex_lock_slowpath+0xac/0x2d0
Apr 11 08:53:16 sega kernel: *pde = 00000000
Apr 11 08:53:16 sega kernel: Oops: 0002 [#2] PREEMPT SMP
Apr 11 08:53:16 sega kernel: last sysfs file: /sys/devices/pci0000:00/0000:00:01.0/0000:01:05.0/boot_vga
--
Apr 11 08:53:16 sega kernel: EIP: [<c12d2a4c>] __mutex_lock_slowpath+0xac/0x2d0 SS:ESP 0068:f5d11ebc
Apr 11 08:53:16 sega kernel: CR2: 0000000000000000
Apr 11 08:53:16 sega kernel: ---[ end trace 4597ab35e643964f ]---
Apr 11 08:53:16 sega kernel: note: X[1710] exited with preempt_count 2
Apr 11 08:53:16 sega kernel: BUG: scheduling while atomic: X/1710/0x10000002
Apr 11 08:53:16 sega kernel: Modules linked in: sch_tbf xt_recent ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 xt_state xt_tcpudp iptable_filter ip_tables x_tables nls_utf8 ntfs usbhid arc4 snd_hda_codec_realtek hid ecb snd_hda_codec_si3054 snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_hda_intel usb_storage joydev snd_seq snd_seq_device snd_hda_codec radeon(+) ath5k ttm snd_hwdep snd_pcm_oss drm_kms_helper ohci_hcd snd_mixer_oss snd_pcm mac80211 drm snd_timer ath snd i2c_algo_bit ehci_hcd nf_conntrack_ftp i2c_piix4 soundcore 8139too psmouse cfg80211 snd_page_alloc nf_conntrack ati_agp 8139cp shpchp serio_raw usbcore pci_hotplug rfkill video agpgart i2c_core output mii led_class ac battery thermal pcspkr evdev button cpufreq_userspace cpufreq_powersave cpufreq_conservative cpufreq_ondemand acpi_cpufreq freq_table processor rtc_cmos rtc_core rtc_lib ext3 jbd mbcache sg sr_mod sd_mod cdrom ata_generic ahci pata_atiixp pata_acpi libata scsi_mod
Apr 11 08:53:16 sega kernel: Pid: 1710, comm: X Tainted: G      D    2.6.33-ARCH #1
Apr 11 08:53:16 sega kernel: Call Trace:
Apr 11 08:53:16 sega kernel: [<c10363bd>] __schedule_bug+0x5d/0x70

Some of them look bad to me but I really have no idea what these statements really mean. I'm particularly concerned with the following lines:

% grep "Apr 11" kernel.log |grep BUG -A 4 -B 4
Apr 11 08:45:35 sega kernel: radeon 0000:01:05.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
Apr 11 08:45:35 sega kernel: [drm] radeon: Initializing kernel modesetting.
Apr 11 08:45:35 sega kernel: [drm] register mmio base: 0xC0100000
Apr 11 08:45:35 sega kernel: [drm] register mmio size: 65536
Apr 11 08:45:35 sega kernel: BUG: unable to handle kernel NULL pointer dereference at (null)

and these

Apr 11 08:45:41 sega kernel: Pid: 1745, comm: X Tainted: G      D    2.6.33-ARCH #1
...
Apr 11 08:53:16 sega kernel: ---[ end trace 4597ab35e643964f ]---
Apr 11 08:53:16 sega kernel: note: X[1710] exited with preempt_count 2
Apr 11 08:53:16 sega kernel: BUG: scheduling while atomic: X/1710/0x10000002

which look like they have something to do with libdrm and X server both capable of affecting displaying abilities (?) but not that early on perhaps...

Now, I'm completely at a loss as to where I even start approaching "the figuring out". A good number of suspects, log messages that I don't really understand well. Any ideas to what went wrong during this upgrade would be highly appreciated so if you have any idea or a guess, or a hunch, fire away!

Last edited by xCrucialDudex (2010-04-11 18:04:11)

Offline

#2 2010-04-11 08:15:32

ZaQ
Member
Registered: 2009-12-12
Posts: 106

Re: [SOLVED] Blank locked screen after this morning -Syu

Maybe KMS is the problem?

Add radeon.modeset=0 to menu.lst/grub.cfg (behind root=... (same row))

Offline

#3 2010-04-11 08:26:41

xCrucialDudex
Member
Registered: 2007-08-19
Posts: 144

Re: [SOLVED] Blank locked screen after this morning -Syu

ZaQ wrote:

Maybe KMS is the problem?

Add radeon.modeset=0 to menu.lst/grub.cfg (behind root=... (same row))

I hate to ask but what's KMS? Thanks for the tip, I'll give it a try in next 10 minutes smile

Offline

#4 2010-04-11 10:28:36

ZaQ
Member
Registered: 2009-12-12
Posts: 106

Re: [SOLVED] Blank locked screen after this morning -Syu

http://wiki.archlinux.org/index.php/KMS

There are many different problems with ATI and new xorg. radeon.modeset=0 helped in most times big_smile

Offline

#5 2010-04-11 10:41:12

dcc24
Member
Registered: 2009-10-31
Posts: 732

Re: [SOLVED] Blank locked screen after this morning -Syu

Kernel 2.6.33 came with KMS on by default and this causes problems for ATI users. xf86-video-ati works for some users, whereas with catalyst X can't start at all. The solution, as suggested, is to add "radeon.modeset=0" or "nomodeset" to the kernel line in grub.


It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)

My AUR packages

Offline

#6 2010-04-11 13:50:05

xCrucialDudex
Member
Registered: 2007-08-19
Posts: 144

Re: [SOLVED] Blank locked screen after this morning -Syu

Thanks guys. This is exactly what helped me boot immediately. I just added radeon.modeset=0 to GRUB menu.lst entry and I'm back on track... I wish I could say in no time... Luckily, everything seems to be working as before - compositing, 2D/3D performance doesn't seem to be crippled so I guess I'm pretty lucky, huh? smile

You know over the years of running Linux, and other OS on different devices for that matter, I've come gradually to appreciate NOT doing upgrades unless it is absolutely necessary. I'm willing to sacrifice all the new and shiny bleeding-edge software and features in favor of a stable system at a hand that I know I can count on anytime. As I'm new to Arch Linux and I've heard people recommend doing sensibly frequent upgrades for a good reason I'm doing weekly upgrades as an experiment. This is my 4th or 5th upgrade and the 1st that required half of the day to clean the mess up after it so to say. Funny thing I used to have an office workstation that had Arch Linux installed, and I didn't do upgrades intentionally for almost a year. Then one day I needed to install Open Office and I decided to do a full system upgrade while I was at it. Long story short, it went smoothly. I realize that I could've been probably just lucky but looking on Mac OS X and how my uncle enjoys painless system-wide upgrades keeps me thinking about the economics. Linux costs nothing. This wonderful distro - Arch Linux - is available for free. There is a knowledgeable community that is almost always willing and able to help considerably fast. But it requires one more very important ingredient - my own time and expertise. I've been around the *nix scene for a while now I'm not really new. I think I know a good heap of things about UNIX/Linux and I've got some hands-on, field experience under my belt. Even so, this issue took almost half of the day to tackle. Without your help I feel I'd spend even more. Now, time is money in this world. My uncle paid a pretty sum for his iMac. I paid nothing for my Linux. He's enjoying seemingly (I have yet to run Mac OS X myself for a couple of years at least to speak of it confidently) upgrade problem free life, not paying for this anymore. It seems I keep on investing my resources in order to sustain operability of my Linux system. Doesn't feel right.

Offline

Board footer

Powered by FluxBB