From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754619AbZDEMZi (ORCPT ); Sun, 5 Apr 2009 08:25:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751403AbZDEMZ0 (ORCPT ); Sun, 5 Apr 2009 08:25:26 -0400 Received: from mx4.mail.ru ([94.100.176.18]:15728 "EHLO mx4.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750971AbZDEMZX convert rfc822-to-8bit (ORCPT ); Sun, 5 Apr 2009 08:25:23 -0400 Date: Sun, 5 Apr 2009 16:24:12 +0400 From: Andrey Gusev To: linux-kernel@vger.kernel.org Subject: kernel hangs on power off Message-ID: <20090405162412.4c42805d@power-debian> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.14.7; powerpc-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Spam: Not detected X-Mras: Ok Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! My kernel hung on power down. I made a shot of this, so look http://img201.imageshack.us/img201/8691/dscn4380.jpg . I don't attach this to message, because it can be banned by spam filter. Also, sometimes I had hangs on Debian kernel (2.6.26), I reported bug to Debian community http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517513 Information about my system: andrey@power-debian:~/build/kernel/linux-2.6.29$ sh scripts/ver_linux If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes. Linux power-debian 2.6.29.1 #2 SMP PREEMPT Sun Apr 5 02:21:38 MSD 2009 ppc GNU/Linux Gnu C 4.3.3 Gnu make 3.81 binutils 2.19.1 util-linux 2.13.1.1 mount 2.13.1.1 module-init-tools найдена Linux C Library 2.9 Dynamic linker (ldd) 2.9 Procps 3.2.7 Console-tools 0.2.3 Sh-utils 6.10 udev 125 Modules Loaded nls_utf8 nls_cp866 vfat fat nls_base sd_mod usb_storage ipv6 cpufreq_stats cpufreq_powersave cpufreq_ondemand cpufreq_userspace freq_table snd_powermac snd_pcm snd_seq snd_timer snd_seq_device snd snd_page_alloc therm_windtunnel sbp2 scsi_mod apm_emu apm_emulation evdev sha256_generic cbc dm_crypt dm_mirror dm_region_hash dm_log dm_snapshot dm_mod ohci1394 ieee1394 andrey@power-debian:~/build/kernel/linux-2.6.29$ cat /proc/version Linux version 2.6.29.1 (andrey@power-debian) (gcc version 4.3.3 (Debian 4.3.3-3) ) #2 SMP PREEMPT Sun Apr 5 02:21:38 MSD 2009 andrey@power-debian:~/build/kernel/linux-2.6.29$ uname -a Linux power-debian 2.6.29.1 #2 SMP PREEMPT Sun Apr 5 02:21:38 MSD 2009 ppc GNU/Linux andrey@power-debian:~/build/kernel/linux-2.6.29$ cat /proc/cpuinfo processor : 0 cpu : 7455, altivec supported clock : 866.666664MHz revision : 2.1 (pvr 8001 0201) bogomips : 66.56 processor : 1 cpu : 7455, altivec supported clock : 866.666664MHz revision : 2.1 (pvr 8001 0201) bogomips : 66.56 total bogomips : 133.12 timebase : 33304558 platform : PowerMac model : PowerMac3,6 machine : PowerMac3,6 motherboard : PowerMac3,6 MacRISC2 MacRISC Power Macintosh detected as : 129 (PowerMac G4 Windtunnel) pmac flags : 00000010 L2 cache : 256K unified pmac-generation : NewWorld Memory : 512 MB andrey@power-debian:~/build/kernel/linux-2.6.29$ cat /proc/modules nls_utf8 5212 0 - Live 0xe51e3000 nls_cp866 8404 0 - Live 0xe51d6000 vfat 14644 0 - Live 0xe51c7000 fat 54920 1 vfat, Live 0xe51ab000 nls_base 10928 4 nls_utf8,nls_cp866,vfat,fat, Live 0xe5190000 sd_mod 29932 0 - Live 0xe517c000 usb_storage 100524 0 - Live 0xe4de6000 ipv6 308040 14 - Live 0xe4faf000 cpufreq_stats 8904 0 - Live 0xe4dc8000 cpufreq_powersave 4944 0 - Live 0xe4dba000 cpufreq_ondemand 11096 0 - Live 0xe4dad000 cpufreq_userspace 6748 0 - Live 0xe4d9e000 freq_table 8084 2 cpufreq_stats,cpufreq_ondemand, Live 0xe4d94000 snd_powermac 48308 1 - Live 0xe4a9e000 snd_pcm 82216 1 snd_powermac, Live 0xe4a6b000 snd_seq 61968 0 - Live 0xe4a38000 snd_timer 26288 2 snd_pcm,snd_seq, Live 0xe4a15000 snd_seq_device 10876 1 snd_seq, Live 0xe4a00000 snd 60404 7 snd_powermac,snd_pcm,snd_seq,snd_timer,snd_seq_device, Live 0xe49e5000 snd_page_alloc 12752 1 snd_pcm, Live 0xe49c4000 therm_windtunnel 12092 0 - Live 0xe49b4000 sbp2 24140 0 - Live 0xe49a4000 scsi_mod 163556 3 sd_mod,usb_storage,sbp2, Live 0xe496b000 apm_emu 5316 0 - Live 0xe4928000 apm_emulation 11816 2 apm_emu, Live 0xe491b000 evdev 14368 3 - Live 0xe48c8000 sha256_generic 13380 0 - Live 0xe42da000 cbc 7136 1 - Live 0xe42cc000 dm_crypt 17000 1 - Live 0xe415b000 dm_mirror 17924 0 - Live 0xe4147000 dm_region_hash 15472 1 dm_mirror, Live 0xe4137000 dm_log 13900 2 dm_mirror,dm_region_hash, Live 0xe4125000 dm_snapshot 22196 0 - Live 0xe4114000 dm_mod 63696 15 dm_crypt,dm_mirror,dm_log,dm_snapshot, Live 0xe4102000 ohci1394 36172 0 - Live 0xe20cc000 ieee1394 92348 2 sbp2,ohci1394, Live 0xe20a3000 andrey@power-debian:~/build/kernel/linux-2.6.29$ cat /proc/ioports 00000000-007fffff : /pci@f2000000 00000000-00000fff : Legacy IO 00802000-01001fff : /pci@f0000000 00802000-00802fff : Legacy IO ff7fe000-ffffdfff : /pci@f4000000 ff7fe000-ff7fefff : Legacy IO andrey@power-debian:~/build/kernel/linux-2.6.29$ cat /proc/iomem 80000000-8fffffff : /pci@f2000000 80000000-8007ffff : 0001:10:17.0 80000000-8007ffff : 0.80000000:mac-io 80000050-8000007f : 0.00000050:gpio 80008000-800080ff : 0.00010000:i2s 80008000-800080ff : Sound Tx DMA 80008100-800081ff : 0.00010000:i2s 80008100-800081ff : Sound Rx DMA 80008200-800082ff : 0.00010000:i2s 80008300-800083ff : 0.00010000:i2s 80008a00-80008aff : 0.0001f000:ata-4 80008a00-80008aff : ide-pmac (dma) 80008b00-80008bff : 0.00020000:ata-3 80008b00-80008bff : ide-pmac (dma) 80010000-80010fff : 0.00010000:i2s 80010000-80010fff : Sound Control 80013000-80013000 : 0.00013000:ch-b 80013000-80013000 : pmac_zilog 80013010-80013010 : 0.00013000:ch-b 80013010-80013010 : pmac_zilog 80013020-80013020 : 0.00013020:ch-a 80013020-80013020 : pmac_zilog 80013030-80013030 : 0.00013020:ch-a 80013030-80013030 : pmac_zilog 80013040-80013040 : 0.00013000:ch-b 80013040-80013040 : pmac_zilog 80013050-80013050 : 0.00013020:ch-a 80013050-80013050 : pmac_zilog 80015000-80015fff : 0.00015000:timer 80016000-80017fff : 0.00016000:via-pmu 80018000-80018fff : 0.00018000:i2c 8001f000-8001ffff : 0.0001f000:ata-4 8001f000-8001ffff : ide-pmac (ports) 80020000-80020fff : 0.00020000:ata-3 80020000-80020fff : ide-pmac (ports) 80040000-8007ffff : 0.00040000:interrup 80080000-80080fff : 0001:10:19.0 80080000-80080fff : ohci_hcd 80081000-80081fff : 0001:10:18.0 80081000-80081fff : ohci_hcd 90000000-afffffff : /pci@f0000000 91000000-91ffffff : 0000:00:10.0 91000000-91ffffff : nvidiafb 98000000-9fffffff : 0000:00:10.0 98000000-9fffffff : nvidiafb f1000000-f1ffffff : /pci@f0000000 f1000000-f107ffff : 0000:00:10.0 f1000000-f107ffff : nvidiafb f1080000-f109ffff : 0000:00:10.0 f3000000-f3ffffff : /pci@f2000000 f5000000-f5ffffff : /pci@f4000000 f5000000-f5000fff : 0002:20:0e.0 f5000000-f50007ff : ohci1394 f5004000-f5007fff : 0002:20:0d.0 f5004000-f5007fff : Kauai ATA f5100000-f51fffff : 0002:20:0f.0 f5200000-f53fffff : 0002:20:0f.0 f5200000-f53fffff : sungem andrey@power-debian:~/personal/photo/bug$ sudo lspci -vvv 0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 AGP Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- Kernel driver in use: agpgart-uninorth 0000:00:10.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 420] (rev a3) (prog-if 00 [VGA controller]) Subsystem: nVidia Corporation Device 0008 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- Kernel driver in use: nvidiafb 0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 PCI Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR-