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

New powerbooks support status (again)



Hi!:

A week ago I wrote to the list telling my experience about non-working
stuff with one of the newer pbooks (12", 80GB):

	[1]- Sound
	[2]- Touchpad
	[3]- Cpufreq

[3] Is working for me with the tip suggested by Ben H. (thanks), but
know I've discovered a [4] issue: therm_adt746x.

It's impossible to read any of the entries it creates
under /sys/devices/temperatures, I always get a seg. fault.

After talking in private with Colin Leroy (from therm_adt) and trying
several ways to see what was happening he suggested me to write to the
list and see if any of the powerpc developers here can see what is
happening here.

To add a bit of info, I can say that when I modprobe therm_adt I get
this (this is vanilla linux-2.6.11):

Mar  5 21:02:27 localhost kernel: adt746x: Thermostat bus: 0, address:
0x2e, limit_adjust: 0, fan_speed: -1
Mar  5 21:02:27 localhost kernel: adt746x: Thermostat failed to read
config from bus 0, addr 0x2e: rc=-19

The output is a bit different from plain therm_adt746x because it
includes a small patch provided by Colin to clarify what was happening.

Also I get some stack traces whenever I try to access
i.e. /sys/devices/temperatures/cpu_temperature and the like:

Mar  6 18:45:08 localhost kernel: Oops: kernel access of bad area, sig:
11 [#5]
Mar  6 18:45:08 localhost kernel: PREEMPT
Mar  6 18:45:08 localhost kernel: NIP: C015E86C LR: F2041088 SP:
C5145E00 REGS: c5145d50 TRAP: 0300    Not tainted
Mar  6 18:45:08 localhost kernel: MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1
IR/DR: 11
Mar  6 18:45:08 localhost kernel: DAR: 0000000C, DSISR: 40000000
Mar  6 18:45:08 localhost kernel: TASK = ed970cb0[10484] 'cat' THREAD:
c5144000
Mar  6 18:45:08 localhost kernel: Last syscall: 3
Mar  6 18:45:08 localhost kernel: GPR00: F2041088 C5145E00 ED970CB0
00000000 C5145E38 00000001 00000000 C0D7F600
Mar  6 18:45:08 localhost kernel: GPR08: C023AE4C F2040000 00000001
C015E858 00001000 1001BF3C 00000001 00000000
Mar  6 18:45:08 localhost kernel: GPR16: 00000000 00000000 00000000
00000001 00000000 00000000 10010000 00000400
Mar  6 18:45:08 localhost kernel: GPR24: 10010000 00000001 100158A0
00000000 C012FD4C 00000001 EDF8EED4 00000000
Mar  6 18:45:08 localhost kernel: NIP [c015e86c] i2c_master_send
+0x14/0x108
Mar  6 18:45:08 localhost kernel: LR [f2041088] read_reg+0x28/0x78
[therm_adt746x]
Mar  6 18:45:08 localhost kernel: Call trace:
Mar  6 18:45:08 localhost kernel:  [f2041088] read_reg+0x28/0x78
[therm_adt746x]
Mar  6 18:45:08 localhost kernel:  [f2041a18] show_cpu_temperature
+0x28/0x50 [therm_adt746x]
Mar  6 18:45:08 localhost kernel:  [c012fd8c] dev_attr_show+0x40/0x48
Mar  6 18:45:08 localhost kernel:  [c00a8ac0] fill_read_buffer+0x68/0xc0
Mar  6 18:45:08 localhost kernel:  [c00a8ca4] sysfs_read_file+0x5c/0xc4
Mar  6 18:45:08 localhost kernel:  [c00649f4] vfs_read+0xc8/0x150
Mar  6 18:45:08 localhost kernel:  [c0064d08] sys_read+0x50/0x94
Mar  6 18:45:08 localhost kernel:  [c0004260] ret_from_syscall+0x0/0x44

Thats all. Hope this helps to know what is happening here.
Antonio Corbi.



Reply to: