LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* RE: [HELP] BAD interrupts
From: Kumar Gopalpet-B05799 @ 2009-12-24 10:45 UTC (permalink / raw)
  To: gshan, michael, avorontsov; +Cc: netdev, linuxppc-dev
In-Reply-To: <4B335491.1020203@alcatel-lucent.com>

[-- Attachment #1: Type: text/plain, Size: 1814 bytes --]

 

>-----Original Message-----
>From: gshan [mailto:gshan@alcatel-lucent.com] 
>Sent: Thursday, December 24, 2009 5:16 PM
>To: michael@ellerman.id.au
>Cc: Kumar Gopalpet-B05799; netdev@vger.kernel.org; 
>linuxppc-dev@lists.ozlabs.org
>Subject: Re: [HELP] BAD interrupts
>
>Michael Ellerman wrote:
>> On Wed, 2009-12-23 at 19:41 +0530, Kumar Gopalpet-B05799 wrote:
>>   
>>> Hi all,
>>>  
>>> I am trying linux 2.6.32-rc3 in SMP mode. I am seeing a lot of BAD 
>>> interrupts when I do a "cat  /proc/interrupts".
>>>  
>>> I am running a forwarding application b/w two ethernet ports 
>>> (ethernet uses gianfar driver).
>>>  
>>> Has any one observed these BAD interrupts ? If so, can someone help 
>>> me in understanding why these interrupts come and how to 
>resolve it ?
>>>     
>>
>> You'll need to tell us what platform you're running on.
>>
>> The BAD interrupts come from ppc_spurious_interrupts. It's a 
>count of 
>> the number of times we entered do_IRQ() (ie. took an external 
>> interrupt), but when we asked the interrupt controller which irq it 
>> was, the interrupt controller said there was no irq.
>>
>> Depending on your interrupt controller that might happen 
>sometimes for 
>> valid reasons. Or it might indicate something is setup wrong.
>>
>> cheers
>>   
>I think it will help to show us your /proc/interrupts so that 
>how you suffered from bad interrupts.
>

I am running linux-2.6.29 in SMP mode on P2020RDB ( ruuning at
1200/600/667). The test scenario forwarding 
application and is a bidirectioanl flow between eth0 & eth2.

Attached is the complete log of the test scenario.

I also noted another observation that when all the interrupts are mapped
to a single core, the BAD interrupts stop coming.

--

Thanks
Sandeep 


[-- Attachment #2: smp_log_bad_intrs.txt --]
[-- Type: text/plain, Size: 27221 bytes --]

tftp 1000000 etsec2/uImage_alpha
Speed: 1000, full duplex
Using eTSEC1 device
TFTP from server 10.232.134.194; our IP address is 10.232.133.188
Filename 'etsec2/uImage_alpha'.
Load address: 0x1000000
Loading: *\b#################################################################
	 #################################################################
	 ###################################################
done
Bytes transferred = 2654090 (287f8a hex)
=> tftp 2000000 etsec2/rf\b \bootfs_alpha
Speed: 1000, full duplex
Using eTSEC1 device
TFTP from server 10.232.134.194; our IP address is 10.232.133.188
Filename 'etsec2/rootfs_alpha'.
Load address: 0x2000000
Loading: *\b#################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #####
done
Bytes transferred = 26776875 (198952b hex)
=> tftp c00000 etsec2/p2020alpha.dtb
Speed: 1000, full duplex
Using eTSEC1 device
TFTP from server 10.232.134.194; our IP address is 10.232.133.188
Filename 'etsec2/p2020alpha.dtb'.
Load address: 0xc00000
Loading: *\b#
done
Bytes transferred = 10579 (2953 hex)
=> bootm 1000000 2000000 c00000
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at 01000000 ...
   Image Name:   Linux-2.6.29
   Created:      2009-07-03   9:42:06 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    2654026 Bytes =  2.5 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02000000 ...
   Image Name:   uboot ext2 ramdisk rootfs
   Created:      2009-07-04   8:24:27 UTC
   Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)
   Data Size:    26776811 Bytes = 25.5 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 00c00000
   Booting using the fdt blob at 0xc00000
   Uncompressing Kernel Image ... OK
   Loading Ramdisk to 2e676000, end 2ffff4eb ... OK
Using P2020 RDB machine description
Memory CAM mapping: CAM0=256Mb, CAM1=256Mb, CAM2=256Mb residual: 256Mb
Linux version 2.6.29 (dipen@uTeam3.ap.freescale.net) (gcc version 4.3.2 (GCC) ) #1 SMP Fri Jul 3 15:11:50 IST 2009
Found initrd at 0xee676000:0xeffff4eb
CPU maps initialized for 1 thread per core
console [udbg0] enabled
setup_arch: bootmem
mpc85xx_rdb_setup_arch()
Found FSL PCI host bridge at 0x00000000ffe09000. Firmware bus number: 0->255
PCI host bridge /pcie@ffe09000  ranges:
 MEM 0x00000000a0000000..0x00000000bfffffff -> 0x00000000a0000000 
  IO 0x00000000ffc30000..0x00000000ffc3ffff -> 0x0000000000000000
Found FSL PCI host bridge at 0x00000000ffe0a000. Firmware bus number: 0->255
PCI host bridge /pcie@ffe0a000  ranges:
 MEM 0x00000000c0000000..0x00000000dfffffff -> 0x00000000c0000000 
  IO 0x00000000ffc20000..0x00000000ffc2ffff -> 0x0000000000000000
MPC85xx RDB board from Freescale Semiconductor
arch: exit
Zone PFN ranges:
  DMA      0x00000000 -> 0x00030000
  Normal   0x00030000 -> 0x00030000
  HighMem  0x00030000 -> 0x00040000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00040000
MMU: Allocated 1088 bytes of context maps for 255 contexts
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
Kernel command line: root=/dev/ram rw console=ttyS0,115200 ramdisk_size=275000 cache-sram-size=0x10000
mpic: Setting up MPIC " OpenPIC  " version 1.2 at ffe40000, max 2 CPUs
mpic: ISU size: 256, shift: 8, mask: ff
mpic: Initializing for 256 sources
PID hash table entries: 4096 (order: 12, 16384 bytes)
clocksource: timebase mult[3555555] shift[22] registered
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1007184k/1048576k available (5180k kernel code, 40848k reserved, 164k data, 134k bss, 216k init)
SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Calibrating delay loop... 149.50 BogoMIPS (lpj=299008)
Mount-cache hash table entries: 512
mpic: requesting IPIs ... 
Processor 1 found.
Brought up 2 CPUs
net_namespace: 732 bytes
NET: Registered protocol family 16
             
PCI: Probing PCI hardware
pci 0000:00:00.0: ignoring class b20 (doesn't match header type 01)
pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:00.0: PME# disabled
pci 0001:02:00.0: ignoring class b20 (doesn't match header type 01)
pci 0001:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:02:00.0: PME# disabled
pci 0000:00:00.0: not setting up bridge for bus 0000:01
pci 0000:00:00.0: enabling device (0106 -> 0107)
pci 0001:02:00.0: not setting up bridge for bus 0001:03
pci 0001:02:00.0: enabling device (0106 -> 0107)
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Freescale Elo / Elo Plus DMA driver
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
NET: Registered protocol family 1
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 26149k freed
fsl-elo-dma ffe0c300.dma: Probe the Freescale DMA driver for fsl,eloplus-dma controller at ffe0c300...
fsl-elo-dma ffe0c300.dma: #0 (fsl,eloplus-dma-channel), irq 76
fsl-elo-dma ffe0c300.dma: #1 (fsl,eloplus-dma-channel), irq 77
fsl-elo-dma ffe0c300.dma: #2 (fsl,eloplus-dma-channel), irq 78
fsl-elo-dma ffe0c300.dma: #3 (fsl,eloplus-dma-channel), irq 79
fsl-elo-dma ffe21300.dma: Probe the Freescale DMA driver for fsl,eloplus-dma controller at ffe21300...
fsl-elo-dma ffe21300.dma: #0 (fsl,eloplus-dma-channel), irq 20
fsl-elo-dma ffe21300.dma: #1 (fsl,eloplus-dma-channel), irq 21
fsl-elo-dma ffe21300.dma: #2 (fsl,eloplus-dma-channel), irq 22
fsl-elo-dma ffe21300.dma: #3 (fsl,eloplus-dma-channel), irq 23
audit: initializing netlink socket (disabled)
type=2000 audit(2.388:1): initialized
highmem bounce pool size: 64 pages
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NTFS driver 2.1.29 [Flags: R/O].
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
JFFS2: default compression mode: priority
msgmni has been set to 1507
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Generic non-volatile memory driver v1.1
Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0xffe04500 (irq = 42) is a 16550A
console handover: boot [udbg0] -> real [ttyS0]
serial8250.0: ttyS1 at MMIO 0xffe04600 (irq = 42) is a 16550A
brd: module loaded
loop: module loaded
nbd: registered device at major 43
e1000e: Intel(R) PRO/1000 Network Driver - 0.3.3.3-k6
e1000e: Copyright (c) 1999-2008 Intel Corporation.
Gianfar MII Bus: probed
Gianfar MII Bus: probed
eth0 (fsl-gianfar): not using net_device_ops yet
eth0: Gianfar Ethernet Controller Version 1.4-skbr1.1.4, 00:04:9f:0c:05:00
eth0: MTU = 1500 (frame size=1524, truesize=1800)
eth0: Running with NAPI enabled
eth0: 128/128 RX/TX BD ring size
eth1 (fsl-gianfar): not using net_device_ops yet
eth1: Gianfar Ethernet Controller Version 1.4-skbr1.1.4, 00:04:9f:0c:05:01
eth1: MTU = 1500 (frame size=1524, truesize=1800)
eth1: Running with NAPI enabled
eth1: 128/128 RX/TX BD ring size
eth2 (fsl-gianfar): not using net_device_ops yet
eth2: Gianfar Ethernet Controller Version 1.4-skbr1.1.4, 00:04:9f:0c:05:02
eth2: MTU = 1500 (frame size=1524, truesize=1800)
eth2: Running with NAPI enabled
eth2: 128/128 RX/TX BD ring size
Fixed MDIO Bus: probed
st: Version 20081215, fixed bufsize 32768, s/g segs 256
Driver 'st' needs updating - please use bus_type methods
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
ef000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
ef000000.nor: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
Creating 5 MTD partitions on "ef000000.nor":
0x000000000000-0x000000040000 : "NOR (RO) Vitesse-7385 Firmware"
ftl_cs: FTL header not found.
0x000000040000-0x000000080000 : "NOR (RO) DTB Image"
ftl_cs: FTL header not found.
0x000000080000-0x000000400000 : "NOR (RO) Linux Kernel Image"
ftl_cs: FTL header not found.
0x000000400000-0x000000f00000 : "NOR (RW) JFFS2 Root File System"
ftl_cs: FTL header not found.
0x000000f00000-0x000001000000 : "NOR (RO) U-Boot Image"
ftl_cs: FTL header not found.
NAND device: Manufacturer ID: 0xec, Chip ID: 0x75 (Samsung NAND 32MiB 3,3V 8-bit)
RedBoot partition parsing not available
Creating 6 MTD partitions on "ffa00000.flash":
0x000000000000-0x000000080000 : "NAND (RO) U-Boot Image"
ftl_cs: FTL header not found.
0x000000080000-0x000000100000 : "NAND (RO) DTB Image"
ftl_cs: FTL header not found.
0x000000100000-0x000000500000 : "NAND (RO) Linux Kernel Image"
ftl_cs: FTL header not found.
0x000000500000-0x000000900000 : "NAND (RO) Compressed RFS Image"
ftl_cs: FTL header not found.
0x000000900000-0x000001000000 : "NAND (RW) JFFS2 Root File System"
ftl_cs: FTL header not found.
0x000001000000-0x000002000000 : "NAND (RW) Writable User area"
ftl_cs: FTL header not found.
eLBC NAND device at 0xffa00000, bank 1
fsl_m25p80 spi28672.0: s25sl128b (0 Kbytes)
Creating 5 MTD partitions on "SPIFLASH0":
0x000000000000-0x000000080000 : "SPI (RO) U-Boot Image"
ftl_cs: FTL header not found.
0x000000080000-0x000000100000 : "SPI (RO) DTB Image"
ftl_cs: FTL header not found.
0x000000100000-0x000000500000 : "SPI (RO) Linux Kernel Image"
ftl_cs: FTL header not found.
0x000000500000-0x000000900000 : "SPI (RO) Compressed RFS Image"
ftl_cs: FTL header not found.
0x000000900000-0x000001000000 : "SPI (RW) JFFS2 RFS"
ftl_cs: FTL header not found.
ffe07000.spi: Freescale eSPI Controller driver at 0xf210a000 (irq = 59)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 28, io base 0xffe22000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
i2c /dev entries driver
rtc-ds1307 0-0068: rtc core: registered ds1339 as rtc0
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
esdhc: Freescale Enhanced Secure Digital Host Controller driver
mmc0: ESDHC at 0xffe2e000 irq 72 PIO
talitos ffe30000.crypto: hwrng
alg: No test for authenc(hmac(sha1),cbc(aes)) (authenc-hmac-sha1-cbc-aes-talitos)
talitos ffe30000.crypto: authenc-hmac-sha1-cbc-aes-talitos
alg: No test for authenc(hmac(sha1),cbc(des3_ede)) (authenc-hmac-sha1-cbc-3des-talitos)
talitos ffe30000.crypto: authenc-hmac-sha1-cbc-3des-talitos
alg: No test for authenc(hmac(sha256),cbc(aes)) (authenc-hmac-sha256-cbc-aes-talitos)
talitos ffe30000.crypto: authenc-hmac-sha256-cbc-aes-talitos
alg: No test for authenc(hmac(sha256),cbc(des3_ede)) (authenc-hmac-sha256-cbc-3des-talitos)
talitos ffe30000.crypto: authenc-hmac-sha256-cbc-3des-talitos
alg: No test for authenc(hmac(md5),cbc(aes)) (authenc-hmac-md5-cbc-aes-talitos)
talitos ffe30000.crypto: authenc-hmac-md5-cbc-aes-talitos
alg: No test for authenc(hmac(md5),cbc(des3_ede)) (authenc-hmac-md5-cbc-3des-talitos)
talitos ffe30000.crypto: authenc-hmac-md5-cbc-3des-talitos
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
rtc-ds1307 0-0068: setting system clock to 2009-07-01 10:24:20 UTC (1246443860)
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
Freeing unused kernel memory: 216k init
Mounting /proc and /sys 
Setting the hostname to P2020RDB
Mounting filesystems
mount: sysfs already mounted or /sys busy
mount: according to mtab, /sys is already mounted on /sys
Starting syslogd and klogd
Running sysctl
Setting up networking on loopback device: 
Setting up networking on eth0: ADDRCONF(NETDEV_UP): eth0: link is not ready

Adding static route for default gateway to 192.168.0.1: 
Setting nameserver to 192.168.0.1 in /etc/resolv.conf: 
SettingADDRCONF(NETDEV_UP): eth1: link is not ready
 up networking on eth1: 
Adding static route for default gateway to 192.168.1.1: 
Setting nameserver to 192.168.1.1 in /etc/resolv.conf: 
SettingADDRCONF(NETDEV_UP): eth2: link is not ready
 up networking on eth2: 
Adding static route for default gateway to 192.168.2.1: 
Starting inetd: 
Starting the port mapper: 
Generating keys for the dropbear ssh server: 
Will output 1024 bit rsa secret key to '/etc/dropbear/dropbear_rsa_host_key'
Generating key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwC8sk4V/7x6e0hJOjBdcGmUx26QQfpVdxT1z9itBPZf/bdfogKI5OHEfCPU2Tc+ZYNtrPXIgYvrML5I5z/WQL7QNgOx0/Vv
woNbxHLXj5UmirIJ6kNKlyUisPyZNU54XQjKCTpK7GjcGvUFgQMqv2HqWMfFV9XmytvXJgkhyg0jxox7 root@P2020RDB
Fingerprint: md5 2d:50:46:59:d1:92:72:1f:07:cf:e4:b6:14:6c:86:f3
Starting the dropbear ssh server: 
Starting the boa webserver: 
Please set the system time using
    date <mmddhhmnyyyy>
    /sbin/hwclock -w
PHY: 0:01 - Link is Up - 1000/Full
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready


        Welcome to Freescale Semiconductor Embedded Linux Environment

!!!!! WARNING !!!!!!!

The default password for the root account is: root
please change this password using the 'passwd' command
and then edit this message (/etc/issue) to remove this message

P2020RDB login: PHY: mdio0@520:01 - Link is Up - 1000/Full
ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
root
Password: 
[root@P2020RDB /root]# ifco\b\b\b\b[root@P2020RDB /root]# ifconfig eth0 down
[root@P2020RDB /root]# [root@P2020RDB /root]# ifconfig eth0 down\b\b\b\b\b\b down 1 down down
[root@P2020RDB /root]# [root@P2020RDB /root]# ifconfig eth1 down\b\b\b\b\b\b down 2 down down
[root@P2020RDB /root]# 
[root@P2020RDB /root]# 
[root@P2020RDB /root]# ifco\b\b\b\b[root@P2020RDB /root]# ifconfig eth0 192.168.1.2 netmask 255.255.255.0
[root@P2020RDB /root]# PHY: 0:01 - Link is Up - 1000/Full

[root@P2020RDB /root]# ifcoe\b \b\b\b\b\b[root@P2020RDB /root]# ifconfig t\b \beyh\b \b\b \bth2 192.168.2.2 netmask 255.255.255.0
[root@P2020RDB /root]# PHY: mdio0@520:01 - Link is Up - 1000/Full

[root@P2020RDB /root]# ifco\b\b\b\b[root@P2020RDB /root]# ifconfig eth\b \b\b \b\b \b\b \b\b \b\b \b\b \b\b \b\b \b\b \b\b \b\b \beccho 1 > /p\b\b[root@P2020RDB /root]# eccho 1 > /proc/sy[root@P2020RDB /root]# eccho 1 > /proc/sys/n[root@P2020RDB /root]# eccho 1 > /proc/sys/net/ip[root@P2020RDB /root]# eccho 1 > /proc/sys/net/ipv4[root@P2020RDB /root]# eccho 1 > /proc/sys/net/ipv4/ip_f[root@P2020RDB /root]# eccho 1 > /proc/sys/net/ipv4/ip_forward 
-sh: eccho: not found
[root@P2020RDB /root]# echo 1 > /p\b\b[root@P2020RDB /root]# echo 1 > /proc/sy[root@P2020RDB /root]# echo 1 > /proc/sys/n[root@P2020RDB /root]# echo 1 > /proc/sys/net/ip[root@P2020RDB /root]# echo 1 > /proc/sys/net/ipv4[root@P2020RDB /root]# echo 1 > /proc/sys/net/ipv4/ip_f[root@P2020RDB /root]# echo 1 > /proc/sys/net/ipv4/ip_forward 
[root@P2020RDB /root]# 
[root@P2020RDB /root]# 
[root@P2020RDB /root]# pn\b \bing 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: seq=0 ttl=255 time=2.590 ms
64 bytes from 192.168.1.1: seq=1 ttl=255 time=0.090 ms

--- 192.168.1.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.090/1.340/2.590 ms
[root@P2020RDB /root]# 
[root@P2020RDB /root]# 
[root@P2020RDB /root]# ping 192.168.2.1
PING 192.168.2.1 (192.168.2.1): 56 data bytes
64 bytes from 192.168.2.1: seq=0 ttl=255 time=3.502 ms

--- 192.168.2.1 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 3.502/3.502/3.502 ms
[root@P2020RDB /root]# arp
gateway2 (192.168.2.1) at 00:00:08:00:00:01 [ether]  on eth2
gateway1 (192.168.1.1) at 00:00:07:00:00:01 [ether]  on eth0
[root@P2020RDB /root]# arp -s 192.168.2.1 00:00:08:00:00:01
[root@P2020RDB /root]# arp -s 192.1681.\b \b\b \b.1.1 00:00:07:00:00:01
[root@P2020RDB /root]# 
[root@P2020RDB /root]# 
[root@P2020RDB /root]# 
[root@P2020RDB /root]# arp 
gateway2 (192.168.2.1) at 00:00:08:00:00:01 [ether] PERM on eth2
gateway1 (192.168.1.1) at 00:00:07:00:00:01 [ether] PERM on eth0
[root@P2020RDB /root]# ifco\b\b\b\b[root@P2020RDB /root]# ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:04:9F:0C:05:00  
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:426 (426.0 B)  TX bytes:1146 (1.1 KiB)
          Base address:0x2000 

eth2      Link encap:Ethernet  HWaddr 00:04:9F:0C:05:02  
          inet addr:192.168.2.2  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:318 (318.0 B)  TX bytes:1048 (1.0 KiB)
          Base address:0xa000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

[root@P2020RDB /root]# cat /p\b\b[root@P2020RDB /root]# cat /proc/in[root@P2020RDB /root]# cat /proc/interrupts 
           CPU0       CPU1       
 19:        648          0   OpenPIC   Level     fsl-elbc
 20:          0          0   OpenPIC   Level     fsldma-channel
 21:          0          0   OpenPIC   Level     fsldma-channel
 22:          0          0   OpenPIC   Level     fsldma-channel
 23:          0          0   OpenPIC   Level     fsldma-channel
 28:          0          0   OpenPIC   Level     ehci_hcd:usb1
 29:         13          0   OpenPIC   Level     eth0_tx
 30:          0          4   OpenPIC   Level     eth0_rx
 31:          0         12   OpenPIC   Level     eth2_tx
 32:          4          0   OpenPIC   Level     eth2_rx
 33:          0          0   OpenPIC   Level     eth2_er
 34:          0          0   OpenPIC   Level     eth0_er
 42:       1049          0   OpenPIC   Level     serial
 43:          0         29   OpenPIC   Level     i2c-mpc, i2c-mpc
 45:          0          0   OpenPIC   Level     talitos
 59:          0       2494   OpenPIC   Level     fsl_espi
 72:         12          0   OpenPIC   Level     esdhc:slot0
 76:          0          0   OpenPIC   Level     fsldma-channel
 77:          0          0   OpenPIC   Level     fsldma-channel
 78:          0          0   OpenPIC   Level     fsldma-channel
 79:          0          0   OpenPIC   Level     fsldma-channel
251:          0          0   OpenPIC   Edge      ipi call function
252:       1253       1387   OpenPIC   Edge      ipi reschedule
253:        427        390   OpenPIC   Edge      ipi call function single
BAD:          1
[root@P2020RDB /root]# PHY: mdio0@520:01 - Link is Down
PHY: mdio0@520:01 - Link is Up - 1000/Full

[root@P2020RDB /root]# cat /p\b\b[root@P2020RDB /root]# cat /proc/in[root@P2020RDB /root]# cat /proc/interrupts 
           CPU0       CPU1       
 19:        648          0   OpenPIC   Level     fsl-elbc
 20:          0          0   OpenPIC   Level     fsldma-channel
 21:          0          0   OpenPIC   Level     fsldma-channel
 22:          0          0   OpenPIC   Level     fsldma-channel
 23:          0          0   OpenPIC   Level     fsldma-channel
 28:          0          0   OpenPIC   Level     ehci_hcd:usb1
 29:      56328          0   OpenPIC   Level     eth0_tx
 30:          0    5553282   OpenPIC   Level     eth0_rx
 31:          0      43413   OpenPIC   Level     eth2_tx
 32:    5709572          0   OpenPIC   Level     eth2_rx
 33:          0          0   OpenPIC   Level     eth2_er
 34:          0          0   OpenPIC   Level     eth0_er
 42:       1179          0   OpenPIC   Level     serial
 43:          0         29   OpenPIC   Level     i2c-mpc, i2c-mpc
 45:          0          0   OpenPIC   Level     talitos
 59:          0       2494   OpenPIC   Level     fsl_espi
 72:         12          0   OpenPIC   Level     esdhc:slot0
 76:          0          0   OpenPIC   Level     fsldma-channel
 77:          0          0   OpenPIC   Level     fsldma-channel
 78:          0          0   OpenPIC   Level     fsldma-channel
 79:          0          0   OpenPIC   Level     fsldma-channel
251:          0          0   OpenPIC   Edge      ipi call function
252:       1254       1389   OpenPIC   Edge      ipi reschedule
253:        427        406   OpenPIC   Edge      ipi call function single
BAD:      36172
[root@P2020RDB /root]# uname -a
Linux P2020RDB 2.6.29 #1 SMP Fri Jul 3 15:11:50 IST 2009 ppc unknown
[root@P2020RDB /root]# cat /p\b\b[root@P2020RDB /root]# cat /proc/in[root@P2020RDB /root]# cat /proc/interrupts 
           CPU0       CPU1       
 19:        648          0   OpenPIC   Level     fsl-elbc
 20:          0          0   OpenPIC   Level     fsldma-channel
 21:          0          0   OpenPIC   Level     fsldma-channel
 22:          0          0   OpenPIC   Level     fsldma-channel
 23:          0          0   OpenPIC   Level     fsldma-channel
 28:          0          0   OpenPIC   Level     ehci_hcd:usb1
 29:      56328          0   OpenPIC   Level     eth0_tx
 30:          0    5553282   OpenPIC   Level     eth0_rx
 31:          0      43413   OpenPIC   Level     eth2_tx
 32:    5709572          0   OpenPIC   Level     eth2_rx
 33:          0          0   OpenPIC   Level     eth2_er
 34:          0          0   OpenPIC   Level     eth0_er
 42:       1329          0   OpenPIC   Level     serial
 43:          0         29   OpenPIC   Level     i2c-mpc, i2c-mpc
 45:          0          0   OpenPIC   Level     talitos
 59:          0       2494   OpenPIC   Level     fsl_espi
 72:         12          0   OpenPIC   Level     esdhc:slot0
 76:          0          0   OpenPIC   Level     fsldma-channel
 77:          0          0   OpenPIC   Level     fsldma-channel
 78:          0          0   OpenPIC   Level     fsldma-channel
 79:          0          0   OpenPIC   Level     fsldma-channel
251:          0          0   OpenPIC   Edge      ipi call function
252:       1256       1391   OpenPIC   Edge      ipi reschedule
253:        427        439   OpenPIC   Edge      ipi call function single
BAD:      36172
[root@P2020RDB /root]# ifco\b\b\b\b[root@P2020RDB /root]# ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:04:9F:0C:05:00  
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8928576 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8928586 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:625000396 (596.0 MiB)  TX bytes:535715406 (510.8 MiB)
          Base address:0x2000 

eth2      Link encap:Ethernet  HWaddr 00:04:9F:0C:05:02  
          inet addr:192.168.2.2  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8928575 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8928585 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:625000288 (596.0 MiB)  TX bytes:535715308 (510.8 MiB)
          Base address:0xa000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

[root@P2020RDB /root]# 

^ permalink raw reply

* [PATCH 0/3] ucc_geth: Some more fixes
From: Anton Vorontsov @ 2009-12-24 15:30 UTC (permalink / raw)
  To: David Miller; +Cc: linuxppc-dev, netdev, Lennart Sorensen

Hi all,

Here are some more fixes and one small enhancement for the ucc_geth
driver.

Thanks,

-- 
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2

^ permalink raw reply

* [PATCH 1/3] ucc_geth: Fix empty TX queue processing
From: Anton Vorontsov @ 2009-12-24 15:31 UTC (permalink / raw)
  To: David Miller; +Cc: linuxppc-dev, netdev, Lennart Sorensen
In-Reply-To: <20091224153034.GA32535@oksana.dev.rtsoft.ru>

Following oops was seen with the ucc_geth driver:

 Unable to handle kernel paging request for data at address 0x00000058
 Faulting instruction address: 0xc024f2fc
 Oops: Kernel access of bad area, sig: 11 [#1]
 [...]
 NIP [c024f2fc] skb_recycle_check+0x14/0x100
 LR [e30aa0a4] ucc_geth_poll+0xd8/0x4e0 [ucc_geth_driver]
 Call Trace:
 [df857d50] [c000b03c] __ipipe_grab_irq+0x3c/0xa4 (unreliable)
 [df857d60] [e30aa0a4] ucc_geth_poll+0xd8/0x4e0 [ucc_geth_driver]
 [df857dd0] [c0258cf8] net_rx_action+0xf8/0x1b8
 [df857e10] [c0032a38] __do_softirq+0xb8/0x13c
 [df857e60] [c00065cc] do_softirq+0xa0/0xac
 [...]

This is because ucc_geth_tx() tries to process an empty queue when
queues are logically stopped. Stopping the queues doesn't disable
polling, and since nowadays ucc_geth_tx() is actually called from
the polling routine, the oops above might pop up.

Fix this by removing 'netif_queue_stopped() == 0' check.

Reported-by: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Tested-by: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Cc: Stable <stable@vger.kernel.org> [2.6.32]
---
 drivers/net/ucc_geth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index afaf088..0f8c99e 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -3273,7 +3273,7 @@ static int ucc_geth_tx(struct net_device *dev, u8 txQ)
 		/* Handle the transmitted buffer and release */
 		/* the BD to be used with the current frame  */
 
-		if ((bd == ugeth->txBd[txQ]) && (netif_queue_stopped(dev) == 0))
+		if (bd == ugeth->txBd[txQ]) /* queue empty? */
 			break;
 
 		dev->stats.tx_packets++;
-- 
1.6.3.3

^ permalink raw reply related

* [PATCH 2/3] ucc_geth: Fix netdev watchdog triggering on link changes
From: Anton Vorontsov @ 2009-12-24 15:31 UTC (permalink / raw)
  To: David Miller; +Cc: linuxppc-dev, netdev, Lennart Sorensen
In-Reply-To: <20091224153034.GA32535@oksana.dev.rtsoft.ru>

Since commit 864fdf884e82bacbe8ca5e93bd43393a61d2e2b4 ("ucc_geth:
Fix hangs after switching from full to half duplex") ucc_geth driver
disables the controller during MAC configuration changes. Though,
disabling the controller might take quite awhile, and so the netdev
watchdog might get upset:

 NETDEV WATCHDOG: eth2 (ucc_geth): transmit queue 0 timed out
 ------------[ cut here ]------------
 Badness at c02729a8 [verbose debug info unavailable]
 NIP: c02729a8 LR: c02729a8 CTR: c01b6088
 REGS: c0451c40 TRAP: 0700   Not tainted  (2.6.32-trunk-8360e)
 [...]
 NIP [c02729a8] dev_watchdog+0x280/0x290
 LR [c02729a8] dev_watchdog+0x280/0x290
 Call Trace:
 [c0451cf0] [c02729a8] dev_watchdog+0x280/0x290 (unreliable)
 [c0451d50] [c00377c4] run_timer_softirq+0x164/0x224
 [c0451da0] [c0032a38] __do_softirq+0xb8/0x13c
 [c0451df0] [c00065cc] do_softirq+0xa0/0xac
 [c0451e00] [c003280c] irq_exit+0x7c/0x9c
 [c0451e10] [c00640c4] __ipipe_sync_stage+0x248/0x24c
 [...]

This patch fixes the issue by detaching the netdev during the
time we change the configuration.

Reported-by: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Tested-by: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Cc: Stable <stable@vger.kernel.org> [2.6.32]
---
 drivers/net/ucc_geth.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index 0f8c99e..7fff4c5 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -1563,7 +1563,10 @@ static int ugeth_disable(struct ucc_geth_private *ugeth, enum comm_dir mode)
 
 static void ugeth_quiesce(struct ucc_geth_private *ugeth)
 {
-	/* Wait for and prevent any further xmits. */
+	/* Prevent any further xmits, plus detach the device. */
+	netif_device_detach(ugeth->ndev);
+
+	/* Wait for any current xmits to finish. */
 	netif_tx_disable(ugeth->ndev);
 
 	/* Disable the interrupt to avoid NAPI rescheduling. */
@@ -1577,7 +1580,7 @@ static void ugeth_activate(struct ucc_geth_private *ugeth)
 {
 	napi_enable(&ugeth->napi);
 	enable_irq(ugeth->ug_info->uf_info.irq);
-	netif_tx_wake_all_queues(ugeth->ndev);
+	netif_device_attach(ugeth->ndev);
 }
 
 /* Called every time the controller might need to be made
-- 
1.6.3.3

^ permalink raw reply related

* [PATCH 3/3] ucc_geth: Don't needlessly change MAC settings in adjust_link()
From: Anton Vorontsov @ 2009-12-24 15:31 UTC (permalink / raw)
  To: David Miller; +Cc: linuxppc-dev, netdev, Lennart Sorensen
In-Reply-To: <20091224153034.GA32535@oksana.dev.rtsoft.ru>

If PHY doesn't have an IRQ, phylib would poll for link changes, and
would call adjust_link() every second. In that case we disable and
enable the controller every second.

Let's better check if there is actually anything changed, and, if so,
change the MAC settings.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
 drivers/net/ucc_geth.c |   33 ++++++++++++++++++---------------
 1 files changed, 18 insertions(+), 15 deletions(-)

diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index 7fff4c5..41ad2f3 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -1651,25 +1651,28 @@ static void adjust_link(struct net_device *dev)
 			ugeth->oldspeed = phydev->speed;
 		}
 
-		/*
-		 * To change the MAC configuration we need to disable the
-		 * controller. To do so, we have to either grab ugeth->lock,
-		 * which is a bad idea since 'graceful stop' commands might
-		 * take quite a while, or we can quiesce driver's activity.
-		 */
-		ugeth_quiesce(ugeth);
-		ugeth_disable(ugeth, COMM_DIR_RX_AND_TX);
-
-		out_be32(&ug_regs->maccfg2, tempval);
-		out_be32(&uf_regs->upsmr, upsmr);
-
-		ugeth_enable(ugeth, COMM_DIR_RX_AND_TX);
-		ugeth_activate(ugeth);
-
 		if (!ugeth->oldlink) {
 			new_state = 1;
 			ugeth->oldlink = 1;
 		}
+
+		if (new_state) {
+			/*
+			 * To change the MAC configuration we need to disable
+			 * the controller. To do so, we have to either grab
+			 * ugeth->lock, which is a bad idea since 'graceful
+			 * stop' commands might take quite a while, or we can
+			 * quiesce driver's activity.
+			 */
+			ugeth_quiesce(ugeth);
+			ugeth_disable(ugeth, COMM_DIR_RX_AND_TX);
+
+			out_be32(&ug_regs->maccfg2, tempval);
+			out_be32(&uf_regs->upsmr, upsmr);
+
+			ugeth_enable(ugeth, COMM_DIR_RX_AND_TX);
+			ugeth_activate(ugeth);
+		}
 	} else if (ugeth->oldlink) {
 			new_state = 1;
 			ugeth->oldlink = 0;
-- 
1.6.3.3

^ permalink raw reply related

* Re: [PATCH v2 2/2] Crypto: Talitos: Support for Async_tx XOR offload
From: Ira W. Snyder @ 2009-12-26 21:41 UTC (permalink / raw)
  To: Dan Williams
  Cc: herbert, Suresh Vishnu-B05022, Tabi Timur-B04825, linux-kernel,
	linux-raid, linuxppc-dev, linux-crypto, Gupta Maneesh-B18878,
	Dudhat Dipen-B09055, Li Yang-R58472
In-Reply-To: <e9c3a7c20912181417v2b8155e5w23fb3cee02b9a4c9@mail.gmail.com>

On Fri, Dec 18, 2009 at 03:17:42PM -0700, Dan Williams wrote:
> On Fri, Dec 18, 2009 at 8:02 AM, Li Yang-R58472 <r58472@freescale.com> wrote:
> >
> >>Subject: Re: [PATCH v2 2/2] Crypto: Talitos: Support for
> >>Async_tx XOR offload
> >>
> >>Ira W. Snyder wrote:
> >>> Yes, I have used the device_prep_dma_interrupt()
> >>functionality quite a
> >>> while back. However, I found it to be pretty much useless.
> >>
> >>The specific case it is needed for Talitos/raid is a channel
> >>switch interrupt.  The interrupt causes the cleanup operation
> >>to be run which will kick off any pending dependent operations
> >>on the xor channel.  In the raid case we only have callbacks
> >>at the end of a chain, so we need the interrupt to kick the
> >>engine in an operation chain like
> >>xor->copy->xor->callback.
> >
> > I am wondering if can use more callbacks to kick off pending dependent operations?
> > Like xor->callback->copy->callback->xor->callback?
> >
> 
> No, the callback field is reserved for clients of the api.  What you want is:
> 
> xor->cleanupT->copy->cleanupF->xor->cleanupT->callback
> 
> Where cleanupT is the Talitos descriptor cleanup routine and cleanupF
> is from fsldma.  The assumption is that the interrupt kicks the
> cleanup routine and that calls dma_run_dependencies().
> 

Hello Dan,

I guess it is not clear to driver authors that they should call
dma_run_dependencies() for each dma_async_tx_descriptor that is
processed. Without a careful re-reading of this email, I would not have
known. I guess anyone reviewing the driver missed it too. Judging by the
code in other drivers, it should be called immediately after calling the
callback function. The fsldma driver doesn't even call the function at
the moment.

To the people testing fsldma with talitos: you should probably try
adding a call to dma_run_dependencies() in the fsl_chan_ld_cleanup()
function. Then run your tests again, and see if the interoperability
problems are fixed.

I'm still working through a cleanup patch series. There are some places
where the locking doesn't seem right to me, and I'll be attempting to
fix those as I go through the driver.

Ira

^ permalink raw reply

* Re: [PATCH 0/3] ucc_geth: Some more fixes
From: David Miller @ 2009-12-27  4:25 UTC (permalink / raw)
  To: avorontsov; +Cc: linuxppc-dev, netdev, lsorense
In-Reply-To: <20091224153034.GA32535@oksana.dev.rtsoft.ru>

From: Anton Vorontsov <avorontsov@ru.mvista.com>
Date: Thu, 24 Dec 2009 18:30:34 +0300

> Here are some more fixes and one small enhancement for the ucc_geth
> driver.

All 3 patches applied, thanks a lot!

^ permalink raw reply

* Re: [PATCH 1/3] phylib: Fix deadlock on resume
From: David Miller @ 2009-12-28  5:54 UTC (permalink / raw)
  To: cbouatmailru; +Cc: netdev, linux-pm, afleming, linuxppc-dev
In-Reply-To: <20091222221447.GA9268@oksana.dev.rtsoft.ru>

From: Anton Vorontsov <cbouatmailru@gmail.com>
Date: Wed, 23 Dec 2009 01:14:47 +0300

> Sometimes kernel hangs on resume with the following trace:
 ...
> This patch fixes the issue by stopping the state machine on suspend
> and starting it again on resume.
> 
> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>

Applied.

^ permalink raw reply

* Re: [PATCH 2/3] phylib: Properly reinitialize PHYs after hibernation
From: David Miller @ 2009-12-28  5:55 UTC (permalink / raw)
  To: cbouatmailru; +Cc: netdev, linux-pm, afleming, linuxppc-dev
In-Reply-To: <20091222221451.GB9268@oksana.dev.rtsoft.ru>

From: Anton Vorontsov <cbouatmailru@gmail.com>
Date: Wed, 23 Dec 2009 01:14:51 +0300

> Since hibernation assumes power loss, we should fully reinitialize
> PHYs (including platform fixups), as if PHYs were just attached.
> 
> This patch factors phy_init_hw() out of phy_attach_direct(), then
> converts mdio_bus to dev_pm_ops and adds an appropriate restore()
> callback.
> 
> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>

Applied.

^ permalink raw reply

* Re: [PATCH 2/3] phylib: Properly reinitialize PHYs after hibernation
From: David Miller @ 2009-12-28  5:57 UTC (permalink / raw)
  To: cbouatmailru; +Cc: netdev, linux-pm, afleming, linuxppc-dev
In-Reply-To: <20091227.215504.71112983.davem@davemloft.net>

DQpBY3R1YWxseSBJJ20gcmV2ZXJ0aW5nIGJvdGggcGF0Y2hlczoNCg0KZHJpdmVycy9uZXQvcGh5
L21kaW9fYnVzLmM6MjY4OiB3YXJuaW5nOiChbWRpb19idXNfcGh5X21heV9zdXNwZW5koiBkZWZp
bmVkIGJ1dCBub3QgdXNlZA0KDQpQbGVhc2UgcmVzdWJtaXQgdGhlc2UgdHdvIHBhdGNoZXMgd2l0
aCB0aGlzIHdhcm5pbmcgZml4ZWQuDQoNCkNPTkZJR19QTSBpcyBub3QgYWx3YXlzIGVuYWJsZWQg
Oi0pDQo=

^ permalink raw reply

* PCI-PCI bridge scanning broken on 460EX
From: Felix Radensky @ 2009-12-28 10:51 UTC (permalink / raw)
  To: linuxppc-dev, Benjamin Herrenschmidt, Stefan Roese

Hi,

I'm running linux-2.6.33-rc2 on Canyonlands board. When PLX 6254 
transparent PCI-PCI
bridge is plugged into PCI slot the kernel simply resets the board 
without printing anything
to console. Without PLX bridge kernel boots fine.

I've tracked down the problem to the following code in pci_scan_bridge() 
in drivers/pci/probe.c:

if (pcibios_assign_all_busses() || broken)
                /* Temporarily disable forwarding of the
                   configuration cycles on all bridges in
                   this bus segment to avoid possible
                   conflicts in the second pass between two
                   bridges programmed with overlapping
                   bus ranges. */
                pci_write_config_dword(dev, PCI_PRIMARY_BUS,
                               buses & ~0xffffff);

If test for broken is removed, kernel boots fine, detects the bridge, but
does not detect the device behind the bridge. The same device plugged
directly into PCI slot is detected correctly.

To remind you, tests for broken were added by commit 
a1c19894b786f10c76ac40e93c6b5d70c9b946d2,
and were intended to solve device detection problem behind PCI-E 
switches, as discussed in this thread:
http://lists.ozlabs.org/pipermail/linuxppc-dev/2008-October/063939.html

I'd appreciate any help in resolving this issue. Below is dmesg output 
with DEBUG enabled
and problematic test for broken removed.

Using PowerPC 44x Platform machine description
Linux version 2.6.33-rc2 (felix@felix-laptop.lan) (gcc version 4.2.2) 
#10 Mon De
c 28 12:21:25 IST 2009
Found legacy serial port 0 for /plb/opb/serial@ef600300
  mem=4ef600300, taddr=4ef600300, irq=0, clk=7407407, speed=0
Found legacy serial port 1 for /plb/opb/serial@ef600400
  mem=4ef600400, taddr=4ef600400, irq=0, clk=7407407, speed=0
Found legacy serial port 2 for /plb/opb/serial@ef600500
  mem=4ef600500, taddr=4ef600500, irq=0, clk=7407407, speed=0
Found legacy serial port 3 for /plb/opb/serial@ef600600
  mem=4ef600600, taddr=4ef600600, irq=0, clk=7407407, speed=0
Top of RAM: 0x20000000, Total RAM: 0x20000000
Memory hole size: 0MB
Zone PFN ranges:
  DMA      0x00000000 -> 0x00020000
  Normal   0x00020000 -> 0x00020000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00020000
On node 0 totalpages: 131072
free_area_init_node: node 0, pgdat c026ba48, node_mem_map c0289000
  DMA zone: 1024 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 130048 pages, LIFO batch:31
MMU: Allocated 1088 bytes of context maps for 255 contexts
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Kernel command line: root=/dev/nfs rw 
nfsroot=10.0.0.10:/opt/eldk/ppc_4xx ip=10.
0.0.30:10.0.0.10::255.0.0.0:canyonlands:eth0:off panic=1 
console=ttyS0,115200 de
bug
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 516864k/524288k available (2416k kernel code, 7140k reserved, 
100k data,
 72k bss, 128k init)
Kernel virtual memory layout:
  * 0xfffdf000..0xfffff000  : fixmap
  * 0xfde00000..0xfe000000  : consistent mem
  * 0xfde00000..0xfde00000  : early ioremap
  * 0xe1000000..0xfde00000  : vmalloc & ioremap
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:512 nr_irqs:512
UIC0 (32 IRQ sources) at DCR 0xc0
UIC1 (32 IRQ sources) at DCR 0xd0
  alloc irq_desc for 30 on node 0
  alloc kstat_irqs on node 0
irq: irq 30 on host /interrupt-controller0 mapped to virtual irq 30
UIC2 (32 IRQ sources) at DCR 0xe0
  alloc irq_desc for 16 on node 0
  alloc kstat_irqs on node 0
irq: irq 10 on host /interrupt-controller0 mapped to virtual irq 16
UIC3 (32 IRQ sources) at DCR 0xf0
  alloc irq_desc for 17 on node 0
  alloc kstat_irqs on node 0
irq: irq 16 on host /interrupt-controller0 mapped to virtual irq 17
time_init: decrementer frequency = 600.000007 MHz
time_init: processor frequency   = 600.000007 MHz
clocksource: timebase mult[6aaaab] shift[22] registered
clockevent: decrementer mult[999999b7] shift[32] cpu[0]
Mount-cache hash table entries: 512
NET: Registered protocol family 16
  alloc irq_desc for 18 on node 0
  alloc kstat_irqs on node 0
irq: irq 11 on host /interrupt-controller1 mapped to virtual irq 18
256k L2-cache enabled
PCI host bridge /plb/pci@c0ec00000 (primary) ranges:
 MEM 0x0000000d80000000..0x0000000dffffffff -> 0x0000000080000000
 MEM 0x0000000c0ee00000..0x0000000c0eefffff -> 0x0000000000000000
  IO 0x0000000c08000000..0x0000000c0800ffff -> 0x0000000000000000
 Removing ISA hole at 0x0000000c0ee00000
4xx PCI DMA offset set to 0x00000000
/plb/pci@c0ec00000: Legacy ISA memory support enabled
PCI: Probing PCI hardware
pci_bus 0000:00: scanning bus
pci 0000:00:06.0: found [3388:0020] class 000604 header type 01
pci 0000:00:06.0: supports D1 D2
pci 0000:00:06.0: PME# supported from D0 D1 D2 D3hot
pci 0000:00:06.0: PME# disabled
pci_bus 0000:00: fixups for bus
pci 0000:00:06.0: scanning behind bridge, config 000000, pass 0
pci 0000:00:06.0: bus configuration invalid, reconfiguring
pci 0000:00:06.0: scanning behind bridge, config 000000, pass 1
pci_bus 0000:01: scanning bus
pci 0000:01:06.0: found [3388:0020] class 000604 header type 01
pci 0000:01:06.0: supports D1 D2
pci 0000:01:06.0: PME# supported from D0 D1 D2 D3hot
pci 0000:01:06.0: PME# disabled
pci_bus 0000:01: fixups for bus
pci 0000:00:06.0: PCI bridge to [bus 01-ff]
pci 0000:00:06.0:   bridge window [io  0x0000-0x0fff]
pci 0000:00:06.0:   bridge window [mem 0x00000000-0x000fffff]
pci 0000:00:06.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
pci 0000:01:06.0: scanning behind bridge, config ff0100, pass 0
pci 0000:01:06.0: bus configuration invalid, reconfiguring
pci 0000:01:06.0: scanning behind bridge, config ff0100, pass 1
pci_bus 0000:01: bus scan returning with max=01
pci_bus 0000:00: bus scan returning with max=01
pci 0000:00:06.0: disabling bridge window [io  0x0000-0x0fff] to [bus 
01-01] (un
used)
pci 0000:00:06.0: disabling bridge window [mem 0xd00000000-0xd000fffff 
pref] to
[bus 01-01] (unused)
pci 0000:00:06.0: disabling bridge window [mem 0xd00000000-0xd000fffff] 
to [bus
01-01] (unused)
pci 0000:00:06.0: PCI bridge to [bus 01-01]
pci 0000:00:06.0:   bridge window [io  disabled]
pci 0000:00:06.0:   bridge window [mem disabled]
pci 0000:00:06.0:   bridge window [mem pref disabled]
pci_bus 0000:00: resource 0 [io  0x0000-0xffff]
pci_bus 0000:00: resource 1 [mem 0xd80000000-0xdffffffff]
pci_bus 0000:01: resource 0 [??? 0-4095 flags 0x0]
pci_bus 0000:01: resource 1 [??? 55834574848-55835623423 flags 0x0]
pci_bus 0000:01: resource 2 [??? 55834574848-55835623423 flags 0x0]

Thanks a lot.

Felix.

^ permalink raw reply

* SPI - ADS7846 driver
From: Jothi Adithya @ 2009-12-28 13:23 UTC (permalink / raw)
  To: linuxppc-dev
In-Reply-To: <mailman.3.1261962001.8147.linuxppc-dev@lists.ozlabs.org>

[-- Attachment #1: Type: text/plain, Size: 1836 bytes --]

Hi

I am using Xilinx Virtex4 Powerpc. I am trying to interface with ADS7846 SPI touch screen controller. This is connected to the Xilinx SPI. The CS is connected to a GPIO & PEN_IRQ is connected to different GPIO.

My DTS is
            
             //Chip Select
              SPI_CS: gpio@81400000 {
compatible = "xlnx,xps-gpio-1.00.a";
reg = < 0x81400000 0x10000 >;
xlnx,all-inputs = <0x0>;
xlnx,all-inputs-2 = <0x0>;
xlnx,dout-default = <0x0>;
xlnx,dout-default-2 = <0x0>;
xlnx,family = "virtex4";
xlnx,gpio-width = <0x4>;
xlnx,interrupt-present = <0x0>;
xlnx,is-bidir = <0x1>;
xlnx,is-bidir-2 = <0x1>;
xlnx,is-dual = <0x0>;
xlnx,tri-default = <0xffffffff>;
xlnx,tri-default-2 = <0xffffffff>;
} ;

               //Touch Screen (ADS7846) pen irq
 
               ts_pen_irq: gpio@81c00000 {
compatible = "xlnx,xps-gpio-1.00.a";
interrupt-parent = <&xps_intc_0>;
interrupts = < 0 2 >;
reg = < 0x81c00000 0x10000 >;
xlnx,all-inputs = <0x1>;
xlnx,all-inputs-2 = <0x0>;
xlnx,dout-default = <0x0>;
xlnx,dout-default-2 = <0x0>;
xlnx,family = "virtex4";
xlnx,gpio-width = <0x1>;
xlnx,interrupt-present = <0x1>;
xlnx,is-bidir = <0x1>;
xlnx,is-bidir-2 = <0x1>;
xlnx,is-dual = <0x0>;
xlnx,tri-default = <0xffffffff>;
xlnx,tri-default-2 = <0xffffffff>;
} ;
       
               // This is SPI
               xps_spi_ts: xps-spi@42400000 {
compatible = "xlnx,xps-spi-2.00.b", "xlnx,xps-spi-2.00.a";
reg = < 0x42400000 0x200 >;
xlnx,family = "virtex4";
xlnx,fifo-exist = <0x0>;
xlnx,num-ss-bits = <0x1>;
xlnx,num-transfer-bits = <0x8>;
xlnx,sck-ratio = <0xd0>;
} ;

          when I include the ADS7846 info in virtex.c file, the ADS7846 is detected & I could see at /dev/input/event0. But I do not know how to call or access the particluat GPIO in virtex.c file for Chipselect & for Irq.

         Please let me know how to do this


      

[-- Attachment #2: Type: text/html, Size: 6341 bytes --]

^ permalink raw reply

* i2c_powermac: Kernel access of bad area
From: Christian Kujau @ 2009-12-29  4:40 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: khali, LKML

Hi there,

I was trying to find out if I still need i2c_powermac to get details off 
/sys/devices/temperatures, since lm-sensors isn't working for me anyway.

After unloading this module, I noticed that reading certain objects would 
fail with a segfault on the prompt and an Oops in the kernel log:

# rmmod i2c_powermac
# ls  /sys/devices/temperatures
devspec    modalias  sensor1_fan_speed  sensor1_location     
sensor2_limit     sensor2_temperature  subsystem
limit_adjust  name      sensor1_limit      sensor1_temperature  
sensor2_location  specified_fan_speed  uevent
# cat /sys/devices/temperatures/sensor1_location
CPU TOPSIDE
# cat /sys/devices/temperatures/sensor1_fan_speed
Segmentation fault

I've put the full dmesg and the .config on:
http://nerdbynature.de/bits/2.6.33-rc2/i2c_powermac/

When the module is loaded, all is fine and I can successfully read all the 
files in /sys/devices/temperatures. I just wanted to report this anyway, 
as it seems a bit harsh to just oops when a friendly -EINVAL would be more
useful, IMHO.

Thanks,
Christian.

[264783.907602] adt746x: Putting max temperatures back from 67, 47, 67 to 73, 80, 109
[264783.912552] ams: Unloading
[264785.759586] Unable to handle kernel paging request for data at address 0x00000010
[264785.759981] Faulting instruction address: 0xf6612a28
[264785.760322] Oops: Kernel access of bad area, sig: 11 [#1]
[264785.760662] PowerMac
[264785.760991] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264785.762753] NIP: f6612a28 LR: c021d540 CTR: f6612a08
[264785.763109] REGS: e6419de0 TRAP: 0300   Not tainted  (2.6.33-rc2)
[264785.763459] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
[264785.763858] DAR: 00000010, DSISR: 40000000
[264785.764205] TASK = ee904000[29122] 'cat' THREAD: e6418000
[264785.764241] GPR00: c021d540 e6419e90 ee904000 efb8bf10 00000028 ee5a0000 c1305420 c1305420 
[264785.764668] GPR08: efbc9964 f6610000 00000000 00000000 28000242 1001cb7c 100042bc bf8832f4 
[264785.765100] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bf8831d8 c03e2678 
[264785.765542] GPR24: 101e6000 00001000 efb8bf18 ee3ce0d8 e6419f20 ee5a0000 f66135d8 fffffffb 
[264785.766349] NIP [f6612a28] show_sensor1_fan_speed+0x20/0x58 [therm_adt746x]
[264785.766751] LR [c021d540] dev_attr_show+0x30/0x7c
[264785.767136] Call Trace:
[264785.767516] [e6419e90] [00001000] 0x1000 (unreliable)
[264785.767925] [e6419eb0] [c021d540] dev_attr_show+0x30/0x7c
[264785.768341] [e6419ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264785.768757] [e6419ef0] [c00981c0] vfs_read+0xb4/0x1c0
[264785.769174] [e6419f10] [c00983d4] sys_read+0x4c/0xa4
[264785.769605] [e6419f40] [c0012c44] ret_from_syscall+0x0/0x38
[264785.770038] --- Exception: c01 at 0xff50fb0
[264785.770042]     LR = 0x100031f0
[264785.770877] Instruction dump:
[264785.771304] bb810010 38210020 7c0803a6 4e800020 9421ffe0 7c0802a6 3d20f661 38800028 
[264785.771812] 90010024 bf810010 7cbd2b78 816937d4 <838b0010> 7d635b78 4bfff9b9 3c80f661 
[264785.778656] ---[ end trace cecbd2fe1c8fe255 ]---
[264785.786061] Unable to handle kernel paging request for data at address 0x00000000
[264785.786641] Faulting instruction address: 0xf661207c
[264785.787129] Oops: Kernel access of bad area, sig: 11 [#2]
[264785.787617] PowerMac
[264785.788093] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264785.790644] NIP: f661207c LR: f6612c10 CTR: f6612bec
[264785.791178] REGS: e6419dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264785.791726] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
[264785.792349] DAR: 00000000, DSISR: 40000000
[264785.792898] TASK = ee904000[29124] 'cat' THREAD: e6418000
[264785.793018] GPR00: f6612c10 e6419e70 ee904000 00000000 00000025 00000001 c0e32920 c0e32920 
[264785.794762] GPR08: efbc97e4 e6419e78 00000000 00000000 28000242 1001cb7c 100042bc bf8832f4 
[264785.795913] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bf8831d8 c03e2678 
[264785.797498] GPR24: 105f7000 00001000 efb8bf18 ee3ce0d8 e6419f20 c7c48000 f6613538 00000000 
[264785.799657] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
[264785.800593] LR [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
[264785.801474] Call Trace:
[264785.802018] [e6419e70] [00001000] 0x1000 (unreliable)
[264785.802961] [e6419e90] [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
[264785.803875] [e6419eb0] [c021d540] dev_attr_show+0x30/0x7c
[264785.804985] [e6419ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264785.806054] [e6419ef0] [c00981c0] vfs_read+0xb4/0x1c0
[264785.807187] [e6419f10] [c00983d4] sys_read+0x4c/0xa4
[264785.808249] [e6419f40] [c0012c44] ret_from_syscall+0x0/0x38
[264785.809290] --- Exception: c01 at 0xff50fb0
[264785.809293]     LR = 0x100031f0
[264785.811240] Instruction dump:
[264785.812156] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
[264785.813567] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
[264785.814966] ---[ end trace cecbd2fe1c8fe256 ]---
[264785.835554] Unable to handle kernel paging request for data at address 0x0000000e
[264785.836153] Faulting instruction address: 0xf6612b88
[264785.836695] Oops: Kernel access of bad area, sig: 11 [#3]
[264785.837229] PowerMac
[264785.837750] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264785.840442] NIP: f6612b88 LR: c021d540 CTR: f6612b68
[264785.841164] REGS: e6419df0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264785.841732] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
[264785.842595] DAR: 0000000e, DSISR: 40000000
[264785.843437] TASK = ee904000[29126] 'cat' THREAD: e6418000
[264785.843743] GPR00: c021d540 e6419ea0 ee904000 c5cd2000 f6613280 c5cd2000 c0df3a60 c0df3a60 
[264785.845338] GPR08: efbc9844 f6610000 00000000 00000000 28000242 1001cb7c 100042bc bf8832f4 
[264785.846534] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bf8831d8 c03e2678 
[264785.848204] GPR24: 107c1000 00001000 efb8bf18 ee3cee18 e6419f20 efbc9840 f6613560 fffffffb 
[264785.850328] NIP [f6612b88] show_sensor1_limit+0x20/0x38 [therm_adt746x]
[264785.851289] LR [c021d540] dev_attr_show+0x30/0x7c
[264785.852137] Call Trace:
[264785.852688] [e6419ea0] [efbc9840] 0xefbc9840 (unreliable)
[264785.853655] [e6419eb0] [c021d540] dev_attr_show+0x30/0x7c
[264785.854570] [e6419ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264785.855682] [e6419ef0] [c00981c0] vfs_read+0xb4/0x1c0
[264785.856787] [e6419f10] [c00983d4] sys_read+0x4c/0xa4
[264785.857950] [e6419f40] [c0012c44] ret_from_syscall+0x0/0x38
[264785.859020] --- Exception: c01 at 0xff50fb0
[264785.859023]     LR = 0x100031f0
[264785.861063] Instruction dump:
[264785.861984] 80010014 38210010 7c0803a6 4e800020 9421fff0 7c0802a6 3d20f661 7ca32b78 
[264785.863367] 3c80f661 38843280 90010014 816937d4 <88ab000e> 480002fd 80010014 38210010 
[264785.864865] ---[ end trace cecbd2fe1c8fe257 ]---
[264785.883885] Unable to handle kernel paging request for data at address 0x00000000
[264785.884488] Faulting instruction address: 0xf661207c
[264785.885033] Oops: Kernel access of bad area, sig: 11 [#4]
[264785.885575] PowerMac
[264785.886100] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264785.888790] NIP: f661207c LR: f6612bc4 CTR: f6612ba0
[264785.889559] REGS: e6419dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264785.890124] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
[264785.890966] DAR: 00000000, DSISR: 40000000
[264785.891812] TASK = ee904000[29130] 'cat' THREAD: e6418000
[264785.892058] GPR00: f6612bc4 e6419e70 ee904000 00000000 00000027 00000001 c1306cc0 c1306cc0 
[264785.893717] GPR08: efbc9814 e6419e78 00000000 00000000 28000242 1001cb7c 100042bc bf8832f4 
[264785.894901] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bf8831d8 c03e2678 
[264785.896524] GPR24: 100be000 00001000 efb8bf18 ee3cee18 e6419f20 ee665000 f661354c 00000000 
[264785.898697] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
[264785.899636] LR [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
[264785.900534] Call Trace:
[264785.901094] [e6419e70] [00001000] 0x1000 (unreliable)
[264785.902034] [e6419e90] [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
[264785.902975] [e6419eb0] [c021d540] dev_attr_show+0x30/0x7c
[264785.904109] [e6419ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264785.905228] [e6419ef0] [c00981c0] vfs_read+0xb4/0x1c0
[264785.906369] [e6419f10] [c00983d4] sys_read+0x4c/0xa4
[264785.907432] [e6419f40] [c0012c44] ret_from_syscall+0x0/0x38
[264785.908483] --- Exception: c01 at 0xff50fb0
[264785.908486]     LR = 0x100031f0
[264785.910549] Instruction dump:
[264785.911494] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
[264785.912856] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
[264785.914313] ---[ end trace cecbd2fe1c8fe258 ]---
[264785.928529] Unable to handle kernel paging request for data at address 0x0000000f
[264785.929128] Faulting instruction address: 0xf6612b50
[264785.929676] Oops: Kernel access of bad area, sig: 11 [#5]
[264785.930217] PowerMac
[264785.930742] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264785.933452] NIP: f6612b50 LR: c021d540 CTR: f6612b30
[264785.934256] REGS: e6419df0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264785.934831] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
[264785.935696] DAR: 0000000f, DSISR: 40000000
[264785.936602] TASK = ee904000[29132] 'cat' THREAD: e6418000
[264785.936849] GPR00: c021d540 e6419ea0 ee904000 e6483000 f6613280 e6483000 c1203080 c1203080 
[264785.938462] GPR08: efbc9874 f6610000 00000000 00000000 28000242 1001cb7c 100042bc bf8832f4 
[264785.939672] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bf8831d8 c03e2678 
[264785.941326] GPR24: 10160000 00001000 efb8bf18 ee3cee18 e6419f20 efbc9870 f6613574 fffffffb 
[264785.943491] NIP [f6612b50] show_sensor2_limit+0x20/0x38 [therm_adt746x]
[264785.944462] LR [c021d540] dev_attr_show+0x30/0x7c
[264785.945308] Call Trace:
[264785.945859] [e6419ea0] [efbc9870] 0xefbc9870 (unreliable)
[264785.946830] [e6419eb0] [c021d540] dev_attr_show+0x30/0x7c
[264785.947735] [e6419ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264785.948858] [e6419ef0] [c00981c0] vfs_read+0xb4/0x1c0
[264785.949984] [e6419f10] [c00983d4] sys_read+0x4c/0xa4
[264785.951153] [e6419f40] [c0012c44] ret_from_syscall+0x0/0x38
[264785.952223] --- Exception: c01 at 0xff50fb0
[264785.952226]     LR = 0x100031f0
[264785.954270] Instruction dump:
[264785.955215] 80010014 38210010 7c0803a6 4e800020 9421fff0 7c0802a6 3d20f661 7ca32b78 
[264785.956589] 3c80f661 38843280 90010014 816937d4 <88ab000f> 48000335 80010014 38210010 
[264785.958432] ---[ end trace cecbd2fe1c8fe259 ]---
[264786.652217] Unable to handle kernel paging request for data at address 0x00000000
[264786.652825] Faulting instruction address: 0xf661207c
[264786.653372] Oops: Kernel access of bad area, sig: 11 [#6]
[264786.653914] PowerMac
[264786.654441] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264786.657133] NIP: f661207c LR: f6612c10 CTR: f6612bec
[264786.657932] REGS: efbcfdc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264786.658498] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
[264786.659357] DAR: 00000000, DSISR: 40000000
[264786.660220] TASK = ee95b580[29137] 'cat' THREAD: efbce000
[264786.660471] GPR00: f6612c10 efbcfe70 ee95b580 00000000 00000025 00000001 c1205780 c1205780 
[264786.662108] GPR08: efbc97e4 efbcfe78 00000001 00000001 28000242 1001cb7c 100042bc bfd5f024 
[264786.663301] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bfd5ef08 c03e2678 
[264786.664941] GPR24: 103f5000 00001000 efb8bf18 ee3cee18 efbcff20 e65bb000 f6613538 00000000 
[264786.667099] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
[264786.668046] LR [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
[264786.668942] Call Trace:
[264786.669494] [efbcfe70] [00001000] 0x1000 (unreliable)
[264786.670446] [efbcfe90] [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
[264786.671389] [efbcfeb0] [c021d540] dev_attr_show+0x30/0x7c
[264786.672524] [efbcfec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264786.673642] [efbcfef0] [c00981c0] vfs_read+0xb4/0x1c0
[264786.674782] [efbcff10] [c00983d4] sys_read+0x4c/0xa4
[264786.675868] [efbcff40] [c0012c44] ret_from_syscall+0x0/0x38
[264786.676923] --- Exception: c01 at 0xff50fb0
[264786.676926]     LR = 0x100031f0
[264786.678974] Instruction dump:
[264786.679888] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
[264786.681270] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
[264786.682682] ---[ end trace cecbd2fe1c8fe25a ]---
[264786.702044] Unable to handle kernel paging request for data at address 0x00000010
[264786.702686] Faulting instruction address: 0xf6612a28
[264786.703233] Oops: Kernel access of bad area, sig: 11 [#7]
[264786.703772] PowerMac
[264786.704297] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264786.706989] NIP: f6612a28 LR: c021d540 CTR: f6612a08
[264786.707736] REGS: e6451de0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264786.708304] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000428  XER: 00000000
[264786.709155] DAR: 00000010, DSISR: 40000000
[264786.710026] TASK = e641e820[29141] 'sed' THREAD: e6450000
[264786.710276] GPR00: c021d540 e6451e90 e641e820 efb8bf10 00000028 e67bc000 c12097a0 c12097a0 
[264786.711916] GPR08: efbc9964 f6610000 00000001 00000000 28000422 1002357c 1000ad18 1001b664 
[264786.713113] GPR16: 1001b6a0 10020000 bf9baeb8 10020000 10328850 10020000 10020000 c03e2678 
[264786.714723] GPR24: 48020000 00001000 efb8bf18 ee3cee18 e6451f20 e67bc000 f66135d8 fffffffb 
[264786.716890] NIP [f6612a28] show_sensor1_fan_speed+0x20/0x58 [therm_adt746x]
[264786.717849] LR [c021d540] dev_attr_show+0x30/0x7c
[264786.718689] Call Trace:
[264786.719239] [e6451e90] [00001000] 0x1000 (unreliable)
[264786.720205] [e6451eb0] [c021d540] dev_attr_show+0x30/0x7c
[264786.721103] [e6451ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264786.722215] [e6451ef0] [c00981c0] vfs_read+0xb4/0x1c0
[264786.723335] [e6451f10] [c00983d4] sys_read+0x4c/0xa4
[264786.724495] [e6451f40] [c0012c44] ret_from_syscall+0x0/0x38
[264786.725561] --- Exception: c01 at 0xff50fb0
[264786.725564]     LR = 0xfef52a0
[264786.727613] Instruction dump:
[264786.728545] bb810010 38210020 7c0803a6 4e800020 9421ffe0 7c0802a6 3d20f661 38800028 
[264786.729920] 90010024 bf810010 7cbd2b78 816937d4 <838b0010> 7d635b78 4bfff9b9 3c80f661 
[264786.731357] ---[ end trace cecbd2fe1c8fe25b ]---
[264786.742044] Unable to handle kernel paging request for data at address 0x00000000
[264786.742676] Faulting instruction address: 0xf661207c
[264786.743221] Oops: Kernel access of bad area, sig: 11 [#8]
[264786.743761] PowerMac
[264786.744282] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264786.746956] NIP: f661207c LR: f6612bc4 CTR: f6612ba0
[264786.747663] REGS: e6419dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264786.748226] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
[264786.749085] DAR: 00000000, DSISR: 40000000
[264786.749893] TASK = e641dac0[29142] 'cat' THREAD: e6418000
[264786.750121] GPR00: f6612bc4 e6419e70 e641dac0 00000000 00000027 00000001 c12097a0 c12097a0 
[264786.751797] GPR08: efbc9814 e6419e78 00000001 00000001 28000242 1001cb7c 100042bc bfd5f024 
[264786.752975] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bfd5ef08 c03e2678 
[264786.754573] GPR24: 102b4000 00001000 efb8bf18 ee3cea58 e6419f20 e67bc000 f661354c 00000000 
[264786.756750] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
[264786.757679] LR [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
[264786.758595] Call Trace:
[264786.759163] [e6419e70] [00001000] 0x1000 (unreliable)
[264786.760099] [e6419e90] [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
[264786.761028] [e6419eb0] [c021d540] dev_attr_show+0x30/0x7c
[264786.762139] [e6419ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264786.763249] [e6419ef0] [c00981c0] vfs_read+0xb4/0x1c0
[264786.764401] [e6419f10] [c00983d4] sys_read+0x4c/0xa4
[264786.765474] [e6419f40] [c0012c44] ret_from_syscall+0x0/0x38
[264786.766505] --- Exception: c01 at 0xff50fb0
[264786.766508]     LR = 0x100031f0
[264786.768540] Instruction dump:
[264786.769465] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
[264786.770843] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
[264786.772293] ---[ end trace cecbd2fe1c8fe25c ]---
[264791.652295] Unable to handle kernel paging request for data at address 0x00000000
[264791.652896] Faulting instruction address: 0xf661207c
[264791.653440] Oops: Kernel access of bad area, sig: 11 [#9]
[264791.653982] PowerMac
[264791.654509] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264791.657200] NIP: f661207c LR: f6612c10 CTR: f6612bec
[264791.657980] REGS: ee667dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264791.658546] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
[264791.659403] DAR: 00000000, DSISR: 40000000
[264791.660262] TASK = e641c6b0[29147] 'cat' THREAD: ee666000
[264791.660505] GPR00: f6612c10 ee667e70 e641c6b0 00000000 00000025 00000001 c1203080 c1203080 
[264791.662155] GPR08: efbc97e4 ee667e78 00000002 00000002 28000242 1001cb7c 100042bc bfcd53a4 
[264791.663348] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bfcd5288 c03e2678 
[264791.664981] GPR24: 10049000 00001000 efb8bf18 ca3faf98 ee667f20 e6483000 f6613538 00000000 
[264791.667155] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
[264791.668110] LR [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
[264791.669000] Call Trace:
[264791.669558] [ee667e70] [00001000] 0x1000 (unreliable)
[264791.670510] [ee667e90] [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
[264791.671449] [ee667eb0] [c021d540] dev_attr_show+0x30/0x7c
[264791.672590] [ee667ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264791.673726] [ee667ef0] [c00981c0] vfs_read+0xb4/0x1c0
[264791.674857] [ee667f10] [c00983d4] sys_read+0x4c/0xa4
[264791.675950] [ee667f40] [c0012c44] ret_from_syscall+0x0/0x38
[264791.677011] --- Exception: c01 at 0xff50fb0
[264791.677014]     LR = 0x100031f0
[264791.679078] Instruction dump:
[264791.680036] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
[264791.681388] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
[264791.682988] ---[ end trace cecbd2fe1c8fe25d ]---
[264791.702291] Unable to handle kernel paging request for data at address 0x00000010
[264791.702902] Faulting instruction address: 0xf6612a28
[264791.703454] Oops: Kernel access of bad area, sig: 11 [#10]
[264791.703998] PowerMac
[264791.704527] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264791.707235] NIP: f6612a28 LR: c021d540 CTR: f6612a08
[264791.708071] REGS: e6419de0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264791.708643] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000428  XER: 00000000
[264791.709502] DAR: 00000010, DSISR: 40000000
[264791.710424] TASK = ee6edac0[29151] 'sed' THREAD: e6418000
[264791.710672] GPR00: c021d540 e6419e90 ee6edac0 efb8bf10 00000028 e655b000 c1204b80 c1204b80 
[264791.712284] GPR08: efbc9964 f6610000 00000002 00000000 28000422 1002357c 1000ad18 1001b664 
[264791.713489] GPR16: 1001b6a0 10020000 bfa88488 10020000 101f1850 10020000 10020000 c03e2678 
[264791.715163] GPR24: 48020000 00001000 efb8bf18 ca3faf98 e6419f20 e655b000 f66135d8 fffffffb 
[264791.717318] NIP [f6612a28] show_sensor1_fan_speed+0x20/0x58 [therm_adt746x]
[264791.718302] LR [c021d540] dev_attr_show+0x30/0x7c
[264791.719169] Call Trace:
[264791.719725] [e6419e90] [00001000] 0x1000 (unreliable)
[264791.720669] [e6419eb0] [c021d540] dev_attr_show+0x30/0x7c
[264791.721590] [e6419ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264791.722710] [e6419ef0] [c00981c0] vfs_read+0xb4/0x1c0
[264791.723847] [e6419f10] [c00983d4] sys_read+0x4c/0xa4
[264791.725017] [e6419f40] [c0012c44] ret_from_syscall+0x0/0x38
[264791.726095] --- Exception: c01 at 0xff50fb0
[264791.726098]     LR = 0xfef52a0
[264791.728154] Instruction dump:
[264791.729121] bb810010 38210020 7c0803a6 4e800020 9421ffe0 7c0802a6 3d20f661 38800028 
[264791.730479] 90010024 bf810010 7cbd2b78 816937d4 <838b0010> 7d635b78 4bfff9b9 3c80f661 
[264791.731935] ---[ end trace cecbd2fe1c8fe25e ]---
[264791.742748] Unable to handle kernel paging request for data at address 0x00000000
[264791.743343] Faulting instruction address: 0xf661207c
[264791.743889] Oops: Kernel access of bad area, sig: 11 [#11]
[264791.744432] PowerMac
[264791.744956] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264791.747646] NIP: f661207c LR: f6612bc4 CTR: f6612ba0
[264791.748433] REGS: ef0a5dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264791.748998] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
[264791.749854] DAR: 00000000, DSISR: 40000000
[264791.750734] TASK = ee6ee170[29152] 'cat' THREAD: ef0a4000
[264791.750975] GPR00: f6612bc4 ef0a5e70 ee6ee170 00000000 00000027 00000001 c1203080 c1203080 
[264791.752595] GPR08: efbc9814 ef0a5e78 00000002 00000002 28000242 1001cb7c 100042bc bfcd53a4 
[264791.753756] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bfcd5288 c03e2678 
[264791.755378] GPR24: 101ed000 00001000 efb8bf18 ca3fa158 ef0a5f20 e6483000 f661354c 00000000 
[264791.757556] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
[264791.758491] LR [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
[264791.759389] Call Trace:
[264791.759938] [ef0a5e70] [00001000] 0x1000 (unreliable)
[264791.760892] [ef0a5e90] [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
[264791.761846] [ef0a5eb0] [c021d540] dev_attr_show+0x30/0x7c
[264791.762980] [ef0a5ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264791.764102] [ef0a5ef0] [c00981c0] vfs_read+0xb4/0x1c0
[264791.765239] [ef0a5f10] [c00983d4] sys_read+0x4c/0xa4
[264791.766315] [ef0a5f40] [c0012c44] ret_from_syscall+0x0/0x38
[264791.767339] --- Exception: c01 at 0xff50fb0
[264791.767342]     LR = 0x100031f0
[264791.769382] Instruction dump:
[264791.770286] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
[264791.771664] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
[264791.773071] ---[ end trace cecbd2fe1c8fe25f ]---
[264796.652268] Unable to handle kernel paging request for data at address 0x00000000
[264796.652871] Faulting instruction address: 0xf661207c
[264796.653418] Oops: Kernel access of bad area, sig: 11 [#12]
[264796.653958] PowerMac
[264796.654486] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264796.657186] NIP: f661207c LR: f6612c10 CTR: f6612bec
[264796.657943] REGS: ee667dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264796.658510] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
[264796.659371] DAR: 00000000, DSISR: 40000000
[264796.660225] TASK = eea246b0[29158] 'cat' THREAD: ee666000
[264796.660470] GPR00: f6612c10 ee667e70 eea246b0 00000000 00000025 00000001 c0df4300 c0df4300 
[264796.662124] GPR08: efbc97e4 ee667e78 00000003 00000003 28000242 1001cb7c 100042bc bf8d7434 
[264796.663311] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bf8d7318 c03e2678 
[264796.664911] GPR24: 101fc000 00001000 efb8bf18 e1eb5f98 ee667f20 c5d17000 f6613538 00000000 
[264796.667097] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
[264796.668027] LR [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
[264796.668904] Call Trace:
[264796.669455] [ee667e70] [00001000] 0x1000 (unreliable)
[264796.670404] [ee667e90] [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
[264796.671339] [ee667eb0] [c021d540] dev_attr_show+0x30/0x7c
[264796.672463] [ee667ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264796.673538] [ee667ef0] [c00981c0] vfs_read+0xb4/0x1c0
[264796.674686] [ee667f10] [c00983d4] sys_read+0x4c/0xa4
[264796.675755] [ee667f40] [c0012c44] ret_from_syscall+0x0/0x38
[264796.676792] --- Exception: c01 at 0xff50fb0
[264796.676795]     LR = 0x100031f0
[264796.678830] Instruction dump:
[264796.679725] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
[264796.681119] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
[264796.682641] ---[ end trace cecbd2fe1c8fe260 ]---
[264796.702183] Unable to handle kernel paging request for data at address 0x00000010
[264796.702828] Faulting instruction address: 0xf6612a28
[264796.703376] Oops: Kernel access of bad area, sig: 11 [#13]
[264796.703915] PowerMac
[264796.704437] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264796.707118] NIP: f6612a28 LR: c021d540 CTR: f6612a08
[264796.707836] REGS: e6451de0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264796.708402] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000428  XER: 00000000
[264796.709259] DAR: 00000010, DSISR: 40000000
[264796.710086] TASK = c0986ed0[29162] 'sed' THREAD: e6450000
[264796.710338] GPR00: c021d540 e6451e90 c0986ed0 efb8bf10 00000028 ef06a000 c131ad60 c131ad60 
[264796.712003] GPR08: efbc9964 f6610000 00000003 00000000 28000422 1002357c 1000ad18 1001b664 
[264796.713189] GPR16: 1001b6a0 10020000 bf9e44e8 10020000 107d0850 10020000 10020000 c03e2678 
[264796.714772] GPR24: 48020000 00001000 efb8bf18 e1eb5f98 e6451f20 ef06a000 f66135d8 fffffffb 
[264796.716960] NIP [f6612a28] show_sensor1_fan_speed+0x20/0x58 [therm_adt746x]
[264796.717915] LR [c021d540] dev_attr_show+0x30/0x7c
[264796.718759] Call Trace:
[264796.719312] [e6451e90] [00001000] 0x1000 (unreliable)
[264796.720282] [e6451eb0] [c021d540] dev_attr_show+0x30/0x7c
[264796.721193] [e6451ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264796.722305] [e6451ef0] [c00981c0] vfs_read+0xb4/0x1c0
[264796.723426] [e6451f10] [c00983d4] sys_read+0x4c/0xa4
[264796.724575] [e6451f40] [c0012c44] ret_from_syscall+0x0/0x38
[264796.725647] --- Exception: c01 at 0xff50fb0
[264796.725650]     LR = 0xfef52a0
[264796.727701] Instruction dump:
[264796.728643] bb810010 38210020 7c0803a6 4e800020 9421ffe0 7c0802a6 3d20f661 38800028 
[264796.730011] 90010024 bf810010 7cbd2b78 816937d4 <838b0010> 7d635b78 4bfff9b9 3c80f661 
[264796.731451] ---[ end trace cecbd2fe1c8fe261 ]---
[264796.742134] Unable to handle kernel paging request for data at address 0x00000000
[264796.742768] Faulting instruction address: 0xf661207c
[264796.743313] Oops: Kernel access of bad area, sig: 11 [#14]
[264796.743854] PowerMac
[264796.744378] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264796.747061] NIP: f661207c LR: f6612bc4 CTR: f6612ba0
[264796.747807] REGS: e6419dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264796.748371] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
[264796.749224] DAR: 00000000, DSISR: 40000000
[264796.750080] TASK = c0987580[29163] 'cat' THREAD: e6418000
[264796.750326] GPR00: f6612bc4 e6419e70 c0987580 00000000 00000027 00000001 c131ad60 c131ad60 
[264796.751957] GPR08: efbc9814 e6419e78 00000003 00000003 28000242 1001cb7c 100042bc bf8d7434 
[264796.753145] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bf8d7318 c03e2678 
[264796.754762] GPR24: 10583000 00001000 efb8bf18 e1eb5298 e6419f20 ef06a000 f661354c 00000000 
[264796.756944] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
[264796.757870] LR [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
[264796.758763] Call Trace:
[264796.759312] [e6419e70] [00001000] 0x1000 (unreliable)
[264796.760263] [e6419e90] [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
[264796.761197] [e6419eb0] [c021d540] dev_attr_show+0x30/0x7c
[264796.762327] [e6419ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264796.763434] [e6419ef0] [c00981c0] vfs_read+0xb4/0x1c0
[264796.764588] [e6419f10] [c00983d4] sys_read+0x4c/0xa4
[264796.765652] [e6419f40] [c0012c44] ret_from_syscall+0x0/0x38
[264796.766704] --- Exception: c01 at 0xff50fb0
[264796.766707]     LR = 0x100031f0
[264796.768725] Instruction dump:
[264796.769624] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
[264796.771015] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
[264796.772468] ---[ end trace cecbd2fe1c8fe262 ]---
[264801.652809] Unable to handle kernel paging request for data at address 0x00000000
[264801.653407] Faulting instruction address: 0xf661207c
[264801.653947] Oops: Kernel access of bad area, sig: 11 [#15]
[264801.654485] PowerMac
[264801.655007] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264801.657691] NIP: f661207c LR: f6612c10 CTR: f6612bec
[264801.658447] REGS: ee667dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264801.659011] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
[264801.659859] DAR: 00000000, DSISR: 40000000
[264801.660669] TASK = efb95ac0[29169] 'cat' THREAD: ee666000
[264801.660914] GPR00: f6612c10 ee667e70 efb95ac0 00000000 00000025 00000001 c1205080 c1205080 
[264801.662577] GPR08: efbc97e4 ee667e78 00000004 00000004 28000242 1001cb7c 100042bc bfd1ef94 
[264801.663763] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bfd1ee78 c03e2678 
[264801.665349] GPR24: 104d3000 00001000 efb8bf18 ca3fadd8 ee667f20 e6583000 f6613538 00000000 
[264801.667546] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
[264801.668470] LR [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
[264801.669343] Call Trace:
[264801.669892] [ee667e70] [00001000] 0x1000 (unreliable)
[264801.670845] [ee667e90] [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
[264801.671775] [ee667eb0] [c021d540] dev_attr_show+0x30/0x7c
[264801.672908] [ee667ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264801.673991] [ee667ef0] [c00981c0] vfs_read+0xb4/0x1c0
[264801.675146] [ee667f10] [c00983d4] sys_read+0x4c/0xa4
[264801.676226] [ee667f40] [c0012c44] ret_from_syscall+0x0/0x38
[264801.677257] --- Exception: c01 at 0xff50fb0
[264801.677260]     LR = 0x100031f0
[264801.679294] Instruction dump:
[264801.680207] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
[264801.681593] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
[264801.683107] ---[ end trace cecbd2fe1c8fe263 ]---
[264801.704383] Unable to handle kernel paging request for data at address 0x00000010
[264801.704991] Faulting instruction address: 0xf6612a28
[264801.705542] Oops: Kernel access of bad area, sig: 11 [#16]
[264801.706083] PowerMac
[264801.706610] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264801.709309] NIP: f6612a28 LR: c021d540 CTR: f6612a08
[264801.710128] REGS: efbcfde0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264801.710698] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000428  XER: 00000000
[264801.711539] DAR: 00000010, DSISR: 40000000
[264801.712429] TASK = efb96ed0[29173] 'sed' THREAD: efbce000
[264801.712677] GPR00: c021d540 efbcfe90 efb96ed0 efb8bf10 00000028 c5cd2000 c0df3a60 c0df3a60 
[264801.714308] GPR08: efbc9964 f6610000 00000004 00000000 28000422 1002357c 1000ad18 1001b664 
[264801.715509] GPR16: 1001b6a0 10020000 bfb5b458 10020000 10703850 10020000 10020000 c03e2678 
[264801.717131] GPR24: 48020000 00001000 efb8bf18 ca3fadd8 efbcff20 c5cd2000 f66135d8 fffffffb 
[264801.719315] NIP [f6612a28] show_sensor1_fan_speed+0x20/0x58 [therm_adt746x]
[264801.720284] LR [c021d540] dev_attr_show+0x30/0x7c
[264801.721129] Call Trace:
[264801.721677] [efbcfe90] [00001000] 0x1000 (unreliable)
[264801.722633] [efbcfeb0] [c021d540] dev_attr_show+0x30/0x7c
[264801.723542] [efbcfec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264801.724640] [efbcfef0] [c00981c0] vfs_read+0xb4/0x1c0
[264801.725758] [efbcff10] [c00983d4] sys_read+0x4c/0xa4
[264801.726910] [efbcff40] [c0012c44] ret_from_syscall+0x0/0x38
[264801.727963] --- Exception: c01 at 0xff50fb0
[264801.727966]     LR = 0xfef52a0
[264801.730007] Instruction dump:
[264801.730947] bb810010 38210020 7c0803a6 4e800020 9421ffe0 7c0802a6 3d20f661 38800028 
[264801.732315] 90010024 bf810010 7cbd2b78 816937d4 <838b0010> 7d635b78 4bfff9b9 3c80f661 
[264801.734013] ---[ end trace cecbd2fe1c8fe264 ]---
[264801.744682] Unable to handle kernel paging request for data at address 0x00000000
[264801.745283] Faulting instruction address: 0xf661207c
[264801.745829] Oops: Kernel access of bad area, sig: 11 [#17]
[264801.746372] PowerMac
[264801.746897] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264801.749588] NIP: f661207c LR: f6612bc4 CTR: f6612ba0
[264801.750385] REGS: e6451dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264801.750951] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
[264801.751810] DAR: 00000000, DSISR: 40000000
[264801.752664] TASK = efb96170[29174] 'cat' THREAD: e6450000
[264801.752910] GPR00: f6612bc4 e6451e70 efb96170 00000000 00000027 00000001 c0df3a60 c0df3a60 
[264801.754558] GPR08: efbc9814 e6451e78 00000004 00000004 28000242 1001cb7c 100042bc bfd1ef94 
[264801.755743] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bfd1ee78 c03e2678 
[264801.757396] GPR24: 10534000 00001000 efb8bf18 ca3fa598 e6451f20 c5cd2000 f661354c 00000000 
[264801.759555] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
[264801.760499] LR [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
[264801.761395] Call Trace:
[264801.762032] [e6451e70] [00001000] 0x1000 (unreliable)
[264801.762934] [e6451e90] [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
[264801.763879] [e6451eb0] [c021d540] dev_attr_show+0x30/0x7c
[264801.765017] [e6451ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264801.766117] [e6451ef0] [c00981c0] vfs_read+0xb4/0x1c0
[264801.767256] [e6451f10] [c00983d4] sys_read+0x4c/0xa4
[264801.768340] [e6451f40] [c0012c44] ret_from_syscall+0x0/0x38
[264801.769402] --- Exception: c01 at 0xff50fb0
[264801.769405]     LR = 0x100031f0
[264801.771465] Instruction dump:
[264801.772436] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
[264801.773783] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
[264801.775354] ---[ end trace cecbd2fe1c8fe265 ]---
[264806.652424] Unable to handle kernel paging request for data at address 0x00000000
[264806.653030] Faulting instruction address: 0xf661207c
[264806.653580] Oops: Kernel access of bad area, sig: 11 [#18]
[264806.654125] PowerMac
[264806.654657] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264806.657366] NIP: f661207c LR: f6612c10 CTR: f6612bec
[264806.658193] REGS: e6451dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264806.658763] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
[264806.659625] DAR: 00000000, DSISR: 40000000
[264806.660546] TASK = efb95ac0[29178] 'cat' THREAD: e6450000
[264806.660795] GPR00: f6612c10 e6451e70 efb95ac0 00000000 00000025 00000001 c12025e0 c12025e0 
[264806.662407] GPR08: efbc97e4 e6451e78 00000005 00000005 28000242 1001cb7c 100042bc bff0cec4 
[264806.663613] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bff0cda8 c03e2678 
[264806.665248] GPR24: 10475000 00001000 efb8bf18 ca3fa598 e6451f20 e642e000 f6613538 00000000 
[264806.667423] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
[264806.668382] LR [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
[264806.669274] Call Trace:
[264806.669851] [e6451e70] [00001000] 0x1000 (unreliable)
[264806.670795] [e6451e90] [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
[264806.671746] [e6451eb0] [c021d540] dev_attr_show+0x30/0x7c
[264806.672894] [e6451ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264806.674028] [e6451ef0] [c00981c0] vfs_read+0xb4/0x1c0
[264806.675162] [e6451f10] [c00983d4] sys_read+0x4c/0xa4
[264806.676247] [e6451f40] [c0012c44] ret_from_syscall+0x0/0x38
[264806.677300] --- Exception: c01 at 0xff50fb0
[264806.677303]     LR = 0x100031f0
[264806.679366] Instruction dump:
[264806.680301] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
[264806.681658] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
[264806.683113] ---[ end trace cecbd2fe1c8fe266 ]---
[264806.704242] Unable to handle kernel paging request for data at address 0x00000010
[264806.704850] Faulting instruction address: 0xf6612a28
[264806.705399] Oops: Kernel access of bad area, sig: 11 [#19]
[264806.705939] PowerMac
[264806.706464] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264806.709160] NIP: f6612a28 LR: c021d540 CTR: f6612a08
[264806.709982] REGS: ee667de0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264806.710551] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000428  XER: 00000000
[264806.711406] DAR: 00000010, DSISR: 40000000
[264806.712317] TASK = ee904000[29182] 'sed' THREAD: ee666000
[264806.712559] GPR00: c021d540 ee667e90 ee904000 efb8bf10 00000028 c7cd7000 c0e33b00 c0e33b00 
[264806.714156] GPR08: efbc9964 f6610000 00000005 00000000 28000422 1002357c 1000ad18 1001b664 
[264806.715338] GPR16: 1001b6a0 10020000 bfa28c08 10020000 1025e850 10020000 10020000 c03e2678 
[264806.716970] GPR24: 48020000 00001000 efb8bf18 ca3fa598 ee667f20 c7cd7000 f66135d8 fffffffb 
[264806.719154] NIP [f6612a28] show_sensor1_fan_speed+0x20/0x58 [therm_adt746x]
[264806.720135] LR [c021d540] dev_attr_show+0x30/0x7c
[264806.721000] Call Trace:
[264806.721571] [ee667e90] [00001000] 0x1000 (unreliable)
[264806.722530] [ee667eb0] [c021d540] dev_attr_show+0x30/0x7c
[264806.723448] [ee667ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264806.724569] [ee667ef0] [c00981c0] vfs_read+0xb4/0x1c0
[264806.725701] [ee667f10] [c00983d4] sys_read+0x4c/0xa4
[264806.726874] [ee667f40] [c0012c44] ret_from_syscall+0x0/0x38
[264806.727947] --- Exception: c01 at 0xff50fb0
[264806.727950]     LR = 0xfef52a0
[264806.730002] Instruction dump:
[264806.730965] bb810010 38210020 7c0803a6 4e800020 9421ffe0 7c0802a6 3d20f661 38800028 
[264806.732298] 90010024 bf810010 7cbd2b78 816937d4 <838b0010> 7d635b78 4bfff9b9 3c80f661 
[264806.733926] ---[ end trace cecbd2fe1c8fe267 ]---
[264806.744476] Unable to handle kernel paging request for data at address 0x00000000
[264806.745072] Faulting instruction address: 0xf661207c
[264806.745617] Oops: Kernel access of bad area, sig: 11 [#20]
[264806.746159] PowerMac
[264806.746685] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264806.749367] NIP: f661207c LR: f6612bc4 CTR: f6612ba0
[264806.750127] REGS: efbcfdc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264806.750692] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
[264806.751549] DAR: 00000000, DSISR: 40000000
[264806.752384] TASK = ee907580[29183] 'cat' THREAD: efbce000
[264806.752621] GPR00: f6612bc4 efbcfe70 ee907580 00000000 00000027 00000001 c0e33b00 c0e33b00 
[264806.754283] GPR08: efbc9814 efbcfe78 00000005 00000005 28000242 1001cb7c 100042bc bff0cec4 
[264806.755469] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bff0cda8 c03e2678 
[264806.757085] GPR24: 10312000 00001000 efb8bf18 ca3faf98 efbcff20 c7cd7000 f661354c 00000000 
[264806.759265] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
[264806.760193] LR [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
[264806.761081] Call Trace:
[264806.761628] [efbcfe70] [00001000] 0x1000 (unreliable)
[264806.762574] [efbcfe90] [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
[264806.763508] [efbcfeb0] [c021d540] dev_attr_show+0x30/0x7c
[264806.764660] [efbcfec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264806.765757] [efbcfef0] [c00981c0] vfs_read+0xb4/0x1c0
[264806.766890] [efbcff10] [c00983d4] sys_read+0x4c/0xa4
[264806.767963] [efbcff40] [c0012c44] ret_from_syscall+0x0/0x38
[264806.768983] --- Exception: c01 at 0xff50fb0
[264806.768986]     LR = 0x100031f0
[264806.771009] Instruction dump:
[264806.771892] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
[264806.773284] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
[264806.774677] ---[ end trace cecbd2fe1c8fe268 ]---
[264811.652253] Unable to handle kernel paging request for data at address 0x00000000
[264811.652848] Faulting instruction address: 0xf661207c
[264811.653387] Oops: Kernel access of bad area, sig: 11 [#21]
[264811.653923] PowerMac
[264811.654442] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264811.657115] NIP: f661207c LR: f6612c10 CTR: f6612bec
[264811.657825] REGS: efbcfdc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264811.658385] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
[264811.659245] DAR: 00000000, DSISR: 40000000
[264811.660052] TASK = ee95b580[29187] 'cat' THREAD: efbce000
[264811.660276] GPR00: f6612c10 efbcfe70 ee95b580 00000000 00000025 00000001 c1204180 c1204180 
[264811.661963] GPR08: efbc97e4 efbcfe78 00000006 00000006 28000242 1001cb7c 100042bc bff45a84 
[264811.663139] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bff45968 c03e2678 
[264811.664673] GPR24: 1003b000 00001000 efb8bf18 ca3fa998 efbcff20 e650b000 f6613538 00000000 
[264811.666875] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
[264811.667771] LR [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
[264811.668616] Call Trace:
[264811.669160] [efbcfe70] [00001000] 0x1000 (unreliable)
[264811.670107] [efbcfe90] [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
[264811.671021] [efbcfeb0] [c021d540] dev_attr_show+0x30/0x7c
[264811.672137] [efbcfec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264811.673212] [efbcfef0] [c00981c0] vfs_read+0xb4/0x1c0
[264811.674355] [efbcff10] [c00983d4] sys_read+0x4c/0xa4
[264811.675409] [efbcff40] [c0012c44] ret_from_syscall+0x0/0x38
[264811.676443] --- Exception: c01 at 0xff50fb0
[264811.676446]     LR = 0x100031f0
[264811.678415] Instruction dump:
[264811.679320] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
[264811.680726] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
[264811.682211] ---[ end trace cecbd2fe1c8fe269 ]---
[264811.702739] Unable to handle kernel paging request for data at address 0x00000010
[264811.703345] Faulting instruction address: 0xf6612a28
[264811.703893] Oops: Kernel access of bad area, sig: 11 [#22]
[264811.704434] PowerMac
[264811.704958] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264811.707650] NIP: f6612a28 LR: c021d540 CTR: f6612a08
[264811.708454] REGS: ee667de0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264811.709021] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000428  XER: 00000000
[264811.709880] DAR: 00000010, DSISR: 40000000
[264811.710750] TASK = e641e820[29191] 'sed' THREAD: ee666000
[264811.710992] GPR00: c021d540 ee667e90 e641e820 efb8bf10 00000028 ef06a000 c131ad60 c131ad60 
[264811.712633] GPR08: efbc9964 f6610000 00000006 00000000 28000422 1002357c 1000ad18 1001b664 
[264811.713823] GPR16: 1001b6a0 10020000 bfd4de38 10020000 10594850 10020000 10020000 c03e2678 
[264811.715466] GPR24: 48020000 00001000 efb8bf18 ca3fa998 ee667f20 ef06a000 f66135d8 fffffffb 
[264811.717633] NIP [f6612a28] show_sensor1_fan_speed+0x20/0x58 [therm_adt746x]
[264811.718604] LR [c021d540] dev_attr_show+0x30/0x7c
[264811.719447] Call Trace:
[264811.720005] [ee667e90] [00001000] 0x1000 (unreliable)
[264811.720965] [ee667eb0] [c021d540] dev_attr_show+0x30/0x7c
[264811.721883] [ee667ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264811.722997] [ee667ef0] [c00981c0] vfs_read+0xb4/0x1c0
[264811.724128] [ee667f10] [c00983d4] sys_read+0x4c/0xa4
[264811.725317] [ee667f40] [c0012c44] ret_from_syscall+0x0/0x38
[264811.726394] --- Exception: c01 at 0xff50fb0
[264811.726397]     LR = 0xfef52a0
[264811.728458] Instruction dump:
[264811.729423] bb810010 38210020 7c0803a6 4e800020 9421ffe0 7c0802a6 3d20f661 38800028 
[264811.730761] 90010024 bf810010 7cbd2b78 816937d4 <838b0010> 7d635b78 4bfff9b9 3c80f661 
[264811.732255] ---[ end trace cecbd2fe1c8fe26a ]---
[264811.743097] Unable to handle kernel paging request for data at address 0x00000000
[264811.743696] Faulting instruction address: 0xf661207c
[264811.744245] Oops: Kernel access of bad area, sig: 11 [#23]
[264811.744789] PowerMac
[264811.745316] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
[264811.748012] NIP: f661207c LR: f6612bc4 CTR: f6612ba0
[264811.748816] REGS: e6419dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
[264811.749386] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
[264811.750242] DAR: 00000000, DSISR: 40000000
[264811.751140] TASK = e641dac0[29192] 'cat' THREAD: e6418000
[264811.751382] GPR00: f6612bc4 e6419e70 e641dac0 00000000 00000027 00000001 c131ad60 c131ad60 
[264811.752989] GPR08: efbc9814 e6419e78 00000006 00000006 28000242 1001cb7c 100042bc bff45a84 
[264811.754189] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bff45968 c03e2678 
[264811.755884] GPR24: 10610000 00001000 efb8bf18 ca3fa7d8 e6419f20 ef06a000 f661354c 00000000 
[264811.758028] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
[264811.758985] LR [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
[264811.759898] Call Trace:
[264811.760493] [e6419e70] [00001000] 0x1000 (unreliable)
[264811.761423] [e6419e90] [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
[264811.762422] [e6419eb0] [c021d540] dev_attr_show+0x30/0x7c
[264811.763553] [e6419ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
[264811.764766] [e6419ef0] [c00981c0] vfs_read+0xb4/0x1c0
[264811.765845] [e6419f10] [c00983d4] sys_read+0x4c/0xa4
[264811.766911] [e6419f40] [c0012c44] ret_from_syscall+0x0/0x38
[264811.767985] --- Exception: c01 at 0xff50fb0
[264811.767988]     LR = 0x100031f0
[264811.770059] Instruction dump:
[264811.771081] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
[264811.772376] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
[264811.773868] ---[ end trace cecbd2fe1c8fe26b ]---


# modprobe i2c_powermac

[264814.736255] PowerMac i2c bus pmu 2 registered
[264814.736876] PowerMac i2c bus pmu 1 registered
[264814.737450] PowerMac i2c bus mac-io 0 registered
[264814.758251] adt746x: ADT7467 initializing
[264814.761040] adt746x: Lowering max temperatures from 73, 80, 109 to 67, 47, 67
[264814.765442] PowerMac i2c bus uni-n 1 registered
[264814.817834] sysfs: cannot create duplicate filename '/devices/ams'
[264814.818481] ------------[ cut here ]------------
[264814.819024] Badness at fs/sysfs/dir.c:477
[264814.819559] NIP: c00ea3c0 LR: c00ea3c0 CTR: 00000000
[264814.820101] REGS: ef0a5a50 TRAP: 0700   Tainted: G      D     (2.6.33-rc2)
[264814.820656] MSR: 00029032 <EE,ME,CE,IR,DR>  CR: 42008444  XER: 00000000
[264814.821285] TASK = e641dac0[29199] 'modprobe' THREAD: ef0a4000
[264814.821326] GPR00: c00ea3c0 ef0a5b00 e641dac0 0000004d 00013b71 ffffffff ffffffff 00000000 
[264814.821961] GPR08: efa70500 c03e0000 00000000 00013b71 44008428 10020390 100e0000 100df49c 
[264814.822596] GPR16: 100b54c0 100df49c 100ddd20 10462de8 100b5340 c03e2664 c03e2638 c03e5f4c 
[264814.823537] GPR24: 00000000 24008422 ffffffea ef0a5b58 ecb52000 ecb52000 ef029c90 ffffffef 
[264814.825762] NIP [c00ea3c0] sysfs_add_one+0x94/0xc0
[264814.826552] LR [c00ea3c0] sysfs_add_one+0x94/0xc0
[264814.827283] Call Trace:
[264814.827882] [ef0a5b00] [c00ea3c0] sysfs_add_one+0x94/0xc0 (unreliable)
[264814.828771] [ef0a5b20] [c00eaad4] create_dir+0x58/0xd8
[264814.829595] [ef0a5b50] [c00eab94] sysfs_create_dir+0x40/0x70
[264814.830684] [ef0a5b70] [c01c8918] kobject_add_internal+0xc0/0x1fc
[264814.831763] [ef0a5b90] [c01c8c8c] kobject_add+0x60/0x98
[264814.832859] [ef0a5bc0] [c021e368] device_add+0x9c/0x5bc
[264814.833837] [ef0a5c10] [c0267964] of_device_register+0x34/0x48
[264814.834862] [ef0a5c30] [c000bfcc] of_platform_device_create+0x44/0x74
[264814.835887] [ef0a5c40] [f20fc388] ams_sensor_attach+0xc8/0x134 [ams]
[264814.836833] [ef0a5c60] [f20fcfc8] ams_i2c_probe+0x154/0x210 [ams]
[264814.837816] [ef0a5c80] [c026043c] i2c_device_probe+0xe4/0x100
[264814.838749] [ef0a5ca0] [c022108c] driver_probe_device+0xa0/0x198
[264814.839667] [ef0a5cc0] [c02203fc] bus_for_each_drv+0x70/0xac
[264814.840553] [ef0a5cf0] [c0221378] device_attach+0x84/0xa8
[264814.841456] [ef0a5d10] [c021fc5c] bus_probe_device+0x2c/0x44
[264814.842357] [ef0a5d20] [c021e66c] device_add+0x3a0/0x5bc
[264814.843252] [ef0a5d70] [c0261998] i2c_new_device+0xfc/0x150
[264814.844172] [ef0a5da0] [f870b64c] i2c_powermac_probe+0x1cc/0x410 [i2c_powermac]
[264814.845164] [ef0a5df0] [c02224e8] platform_drv_probe+0x20/0x30
[264814.846119] [ef0a5e00] [c022108c] driver_probe_device+0xa0/0x198
[264814.847070] [ef0a5e20] [c0221240] __driver_attach+0xbc/0xc0
[264814.848017] [ef0a5e40] [c0220790] bus_for_each_dev+0x70/0xac
[264814.848963] [ef0a5e70] [c0220eb8] driver_attach+0x24/0x34
[264814.849836] [ef0a5e80] [c021ff1c] bus_add_driver+0xb4/0x284
[264814.850771] [ef0a5eb0] [c02215b0] driver_register+0x80/0x170
[264814.851693] [ef0a5ed0] [c02228a8] platform_driver_register+0x6c/0x7c
[264814.852634] [ef0a5ee0] [f870e018] i2c_powermac_init+0x18/0x40 [i2c_powermac]
[264814.853604] [ef0a5ef0] [c0003eb8] do_one_initcall+0x3c/0x1e0
[264814.854530] [ef0a5f20] [c005e3c4] sys_init_module+0xf8/0x218
[264814.855474] [ef0a5f40] [c0012c44] ret_from_syscall+0x0/0x38
[264814.856434] --- Exception: c01 at 0xff63044
[264814.856437]     LR = 0x10003c80
[264814.858043] Instruction dump:
[264814.858893] 4bffff41 7c7d1b78 4bf2e221 38002f00 7c1d1b2e 7fa3eb78 809e0010 4bf2e18d 
[264814.860210] 7c641b78 3c60c037 3863e948 48225afd <0fe00000> 7f83e378 4bfa93a5 80010024 
[264814.861569] kobject_add_internal failed for ams with -EEXIST, don't try to register things with the same name in the same directory.
[264814.863528] Call Trace:
[264814.864454] [ef0a5b40] [c0008e58] show_stack+0x48/0x15c (unreliable)
[264814.865244] [ef0a5b70] [c01c8988] kobject_add_internal+0x130/0x1fc
[264814.865928] [ef0a5b90] [c01c8c8c] kobject_add+0x60/0x98
[264814.866772] [ef0a5bc0] [c021e368] device_add+0x9c/0x5bc
[264814.867992] [ef0a5c10] [c0267964] of_device_register+0x34/0x48
[264814.869107] [ef0a5c30] [c000bfcc] of_platform_device_create+0x44/0x74
[264814.869946] [ef0a5c40] [f20fc388] ams_sensor_attach+0xc8/0x134 [ams]
[264814.870854] [ef0a5c60] [f20fcfc8] ams_i2c_probe+0x154/0x210 [ams]
[264814.871846] [ef0a5c80] [c026043c] i2c_device_probe+0xe4/0x100
[264814.872781] [ef0a5ca0] [c022108c] driver_probe_device+0xa0/0x198
[264814.873690] [ef0a5cc0] [c02203fc] bus_for_each_drv+0x70/0xac
[264814.874582] [ef0a5cf0] [c0221378] device_attach+0x84/0xa8
[264814.875473] [ef0a5d10] [c021fc5c] bus_probe_device+0x2c/0x44
[264814.876312] [ef0a5d20] [c021e66c] device_add+0x3a0/0x5bc
[264814.877209] [ef0a5d70] [c0261998] i2c_new_device+0xfc/0x150
[264814.878132] [ef0a5da0] [f870b64c] i2c_powermac_probe+0x1cc/0x410 [i2c_powermac]
[264814.879121] [ef0a5df0] [c02224e8] platform_drv_probe+0x20/0x30
[264814.880080] [ef0a5e00] [c022108c] driver_probe_device+0xa0/0x198
[264814.881024] [ef0a5e20] [c0221240] __driver_attach+0xbc/0xc0
[264814.881965] [ef0a5e40] [c0220790] bus_for_each_dev+0x70/0xac
[264814.882893] [ef0a5e70] [c0220eb8] driver_attach+0x24/0x34
[264814.883752] [ef0a5e80] [c021ff1c] bus_add_driver+0xb4/0x284
[264814.884654] [ef0a5eb0] [c02215b0] driver_register+0x80/0x170
[264814.885562] [ef0a5ed0] [c02228a8] platform_driver_register+0x6c/0x7c
[264814.886497] [ef0a5ee0] [f870e018] i2c_powermac_init+0x18/0x40 [i2c_powermac]
[264814.887463] [ef0a5ef0] [c0003eb8] do_one_initcall+0x3c/0x1e0
[264814.888375] [ef0a5f20] [c005e3c4] sys_init_module+0xf8/0x218
[264814.889294] [ef0a5f40] [c0012c44] ret_from_syscall+0x0/0x38
[264814.890214] --- Exception: c01 at 0xff63044
[264814.890217]     LR = 0x10003c80



-- 
BOFH excuse #136:

Daemons loose in system.

^ permalink raw reply

* Re: i2c_powermac: Kernel access of bad area
From: Benjamin Herrenschmidt @ 2009-12-29  9:34 UTC (permalink / raw)
  To: Christian Kujau; +Cc: Jean Delvare, linuxppc-dev, LKML
In-Reply-To: <alpine.DEB.2.01.0912281934170.3483@bogon.housecafe.de>

On Mon, 2009-12-28 at 20:40 -0800, Christian Kujau wrote:
> Hi there,
> 
> I was trying to find out if I still need i2c_powermac to get details off 
> /sys/devices/temperatures, since lm-sensors isn't working for me anyway.
> 
> After unloading this module, I noticed that reading certain objects would 
> fail with a segfault on the prompt and an Oops in the kernel log:

Definitely looks like we fail to clean things up on remove.

I don't have much time to look into this right now, so best is you file
a bug report on bugzilla.kernel.org, make sure I'm CCed.

Jean (added on CC), in case you already know what's up, please share :-)

Cheers,
Ben.

> # rmmod i2c_powermac
> # ls  /sys/devices/temperatures
> devspec    modalias  sensor1_fan_speed  sensor1_location     
> sensor2_limit     sensor2_temperature  subsystem
> limit_adjust  name      sensor1_limit      sensor1_temperature  
> sensor2_location  specified_fan_speed  uevent
> # cat /sys/devices/temperatures/sensor1_location
> CPU TOPSIDE
> # cat /sys/devices/temperatures/sensor1_fan_speed
> Segmentation fault
> 
> I've put the full dmesg and the .config on:
> http://nerdbynature.de/bits/2.6.33-rc2/i2c_powermac/
> 
> When the module is loaded, all is fine and I can successfully read all the 
> files in /sys/devices/temperatures. I just wanted to report this anyway, 
> as it seems a bit harsh to just oops when a friendly -EINVAL would be more
> useful, IMHO.
> 
> Thanks,
> Christian.
> 
> [264783.907602] adt746x: Putting max temperatures back from 67, 47, 67 to 73, 80, 109
> [264783.912552] ams: Unloading
> [264785.759586] Unable to handle kernel paging request for data at address 0x00000010
> [264785.759981] Faulting instruction address: 0xf6612a28
> [264785.760322] Oops: Kernel access of bad area, sig: 11 [#1]
> [264785.760662] PowerMac
> [264785.760991] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264785.762753] NIP: f6612a28 LR: c021d540 CTR: f6612a08
> [264785.763109] REGS: e6419de0 TRAP: 0300   Not tainted  (2.6.33-rc2)
> [264785.763459] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
> [264785.763858] DAR: 00000010, DSISR: 40000000
> [264785.764205] TASK = ee904000[29122] 'cat' THREAD: e6418000
> [264785.764241] GPR00: c021d540 e6419e90 ee904000 efb8bf10 00000028 ee5a0000 c1305420 c1305420 
> [264785.764668] GPR08: efbc9964 f6610000 00000000 00000000 28000242 1001cb7c 100042bc bf8832f4 
> [264785.765100] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bf8831d8 c03e2678 
> [264785.765542] GPR24: 101e6000 00001000 efb8bf18 ee3ce0d8 e6419f20 ee5a0000 f66135d8 fffffffb 
> [264785.766349] NIP [f6612a28] show_sensor1_fan_speed+0x20/0x58 [therm_adt746x]
> [264785.766751] LR [c021d540] dev_attr_show+0x30/0x7c
> [264785.767136] Call Trace:
> [264785.767516] [e6419e90] [00001000] 0x1000 (unreliable)
> [264785.767925] [e6419eb0] [c021d540] dev_attr_show+0x30/0x7c
> [264785.768341] [e6419ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264785.768757] [e6419ef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264785.769174] [e6419f10] [c00983d4] sys_read+0x4c/0xa4
> [264785.769605] [e6419f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264785.770038] --- Exception: c01 at 0xff50fb0
> [264785.770042]     LR = 0x100031f0
> [264785.770877] Instruction dump:
> [264785.771304] bb810010 38210020 7c0803a6 4e800020 9421ffe0 7c0802a6 3d20f661 38800028 
> [264785.771812] 90010024 bf810010 7cbd2b78 816937d4 <838b0010> 7d635b78 4bfff9b9 3c80f661 
> [264785.778656] ---[ end trace cecbd2fe1c8fe255 ]---
> [264785.786061] Unable to handle kernel paging request for data at address 0x00000000
> [264785.786641] Faulting instruction address: 0xf661207c
> [264785.787129] Oops: Kernel access of bad area, sig: 11 [#2]
> [264785.787617] PowerMac
> [264785.788093] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264785.790644] NIP: f661207c LR: f6612c10 CTR: f6612bec
> [264785.791178] REGS: e6419dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264785.791726] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
> [264785.792349] DAR: 00000000, DSISR: 40000000
> [264785.792898] TASK = ee904000[29124] 'cat' THREAD: e6418000
> [264785.793018] GPR00: f6612c10 e6419e70 ee904000 00000000 00000025 00000001 c0e32920 c0e32920 
> [264785.794762] GPR08: efbc97e4 e6419e78 00000000 00000000 28000242 1001cb7c 100042bc bf8832f4 
> [264785.795913] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bf8831d8 c03e2678 
> [264785.797498] GPR24: 105f7000 00001000 efb8bf18 ee3ce0d8 e6419f20 c7c48000 f6613538 00000000 
> [264785.799657] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
> [264785.800593] LR [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
> [264785.801474] Call Trace:
> [264785.802018] [e6419e70] [00001000] 0x1000 (unreliable)
> [264785.802961] [e6419e90] [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
> [264785.803875] [e6419eb0] [c021d540] dev_attr_show+0x30/0x7c
> [264785.804985] [e6419ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264785.806054] [e6419ef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264785.807187] [e6419f10] [c00983d4] sys_read+0x4c/0xa4
> [264785.808249] [e6419f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264785.809290] --- Exception: c01 at 0xff50fb0
> [264785.809293]     LR = 0x100031f0
> [264785.811240] Instruction dump:
> [264785.812156] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
> [264785.813567] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
> [264785.814966] ---[ end trace cecbd2fe1c8fe256 ]---
> [264785.835554] Unable to handle kernel paging request for data at address 0x0000000e
> [264785.836153] Faulting instruction address: 0xf6612b88
> [264785.836695] Oops: Kernel access of bad area, sig: 11 [#3]
> [264785.837229] PowerMac
> [264785.837750] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264785.840442] NIP: f6612b88 LR: c021d540 CTR: f6612b68
> [264785.841164] REGS: e6419df0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264785.841732] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
> [264785.842595] DAR: 0000000e, DSISR: 40000000
> [264785.843437] TASK = ee904000[29126] 'cat' THREAD: e6418000
> [264785.843743] GPR00: c021d540 e6419ea0 ee904000 c5cd2000 f6613280 c5cd2000 c0df3a60 c0df3a60 
> [264785.845338] GPR08: efbc9844 f6610000 00000000 00000000 28000242 1001cb7c 100042bc bf8832f4 
> [264785.846534] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bf8831d8 c03e2678 
> [264785.848204] GPR24: 107c1000 00001000 efb8bf18 ee3cee18 e6419f20 efbc9840 f6613560 fffffffb 
> [264785.850328] NIP [f6612b88] show_sensor1_limit+0x20/0x38 [therm_adt746x]
> [264785.851289] LR [c021d540] dev_attr_show+0x30/0x7c
> [264785.852137] Call Trace:
> [264785.852688] [e6419ea0] [efbc9840] 0xefbc9840 (unreliable)
> [264785.853655] [e6419eb0] [c021d540] dev_attr_show+0x30/0x7c
> [264785.854570] [e6419ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264785.855682] [e6419ef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264785.856787] [e6419f10] [c00983d4] sys_read+0x4c/0xa4
> [264785.857950] [e6419f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264785.859020] --- Exception: c01 at 0xff50fb0
> [264785.859023]     LR = 0x100031f0
> [264785.861063] Instruction dump:
> [264785.861984] 80010014 38210010 7c0803a6 4e800020 9421fff0 7c0802a6 3d20f661 7ca32b78 
> [264785.863367] 3c80f661 38843280 90010014 816937d4 <88ab000e> 480002fd 80010014 38210010 
> [264785.864865] ---[ end trace cecbd2fe1c8fe257 ]---
> [264785.883885] Unable to handle kernel paging request for data at address 0x00000000
> [264785.884488] Faulting instruction address: 0xf661207c
> [264785.885033] Oops: Kernel access of bad area, sig: 11 [#4]
> [264785.885575] PowerMac
> [264785.886100] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264785.888790] NIP: f661207c LR: f6612bc4 CTR: f6612ba0
> [264785.889559] REGS: e6419dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264785.890124] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
> [264785.890966] DAR: 00000000, DSISR: 40000000
> [264785.891812] TASK = ee904000[29130] 'cat' THREAD: e6418000
> [264785.892058] GPR00: f6612bc4 e6419e70 ee904000 00000000 00000027 00000001 c1306cc0 c1306cc0 
> [264785.893717] GPR08: efbc9814 e6419e78 00000000 00000000 28000242 1001cb7c 100042bc bf8832f4 
> [264785.894901] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bf8831d8 c03e2678 
> [264785.896524] GPR24: 100be000 00001000 efb8bf18 ee3cee18 e6419f20 ee665000 f661354c 00000000 
> [264785.898697] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
> [264785.899636] LR [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
> [264785.900534] Call Trace:
> [264785.901094] [e6419e70] [00001000] 0x1000 (unreliable)
> [264785.902034] [e6419e90] [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
> [264785.902975] [e6419eb0] [c021d540] dev_attr_show+0x30/0x7c
> [264785.904109] [e6419ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264785.905228] [e6419ef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264785.906369] [e6419f10] [c00983d4] sys_read+0x4c/0xa4
> [264785.907432] [e6419f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264785.908483] --- Exception: c01 at 0xff50fb0
> [264785.908486]     LR = 0x100031f0
> [264785.910549] Instruction dump:
> [264785.911494] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
> [264785.912856] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
> [264785.914313] ---[ end trace cecbd2fe1c8fe258 ]---
> [264785.928529] Unable to handle kernel paging request for data at address 0x0000000f
> [264785.929128] Faulting instruction address: 0xf6612b50
> [264785.929676] Oops: Kernel access of bad area, sig: 11 [#5]
> [264785.930217] PowerMac
> [264785.930742] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264785.933452] NIP: f6612b50 LR: c021d540 CTR: f6612b30
> [264785.934256] REGS: e6419df0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264785.934831] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
> [264785.935696] DAR: 0000000f, DSISR: 40000000
> [264785.936602] TASK = ee904000[29132] 'cat' THREAD: e6418000
> [264785.936849] GPR00: c021d540 e6419ea0 ee904000 e6483000 f6613280 e6483000 c1203080 c1203080 
> [264785.938462] GPR08: efbc9874 f6610000 00000000 00000000 28000242 1001cb7c 100042bc bf8832f4 
> [264785.939672] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bf8831d8 c03e2678 
> [264785.941326] GPR24: 10160000 00001000 efb8bf18 ee3cee18 e6419f20 efbc9870 f6613574 fffffffb 
> [264785.943491] NIP [f6612b50] show_sensor2_limit+0x20/0x38 [therm_adt746x]
> [264785.944462] LR [c021d540] dev_attr_show+0x30/0x7c
> [264785.945308] Call Trace:
> [264785.945859] [e6419ea0] [efbc9870] 0xefbc9870 (unreliable)
> [264785.946830] [e6419eb0] [c021d540] dev_attr_show+0x30/0x7c
> [264785.947735] [e6419ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264785.948858] [e6419ef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264785.949984] [e6419f10] [c00983d4] sys_read+0x4c/0xa4
> [264785.951153] [e6419f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264785.952223] --- Exception: c01 at 0xff50fb0
> [264785.952226]     LR = 0x100031f0
> [264785.954270] Instruction dump:
> [264785.955215] 80010014 38210010 7c0803a6 4e800020 9421fff0 7c0802a6 3d20f661 7ca32b78 
> [264785.956589] 3c80f661 38843280 90010014 816937d4 <88ab000f> 48000335 80010014 38210010 
> [264785.958432] ---[ end trace cecbd2fe1c8fe259 ]---
> [264786.652217] Unable to handle kernel paging request for data at address 0x00000000
> [264786.652825] Faulting instruction address: 0xf661207c
> [264786.653372] Oops: Kernel access of bad area, sig: 11 [#6]
> [264786.653914] PowerMac
> [264786.654441] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264786.657133] NIP: f661207c LR: f6612c10 CTR: f6612bec
> [264786.657932] REGS: efbcfdc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264786.658498] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
> [264786.659357] DAR: 00000000, DSISR: 40000000
> [264786.660220] TASK = ee95b580[29137] 'cat' THREAD: efbce000
> [264786.660471] GPR00: f6612c10 efbcfe70 ee95b580 00000000 00000025 00000001 c1205780 c1205780 
> [264786.662108] GPR08: efbc97e4 efbcfe78 00000001 00000001 28000242 1001cb7c 100042bc bfd5f024 
> [264786.663301] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bfd5ef08 c03e2678 
> [264786.664941] GPR24: 103f5000 00001000 efb8bf18 ee3cee18 efbcff20 e65bb000 f6613538 00000000 
> [264786.667099] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
> [264786.668046] LR [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
> [264786.668942] Call Trace:
> [264786.669494] [efbcfe70] [00001000] 0x1000 (unreliable)
> [264786.670446] [efbcfe90] [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
> [264786.671389] [efbcfeb0] [c021d540] dev_attr_show+0x30/0x7c
> [264786.672524] [efbcfec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264786.673642] [efbcfef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264786.674782] [efbcff10] [c00983d4] sys_read+0x4c/0xa4
> [264786.675868] [efbcff40] [c0012c44] ret_from_syscall+0x0/0x38
> [264786.676923] --- Exception: c01 at 0xff50fb0
> [264786.676926]     LR = 0x100031f0
> [264786.678974] Instruction dump:
> [264786.679888] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
> [264786.681270] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
> [264786.682682] ---[ end trace cecbd2fe1c8fe25a ]---
> [264786.702044] Unable to handle kernel paging request for data at address 0x00000010
> [264786.702686] Faulting instruction address: 0xf6612a28
> [264786.703233] Oops: Kernel access of bad area, sig: 11 [#7]
> [264786.703772] PowerMac
> [264786.704297] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264786.706989] NIP: f6612a28 LR: c021d540 CTR: f6612a08
> [264786.707736] REGS: e6451de0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264786.708304] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000428  XER: 00000000
> [264786.709155] DAR: 00000010, DSISR: 40000000
> [264786.710026] TASK = e641e820[29141] 'sed' THREAD: e6450000
> [264786.710276] GPR00: c021d540 e6451e90 e641e820 efb8bf10 00000028 e67bc000 c12097a0 c12097a0 
> [264786.711916] GPR08: efbc9964 f6610000 00000001 00000000 28000422 1002357c 1000ad18 1001b664 
> [264786.713113] GPR16: 1001b6a0 10020000 bf9baeb8 10020000 10328850 10020000 10020000 c03e2678 
> [264786.714723] GPR24: 48020000 00001000 efb8bf18 ee3cee18 e6451f20 e67bc000 f66135d8 fffffffb 
> [264786.716890] NIP [f6612a28] show_sensor1_fan_speed+0x20/0x58 [therm_adt746x]
> [264786.717849] LR [c021d540] dev_attr_show+0x30/0x7c
> [264786.718689] Call Trace:
> [264786.719239] [e6451e90] [00001000] 0x1000 (unreliable)
> [264786.720205] [e6451eb0] [c021d540] dev_attr_show+0x30/0x7c
> [264786.721103] [e6451ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264786.722215] [e6451ef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264786.723335] [e6451f10] [c00983d4] sys_read+0x4c/0xa4
> [264786.724495] [e6451f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264786.725561] --- Exception: c01 at 0xff50fb0
> [264786.725564]     LR = 0xfef52a0
> [264786.727613] Instruction dump:
> [264786.728545] bb810010 38210020 7c0803a6 4e800020 9421ffe0 7c0802a6 3d20f661 38800028 
> [264786.729920] 90010024 bf810010 7cbd2b78 816937d4 <838b0010> 7d635b78 4bfff9b9 3c80f661 
> [264786.731357] ---[ end trace cecbd2fe1c8fe25b ]---
> [264786.742044] Unable to handle kernel paging request for data at address 0x00000000
> [264786.742676] Faulting instruction address: 0xf661207c
> [264786.743221] Oops: Kernel access of bad area, sig: 11 [#8]
> [264786.743761] PowerMac
> [264786.744282] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264786.746956] NIP: f661207c LR: f6612bc4 CTR: f6612ba0
> [264786.747663] REGS: e6419dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264786.748226] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
> [264786.749085] DAR: 00000000, DSISR: 40000000
> [264786.749893] TASK = e641dac0[29142] 'cat' THREAD: e6418000
> [264786.750121] GPR00: f6612bc4 e6419e70 e641dac0 00000000 00000027 00000001 c12097a0 c12097a0 
> [264786.751797] GPR08: efbc9814 e6419e78 00000001 00000001 28000242 1001cb7c 100042bc bfd5f024 
> [264786.752975] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bfd5ef08 c03e2678 
> [264786.754573] GPR24: 102b4000 00001000 efb8bf18 ee3cea58 e6419f20 e67bc000 f661354c 00000000 
> [264786.756750] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
> [264786.757679] LR [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
> [264786.758595] Call Trace:
> [264786.759163] [e6419e70] [00001000] 0x1000 (unreliable)
> [264786.760099] [e6419e90] [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
> [264786.761028] [e6419eb0] [c021d540] dev_attr_show+0x30/0x7c
> [264786.762139] [e6419ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264786.763249] [e6419ef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264786.764401] [e6419f10] [c00983d4] sys_read+0x4c/0xa4
> [264786.765474] [e6419f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264786.766505] --- Exception: c01 at 0xff50fb0
> [264786.766508]     LR = 0x100031f0
> [264786.768540] Instruction dump:
> [264786.769465] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
> [264786.770843] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
> [264786.772293] ---[ end trace cecbd2fe1c8fe25c ]---
> [264791.652295] Unable to handle kernel paging request for data at address 0x00000000
> [264791.652896] Faulting instruction address: 0xf661207c
> [264791.653440] Oops: Kernel access of bad area, sig: 11 [#9]
> [264791.653982] PowerMac
> [264791.654509] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264791.657200] NIP: f661207c LR: f6612c10 CTR: f6612bec
> [264791.657980] REGS: ee667dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264791.658546] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
> [264791.659403] DAR: 00000000, DSISR: 40000000
> [264791.660262] TASK = e641c6b0[29147] 'cat' THREAD: ee666000
> [264791.660505] GPR00: f6612c10 ee667e70 e641c6b0 00000000 00000025 00000001 c1203080 c1203080 
> [264791.662155] GPR08: efbc97e4 ee667e78 00000002 00000002 28000242 1001cb7c 100042bc bfcd53a4 
> [264791.663348] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bfcd5288 c03e2678 
> [264791.664981] GPR24: 10049000 00001000 efb8bf18 ca3faf98 ee667f20 e6483000 f6613538 00000000 
> [264791.667155] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
> [264791.668110] LR [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
> [264791.669000] Call Trace:
> [264791.669558] [ee667e70] [00001000] 0x1000 (unreliable)
> [264791.670510] [ee667e90] [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
> [264791.671449] [ee667eb0] [c021d540] dev_attr_show+0x30/0x7c
> [264791.672590] [ee667ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264791.673726] [ee667ef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264791.674857] [ee667f10] [c00983d4] sys_read+0x4c/0xa4
> [264791.675950] [ee667f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264791.677011] --- Exception: c01 at 0xff50fb0
> [264791.677014]     LR = 0x100031f0
> [264791.679078] Instruction dump:
> [264791.680036] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
> [264791.681388] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
> [264791.682988] ---[ end trace cecbd2fe1c8fe25d ]---
> [264791.702291] Unable to handle kernel paging request for data at address 0x00000010
> [264791.702902] Faulting instruction address: 0xf6612a28
> [264791.703454] Oops: Kernel access of bad area, sig: 11 [#10]
> [264791.703998] PowerMac
> [264791.704527] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264791.707235] NIP: f6612a28 LR: c021d540 CTR: f6612a08
> [264791.708071] REGS: e6419de0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264791.708643] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000428  XER: 00000000
> [264791.709502] DAR: 00000010, DSISR: 40000000
> [264791.710424] TASK = ee6edac0[29151] 'sed' THREAD: e6418000
> [264791.710672] GPR00: c021d540 e6419e90 ee6edac0 efb8bf10 00000028 e655b000 c1204b80 c1204b80 
> [264791.712284] GPR08: efbc9964 f6610000 00000002 00000000 28000422 1002357c 1000ad18 1001b664 
> [264791.713489] GPR16: 1001b6a0 10020000 bfa88488 10020000 101f1850 10020000 10020000 c03e2678 
> [264791.715163] GPR24: 48020000 00001000 efb8bf18 ca3faf98 e6419f20 e655b000 f66135d8 fffffffb 
> [264791.717318] NIP [f6612a28] show_sensor1_fan_speed+0x20/0x58 [therm_adt746x]
> [264791.718302] LR [c021d540] dev_attr_show+0x30/0x7c
> [264791.719169] Call Trace:
> [264791.719725] [e6419e90] [00001000] 0x1000 (unreliable)
> [264791.720669] [e6419eb0] [c021d540] dev_attr_show+0x30/0x7c
> [264791.721590] [e6419ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264791.722710] [e6419ef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264791.723847] [e6419f10] [c00983d4] sys_read+0x4c/0xa4
> [264791.725017] [e6419f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264791.726095] --- Exception: c01 at 0xff50fb0
> [264791.726098]     LR = 0xfef52a0
> [264791.728154] Instruction dump:
> [264791.729121] bb810010 38210020 7c0803a6 4e800020 9421ffe0 7c0802a6 3d20f661 38800028 
> [264791.730479] 90010024 bf810010 7cbd2b78 816937d4 <838b0010> 7d635b78 4bfff9b9 3c80f661 
> [264791.731935] ---[ end trace cecbd2fe1c8fe25e ]---
> [264791.742748] Unable to handle kernel paging request for data at address 0x00000000
> [264791.743343] Faulting instruction address: 0xf661207c
> [264791.743889] Oops: Kernel access of bad area, sig: 11 [#11]
> [264791.744432] PowerMac
> [264791.744956] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264791.747646] NIP: f661207c LR: f6612bc4 CTR: f6612ba0
> [264791.748433] REGS: ef0a5dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264791.748998] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
> [264791.749854] DAR: 00000000, DSISR: 40000000
> [264791.750734] TASK = ee6ee170[29152] 'cat' THREAD: ef0a4000
> [264791.750975] GPR00: f6612bc4 ef0a5e70 ee6ee170 00000000 00000027 00000001 c1203080 c1203080 
> [264791.752595] GPR08: efbc9814 ef0a5e78 00000002 00000002 28000242 1001cb7c 100042bc bfcd53a4 
> [264791.753756] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bfcd5288 c03e2678 
> [264791.755378] GPR24: 101ed000 00001000 efb8bf18 ca3fa158 ef0a5f20 e6483000 f661354c 00000000 
> [264791.757556] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
> [264791.758491] LR [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
> [264791.759389] Call Trace:
> [264791.759938] [ef0a5e70] [00001000] 0x1000 (unreliable)
> [264791.760892] [ef0a5e90] [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
> [264791.761846] [ef0a5eb0] [c021d540] dev_attr_show+0x30/0x7c
> [264791.762980] [ef0a5ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264791.764102] [ef0a5ef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264791.765239] [ef0a5f10] [c00983d4] sys_read+0x4c/0xa4
> [264791.766315] [ef0a5f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264791.767339] --- Exception: c01 at 0xff50fb0
> [264791.767342]     LR = 0x100031f0
> [264791.769382] Instruction dump:
> [264791.770286] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
> [264791.771664] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
> [264791.773071] ---[ end trace cecbd2fe1c8fe25f ]---
> [264796.652268] Unable to handle kernel paging request for data at address 0x00000000
> [264796.652871] Faulting instruction address: 0xf661207c
> [264796.653418] Oops: Kernel access of bad area, sig: 11 [#12]
> [264796.653958] PowerMac
> [264796.654486] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264796.657186] NIP: f661207c LR: f6612c10 CTR: f6612bec
> [264796.657943] REGS: ee667dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264796.658510] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
> [264796.659371] DAR: 00000000, DSISR: 40000000
> [264796.660225] TASK = eea246b0[29158] 'cat' THREAD: ee666000
> [264796.660470] GPR00: f6612c10 ee667e70 eea246b0 00000000 00000025 00000001 c0df4300 c0df4300 
> [264796.662124] GPR08: efbc97e4 ee667e78 00000003 00000003 28000242 1001cb7c 100042bc bf8d7434 
> [264796.663311] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bf8d7318 c03e2678 
> [264796.664911] GPR24: 101fc000 00001000 efb8bf18 e1eb5f98 ee667f20 c5d17000 f6613538 00000000 
> [264796.667097] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
> [264796.668027] LR [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
> [264796.668904] Call Trace:
> [264796.669455] [ee667e70] [00001000] 0x1000 (unreliable)
> [264796.670404] [ee667e90] [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
> [264796.671339] [ee667eb0] [c021d540] dev_attr_show+0x30/0x7c
> [264796.672463] [ee667ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264796.673538] [ee667ef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264796.674686] [ee667f10] [c00983d4] sys_read+0x4c/0xa4
> [264796.675755] [ee667f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264796.676792] --- Exception: c01 at 0xff50fb0
> [264796.676795]     LR = 0x100031f0
> [264796.678830] Instruction dump:
> [264796.679725] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
> [264796.681119] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
> [264796.682641] ---[ end trace cecbd2fe1c8fe260 ]---
> [264796.702183] Unable to handle kernel paging request for data at address 0x00000010
> [264796.702828] Faulting instruction address: 0xf6612a28
> [264796.703376] Oops: Kernel access of bad area, sig: 11 [#13]
> [264796.703915] PowerMac
> [264796.704437] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264796.707118] NIP: f6612a28 LR: c021d540 CTR: f6612a08
> [264796.707836] REGS: e6451de0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264796.708402] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000428  XER: 00000000
> [264796.709259] DAR: 00000010, DSISR: 40000000
> [264796.710086] TASK = c0986ed0[29162] 'sed' THREAD: e6450000
> [264796.710338] GPR00: c021d540 e6451e90 c0986ed0 efb8bf10 00000028 ef06a000 c131ad60 c131ad60 
> [264796.712003] GPR08: efbc9964 f6610000 00000003 00000000 28000422 1002357c 1000ad18 1001b664 
> [264796.713189] GPR16: 1001b6a0 10020000 bf9e44e8 10020000 107d0850 10020000 10020000 c03e2678 
> [264796.714772] GPR24: 48020000 00001000 efb8bf18 e1eb5f98 e6451f20 ef06a000 f66135d8 fffffffb 
> [264796.716960] NIP [f6612a28] show_sensor1_fan_speed+0x20/0x58 [therm_adt746x]
> [264796.717915] LR [c021d540] dev_attr_show+0x30/0x7c
> [264796.718759] Call Trace:
> [264796.719312] [e6451e90] [00001000] 0x1000 (unreliable)
> [264796.720282] [e6451eb0] [c021d540] dev_attr_show+0x30/0x7c
> [264796.721193] [e6451ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264796.722305] [e6451ef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264796.723426] [e6451f10] [c00983d4] sys_read+0x4c/0xa4
> [264796.724575] [e6451f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264796.725647] --- Exception: c01 at 0xff50fb0
> [264796.725650]     LR = 0xfef52a0
> [264796.727701] Instruction dump:
> [264796.728643] bb810010 38210020 7c0803a6 4e800020 9421ffe0 7c0802a6 3d20f661 38800028 
> [264796.730011] 90010024 bf810010 7cbd2b78 816937d4 <838b0010> 7d635b78 4bfff9b9 3c80f661 
> [264796.731451] ---[ end trace cecbd2fe1c8fe261 ]---
> [264796.742134] Unable to handle kernel paging request for data at address 0x00000000
> [264796.742768] Faulting instruction address: 0xf661207c
> [264796.743313] Oops: Kernel access of bad area, sig: 11 [#14]
> [264796.743854] PowerMac
> [264796.744378] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264796.747061] NIP: f661207c LR: f6612bc4 CTR: f6612ba0
> [264796.747807] REGS: e6419dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264796.748371] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
> [264796.749224] DAR: 00000000, DSISR: 40000000
> [264796.750080] TASK = c0987580[29163] 'cat' THREAD: e6418000
> [264796.750326] GPR00: f6612bc4 e6419e70 c0987580 00000000 00000027 00000001 c131ad60 c131ad60 
> [264796.751957] GPR08: efbc9814 e6419e78 00000003 00000003 28000242 1001cb7c 100042bc bf8d7434 
> [264796.753145] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bf8d7318 c03e2678 
> [264796.754762] GPR24: 10583000 00001000 efb8bf18 e1eb5298 e6419f20 ef06a000 f661354c 00000000 
> [264796.756944] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
> [264796.757870] LR [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
> [264796.758763] Call Trace:
> [264796.759312] [e6419e70] [00001000] 0x1000 (unreliable)
> [264796.760263] [e6419e90] [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
> [264796.761197] [e6419eb0] [c021d540] dev_attr_show+0x30/0x7c
> [264796.762327] [e6419ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264796.763434] [e6419ef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264796.764588] [e6419f10] [c00983d4] sys_read+0x4c/0xa4
> [264796.765652] [e6419f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264796.766704] --- Exception: c01 at 0xff50fb0
> [264796.766707]     LR = 0x100031f0
> [264796.768725] Instruction dump:
> [264796.769624] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
> [264796.771015] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
> [264796.772468] ---[ end trace cecbd2fe1c8fe262 ]---
> [264801.652809] Unable to handle kernel paging request for data at address 0x00000000
> [264801.653407] Faulting instruction address: 0xf661207c
> [264801.653947] Oops: Kernel access of bad area, sig: 11 [#15]
> [264801.654485] PowerMac
> [264801.655007] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264801.657691] NIP: f661207c LR: f6612c10 CTR: f6612bec
> [264801.658447] REGS: ee667dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264801.659011] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
> [264801.659859] DAR: 00000000, DSISR: 40000000
> [264801.660669] TASK = efb95ac0[29169] 'cat' THREAD: ee666000
> [264801.660914] GPR00: f6612c10 ee667e70 efb95ac0 00000000 00000025 00000001 c1205080 c1205080 
> [264801.662577] GPR08: efbc97e4 ee667e78 00000004 00000004 28000242 1001cb7c 100042bc bfd1ef94 
> [264801.663763] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bfd1ee78 c03e2678 
> [264801.665349] GPR24: 104d3000 00001000 efb8bf18 ca3fadd8 ee667f20 e6583000 f6613538 00000000 
> [264801.667546] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
> [264801.668470] LR [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
> [264801.669343] Call Trace:
> [264801.669892] [ee667e70] [00001000] 0x1000 (unreliable)
> [264801.670845] [ee667e90] [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
> [264801.671775] [ee667eb0] [c021d540] dev_attr_show+0x30/0x7c
> [264801.672908] [ee667ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264801.673991] [ee667ef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264801.675146] [ee667f10] [c00983d4] sys_read+0x4c/0xa4
> [264801.676226] [ee667f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264801.677257] --- Exception: c01 at 0xff50fb0
> [264801.677260]     LR = 0x100031f0
> [264801.679294] Instruction dump:
> [264801.680207] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
> [264801.681593] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
> [264801.683107] ---[ end trace cecbd2fe1c8fe263 ]---
> [264801.704383] Unable to handle kernel paging request for data at address 0x00000010
> [264801.704991] Faulting instruction address: 0xf6612a28
> [264801.705542] Oops: Kernel access of bad area, sig: 11 [#16]
> [264801.706083] PowerMac
> [264801.706610] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264801.709309] NIP: f6612a28 LR: c021d540 CTR: f6612a08
> [264801.710128] REGS: efbcfde0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264801.710698] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000428  XER: 00000000
> [264801.711539] DAR: 00000010, DSISR: 40000000
> [264801.712429] TASK = efb96ed0[29173] 'sed' THREAD: efbce000
> [264801.712677] GPR00: c021d540 efbcfe90 efb96ed0 efb8bf10 00000028 c5cd2000 c0df3a60 c0df3a60 
> [264801.714308] GPR08: efbc9964 f6610000 00000004 00000000 28000422 1002357c 1000ad18 1001b664 
> [264801.715509] GPR16: 1001b6a0 10020000 bfb5b458 10020000 10703850 10020000 10020000 c03e2678 
> [264801.717131] GPR24: 48020000 00001000 efb8bf18 ca3fadd8 efbcff20 c5cd2000 f66135d8 fffffffb 
> [264801.719315] NIP [f6612a28] show_sensor1_fan_speed+0x20/0x58 [therm_adt746x]
> [264801.720284] LR [c021d540] dev_attr_show+0x30/0x7c
> [264801.721129] Call Trace:
> [264801.721677] [efbcfe90] [00001000] 0x1000 (unreliable)
> [264801.722633] [efbcfeb0] [c021d540] dev_attr_show+0x30/0x7c
> [264801.723542] [efbcfec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264801.724640] [efbcfef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264801.725758] [efbcff10] [c00983d4] sys_read+0x4c/0xa4
> [264801.726910] [efbcff40] [c0012c44] ret_from_syscall+0x0/0x38
> [264801.727963] --- Exception: c01 at 0xff50fb0
> [264801.727966]     LR = 0xfef52a0
> [264801.730007] Instruction dump:
> [264801.730947] bb810010 38210020 7c0803a6 4e800020 9421ffe0 7c0802a6 3d20f661 38800028 
> [264801.732315] 90010024 bf810010 7cbd2b78 816937d4 <838b0010> 7d635b78 4bfff9b9 3c80f661 
> [264801.734013] ---[ end trace cecbd2fe1c8fe264 ]---
> [264801.744682] Unable to handle kernel paging request for data at address 0x00000000
> [264801.745283] Faulting instruction address: 0xf661207c
> [264801.745829] Oops: Kernel access of bad area, sig: 11 [#17]
> [264801.746372] PowerMac
> [264801.746897] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264801.749588] NIP: f661207c LR: f6612bc4 CTR: f6612ba0
> [264801.750385] REGS: e6451dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264801.750951] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
> [264801.751810] DAR: 00000000, DSISR: 40000000
> [264801.752664] TASK = efb96170[29174] 'cat' THREAD: e6450000
> [264801.752910] GPR00: f6612bc4 e6451e70 efb96170 00000000 00000027 00000001 c0df3a60 c0df3a60 
> [264801.754558] GPR08: efbc9814 e6451e78 00000004 00000004 28000242 1001cb7c 100042bc bfd1ef94 
> [264801.755743] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bfd1ee78 c03e2678 
> [264801.757396] GPR24: 10534000 00001000 efb8bf18 ca3fa598 e6451f20 c5cd2000 f661354c 00000000 
> [264801.759555] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
> [264801.760499] LR [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
> [264801.761395] Call Trace:
> [264801.762032] [e6451e70] [00001000] 0x1000 (unreliable)
> [264801.762934] [e6451e90] [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
> [264801.763879] [e6451eb0] [c021d540] dev_attr_show+0x30/0x7c
> [264801.765017] [e6451ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264801.766117] [e6451ef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264801.767256] [e6451f10] [c00983d4] sys_read+0x4c/0xa4
> [264801.768340] [e6451f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264801.769402] --- Exception: c01 at 0xff50fb0
> [264801.769405]     LR = 0x100031f0
> [264801.771465] Instruction dump:
> [264801.772436] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
> [264801.773783] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
> [264801.775354] ---[ end trace cecbd2fe1c8fe265 ]---
> [264806.652424] Unable to handle kernel paging request for data at address 0x00000000
> [264806.653030] Faulting instruction address: 0xf661207c
> [264806.653580] Oops: Kernel access of bad area, sig: 11 [#18]
> [264806.654125] PowerMac
> [264806.654657] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264806.657366] NIP: f661207c LR: f6612c10 CTR: f6612bec
> [264806.658193] REGS: e6451dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264806.658763] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
> [264806.659625] DAR: 00000000, DSISR: 40000000
> [264806.660546] TASK = efb95ac0[29178] 'cat' THREAD: e6450000
> [264806.660795] GPR00: f6612c10 e6451e70 efb95ac0 00000000 00000025 00000001 c12025e0 c12025e0 
> [264806.662407] GPR08: efbc97e4 e6451e78 00000005 00000005 28000242 1001cb7c 100042bc bff0cec4 
> [264806.663613] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bff0cda8 c03e2678 
> [264806.665248] GPR24: 10475000 00001000 efb8bf18 ca3fa598 e6451f20 e642e000 f6613538 00000000 
> [264806.667423] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
> [264806.668382] LR [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
> [264806.669274] Call Trace:
> [264806.669851] [e6451e70] [00001000] 0x1000 (unreliable)
> [264806.670795] [e6451e90] [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
> [264806.671746] [e6451eb0] [c021d540] dev_attr_show+0x30/0x7c
> [264806.672894] [e6451ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264806.674028] [e6451ef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264806.675162] [e6451f10] [c00983d4] sys_read+0x4c/0xa4
> [264806.676247] [e6451f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264806.677300] --- Exception: c01 at 0xff50fb0
> [264806.677303]     LR = 0x100031f0
> [264806.679366] Instruction dump:
> [264806.680301] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
> [264806.681658] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
> [264806.683113] ---[ end trace cecbd2fe1c8fe266 ]---
> [264806.704242] Unable to handle kernel paging request for data at address 0x00000010
> [264806.704850] Faulting instruction address: 0xf6612a28
> [264806.705399] Oops: Kernel access of bad area, sig: 11 [#19]
> [264806.705939] PowerMac
> [264806.706464] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264806.709160] NIP: f6612a28 LR: c021d540 CTR: f6612a08
> [264806.709982] REGS: ee667de0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264806.710551] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000428  XER: 00000000
> [264806.711406] DAR: 00000010, DSISR: 40000000
> [264806.712317] TASK = ee904000[29182] 'sed' THREAD: ee666000
> [264806.712559] GPR00: c021d540 ee667e90 ee904000 efb8bf10 00000028 c7cd7000 c0e33b00 c0e33b00 
> [264806.714156] GPR08: efbc9964 f6610000 00000005 00000000 28000422 1002357c 1000ad18 1001b664 
> [264806.715338] GPR16: 1001b6a0 10020000 bfa28c08 10020000 1025e850 10020000 10020000 c03e2678 
> [264806.716970] GPR24: 48020000 00001000 efb8bf18 ca3fa598 ee667f20 c7cd7000 f66135d8 fffffffb 
> [264806.719154] NIP [f6612a28] show_sensor1_fan_speed+0x20/0x58 [therm_adt746x]
> [264806.720135] LR [c021d540] dev_attr_show+0x30/0x7c
> [264806.721000] Call Trace:
> [264806.721571] [ee667e90] [00001000] 0x1000 (unreliable)
> [264806.722530] [ee667eb0] [c021d540] dev_attr_show+0x30/0x7c
> [264806.723448] [ee667ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264806.724569] [ee667ef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264806.725701] [ee667f10] [c00983d4] sys_read+0x4c/0xa4
> [264806.726874] [ee667f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264806.727947] --- Exception: c01 at 0xff50fb0
> [264806.727950]     LR = 0xfef52a0
> [264806.730002] Instruction dump:
> [264806.730965] bb810010 38210020 7c0803a6 4e800020 9421ffe0 7c0802a6 3d20f661 38800028 
> [264806.732298] 90010024 bf810010 7cbd2b78 816937d4 <838b0010> 7d635b78 4bfff9b9 3c80f661 
> [264806.733926] ---[ end trace cecbd2fe1c8fe267 ]---
> [264806.744476] Unable to handle kernel paging request for data at address 0x00000000
> [264806.745072] Faulting instruction address: 0xf661207c
> [264806.745617] Oops: Kernel access of bad area, sig: 11 [#20]
> [264806.746159] PowerMac
> [264806.746685] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264806.749367] NIP: f661207c LR: f6612bc4 CTR: f6612ba0
> [264806.750127] REGS: efbcfdc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264806.750692] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
> [264806.751549] DAR: 00000000, DSISR: 40000000
> [264806.752384] TASK = ee907580[29183] 'cat' THREAD: efbce000
> [264806.752621] GPR00: f6612bc4 efbcfe70 ee907580 00000000 00000027 00000001 c0e33b00 c0e33b00 
> [264806.754283] GPR08: efbc9814 efbcfe78 00000005 00000005 28000242 1001cb7c 100042bc bff0cec4 
> [264806.755469] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bff0cda8 c03e2678 
> [264806.757085] GPR24: 10312000 00001000 efb8bf18 ca3faf98 efbcff20 c7cd7000 f661354c 00000000 
> [264806.759265] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
> [264806.760193] LR [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
> [264806.761081] Call Trace:
> [264806.761628] [efbcfe70] [00001000] 0x1000 (unreliable)
> [264806.762574] [efbcfe90] [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
> [264806.763508] [efbcfeb0] [c021d540] dev_attr_show+0x30/0x7c
> [264806.764660] [efbcfec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264806.765757] [efbcfef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264806.766890] [efbcff10] [c00983d4] sys_read+0x4c/0xa4
> [264806.767963] [efbcff40] [c0012c44] ret_from_syscall+0x0/0x38
> [264806.768983] --- Exception: c01 at 0xff50fb0
> [264806.768986]     LR = 0x100031f0
> [264806.771009] Instruction dump:
> [264806.771892] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
> [264806.773284] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
> [264806.774677] ---[ end trace cecbd2fe1c8fe268 ]---
> [264811.652253] Unable to handle kernel paging request for data at address 0x00000000
> [264811.652848] Faulting instruction address: 0xf661207c
> [264811.653387] Oops: Kernel access of bad area, sig: 11 [#21]
> [264811.653923] PowerMac
> [264811.654442] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264811.657115] NIP: f661207c LR: f6612c10 CTR: f6612bec
> [264811.657825] REGS: efbcfdc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264811.658385] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
> [264811.659245] DAR: 00000000, DSISR: 40000000
> [264811.660052] TASK = ee95b580[29187] 'cat' THREAD: efbce000
> [264811.660276] GPR00: f6612c10 efbcfe70 ee95b580 00000000 00000025 00000001 c1204180 c1204180 
> [264811.661963] GPR08: efbc97e4 efbcfe78 00000006 00000006 28000242 1001cb7c 100042bc bff45a84 
> [264811.663139] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bff45968 c03e2678 
> [264811.664673] GPR24: 1003b000 00001000 efb8bf18 ca3fa998 efbcff20 e650b000 f6613538 00000000 
> [264811.666875] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
> [264811.667771] LR [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
> [264811.668616] Call Trace:
> [264811.669160] [efbcfe70] [00001000] 0x1000 (unreliable)
> [264811.670107] [efbcfe90] [f6612c10] show_sensor1_temperature+0x24/0x4c [therm_adt746x]
> [264811.671021] [efbcfeb0] [c021d540] dev_attr_show+0x30/0x7c
> [264811.672137] [efbcfec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264811.673212] [efbcfef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264811.674355] [efbcff10] [c00983d4] sys_read+0x4c/0xa4
> [264811.675409] [efbcff40] [c0012c44] ret_from_syscall+0x0/0x38
> [264811.676443] --- Exception: c01 at 0xff50fb0
> [264811.676446]     LR = 0x100031f0
> [264811.678415] Instruction dump:
> [264811.679320] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
> [264811.680726] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
> [264811.682211] ---[ end trace cecbd2fe1c8fe269 ]---
> [264811.702739] Unable to handle kernel paging request for data at address 0x00000010
> [264811.703345] Faulting instruction address: 0xf6612a28
> [264811.703893] Oops: Kernel access of bad area, sig: 11 [#22]
> [264811.704434] PowerMac
> [264811.704958] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264811.707650] NIP: f6612a28 LR: c021d540 CTR: f6612a08
> [264811.708454] REGS: ee667de0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264811.709021] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000428  XER: 00000000
> [264811.709880] DAR: 00000010, DSISR: 40000000
> [264811.710750] TASK = e641e820[29191] 'sed' THREAD: ee666000
> [264811.710992] GPR00: c021d540 ee667e90 e641e820 efb8bf10 00000028 ef06a000 c131ad60 c131ad60 
> [264811.712633] GPR08: efbc9964 f6610000 00000006 00000000 28000422 1002357c 1000ad18 1001b664 
> [264811.713823] GPR16: 1001b6a0 10020000 bfd4de38 10020000 10594850 10020000 10020000 c03e2678 
> [264811.715466] GPR24: 48020000 00001000 efb8bf18 ca3fa998 ee667f20 ef06a000 f66135d8 fffffffb 
> [264811.717633] NIP [f6612a28] show_sensor1_fan_speed+0x20/0x58 [therm_adt746x]
> [264811.718604] LR [c021d540] dev_attr_show+0x30/0x7c
> [264811.719447] Call Trace:
> [264811.720005] [ee667e90] [00001000] 0x1000 (unreliable)
> [264811.720965] [ee667eb0] [c021d540] dev_attr_show+0x30/0x7c
> [264811.721883] [ee667ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264811.722997] [ee667ef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264811.724128] [ee667f10] [c00983d4] sys_read+0x4c/0xa4
> [264811.725317] [ee667f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264811.726394] --- Exception: c01 at 0xff50fb0
> [264811.726397]     LR = 0xfef52a0
> [264811.728458] Instruction dump:
> [264811.729423] bb810010 38210020 7c0803a6 4e800020 9421ffe0 7c0802a6 3d20f661 38800028 
> [264811.730761] 90010024 bf810010 7cbd2b78 816937d4 <838b0010> 7d635b78 4bfff9b9 3c80f661 
> [264811.732255] ---[ end trace cecbd2fe1c8fe26a ]---
> [264811.743097] Unable to handle kernel paging request for data at address 0x00000000
> [264811.743696] Faulting instruction address: 0xf661207c
> [264811.744245] Oops: Kernel access of bad area, sig: 11 [#23]
> [264811.744789] PowerMac
> [264811.745316] Modules linked in: iptable_filter ip_tables x_tables nfsd lockd nfs_acl auth_rpcgss sunrpc sha256_generic krng chainiv crypto_wq rng aes_generic cbc dm_crypt dm_mod therm_adt746x loop sd_mod arc4 ecb cryptomgr crypto_hash aead pcompress crypto_blkcipher crypto_algapi b43 usb_storage mac80211 scsi_mod ams cfg80211 input_polldev crypto ide_cd_mod cdrom ehci_hcd ohci_hcd ssb [last unloaded: i2c_powermac]
> [264811.748012] NIP: f661207c LR: f6612bc4 CTR: f6612ba0
> [264811.748816] REGS: e6419dc0 TRAP: 0300   Tainted: G      D     (2.6.33-rc2)
> [264811.749386] MSR: 00009032 <EE,ME,IR,DR>  CR: 28000248  XER: 00000000
> [264811.750242] DAR: 00000000, DSISR: 40000000
> [264811.751140] TASK = e641dac0[29192] 'cat' THREAD: e6418000
> [264811.751382] GPR00: f6612bc4 e6419e70 e641dac0 00000000 00000027 00000001 c131ad60 c131ad60 
> [264811.752989] GPR08: efbc9814 e6419e78 00000006 00000006 28000242 1001cb7c 100042bc bff45a84 
> [264811.754189] GPR16: 00000002 00001000 00000001 10014b98 10014b50 1002b3dc bff45968 c03e2678 
> [264811.755884] GPR24: 10610000 00001000 efb8bf18 ca3fa7d8 e6419f20 ef06a000 f661354c 00000000 
> [264811.758028] NIP [f661207c] read_reg+0x20/0x78 [therm_adt746x]
> [264811.758985] LR [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
> [264811.759898] Call Trace:
> [264811.760493] [e6419e70] [00001000] 0x1000 (unreliable)
> [264811.761423] [e6419e90] [f6612bc4] show_sensor2_temperature+0x24/0x4c [therm_adt746x]
> [264811.762422] [e6419eb0] [c021d540] dev_attr_show+0x30/0x7c
> [264811.763553] [e6419ec0] [c00e94b8] sysfs_read_file+0xa8/0x144
> [264811.764766] [e6419ef0] [c00981c0] vfs_read+0xb4/0x1c0
> [264811.765845] [e6419f10] [c00983d4] sys_read+0x4c/0xa4
> [264811.766911] [e6419f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264811.767985] --- Exception: c01 at 0xff50fb0
> [264811.767988]     LR = 0x100031f0
> [264811.770059] Instruction dump:
> [264811.771081] 7d295850 7d29fe70 7d230038 4bffffd4 9421ffe0 7c0802a6 38a00001 7c290b78 
> [264811.772376] 93e1001c 7c7f1b78 90010024 9c890008 <80630000> 7d244b78 48000dd5 2c030000 
> [264811.773868] ---[ end trace cecbd2fe1c8fe26b ]---
> 
> 
> # modprobe i2c_powermac
> 
> [264814.736255] PowerMac i2c bus pmu 2 registered
> [264814.736876] PowerMac i2c bus pmu 1 registered
> [264814.737450] PowerMac i2c bus mac-io 0 registered
> [264814.758251] adt746x: ADT7467 initializing
> [264814.761040] adt746x: Lowering max temperatures from 73, 80, 109 to 67, 47, 67
> [264814.765442] PowerMac i2c bus uni-n 1 registered
> [264814.817834] sysfs: cannot create duplicate filename '/devices/ams'
> [264814.818481] ------------[ cut here ]------------
> [264814.819024] Badness at fs/sysfs/dir.c:477
> [264814.819559] NIP: c00ea3c0 LR: c00ea3c0 CTR: 00000000
> [264814.820101] REGS: ef0a5a50 TRAP: 0700   Tainted: G      D     (2.6.33-rc2)
> [264814.820656] MSR: 00029032 <EE,ME,CE,IR,DR>  CR: 42008444  XER: 00000000
> [264814.821285] TASK = e641dac0[29199] 'modprobe' THREAD: ef0a4000
> [264814.821326] GPR00: c00ea3c0 ef0a5b00 e641dac0 0000004d 00013b71 ffffffff ffffffff 00000000 
> [264814.821961] GPR08: efa70500 c03e0000 00000000 00013b71 44008428 10020390 100e0000 100df49c 
> [264814.822596] GPR16: 100b54c0 100df49c 100ddd20 10462de8 100b5340 c03e2664 c03e2638 c03e5f4c 
> [264814.823537] GPR24: 00000000 24008422 ffffffea ef0a5b58 ecb52000 ecb52000 ef029c90 ffffffef 
> [264814.825762] NIP [c00ea3c0] sysfs_add_one+0x94/0xc0
> [264814.826552] LR [c00ea3c0] sysfs_add_one+0x94/0xc0
> [264814.827283] Call Trace:
> [264814.827882] [ef0a5b00] [c00ea3c0] sysfs_add_one+0x94/0xc0 (unreliable)
> [264814.828771] [ef0a5b20] [c00eaad4] create_dir+0x58/0xd8
> [264814.829595] [ef0a5b50] [c00eab94] sysfs_create_dir+0x40/0x70
> [264814.830684] [ef0a5b70] [c01c8918] kobject_add_internal+0xc0/0x1fc
> [264814.831763] [ef0a5b90] [c01c8c8c] kobject_add+0x60/0x98
> [264814.832859] [ef0a5bc0] [c021e368] device_add+0x9c/0x5bc
> [264814.833837] [ef0a5c10] [c0267964] of_device_register+0x34/0x48
> [264814.834862] [ef0a5c30] [c000bfcc] of_platform_device_create+0x44/0x74
> [264814.835887] [ef0a5c40] [f20fc388] ams_sensor_attach+0xc8/0x134 [ams]
> [264814.836833] [ef0a5c60] [f20fcfc8] ams_i2c_probe+0x154/0x210 [ams]
> [264814.837816] [ef0a5c80] [c026043c] i2c_device_probe+0xe4/0x100
> [264814.838749] [ef0a5ca0] [c022108c] driver_probe_device+0xa0/0x198
> [264814.839667] [ef0a5cc0] [c02203fc] bus_for_each_drv+0x70/0xac
> [264814.840553] [ef0a5cf0] [c0221378] device_attach+0x84/0xa8
> [264814.841456] [ef0a5d10] [c021fc5c] bus_probe_device+0x2c/0x44
> [264814.842357] [ef0a5d20] [c021e66c] device_add+0x3a0/0x5bc
> [264814.843252] [ef0a5d70] [c0261998] i2c_new_device+0xfc/0x150
> [264814.844172] [ef0a5da0] [f870b64c] i2c_powermac_probe+0x1cc/0x410 [i2c_powermac]
> [264814.845164] [ef0a5df0] [c02224e8] platform_drv_probe+0x20/0x30
> [264814.846119] [ef0a5e00] [c022108c] driver_probe_device+0xa0/0x198
> [264814.847070] [ef0a5e20] [c0221240] __driver_attach+0xbc/0xc0
> [264814.848017] [ef0a5e40] [c0220790] bus_for_each_dev+0x70/0xac
> [264814.848963] [ef0a5e70] [c0220eb8] driver_attach+0x24/0x34
> [264814.849836] [ef0a5e80] [c021ff1c] bus_add_driver+0xb4/0x284
> [264814.850771] [ef0a5eb0] [c02215b0] driver_register+0x80/0x170
> [264814.851693] [ef0a5ed0] [c02228a8] platform_driver_register+0x6c/0x7c
> [264814.852634] [ef0a5ee0] [f870e018] i2c_powermac_init+0x18/0x40 [i2c_powermac]
> [264814.853604] [ef0a5ef0] [c0003eb8] do_one_initcall+0x3c/0x1e0
> [264814.854530] [ef0a5f20] [c005e3c4] sys_init_module+0xf8/0x218
> [264814.855474] [ef0a5f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264814.856434] --- Exception: c01 at 0xff63044
> [264814.856437]     LR = 0x10003c80
> [264814.858043] Instruction dump:
> [264814.858893] 4bffff41 7c7d1b78 4bf2e221 38002f00 7c1d1b2e 7fa3eb78 809e0010 4bf2e18d 
> [264814.860210] 7c641b78 3c60c037 3863e948 48225afd <0fe00000> 7f83e378 4bfa93a5 80010024 
> [264814.861569] kobject_add_internal failed for ams with -EEXIST, don't try to register things with the same name in the same directory.
> [264814.863528] Call Trace:
> [264814.864454] [ef0a5b40] [c0008e58] show_stack+0x48/0x15c (unreliable)
> [264814.865244] [ef0a5b70] [c01c8988] kobject_add_internal+0x130/0x1fc
> [264814.865928] [ef0a5b90] [c01c8c8c] kobject_add+0x60/0x98
> [264814.866772] [ef0a5bc0] [c021e368] device_add+0x9c/0x5bc
> [264814.867992] [ef0a5c10] [c0267964] of_device_register+0x34/0x48
> [264814.869107] [ef0a5c30] [c000bfcc] of_platform_device_create+0x44/0x74
> [264814.869946] [ef0a5c40] [f20fc388] ams_sensor_attach+0xc8/0x134 [ams]
> [264814.870854] [ef0a5c60] [f20fcfc8] ams_i2c_probe+0x154/0x210 [ams]
> [264814.871846] [ef0a5c80] [c026043c] i2c_device_probe+0xe4/0x100
> [264814.872781] [ef0a5ca0] [c022108c] driver_probe_device+0xa0/0x198
> [264814.873690] [ef0a5cc0] [c02203fc] bus_for_each_drv+0x70/0xac
> [264814.874582] [ef0a5cf0] [c0221378] device_attach+0x84/0xa8
> [264814.875473] [ef0a5d10] [c021fc5c] bus_probe_device+0x2c/0x44
> [264814.876312] [ef0a5d20] [c021e66c] device_add+0x3a0/0x5bc
> [264814.877209] [ef0a5d70] [c0261998] i2c_new_device+0xfc/0x150
> [264814.878132] [ef0a5da0] [f870b64c] i2c_powermac_probe+0x1cc/0x410 [i2c_powermac]
> [264814.879121] [ef0a5df0] [c02224e8] platform_drv_probe+0x20/0x30
> [264814.880080] [ef0a5e00] [c022108c] driver_probe_device+0xa0/0x198
> [264814.881024] [ef0a5e20] [c0221240] __driver_attach+0xbc/0xc0
> [264814.881965] [ef0a5e40] [c0220790] bus_for_each_dev+0x70/0xac
> [264814.882893] [ef0a5e70] [c0220eb8] driver_attach+0x24/0x34
> [264814.883752] [ef0a5e80] [c021ff1c] bus_add_driver+0xb4/0x284
> [264814.884654] [ef0a5eb0] [c02215b0] driver_register+0x80/0x170
> [264814.885562] [ef0a5ed0] [c02228a8] platform_driver_register+0x6c/0x7c
> [264814.886497] [ef0a5ee0] [f870e018] i2c_powermac_init+0x18/0x40 [i2c_powermac]
> [264814.887463] [ef0a5ef0] [c0003eb8] do_one_initcall+0x3c/0x1e0
> [264814.888375] [ef0a5f20] [c005e3c4] sys_init_module+0xf8/0x218
> [264814.889294] [ef0a5f40] [c0012c44] ret_from_syscall+0x0/0x38
> [264814.890214] --- Exception: c01 at 0xff63044
> [264814.890217]     LR = 0x10003c80
> 
> 
> 

^ permalink raw reply

* Re: xmon & SCSI ATA devices
From: Benjamin Herrenschmidt @ 2009-12-29  9:37 UTC (permalink / raw)
  To: gshan; +Cc: linuxppc-dev
In-Reply-To: <4B33197D.9000506@alcatel-lucent.com>

On Thu, 2009-12-24 at 02:34 -0500, gshan wrote:
> Hello,
> 
> xmon and SCSI SATA device driver were installed on my system. When I invoked
> xmon explicitly for kernel debugging, there're probably pending SCSI 
> requests issued.
> So those SCSI requests complained timeout when I quited from xmon. I want to
> find a way to suspend SCSI device before invoking xmon and resume that 
> before
> quiting from xmon. Anybody knew there is a way to do this?

Well, it's non trivial. xmon is very low level and doesn't muck around
with drivers etc...

We could add hacks to avoid those timeouts or even do what you suggest
with suspending devices, but that would make entering xmon a -lot- more
fragile. The idea is that xmon relies on very little kernel services and
can be entered even when things are utterly wrong.

To be honest, I'm tempted to leave that as it is. Most of the time,
getting into xmon is a one way trip.... 

Cheers,
Ben.

> Thanks,
> Gavin
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev

^ permalink raw reply

* Re: xmon & SCSI ATA devices
From: gshan @ 2009-12-30  4:09 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev
In-Reply-To: <1262079428.2173.218.camel@pasglop>

[-- Attachment #1: Type: text/html, Size: 2398 bytes --]

^ permalink raw reply

* Re: [PATCH 04/10] 8xx: Always pin kernel instruction TLB
From: Joakim Tjernlund @ 2009-12-29 15:10 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Scott Wood, linuxppc-dev@ozlabs.org, Rex Feany
In-Reply-To: <1260348995.16132.37.camel@pasglop>

Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote on 09/12/2009 09:56:35:

> From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> To: Joakim Tjernlund <joakim.tjernlund@transmode.se>
> Cc: "linuxppc-dev@ozlabs.org" <linuxppc-dev@ozlabs.org>, Rex Feany
> <RFeany@mrv.com>, Scott Wood <scottwood@freescale.com>
> Date: 09/12/2009 09:56
> Subject: Re: [PATCH 04/10] 8xx: Always pin kernel instruction TLB
>
> On Wed, 2009-12-09 at 08:39 +0100, Joakim Tjernlund wrote:
> > The later isn't as simple :) I believe the bulk of such code in
> > entry_32.S.
>
> Yeah but it would be useful for hash I suppose if one really wants to
> boot with nobats. Though at least on hash most of the time we have ways
> to recover by mean of MSR:RI being cleared, which your TLB miss code
> doesn't check...
>
> > Anyhow, the config option is still valid as if enabled
> > it will pin several DTLB's too. Scott had some concerns about removing
> > the config option completely so this was the next best thing.
>
> Well, if you want to pin at least one entry, then just remove the #if
> completely but don't leave a #if 1 :-)

As you wish. Here is a new version without the #if 1
This is required for 8xx to work in Linus current tree.

>From 5a4fa5078ba1774b037dbfd88b9c87b74cf76db7 Mon Sep 17 00:00:00 2001
From: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Date: Fri, 13 Nov 2009 00:26:59 +0100
Subject: [PATCH] 8xx: Always pin kernel instruction TLB

Various kernel asm modifies SRR0/SRR1 just before executing
a rfi. If such code crosses a page boundary you risk a TLB miss
which will clobber SRR0/SRR1. Avoid this by always pinning
kernel instruction TLB space.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
---
 arch/powerpc/kernel/head_8xx.S |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S
index adc5a32..c80e7c5 100644
--- a/arch/powerpc/kernel/head_8xx.S
+++ b/arch/powerpc/kernel/head_8xx.S
@@ -767,12 +767,12 @@ start_here:
  */
 initial_mmu:
 	tlbia			/* Invalidate all TLB entries */
-#ifdef CONFIG_PIN_TLB
+/* Always pin the first 8 MB ITLB to prevent ITLB
+   misses while mucking around with SRR0/SRR1 in asm
+*/
 	lis	r8, MI_RSV4I@h
 	ori	r8, r8, 0x1c00
-#else
-	li	r8, 0
-#endif
+
 	mtspr	SPRN_MI_CTR, r8	/* Set instruction MMU control */

 #ifdef CONFIG_PIN_TLB
--
1.6.4.4

^ permalink raw reply related

* Re: xmon & SCSI ATA devices
From: Benjamin Herrenschmidt @ 2009-12-29 21:21 UTC (permalink / raw)
  To: gshan; +Cc: linuxppc-dev
In-Reply-To: <4B3AD271.1050105@alcatel-lucent.com>

On Tue, 2009-12-29 at 23:09 -0500, gshan wrote:

> Actually, the situation I described above has caused lots of disk issue.
> The DPT (disk partition table) might be lost because of this. I think it's
> broken the rule: xmon is assisting to resolve kernel issue, not cause
> more.

Well, mostly xmon kicks in when you already oopsed or crashed so .. :-)

As I said, getting into the SCSI stack or similar would make the whole
thing extremely fragile. But you may want to hack something for
yourself, feel free to do so.

Cheers,
Ben.

^ permalink raw reply

* Re: xmon & SCSI ATA devices
From: gshan @ 2009-12-30 10:51 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev
In-Reply-To: <1262121685.2173.220.camel@pasglop>

[-- Attachment #1: Type: text/html, Size: 1147 bytes --]

^ permalink raw reply

* Re: Does gpio_to_irq() work for MPC52xx gpios?
From: Bill Gatliff @ 2009-12-30  6:27 UTC (permalink / raw)
  To: Peter Korsgaard; +Cc: Linux/PPC Development
In-Reply-To: <87fx72wwpd.fsf@macbook.be.48ers.dk>

Peter Korsgaard wrote:
>>>>>> "Bill" == Bill Gatliff <bgat@billgatliff.com> writes:
>>>>>>             
>
>  Bill> Guys:
>  Bill> Is it possible to specify an individual GPIO pin as an interrupt source
>  Bill> with the current MPC52xx code?
>
> No (not yet). In Ben's latest pull request there's a patch from me to
> add basic infrastructure for gpio_to_irq(). I've recently added irq
> support to the mpc8xxx driver, but so far nothing has been written for
> 52xx.
>
> http://patchwork.ozlabs.org/patch/41550/
>   

Ok, after looking at your code for a few days I'm even more lost than
when I started!

On the MPC5200, all the GPIO_WKUP pins are multiplexed into a single
interrupt line, which is Main_Mask8. As currently defined by
mpc52xx_pic.c, that's a virtual interrupt number of 72. So generally
speaking, if I do a request_irq() on 72, I'll get an interrupt any time
an enabled GPIO_WKUP pin changes state.

What I want to be able to do is a request_irq(gpio_to_irq(GPIO_WKUP_7),
...), so that I can have a single interrupt handler for each GPIO_WKUP
pin. To do this, I think the general idea is as follows:

1. create a virtual interrupt number for each GPIO_WKUP line
2. install a chained interrupt handler on interrupt 72
3. inside the chained handler, map each active GPIO_WKUP pin to its
associated virtual interrupt number, and invoke the associated interrupt
handler by passing that virtual interrupt number to generic_handle_irq()
4. provide a gpio_to_irq that can map GPIO offsets to their associated
virtual interrupt numbers

I'm trying to implement the above, but I'm getting lost in all the IRQ
mapping and virtualization. Can someone show me what I'm doing wrong in
my code?

I've put a complete copy of my modified mpc52xx_gpio.c on pastebin, with
my portions highlighted:

http://pastebin.com/f4c074ab8

A kernel message buffer log is here, also with the interesting lines
highlighted:

http://pastebin.com/f378d3c61

I get a mapping from hwirq 72 to a virq of 16. That seems fine. But
that's the extent of the good news. :)

The two GPIO pins I'm interested in are 222 and 223, which are
GPIO_WKUP_6 and GPIO_WKUP_7. In my gpio_to_irq() I'm doing this:

static int mpc52xx_wkup_gpio_to_irq(struct gpio_chip *gc, unsigned offset)
{
struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc);
struct mpc52xx_gpiochip *c = to_mpc52xx_gpiochip(mm);

pr_err("%s mapping offset %d\n", __func__, offset);

if (c->irqhost && offset < MPC52XX_WKUP_GPIO_PINS)
return irq_create_mapping(c->irqhost, c->irq);
return -ENXIO;
}

That's not giving me what I want, it's just creating another mapping to
virtual irq 16. I know that code is wrong, I just don't know what the
right code should be...

Help, I'm lost! :)



Kindest regards,

b.g.

-- 
Bill Gatliff
Embedded systems training and consulting
http://billgatliff.com
bgat@billgatliff.com

^ permalink raw reply

* FSL UPM NAND driver for linux 2.6.24
From: nanda @ 2009-12-30  8:36 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 194 bytes --]

Hi,
   I am looking for freescale NAND driver in the kernel 2.6.24 (which implement UPM based technique). Can anyone point us the patch which is available for the same?

Thanks & Regards,
Nanda

[-- Attachment #2: Type: text/html, Size: 621 bytes --]

^ permalink raw reply

* [PATCH] powerpc/swsusp_32: Fix TLB invalidation
From: Anton Vorontsov @ 2009-12-30 17:40 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev

It seems there is a thinko in the TLB invalidation code that makes the
tlbie in the loop executed just once. The intended check was probably
'gt', not 'lt'.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---

Btw, 'lis r4,0x1000' seems needlessly too high. e300 core reference
manual says:

  The [...]tlbie[...] instruction invalidates the TLB entry indexed by
  the EA, and operates on both the instruction and data TLBs
  simultaneously invalidating four TLB entries (both sets in each TLB).
  The index corresponds to bits 15-19 of the EA. To invalidate all
  entries within both TLBs, 32 tlbie instructions should be issued,
  incrementing this field by one each time.

So, shouldn't 0x1000 be 0x0002? Are there any classic PowerPCs
for which this wouldn't work?

 arch/powerpc/kernel/swsusp_32.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/kernel/swsusp_32.S b/arch/powerpc/kernel/swsusp_32.S
index b47d8ce..b0754e2 100644
--- a/arch/powerpc/kernel/swsusp_32.S
+++ b/arch/powerpc/kernel/swsusp_32.S
@@ -303,7 +303,7 @@ END_MMU_FTR_SECTION_IFSET(MMU_FTR_USE_HIGH_BATS)
 	lis	r4,0x1000
 1:	addic.	r4,r4,-0x1000
 	tlbie	r4
-	blt	1b
+	bgt	1b
 	sync
 
 	/* restore the MSR and turn on the MMU */
-- 
1.6.5.7

^ permalink raw reply related

* [PATCH] powerpc: Add hibernation support for FSL BookE processors
From: Anton Vorontsov @ 2009-12-30 17:42 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-dev

This is started as swsusp_32.S modifications, but the amount of #ifdefs
made the whole file horribly unreadable, so let's put the support into
its own separate file.

The code should be relatively easy to modify to support 44x BookEs as
well, but since I don't have any 44x to test, let's confine the code to
FSL BookE. (The only FSL-specific parts are 'flush_dcache_L1' and TLB
invalidation code).

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
 arch/powerpc/kernel/Makefile           |    8 +-
 arch/powerpc/kernel/swsusp_fsl_booke.S |  196 ++++++++++++++++++++++++++++++++
 2 files changed, 202 insertions(+), 2 deletions(-)
 create mode 100644 arch/powerpc/kernel/swsusp_fsl_booke.S

diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index c002b04..e9d7601 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -57,8 +57,12 @@ obj-$(CONFIG_CRASH_DUMP)	+= crash_dump.o
 obj-$(CONFIG_E500)		+= idle_e500.o
 obj-$(CONFIG_6xx)		+= idle_6xx.o l2cr_6xx.o cpu_setup_6xx.o
 obj-$(CONFIG_TAU)		+= tau_6xx.o
-obj-$(CONFIG_HIBERNATION)	+= swsusp.o suspend.o \
-				   swsusp_$(CONFIG_WORD_SIZE).o
+obj-$(CONFIG_HIBERNATION)	+= swsusp.o suspend.o
+ifeq ($(CONFIG_FSL_BOOKE),y)
+obj-$(CONFIG_HIBERNATION)	+= swsusp_fsl_booke.o
+else
+obj-$(CONFIG_HIBERNATION)	+= swsusp_$(CONFIG_WORD_SIZE).o
+endif
 obj64-$(CONFIG_HIBERNATION)	+= swsusp_asm64.o
 obj-$(CONFIG_MODULES)		+= module.o module_$(CONFIG_WORD_SIZE).o
 obj-$(CONFIG_44x)		+= cpu_setup_44x.o
diff --git a/arch/powerpc/kernel/swsusp_fsl_booke.S b/arch/powerpc/kernel/swsusp_fsl_booke.S
new file mode 100644
index 0000000..3b35e8e
--- /dev/null
+++ b/arch/powerpc/kernel/swsusp_fsl_booke.S
@@ -0,0 +1,196 @@
+/*
+ * Based on swsusp_32.S, modified for FSL BookE by
+ * Anton Vorontsov <avorontsov@ru.mvista.com>
+ * Copyright (c) 2009 MontaVista Software, Inc.
+ */
+
+#include <linux/threads.h>
+#include <asm/processor.h>
+#include <asm/page.h>
+#include <asm/cputable.h>
+#include <asm/thread_info.h>
+#include <asm/ppc_asm.h>
+#include <asm/asm-offsets.h>
+#include <asm/mmu.h>
+
+/*
+ * Structure for storing CPU registers on the save area.
+ */
+#define SL_SP		0
+#define SL_PC		4
+#define SL_MSR		8
+#define SL_SDR1		0xc
+#define SL_SPRG0	0x10
+#define SL_SPRG1	0x14
+#define SL_SPRG2	0x18
+#define SL_SPRG3	0x1c
+#define SL_SPRG4	0x20
+#define SL_SPRG5	0x24
+#define SL_SPRG6	0x28
+#define SL_SPRG7	0x2c
+#define SL_TBU		0x30
+#define SL_TBL		0x34
+#define SL_R2		0x38
+#define SL_CR		0x3c
+#define SL_LR		0x40
+#define SL_R12		0x44	/* r12 to r31 */
+#define SL_SIZE		(SL_R12 + 80)
+
+	.section .data
+	.align	5
+
+_GLOBAL(swsusp_save_area)
+	.space	SL_SIZE
+
+
+	.section .text
+	.align	5
+
+_GLOBAL(swsusp_arch_suspend)
+	lis	r11,swsusp_save_area@h
+	ori	r11,r11,swsusp_save_area@l
+
+	mflr	r0
+	stw	r0,SL_LR(r11)
+	mfcr	r0
+	stw	r0,SL_CR(r11)
+	stw	r1,SL_SP(r11)
+	stw	r2,SL_R2(r11)
+	stmw	r12,SL_R12(r11)
+
+	/* Save MSR & SDR1 */
+	mfmsr	r4
+	stw	r4,SL_MSR(r11)
+	mfsdr1	r4
+	stw	r4,SL_SDR1(r11)
+
+	/* Get a stable timebase and save it */
+1:	mftbu	r4
+	stw	r4,SL_TBU(r11)
+	mftb	r5
+	stw	r5,SL_TBL(r11)
+	mftbu	r3
+	cmpw	r3,r4
+	bne	1b
+
+	/* Save SPRGs */
+	mfsprg	r4,0
+	stw	r4,SL_SPRG0(r11)
+	mfsprg	r4,1
+	stw	r4,SL_SPRG1(r11)
+	mfsprg	r4,2
+	stw	r4,SL_SPRG2(r11)
+	mfsprg	r4,3
+	stw	r4,SL_SPRG3(r11)
+	mfsprg	r4,4
+	stw	r4,SL_SPRG4(r11)
+	mfsprg	r4,5
+	stw	r4,SL_SPRG5(r11)
+	mfsprg	r4,6
+	stw	r4,SL_SPRG6(r11)
+	mfsprg	r4,7
+	stw	r4,SL_SPRG7(r11)
+
+	/* Call the low level suspend stuff (we should probably have made
+	 * a stackframe...
+	 */
+	bl	swsusp_save
+
+	/* Restore LR from the save area */
+	lis	r11,swsusp_save_area@h
+	ori	r11,r11,swsusp_save_area@l
+	lwz	r0,SL_LR(r11)
+	mtlr	r0
+
+	blr
+
+_GLOBAL(swsusp_arch_resume)
+ 	sync
+
+	/* Load ptr the list of pages to copy in r3 */
+	lis	r11,(restore_pblist)@h
+	ori	r11,r11,restore_pblist@l
+	lwz	r3,0(r11)
+
+	/* Copy the pages. This is a very basic implementation, to
+	 * be replaced by something more cache efficient */
+1:
+	li	r0,256
+	mtctr	r0
+	lwz	r5,pbe_address(r3)	/* source */
+	lwz	r6,pbe_orig_address(r3)	/* destination */
+2:
+	lwz	r8,0(r5)
+	lwz	r9,4(r5)
+	lwz	r10,8(r5)
+	lwz	r11,12(r5)
+	addi	r5,r5,16
+	stw	r8,0(r6)
+	stw	r9,4(r6)
+	stw	r10,8(r6)
+	stw	r11,12(r6)
+	addi	r6,r6,16
+	bdnz	2b
+	lwz	r3,pbe_next(r3)
+	cmpwi	0,r3,0
+	bne	1b
+
+	bl flush_dcache_L1
+	bl flush_instruction_cache
+
+	lis	r11,swsusp_save_area@h
+	ori	r11,r11,swsusp_save_area@l
+
+	lwz	r4,SL_SDR1(r11)
+	mtsdr1	r4
+	lwz	r4,SL_SPRG0(r11)
+	mtsprg	0,r4
+	lwz	r4,SL_SPRG1(r11)
+	mtsprg	1,r4
+	lwz	r4,SL_SPRG2(r11)
+	mtsprg	2,r4
+	lwz	r4,SL_SPRG3(r11)
+	mtsprg	3,r4
+	lwz	r4,SL_SPRG4(r11)
+	mtsprg	4,r4
+	lwz	r4,SL_SPRG5(r11)
+	mtsprg	5,r4
+	lwz	r4,SL_SPRG6(r11)
+	mtsprg	6,r4
+	lwz	r4,SL_SPRG7(r11)
+	mtsprg	7,r4
+
+	/* Invalidate TLB0 & TLB1 */
+	li	r6,0x04
+	tlbivax 0,r6
+	TLBSYNC
+	li	r6,0x0c
+	tlbivax 0,r6
+	TLBSYNC
+
+	/* restore the MSR */
+	lwz	r3,SL_MSR(r11)
+
+	/* Restore TB */
+	li	r3,0
+	mttbl	r3
+	lwz	r3,SL_TBU(r11)
+	lwz	r4,SL_TBL(r11)
+	mttbu	r3
+	mttbl	r4
+
+	/* Kick decrementer */
+	li	r0,1
+	mtdec	r0
+
+	/* Restore the callee-saved registers and return */
+	lwz	r0,SL_CR(r11)
+	mtcr	r0
+	lwz	r2,SL_R2(r11)
+	lmw	r12,SL_R12(r11)
+	lwz	r1,SL_SP(r11)
+	lwz	r0,SL_LR(r11)
+	mtlr	r0
+
+	li	r3,0
+	blr
-- 
1.6.5.7

^ permalink raw reply related

* net: Assorted fixes
From: Anton Vorontsov @ 2009-12-30 18:21 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, afleming, linuxppc-dev

On Sun, Dec 27, 2009 at 09:57:36PM -0800, David Miller wrote:
> Actually I'm reverting both patches:
> 
> drivers/net/phy/mdio_bus.c:268: warning: ‘mdio_bus_phy_may_suspend’ defined but not used
> 
> Please resubmit these two patches with this warning fixed.
> 
> CONFIG_PM is not always enabled :-)

Ugh, sorry about that, and thanks for catching!

Here are the amended patches + one more fix.

Thanks,

-- 
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2

^ permalink raw reply

* [PATCH 1/4] phylib: Fix deadlock on resume
From: Anton Vorontsov @ 2009-12-30 18:23 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, Andy Fleming, linuxppc-dev
In-Reply-To: <20091230182146.GA4515@oksana.dev.rtsoft.ru>

Sometimes kernel hangs on resume with the following trace:

 ucc_geth e0102000.ucc: resume
 INFO: task bash:1764 blocked for more than 120 seconds.
 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
 bash          D 0fecf43c     0  1764   1763 0x00000000
 Call Trace:
 [cf9a7c10] [c0012868] ret_from_except+0x0/0x14 (unreliable)
 --- Exception: cf9a7ce0 at __switch_to+0x4c/0x6c
     LR = 0xcf9a7cc0
 [cf9a7cd0] [c0008c14] __switch_to+0x4c/0x6c (unreliable)
 [cf9a7ce0] [c028bcfc] schedule+0x158/0x260
 [cf9a7d10] [c028c720] __mutex_lock_slowpath+0x80/0xd8
 [cf9a7d40] [c01cf388] phy_stop+0x20/0x70
 [cf9a7d50] [c01d514c] ugeth_resume+0x6c/0x13c
 [...]

Here is why.

On suspend:

- PM core starts suspending devices, ucc_geth_suspend gets called;

- ucc_geth calls phy_stop() on suspend. Note that phy_stop() is
  mostly asynchronous so it doesn't block ucc_geth's suspend routine,
  it just sets PHY_HALTED state and disables PHY's interrupts;

- Suddenly the state machine gets scheduled, it grabs the phydev->lock
  mutex and tries to process the PHY_HALTED state, so it calls
  phydev->adjust_link(phydev->attached_dev). In ucc_geth case
  adjust_link() calls msleep(), which reschedules the code flow back to
  PM core, which now finishes suspend and so we end up sleeping with
  phydev->lock mutex held.

On resume:

- PM core starts resuming devices (notice that nobody rescheduled
  the state machine yet, so the mutex is still held), the core calls
  ucc_geth's resume routine;

- ucc_geth_resume restarts the PHY with phy_stop()/phy_start()
  sequence, and the phy_*() calls are trying to grab the phydev->lock
  mutex. Here comes the deadlock.

This patch fixes the issue by stopping the state machine on suspend
and starting it again on resume.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
 drivers/net/phy/mdio_bus.c |   24 ++++++++++++++++++++++--
 1 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c
index bd4e8d7..49252d3 100644
--- a/drivers/net/phy/mdio_bus.c
+++ b/drivers/net/phy/mdio_bus.c
@@ -303,8 +303,18 @@ static int mdio_bus_suspend(struct device * dev, pm_message_t state)
 	struct phy_driver *phydrv = to_phy_driver(dev->driver);
 	struct phy_device *phydev = to_phy_device(dev);
 
+	/*
+	 * We must stop the state machine manually, otherwise it stops out of
+	 * control, possibly with the phydev->lock held. Upon resume, netdev
+	 * may call phy routines that try to grab the same lock, and that may
+	 * lead to a deadlock.
+	 */
+	if (phydev->attached_dev)
+		phy_stop_machine(phydev);
+
 	if (!mdio_bus_phy_may_suspend(phydev))
 		return 0;
+
 	return phydrv->suspend(phydev);
 }
 
@@ -312,10 +322,20 @@ static int mdio_bus_resume(struct device * dev)
 {
 	struct phy_driver *phydrv = to_phy_driver(dev->driver);
 	struct phy_device *phydev = to_phy_device(dev);
+	int ret;
 
 	if (!mdio_bus_phy_may_suspend(phydev))
-		return 0;
-	return phydrv->resume(phydev);
+		goto no_resume;
+
+	ret = phydrv->resume(phydev);
+	if (ret < 0)
+		return ret;
+
+no_resume:
+	if (phydev->attached_dev)
+		phy_start_machine(phydev, NULL);
+
+	return 0;
 }
 
 struct bus_type mdio_bus_type = {
-- 
1.6.5.7

^ permalink raw reply related


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox