NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

laptop crashes - ATI radeon GPU issues?



Hi All!

I installed NetBSD on a laptop with amd64 (genuine Turion64 x2) and ATI video card. I notice some errors in dmesg and wanted to report them without hurry, since everything appeared to work. However, I noticed a lot of crashes with this laptop. What happens at boot it may hang (quite often) or reset the moment the framebuffer gets initialized. Sometimes several times in a row. Sometimes, when I do get to the login, I can start X11 and see some garbage during init and then a crash+reset before actual X11 appears.

If I keep trying/rebooting it works eventually and if it does, it is stable both in console and X11, also after hours of usage and compilation in background. I would thus exclude hardware issues. It is like go or not go, but if it goes, it works. To be sure, I also tried changing RAM and cleaning the cooling fan, without changes. I Think it is some issue the way the framebuffer gets initialized.
Some days it just works at the first attempt.

At the last crash, I got a core recovered. This is here:

[ 133.1036804] wsdisplay0: screen 1 added (default, vt100 emulation)
[ 133.1136884] wsdisplay0: screen 2 added (default, vt100 emulation)
[ 133.1136884] wsdisplay0: screen 3 added (default, vt100 emulation)
[ 133.1136884] wsdisplay0: screen 4 added (default, vt100 emulation)
[ 416.5794537] ohci0: WARNING: addr 0x4596c560 not found
[ 416.9773093] fatal protection fault in supervisor mode
[ 416.9773093] trap type 4 code 0 rip 0xffffffff8047f1a0 cs 0x8 rflags 0x13282 c
r2 0x72335dc07dd9 ilevel 0 rsp 0xffffb10054a36a30
[ 416.9773093] curlwp 0xffffad9b0732a0a0 pid 645.1 lowest kstack 0xffffb10054a34
2c0
[ 416.9773093] panic: trap
[ 416.9773093] cpu0: Begin traceback...
[ 416.9773093] vpanic() at netbsd:vpanic+0x160
[ 416.9773093] snprintf() at netbsd:snprintf
[ 416.9773093] startlwp() at netbsd:startlwp
[ 416.9873170] alltraps() at netbsd:alltraps+0xbb
[ 416.9873170] usbd_create_xfer() at netbsd:usbd_create_xfer+0x18d
[ 416.9873170] usbd_open_pipe_intr() at netbsd:usbd_open_pipe_intr+0x64
[ 416.9973225] uhidev_open() at netbsd:uhidev_open+0x17e
[ 416.9973225] ums_enable() at netbsd:ums_enable+0x4e
[ 416.9973225] wsmuxopen() at netbsd:wsmuxopen+0xf9
[ 417.0073279] cdev_open() at netbsd:cdev_open+0xeb
[ 417.0073279] spec_open() at netbsd:spec_open+0x175
[ 417.0073279] VOP_OPEN() at netbsd:VOP_OPEN+0x4c
[ 417.0173334] vn_open() at netbsd:vn_open+0x2b3
[ 417.0173334] do_open() at netbsd:do_open+0x103
[ 417.0273383] do_sys_openat() at netbsd:do_sys_openat+0x8b
[ 417.0273383] sys_open() at netbsd:sys_open+0x24
[ 417.0273383] syscall() at netbsd:syscall+0x157
[ 417.0273383] --- syscall (number 5) ---
[ 417.0373432] 723365e42d2a:
[ 417.0373432] cpu0: End traceback...


dmesg shows at boot:
[ 4.896025] kern info: [drm] initializing kernel modesetting (RS480 0x1002:0x5975 0x103C:0x30B0).
[     4.896025] kern info: [drm] register mmio base: 0xd4300000
[     4.896025] kern info: [drm] register mmio size: 65536
[ 4.896025] kern info: [drm] Generation 2 PCI interface, using max accessible memory [ 4.896025] radeon0: info: VRAM: 128M 0x00000000B8000000 - 0x00000000BFFFFFFF (128M used) [ 4.896025] radeon0: info: GTT: 512M 0x0000000080000000 - 0x000000009FFFFFFF
[     4.896025] kern info: [drm] Detected VRAM RAM=80M, BAR=128M
[     4.896025] kern info: [drm] RAM width 128bits DDR
[     4.896025] Zone  kernel: Available graphics memory: 761766 kiB
[     4.896025] kern info: [drm] radeon: 128M of VRAM memory ready
[     4.896025] kern info: [drm] radeon: 512M of GTT memory ready.
[ 4.896025] kern info: [drm] GART: num cpu pages 131072, num gpu pages 131072 [ 4.896025] kern info: [drm] radeon: 2 quad pipes, 1 z pipes initialized. [ 4.896025] kern info: [drm] PCIE GART of 512M enabled (table at 0x0000000045972000).
[     4.896025] radeon0: info: WB enabled
[ 4.896025] radeon0: info: fence driver on ring 0 use gpu addr 0x0000000080000000 and cpu addr 0x0xffffc1b717a07000 [ 4.896025] kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 4.896025] kern info: [drm] Driver supports precise vblank timestamp query.
[     4.896025] radeon0: info: radeon: MSI limited to 32-bit
[     4.896025] radeon0: interrupting at ioapic0 pin 17 (radeon0)
[     4.896025] kern info: [drm] radeon: irq initialized.
[     4.896025] kern info: [drm] Loading R300 Microcode
[ 4.926041] ACPI Error: Aborting method \_GPE._L19 due to previous error (AE_AML_LOOP_TIMEOUT) (20190405/psparse-581) [ 4.926041] ACPI Error: AE_AML_LOOP_TIMEOUT, while evaluating GPE method [_L19] (20190405/evgpe-603)
[     4.926041] acpiacad0: AC adapter online.
[     4.956057] kern info: [drm] radeon: ring at 0x0000000080001000
[ 5.086125] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:3701)r100_ring_test] *ERROR* radeon: ring test failed (scratch(0x15E4)=0xCAFEDEAD) [ 5.086125] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:1232)r100_cp_init] *ERROR* radeon: cp isn't working (-22). [ 5.096129] radeon0: autoconfiguration error: error: failed initializing CP (-22). [ 5.096129] radeon0: autoconfiguration error: error: Disabling GPU acceleration [ 5.226199] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:1252)r100_cp_fini] *ERROR* Wait for CP idle timeout, shutting down CP. [ 5.356265] kern warning: Failed to wait GUI idle while programming pipes. Bad things might happen.

which surely isn't reassuring... and then during run (while I type this email, I have already some hours of uptime)

[ 2477.913627] warning: /usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't enable IRQ/MSI because no handler is installed [ 2477.923631] warning: /usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't enable IRQ/MSI because no handler is installed [ 5116.987680] warning: /usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't enable IRQ/MSI because no handler is installed [ 5116.997686] warning: /usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't enable IRQ/MSI because no handler is installed [ 7858.575105] warning: /usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't enable IRQ/MSI because no handler is installed [ 7858.585111] warning: /usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't enable IRQ/MSI because no handler is installed [ 10252.231381] warning: /usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't enable IRQ/MSI because no handler is installed [ 10252.241388] warning: /usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't enable IRQ/MSI because no handler is installed [ 12687.869515] warning: /usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't enable IRQ/MSI because no handler is installed [ 12687.889525] warning: /usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't enable IRQ/MSI because no handler is installed

also scary :)

Cheers,
Riccardo

--
Send with GNUMail on GNUstep running on NetBSD / Turion64 x2


--
Send with GNUMail on GNUstep running on NetBSD / Turion64 x2



Home | Main Index | Thread Index | Old Index