mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Helge Hafting <helgehaf@aitel.hist.no>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Dave Airlie <airlied@gmail.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	akpm@osdl.org
Subject: Re: rc6 keeps hanging and blanking displays
Date: Tue, 16 Aug 2005 23:14:24 +0200	[thread overview]
Message-ID: <20050816211424.GA14367@aitel.hist.no> (raw)
In-Reply-To: <Pine.LNX.4.58.0508160955270.3553@g5.osdl.org>

On Tue, Aug 16, 2005 at 10:00:50AM -0700, Linus Torvalds wrote:
> 
> 
> On Tue, 16 Aug 2005, Helge Hafting wrote:
> >
> > I tried rc6 with DRM turned off.  That kernel consistently _died_ when 
> > trying to start xdm. Xorg logs for both cards ended like this:
> > 
> > (II) LoadModule: "pcidata"
> > (II) Loading /usr/X11R6/lib/modules/libpcidata.a
> 
> Ok, it does sound like your X server is doing something nasty on the PCI 
> bus. 
> 
> > I can retry this with a syncronously mounted /var, if the last lines
> > of the Xorg logs might be interesting.
> 
> It would be even more interesting if you have a serial console, but if
> this is the X server stomping on the PCI bus, you might just have a total
> lockup - no oops, no nothing.
> 
Tricky - I have nothing to connect to the serial port.

> One thing that might be interesting is to see if the old working kernel
> has a different IO-map than the broken ones. A simple
> 
> 	cat /proc/ioports /proc/iomem > iomaps.kernel-version
> 
> and diffing the two might be an interesting thing to try. X has been known
> to sometimes just try to re-configure things on its own without telling
> (or asking) the kernel.

Diffing the iomaps thus obtained for 
2.6.13-rc4-6ade43fbbcc3c12f0ddba112351d14d6c82ae476
and 2.6.13-rc6 produce this:
ba112351d14d6c82ae476 iomaps.2.6.13-rc6
17a18
> 5000-5007 : viapro-smbus
52,53c53,54
<   00100000-0041a94c : Kernel code
<   0041a94d-00695337 : Kernel data
---
>   00100000-003fed39 : Kernel code
>   003fed3a-00662f77 : Kernel data

rc6 has a somewhat smaller kernel, and a viapro-smbus.

The X.org logs also got further, with the synchronous mount:

The radeon log ended like this:
        [31] -1 0       0x00009000 - 0x000090ff (0x100) IX[B]
        [32] -1 0       0x00009800 - 0x000098ff (0x100) IX[B](B)
        [33] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B]
        [34] 0  0       0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) RADEON(0): MMIO registers at 0xf6000000
(II) RADEON(0): PCI bus 0 card 8 func 0
(**) RADEON(0): Depth 24, (--) framebuffer bpp 32
(II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) RADEON(0): Default visual is TrueColor
(**) RADEON(0): Option "EnablePageFlip" "off"
(**) RADEON(0): Option "DynamicClocks" "off"
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="X.Org Foundation"
        compiled for 6.8.2, module version = 0.1.0
        ABI class: X.Org Video Driver, version 0.7
(II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03b0, hwp->PIOOffset is 0x0000
(==) RADEON(0): RGB weight 888
(II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/libint10.a
(II) RADEON(0): initializing int10
(**) RADEON(0): Option "InitPrimary" "on"

It stopped here, while it normally goes on with:
(II) Truncating PCI BIOS Length to 53248
(--) RADEON(0): Chipset: "ATI Radeon 9200SE 5964 (AGP)" (ChipID = 0x5964)
(--) RADEON(0): Linear framebuffer at 0xe0000000
(--) RADEON(0): BIOS at 0x1ff00000
(--) RADEON(0): VideoRAM: 131072 kByte (64 bit DDR SDRAM)
(II) RADEON(0): PCI card detected
(II) Loading sub module "ddc"
...

Seems like it died trying to perform int10 initialization?

The matrox log stopped inside a listing of resource ranges after preInit:
        [29] -1 0       0x0000ac00 - 0x0000ac0f (0x10) IX[B]
        [30] -1 0       0x0000a800 - 0x0000a803 (0x4) IX[B]
        [31] -1 0       0x0000a400 - 0x0000a407 (0x8) IX[B]
        [32] -1 0       0x0000a000 - 0x0000a003 (0x4) IX[B]
        [33] -1 0       0x00009c00 - 0x00009c07 (0x8) IX[B]
        [34] -1 0       0x00009400 - 0x000094ff (0x100) IX[B]
        [35] -1 0       0x00009000 - 0x000090ff (0x100) IX[B]
        [36] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B]

Normally, this continues with:
        [37] 0  0       0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(==) MGA(0): Write-combining range (0xf0000000,0x2000000)
(II) MGA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(--) MGA(0): 16 DWORD fifo
(==) MGA(0): Default visual is TrueColor
(II) MGA(0): [drm] bpp: 16 depth: 16
(II) MGA(0): [drm] Sarea 2200+664: 2864
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)

I guess the radeon hung the machine, and the matrox xserver simply wasn't
scheduled after that.

The lockup wasn't total - the numlock LED responded to the numlock key
(and similar for capslock) until I did the sysrq+B.  There seemed to be
no reaction, other than no more LED responses. 
This kernel doesn't have ACPI so it can't turn the machine off
when doing a normal shutdown, but it is usually capable rebooting.
The console was black of course, no dumps of any kind.  

I can try running the radeon xserver only, as the vga console is on the matrox
card.

Helge Hafting

  reply	other threads:[~2005-08-16 21:06 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-02  5:07 Linux 2.6.13-rc5 Linus Torvalds
2005-08-02  6:17 ` Jan De Luyck
2005-08-02  6:43 ` Linux 2.6.13-rc5 - possible acpi regression? Jan De Luyck
2005-08-02 10:50   ` Rafael J. Wysocki
2005-08-03 10:59     ` Jan De Luyck
2005-08-02  7:56 ` Linux 2.6.13-rc5 Olaf Hering
2005-08-05 10:40 ` rc5 seemed to kill a disk that rc4-mm1 likes. Also some X trouble Helge Hafting
2005-08-05 22:05   ` Andrew Morton
2005-08-07  9:41     ` Helge Hafting
2005-08-07 17:06     ` Danny ter Haar
2005-08-08 11:27       ` Helge Hafting
2005-08-08 12:14         ` Danny ter Haar
2005-08-08 14:59           ` Danny ter Haar
     [not found]   ` <21d7e99705080503515e3045d5@mail.gmail.com>
2005-08-09 12:20     ` Helge Hafting
2005-08-12 10:01       ` rc6 keeps hanging and blanking displays where rc4-mm1 works fine Helge Hafting
2005-08-12 10:32         ` Alan Cox
2005-08-15 12:53           ` Bartlomiej Zolnierkiewicz
2005-08-15 13:00             ` Bartlomiej Zolnierkiewicz
2005-08-12 16:51         ` Linus Torvalds
2005-08-15 12:37           ` Helge Hafting
2005-08-15 15:50             ` Linus Torvalds
2005-08-15 17:00               ` Ryan Anderson
2005-08-15 17:45               ` Helge Hafting
2005-08-15 21:48                 ` Sanjoy Mahajan
2005-08-15 22:11               ` rc6 keeps hanging and blanking displays - bisection complete Helge Hafting
2005-08-15 22:59                 ` Linus Torvalds
2005-08-16  8:46                   ` Helge Hafting
2005-08-16 19:29                   ` Helge Hafting
2005-08-15 23:18                 ` Dave Airlie
2005-08-15 23:24                   ` Dave Airlie
2005-08-16  7:34                     ` Helge Hafting
2005-08-16 16:52                     ` rc6 keeps hanging and blanking displays Helge Hafting
2005-08-16 17:00                       ` Linus Torvalds
2005-08-16 21:14                         ` Helge Hafting [this message]
2005-08-16 23:50                           ` Dave Airlie
2005-08-17 11:05                             ` Helge Hafting
2005-08-17 11:05                               ` Dave Airlie
2005-08-17 15:19                                 ` Linus Torvalds
2005-08-22 21:44                                   ` Helge Hafting
2005-08-22 23:07                                     ` Dave Airlie
2005-08-22 23:40                                       ` Linus Torvalds
2005-08-23 15:33                                         ` Alan Cox
2005-08-24  6:04                                         ` Linus Torvalds
2005-08-24  8:37                                           ` Helge Hafting
2005-09-08 23:47               ` rc6 keeps hanging and blanking displays where rc4-mm1 works fine Andrew Morton
2005-09-09  0:16                 ` Linus Torvalds
2005-08-17 11:26       ` rc5 seemed to kill a disk that rc4-mm1 likes. Also some X trouble Rolf Eike Beer
2005-08-22  8:01         ` Rolf Eike Beer
2005-08-22 17:44           ` Linus Torvalds
2005-08-22 17:45             ` Linus Torvalds
2005-08-22 21:01             ` Benjamin Herrenschmidt
2005-08-23  6:48             ` Rolf Eike Beer
2005-08-30  8:07             ` Rolf Eike Beer
2005-09-05  7:49               ` Rolf Eike Beer
2005-09-05  8:45                 ` Linus Torvalds
2005-09-05 19:58                   ` Sonny Rao
2005-09-06  7:44                     ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050816211424.GA14367@aitel.hist.no \
    --to=helgehaf@aitel.hist.no \
    --cc=airlied@gmail.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®