Re: X and 2.6.5 kernel: update of 2.6.5 kernel locks my laptop

2004-05-10 Thread Branden Robinson
On Fri, Apr 30, 2004 at 09:30:05AM +, slaven peles wrote:
 On April 30, 2004 06:00 am, Branden Robinson wrote:
  On Thu, Apr 29, 2004 at 09:14:58AM +, slaven peles wrote:
   Apr 29 08:25:01 ivor kernel: atkbd.c: Unknown key released (translated
   set 2, code 0x7a on isa0060/serio0).
   Apr 29 08:25:01 ivor kernel: atkbd.c: This is an XFree86 bug. It
   shouldn't access hardware directly.
   Apr 29 08:25:01 ivor kernel: atkbd.c: Unknown key released (translated
   set 2, code 0x7a on isa0060/serio0).
   Apr 29 08:25:01 ivor kernel: atkbd.c: This is an XFree86 bug. It
   shouldn't access hardware directly.

Please note that this has absolutely nothing to do with the ATI/Radeon
driver or firmware in the kernel.

The message you see when you have the ATI/Radeon firmware problem
appears in the XFree86 problem, and looks like this:

(EE) RADEON(0): RADEONCPGetBuffer: CP GetBuffer -1020
(EE) RADEON(0): GetBuffer timed out, resetting engine...
(EE) RADEON(0): RADEONCPGetBuffer: CP reset -1020
(EE) RADEON(0): RADEONCPGetBuffer: CP start -1020
[repeat ad nauseam]

Please see http://bugs.debian.org/246901 for more on this problem.

If you're still setting the This is an XFree86 bug. It shouldn't access
hardware directly. bug in 4.3.0.dfsg.1-1, that is an entirely different
issue.

-- 
G. Branden Robinson|For every credibility gap, there is
Debian GNU/Linux   |a gullibility fill.
[EMAIL PROTECTED] |-- Richard Clopton
http://people.debian.org/~branden/ |


signature.asc
Description: Digital signature


Re: X and 2.6.5 kernel: update of 2.6.5 kernel locks my laptop

2004-04-30 Thread Branden Robinson
On Thu, Apr 29, 2004 at 09:14:58AM +, slaven peles wrote:
 Apr 29 08:25:01 ivor kernel: atkbd.c: Unknown key released (translated set 2, 
 code 0x7a on isa0060/serio0).
 Apr 29 08:25:01 ivor kernel: atkbd.c: This is an XFree86 bug. It shouldn't 
 access hardware directly.
 Apr 29 08:25:01 ivor kernel: atkbd.c: Unknown key released (translated set 2, 
 code 0x7a on isa0060/serio0).
 Apr 29 08:25:01 ivor kernel: atkbd.c: This is an XFree86 bug. It shouldn't 
 access hardware directly.

On Thu, Apr 29, 2004 at 10:54:24AM -0500, Diego Enrique Rodriguez wrote:
 I have same problem look my log in
 http://uvirtual.ean.edu.co/~derodriguez/kernelprob/XFree86.0.log 

On Thu, Apr 29, 2004 at 03:52:18PM -0400, Josh Metzler wrote:
 This happens to me, too - Radeon 7000, same kernel.  I filed bug #246587
 against kernel-image-2.6.5-1-686.

Hi guys,

This should be fixed in the version of XFree86 that entered sid on 29
April.

xfree86 (4.3.0.dfsg.1-1) unstable; urgency=low
[...]
  * Fix AT keyboard rate I/O controls by operating on the actual console file
descriptor, not on file descriptor zero (thanks, Keith Packard).
Suppresses warning messages from Linux 2.6.  (Closes: #224909)
[...]
 -- Fabio M. Di Nitto [EMAIL PROTECTED]  Wed, 28 Apr 2004 18:55:17 +0200

-- 
G. Branden Robinson|I must despise the world which does
Debian GNU/Linux   |not know that music is a higher
[EMAIL PROTECTED] |revelation than all wisdom and
http://people.debian.org/~branden/ |philosophy. -- Ludwig van Beethoven


signature.asc
Description: Digital signature


Re: X and 2.6.5 kernel: update of 2.6.5 kernel locks my laptop

2004-04-30 Thread slaven peles
On April 30, 2004 06:00 am, Branden Robinson wrote:
 On Thu, Apr 29, 2004 at 09:14:58AM +, slaven peles wrote:
  Apr 29 08:25:01 ivor kernel: atkbd.c: Unknown key released (translated
  set 2, code 0x7a on isa0060/serio0).
  Apr 29 08:25:01 ivor kernel: atkbd.c: This is an XFree86 bug. It
  shouldn't access hardware directly.
  Apr 29 08:25:01 ivor kernel: atkbd.c: Unknown key released (translated
  set 2, code 0x7a on isa0060/serio0).
  Apr 29 08:25:01 ivor kernel: atkbd.c: This is an XFree86 bug. It
  shouldn't access hardware directly.

 On Thu, Apr 29, 2004 at 10:54:24AM -0500, Diego Enrique Rodriguez wrote:
  I have same problem look my log in
  http://uvirtual.ean.edu.co/~derodriguez/kernelprob/XFree86.0.log

 On Thu, Apr 29, 2004 at 03:52:18PM -0400, Josh Metzler wrote:
  This happens to me, too - Radeon 7000, same kernel.  I filed bug #246587
  against kernel-image-2.6.5-1-686.

 Hi guys,

 This should be fixed in the version of XFree86 that entered sid on 29
 April.

 xfree86 (4.3.0.dfsg.1-1) unstable; urgency=low
 [...]
   * Fix AT keyboard rate I/O controls by operating on the actual console
 file descriptor, not on file descriptor zero (thanks, Keith Packard).
 Suppresses warning messages from Linux 2.6.  (Closes: #224909) [...]
  -- Fabio M. Di Nitto [EMAIL PROTECTED]  Wed, 28 Apr 2004 18:55:17
 +0200

I checked my older logs and this error message showed up before. So this bug 
appears to be benign. It seems that the problem here is that Radeon firmware 
was removed from kernel. In README.Debian.1st file that comes with 
kernel-image package I found this:

Non-free bits removed:
(...)
* R128 firmware:
  . drivers/char/drm/r128_cce.c
* Radeon firmware:
  . drivers/char/drm/radeon_cp.c

No workaround was suggested, and there was no warning about possible 
consequences. Perhaps using kernel modules from Michael Daenzer's repository 
would be a good transitional solution? Alternatively, one can always turn off 
dri.

Cheers,
Slaven



Re: Re: X and 2.6.5 kernel: update of 2.6.5 kernel locks my laptop

2004-04-30 Thread Josh Metzler

On Fri, 30 Apr 2004, Branden Robinson wrote:

On Thu, Apr 29, 2004 at 09:14:58AM +, slaven peles wrote:
Apr 29 08:25:01 ivor kernel: atkbd.c: Unknown key released (translated set 2, 
code 0x7a on isa0060/serio0).
Apr 29 08:25:01 ivor kernel: atkbd.c: This is an XFree86 bug. It shouldn't 
access hardware directly.
Apr 29 08:25:01 ivor kernel: atkbd.c: Unknown key released (translated set 2, 
code 0x7a on isa0060/serio0).
Apr 29 08:25:01 ivor kernel: atkbd.c: This is an XFree86 bug. It shouldn't 
access hardware directly.


On Thu, Apr 29, 2004 at 10:54:24AM -0500, Diego Enrique Rodriguez wrote:

I have same problem look my log in
http://uvirtual.ean.edu.co/~derodriguez/kernelprob/XFree86.0.log 


On Thu, Apr 29, 2004 at 03:52:18PM -0400, Josh Metzler wrote:

This happens to me, too - Radeon 7000, same kernel.  I filed bug #246587
against kernel-image-2.6.5-1-686.


Hi guys,

This should be fixed in the version of XFree86 that entered sid on 29
April.

xfree86 (4.3.0.dfsg.1-1) unstable; urgency=low
[...]
  * Fix AT keyboard rate I/O controls by operating on the actual console file
descriptor, not on file descriptor zero (thanks, Keith Packard).
Suppresses warning messages from Linux 2.6.  (Closes: #224909)
[...]
 -- Fabio M. Di Nitto [EMAIL PROTECTED]  Wed, 28 Apr 2004 18:55:17 +0200



Thanks, but slaven misdiagnosed the cause of the problem.  These atkbd.c 
errors are unrelated to it (though may be the errors Diego was talking 
about).  The removal of the non-free radeon firmware from the kernel 
causes the X server to lock up using 100% cpu (and to fill up 
XFree86.0.log with error messages).  I was able to ssh into my box and 
reboot it, so using the power button is not necessary if you can connect 
remotely.


See bug #246587 against kernel-image-2.6.5-1-686 for more details.

Josh



Re: X and 2.6.5 kernel: update of 2.6.5 kernel locks my laptop

2004-04-30 Thread slaven peles
On April 30, 2004 06:00 am, Branden Robinson wrote:
 On Thu, Apr 29, 2004 at 09:14:58AM +, slaven peles wrote:
  Apr 29 08:25:01 ivor kernel: atkbd.c: Unknown key released (translated
  set 2, code 0x7a on isa0060/serio0).
  Apr 29 08:25:01 ivor kernel: atkbd.c: This is an XFree86 bug. It
  shouldn't access hardware directly.
  Apr 29 08:25:01 ivor kernel: atkbd.c: Unknown key released (translated
  set 2, code 0x7a on isa0060/serio0).
  Apr 29 08:25:01 ivor kernel: atkbd.c: This is an XFree86 bug. It
  shouldn't access hardware directly.

 On Thu, Apr 29, 2004 at 10:54:24AM -0500, Diego Enrique Rodriguez wrote:
  I have same problem look my log in
  http://uvirtual.ean.edu.co/~derodriguez/kernelprob/XFree86.0.log

 On Thu, Apr 29, 2004 at 03:52:18PM -0400, Josh Metzler wrote:
  This happens to me, too - Radeon 7000, same kernel.  I filed bug #246587
  against kernel-image-2.6.5-1-686.

 Hi guys,

 This should be fixed in the version of XFree86 that entered sid on 29
 April.

 xfree86 (4.3.0.dfsg.1-1) unstable; urgency=low
 [...]
   * Fix AT keyboard rate I/O controls by operating on the actual console
 file descriptor, not on file descriptor zero (thanks, Keith Packard).
 Suppresses warning messages from Linux 2.6.  (Closes: #224909) [...]
  -- Fabio M. Di Nitto [EMAIL PROTECTED]  Wed, 28 Apr 2004 18:55:17
 +0200

I checked this again and it's definitely a firmware issue. Thanks to Michael 
Daenzer there is an easy fix for this. Download and install 
drm-trunk-module-src package from 
http://people.debian.org/~daenzer/dri-trunk-sid/ as well as appropriate 
kernel-headers-2.6.5 package. Then follow standard procedure (as a root):
cd /usr/src
tar xvfz drm-trunk.tar.gz
export KVERS=2.6.5-XXX
export KSRC=/usr/src/kernel-headers-2.6.5-XXX
cd modules/drm-trunk
debian/rules kdist_image
This creates drm-trunk-module...deb package in /usr/src directory, which can 
be easily installed with dpkg -i (no --force-overwrite necessary). At least, 
this worked for me ;-).

Cheers,
Slaven 



Re: X and 2.6.5 kernel: update of 2.6.5 kernel locks my laptop

2004-04-29 Thread Diego Enrique Rodriguez
 Hi,  
 After updating kernel 2.6.5-1-686 from version 2.6.5-2 to 2.6.5-3, my laptop 
 gets locked as soon as X is started upon boot. I get just a blank screen, 
 keyboard does not respond, and all I can do is to turn the power off. It 
 really sounds like it has nothing to do with X, but in /var/log/messages it 
 says this is a XFree86 bug. 
 
 Apr 29 08:25:00 ivor kernel: agpgart: Found an AGP 2.0 compliant device at 
 :00:00.0.
 Apr 29 08:25:00 ivor kernel: agpgart: Putting AGP V2 device at :00:00.0 
 into 4x mode
 Apr 29 08:25:00 ivor kernel: agpgart: Putting AGP V2 device at :01:00.0 
 into 4x mode
 Apr 29 08:25:01 ivor kernel: atkbd.c: Unknown key released (translated set 2, 
 code 0x7a on isa0060/serio0).
 Apr 29 08:25:01 ivor kernel: atkbd.c: This is an XFree86 bug. It shouldn't 
 access hardware directly.
 Apr 29 08:25:01 ivor kernel: atkbd.c: Unknown key released (translated set 2, 
 code 0x7a on isa0060/serio0).
 Apr 29 08:25:01 ivor kernel: atkbd.c: This is an XFree86 bug. It shouldn't 
 access hardware directly.
 
 I have Radeon M9 card, and I'm running up to date sid. Please let me know if 
 this is a known problem and if there is a workaround. Or, should I inquire 
 further on debian-kernel list? Also, let me know if I should supply some 
 additional information.
 
 Thanks,
 Slaven
 
I have same problem look my log in 
http://uvirtual.ean.edu.co/~derodriguez/kernelprob/XFree86.0.log 

Bye

Diego E.
Why not use linux?



Re: X and 2.6.5 kernel: update of 2.6.5 kernel locks my laptop

2004-04-29 Thread Josh Metzler
slaven peles wrote:
 After updating kernel 2.6.5-1-686 from version 2.6.5-2 to 2.6.5-3, my 
laptop 
 gets locked as soon as X is started upon boot. I get just a blank screen, 
 keyboard does not respond, and all I can do is to turn the power off. 

This happens to me, too - Radeon 7000, same kernel.  I filed bug #246587
against kernel-image-2.6.5-1-686.

I believe it is due to firmware being removed from the radeon kernel module, 
according to this excerpt from the kernel-source-2.6.5 2.6.5-3 changelog:

   * Added firmware loading support (Nathaneal Nerode):
 . drivers/char/drm/Kconfig
 . drivers/char/drm/Makefile
 . drivers/char/drm/r128_cce.c
 . drivers/char/drm/r128_drv.h
 . drivers/char/drm/r128_firmware_loader.c
 . drivers/char/drm/radeon_cp.c
 . drivers/char/drm/radeon_drv.h
 . drivers/char/drm/radeon_firmware_loader.c
   * Removed non-free firmware:
 . R128 firmware: drivers/char/drm/r128_cce.c
 . Radeon firmware: drivers/char/drm/radeon_cp.c

Downgrading the kernel to 2.6.5-2 worked for me.

Josh