Re: system hangs on shutdown while on wireless (ath) (Was: drm2 and the kernel messages on shutdown)

2012-07-18 Thread Adrian Chadd
Hm, find the revision where I committed the PCIe powersave fixes to
ath_hal/ar9002/ar9285_attach.c and undo them? See if that has any
effect?


adrian


On 18 July 2012 02:57, Ruslan Mahmatkhanov  wrote:
> Ruslan Mahmatkhanov wrote on 18.06.2012 13:10:
>>
>> Ivan Klymenko wrote on 18.06.2012 13:02:
>>>
>>> В Mon, 18 Jun 2012 12:35:33 +0400
>>> Ruslan Mahmatkhanov  пишет:
>>>
 Good day,

 since switching to new drm code (starting at April if I recall
 correctly) I'm experiencing sporadic laptop hangs when choose the
 shutdown command in UI (gnome) environment. The hdd led isn't
 blinking but the laptop is still up. In such cases I forced to
 shutdown it by pressing power off button, but at the next system
 start it running filesystem checks (yes, with journal but some time
 only full fsck is able to fix that). What I'm asking for is - when
 there some sysctl or boot loader option will be available to turn on
 kernel messages on shutdown? I really want to know on what it hanging
 on. I didn't bothered with this while it was available as third-party
 patch, but since it is now in -current and enabled by default, I
 think this feature should be available. Thanks.

 PS. I'm now subscribed to current@. So do not need to approve my
 previous message, that's waiting for moderator approval.

>>>
>>> Dear Ruslan.
>>> Your problems hang your laptop is not associated with the transition to
>>> drm2.
>>> And you can see this - when the downgrade to the SVN revision r236313
>>>
>>> Your problems are now committing to this
>>> http://svnweb.freebsd.org/base?view=revision&revision=236317
>>>
>>> You can check it and make sure my right.
>>>
>>> Good luck
>>
>>
>> Thanks Ivan, I'll check it out.  But the request in subject line is
>> still valid for me, because the current state make me feels like..
>> uhmm.. a blind kitten :)
>
>
> Hi, I still didn't tried to revert this change to check if it the reason.
> But I realized that I only got this issue when I'm on wireless. And I can
> 100% reproduce this. When using ethernet (re) - system shuts down just fine.
> When using wireless (ath) - it hanging forever.
>
> So it seems like ath deadlock or something (cc:ing Adrian). Would you please
> provide me with instructions on how to debug this, or what info should I
> provide to you to realize this. Thanks.
>
> ath0@pci0:37:0:0:   class=0x028000 card=0x1461103c chip=0x002b168c
> rev=0x01 hdr=0x00
> vendor = 'Atheros Communications Inc.'
> device = 'AR9285 Wireless Network Adapter (PCI-Express)'
> class  = network
>
> My -current is from Sat Jul 14 12:15:20 2012 (svn #238449).
>
> --
> Regards,
> Ruslan
>
> Tinderboxing kills... the drives.
>
>
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: system hangs on shutdown while on wireless (ath) (Was: drm2 and the kernel messages on shutdown)

2012-07-18 Thread Ruslan Mahmatkhanov

Ruslan Mahmatkhanov wrote on 18.06.2012 13:10:

Ivan Klymenko wrote on 18.06.2012 13:02:

В Mon, 18 Jun 2012 12:35:33 +0400
Ruslan Mahmatkhanov  пишет:


Good day,

since switching to new drm code (starting at April if I recall
correctly) I'm experiencing sporadic laptop hangs when choose the
shutdown command in UI (gnome) environment. The hdd led isn't
blinking but the laptop is still up. In such cases I forced to
shutdown it by pressing power off button, but at the next system
start it running filesystem checks (yes, with journal but some time
only full fsck is able to fix that). What I'm asking for is - when
there some sysctl or boot loader option will be available to turn on
kernel messages on shutdown? I really want to know on what it hanging
on. I didn't bothered with this while it was available as third-party
patch, but since it is now in -current and enabled by default, I
think this feature should be available. Thanks.

PS. I'm now subscribed to current@. So do not need to approve my
previous message, that's waiting for moderator approval.



Dear Ruslan.
Your problems hang your laptop is not associated with the transition to
drm2.
And you can see this - when the downgrade to the SVN revision r236313

Your problems are now committing to this
http://svnweb.freebsd.org/base?view=revision&revision=236317

You can check it and make sure my right.

Good luck


Thanks Ivan, I'll check it out.  But the request in subject line is
still valid for me, because the current state make me feels like..
uhmm.. a blind kitten :)


Hi, I still didn't tried to revert this change to check if it the 
reason. But I realized that I only got this issue when I'm on wireless. 
And I can 100% reproduce this. When using ethernet (re) - system shuts 
down just fine. When using wireless (ath) - it hanging forever.


So it seems like ath deadlock or something (cc:ing Adrian). Would you 
please provide me with instructions on how to debug this, or what info 
should I provide to you to realize this. Thanks.


ath0@pci0:37:0:0:	class=0x028000 card=0x1461103c chip=0x002b168c 
rev=0x01 hdr=0x00

vendor = 'Atheros Communications Inc.'
device = 'AR9285 Wireless Network Adapter (PCI-Express)'
class  = network

My -current is from Sat Jul 14 12:15:20 2012 (svn #238449).

--
Regards,
Ruslan

Tinderboxing kills... the drives.


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


drm2 and the kernel messages on shutdown

2012-06-18 Thread Ruslan Mahmatkhanov

Good day,

since switching to new drm code (starting at April if I recall 
correctly) I'm experiencing sporadic laptop hangs when choose the 
shutdown command in UI (gnome) environment. The hdd led isn't blinking 
but the laptop is still up. In such cases I forced to shutdown it by 
pressing power off button, but at the next system start it running 
filesystem checks (yes, with journal but some time only full fsck is 
able to fix that). What I'm asking for is - when there some sysctl or 
boot loader option will be available to turn on kernel messages on 
shutdown? I really want to know on what it hanging on. I didn't bothered 
with this while it was available as third-party patch, but since it is 
now in -current and enabled by default, I think this feature should be 
available. Thanks.


--
Regards,
Ruslan

Tinderboxing kills... the drives.

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: drm2 and the kernel messages on shutdown

2012-06-18 Thread Ruslan Mahmatkhanov

Eric Masson wrote on 18.06.2012 13:08:

Ruslan Mahmatkhanov  writes:

Hi,


I didn't bothered with this while it was available as third-party
patch, but since it is now in -current and enabled by default, I think
this feature should be available. Thanks.


As stated in the wiki page, syscons is not integrated with kms atm, so
you need a serial console to get system messages.
http://wiki.freebsd.org/Intel_GPU

Éric Masson


Ok, but in the earlier revision of this page or in some heads-up message 
in mailing list there was a note about that, that kernel messages are 
disabled just for development convenience, so this is main reason why I 
ever asked that. So, since there is some technical restriction about 
that, I would to shut up and wait. Thanks.


--
Regards,
Ruslan

Tinderboxing kills... the drives.


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: drm2 and the kernel messages on shutdown

2012-06-18 Thread Ruslan Mahmatkhanov

Ivan Klymenko wrote on 18.06.2012 13:02:

В Mon, 18 Jun 2012 12:35:33 +0400
Ruslan Mahmatkhanov  пишет:


Good day,

since switching to new drm code (starting at April if I recall
correctly) I'm experiencing sporadic laptop hangs when choose the
shutdown command in UI (gnome) environment. The hdd led isn't
blinking but the laptop is still up. In such cases I forced to
shutdown it by pressing power off button, but at the next system
start it running filesystem checks (yes, with journal but some time
only full fsck is able to fix that). What I'm asking for is - when
there some sysctl or boot loader option will be available to turn on
kernel messages on shutdown? I really want to know on what it hanging
on. I didn't bothered with this while it was available as third-party
patch, but since it is now in -current and enabled by default, I
think this feature should be available. Thanks.

PS. I'm now subscribed to current@. So do not need to approve my
previous message, that's waiting for moderator approval.



Dear Ruslan.
Your problems hang your laptop is not associated with the transition to
drm2.
And you can see this - when the downgrade to the SVN revision r236313

Your problems are now committing to this
http://svnweb.freebsd.org/base?view=revision&revision=236317

You can check it and make sure my right.

Good luck


Thanks Ivan, I'll check it out.  But the request in subject line is 
still valid for me, because the current state make me feels like.. 
uhmm.. a blind kitten :)


--
Regards,
Ruslan

Tinderboxing kills... the drives.


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: drm2 and the kernel messages on shutdown

2012-06-18 Thread Eric Masson
Ruslan Mahmatkhanov  writes:

Hi,

> I didn't bothered with this while it was available as third-party
> patch, but since it is now in -current and enabled by default, I think
> this feature should be available. Thanks.

As stated in the wiki page, syscons is not integrated with kms atm, so
you need a serial console to get system messages.
http://wiki.freebsd.org/Intel_GPU

Éric Masson

-- 
 AB> Pourquoi proposer une réforme si c'est pour affirmer qu'elle ne
 AB> changera rien ?
 Pour mettre un frein définitif à l'immobilisme.
 -+-SP in http://www.le-gnu.net - Tout changer pour que rien ne bouge-+-
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: drm2 and the kernel messages on shutdown

2012-06-18 Thread Ivan Klymenko
В Mon, 18 Jun 2012 12:35:33 +0400
Ruslan Mahmatkhanov  пишет:

> Good day,
> 
> since switching to new drm code (starting at April if I recall 
> correctly) I'm experiencing sporadic laptop hangs when choose the 
> shutdown command in UI (gnome) environment. The hdd led isn't
> blinking but the laptop is still up. In such cases I forced to
> shutdown it by pressing power off button, but at the next system
> start it running filesystem checks (yes, with journal but some time
> only full fsck is able to fix that). What I'm asking for is - when
> there some sysctl or boot loader option will be available to turn on
> kernel messages on shutdown? I really want to know on what it hanging
> on. I didn't bothered with this while it was available as third-party
> patch, but since it is now in -current and enabled by default, I
> think this feature should be available. Thanks.
> 
> PS. I'm now subscribed to current@. So do not need to approve my 
> previous message, that's waiting for moderator approval.
> 

Dear Ruslan.
Your problems hang your laptop is not associated with the transition to
drm2.
And you can see this - when the downgrade to the SVN revision r236313

Your problems are now committing to this
http://svnweb.freebsd.org/base?view=revision&revision=236317

You can check it and make sure my right.

Good luck
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


drm2 and the kernel messages on shutdown

2012-06-18 Thread Ruslan Mahmatkhanov

Good day,

since switching to new drm code (starting at April if I recall 
correctly) I'm experiencing sporadic laptop hangs when choose the 
shutdown command in UI (gnome) environment. The hdd led isn't blinking 
but the laptop is still up. In such cases I forced to shutdown it by 
pressing power off button, but at the next system start it running 
filesystem checks (yes, with journal but some time only full fsck is 
able to fix that). What I'm asking for is - when there some sysctl or 
boot loader option will be available to turn on kernel messages on 
shutdown? I really want to know on what it hanging on. I didn't bothered 
with this while it was available as third-party patch, but since it is 
now in -current and enabled by default, I think this feature should be 
available. Thanks.


PS. I'm now subscribed to current@. So do not need to approve my 
previous message, that's waiting for moderator approval.


--
Regards,
Ruslan

Tinderboxing kills... the drives.

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"