Bug 7456 - VIA Unichrome Pro, DRM, "nobody cared" or hard system hang
Summary: VIA Unichrome Pro, DRM, "nobody cared" or hard system hang
Status: RESOLVED DUPLICATE of bug 5092
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/other (show other bugs)
Version: XOrg git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Thomas Hellström
QA Contact:
URL:
Whiteboard:
Keywords:
: 7506 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-07 04:39 UTC by Michał Pytasz
Modified: 2006-10-31 14:15 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Michał Pytasz 2006-07-07 04:39:54 UTC
On an (old) Acer Aspire 1362 laptop, 

lspci
00:00.0 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 
South]
00:0a.0 Network controller: Intel Corporation PRO/Wireless 2915ABG Network 
Connection (rev 05)
00:0b.0 CardBus bridge: Texas Instruments PCI7420 CardBus Controller
00:0b.1 CardBus bridge: Texas Instruments PCI7420 CardBus Controller
00:0b.2 FireWire (IEEE 1394): Texas Instruments PCI7x20 1394a-2000 OHCI 
Two-Port PHY/Link-Layer Controller
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 
AC97 Audio Controller (rev 50)
00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller 
(rev 80)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address 
Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM 
Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
Miscellaneous Control
01:00.0 VGA compatible controller: VIA Technologies, Inc. S3 Unichrome Pro VGA 
Adapter (rev 01)

Linux Gentoo, modular (up to date) xorg

$ uname -a
Linux pytasz_l 2.6.16-suspend2-r9 #1 PREEMPT Sat Jun 24 13:46:18 CEST 2006 i686 
Mobile AMD Sempron(tm) Processor 2800+ AuthenticAMD GNU/Linux

drm module built using the most recent (13:30 07/07/2006) CVS as well as most 
recen git for dri module.

After X startup, in dmesg I can see:
[drm:via_mem_alloc] *ERROR* Attempt to allocate from uninitialized memory 
manager.
irq 22: nobody cared (try booting with the "irqpoll" option)
 [<c013a767>] __report_bad_irq+0x2b/0x69
 [<c013a978>] note_interrupt+0x1d3/0x203
 [<c013a275>] handle_IRQ_event+0x22/0x4e
 [<c013a330>] __do_IRQ+0x8f/0xcf
 [<c0104b49>] do_IRQ+0x19/0x24
 [<c010354e>] common_interrupt+0x1a/0x20
handlers:
[<dd07a3cf>] (via_driver_irq_handler+0x0/0x147 [via])
Disabling IRQ #22

When I enable irqpoll option system hangs hard on X startup (I can't get any 
message, all I can do is hold power button for >4s).
Comment 1 Thomas Hellström 2006-07-08 09:03:51 UTC
(In reply to comment #0)
> On an (old) Acer Aspire 1362 laptop, 

> 
> After X startup, in dmesg I can see:
> [drm:via_mem_alloc] *ERROR* Attempt to allocate from uninitialized memory 
> manager.

Upgrade to latest Openchrome SVN. The bug is fixed there.
I will pull it into xf86-video-via when I get time.

> irq 22: nobody cared (try booting with the "irqpoll" option)
>  [<c013a767>] __report_bad_irq+0x2b/0x69
>  [<c013a978>] note_interrupt+0x1d3/0x203
>  [<c013a275>] handle_IRQ_event+0x22/0x4e
>  [<c013a330>] __do_IRQ+0x8f/0xcf
>  [<c0104b49>] do_IRQ+0x19/0x24
>  [<c010354e>] common_interrupt+0x1a/0x20
> handlers:
> [<dd07a3cf>] (via_driver_irq_handler+0x0/0x147 [via])
> Disabling IRQ #22
> 
> When I enable irqpoll option system hangs hard on X startup (I can't get any 
> message, all I can do is hold power button for >4s).

This is a hardware bug, present on all K8M/N800s and some KM/N400s. Use the 2D
driver option "DisableIRQ".

/Thomas

Comment 2 Thomas Hellström 2006-07-08 09:04:52 UTC
Accidently closed the bug...
Comment 3 Micha&#322; Pytasz 2006-07-08 13:27:43 UTC
Ok, thanks it seems to solve this problem, yet I have another with unstability
of xorg using OpenGL in Webots robot simulator. Should I add comments here or
rather open another bug?
Comment 4 Thomas Hellström 2006-07-08 18:55:50 UTC
(In reply to comment #3)
> Ok, thanks it seems to solve this problem, yet I have another with unstability
> of xorg using OpenGL in Webots robot simulator. Should I add comments here or
> rather open another bug?

(In reply to comment #3)
> Ok, thanks it seems to solve this problem, yet I have another with unstability
> of xorg using OpenGL in Webots robot simulator. Should I add comments here or
> rather open another bug?

It's a well known problem that K8M/N800 hangs the system when using textures,
for example with Mesa demos "fire" or "ppracer".

There's already a bugzilla bug for this.
AFAIK, there's no workaround for that available, and ATM no Unichrome 3D driver
maintainer.

/Thomas
Comment 5 Thomas Hellström 2006-07-12 13:32:09 UTC
*** Bug 7506 has been marked as a duplicate of this bug. ***
Comment 6 C. Dominik Bodi 2006-10-31 14:15:46 UTC

*** This bug has been marked as a duplicate of 5092 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.