Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
oops! What does this mean?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
DrZoidberg
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2003
Posts: 119
Location: New Port Richey, Florida

PostPosted: Sun May 29, 2005 12:44 am    Post subject: oops! What does this mean? Reply with quote

I'm running 2.6.11-r8 and I thought this was only USB2-related,
but it started happening whenever I
Code:

cat /sys/devices/temperatures/cpu_temperature

After rebooting, things are back to normal.
Code:

Oops: kernel access of bad area, sig: 11 [#2]
NIP: C019F94C LR: F20EC088 SP: DC1B1E20 REGS: dc1b1d70 TRAP: 0300    Not
taintedMSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 0000000C, DSISR: 40000000
TASK = c257e8b0[27190] 'cat' THREAD: dc1b0000
Last syscall: 3
GPR00: F20EC088 DC1B1E20 C257E8B0 00000000 DC1B1E58 00000001 00000000
00000000
GPR08: C0269DCC F20F0000 C087D5B8 C019F938 00000000 1001C140 00000000
00000000
GPR16: 00000001 00001000 00000000 00000000 00000000 10015080 00000000
00001000
GPR24: 10015080 EFDC9CF4 F20EE710 DC1B1F20 00000000 00000001 DD82B778
00000000
NIP [c019f94c] i2c_master_send+0x14/0x104
LR [f20ec088] read_reg+0x24/0x8c [therm_adt746x]
Call trace:
 [f20ec088] read_reg+0x24/0x8c [therm_adt746x]
 [f20ec974] show_cpu_temperature+0x28/0x50 [therm_adt746x]
 [c012c0cc] dev_attr_show+0x40/0x58
 [c0093ccc] sysfs_read_file+0x1cc/0x258
 [c0058318] vfs_read+0x16c/0x188
 [c005860c] sys_read+0x4c/0x90
 [c0004380] ret_from_syscall+0x0/0x44
Back to top
View user's profile Send private message
Xaid
Guru
Guru


Joined: 30 Oct 2004
Posts: 474
Location: Edmonton / Alberta

PostPosted: Sun May 29, 2005 1:37 am    Post subject: Reply with quote

I'm not much of a kernel guru, but I'll tell you what I understand from what you have pasted so far.
your sensors module is causing a kernel Oops (kinda like when a program segfaults I think) , which is probably shown in this:
Code:

[f20ec088] read_reg+0x24/0x8c [therm_adt746x]
[f20ec974] show_cpu_temperature+0x28/0x50 [therm_adt746x]

are you sure this is the correct module for your sensor? do the sensors work at all? did you compile this as a module or not?
maybe a bit about your hardware would be a good start as well.

if what I said up there makes no sense (or plain wrong) then someone correct me.
Back to top
View user's profile Send private message
DrZoidberg
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2003
Posts: 119
Location: New Port Richey, Florida

PostPosted: Sun May 29, 2005 2:12 am    Post subject: Reply with quote

I have a 1.2GHz 12" G4 iBook. And the therm_adt746x is what everybody uses with this iBook. I think. I used Aronchi's .config. (Search the forums for this guy's iBook wiki.) The problem is intermittant. Most of the time I have no problem. It only really started to act up after using my USB 2.0 DVD+RW drive, which also caused an oops. It had something to do with ehci_hcd, I think. But I can't reproduce either oops reliably; most of the time the DVD burner and therm_adt746x work as expected.

The therm_adt746x-related oops, once it has happened a first time, will always happen when I try to get the CPU temp. I have to reboot to get things behaving normally. Also, the screen brightness goes to maximum right when the oops happens. (That is what caused me to check the log and see the oops message.)

The ehci_hcd-related oops halts the system. It has only happened once.
Back to top
View user's profile Send private message
Xaid
Guru
Guru


Joined: 30 Oct 2004
Posts: 474
Location: Edmonton / Alberta

PostPosted: Sun May 29, 2005 2:46 am    Post subject: Reply with quote

First I want to say that I didn't notice this is in "Gentoo on PPC" :)
a bit of googling returned this long link that you might want to check, there is a patch included for that module.
website
you might want to check the kernel mailing list as well, or check in google group's search for:
kernel oops therm_adt746x

good luck.
Back to top
View user's profile Send private message
DrZoidberg
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2003
Posts: 119
Location: New Port Richey, Florida

PostPosted: Sun May 29, 2005 3:29 am    Post subject: Reply with quote

Looks like therm_adt746x gets goofed up when I rmmod i2c_keywest. Trying to look at the temp after this causes the oops. Found some instances of other people having this problem on google, too.

After the problems with ehci_hcd, I was trying to figure out why my usb_storage module could not be unloaded. (This module has often gotten stuck in my experience, usually when (un)plugging several different USB devices. It insists some other module is using it even though all usb storage devices are unmounted and fat,vfat,nls, etc modules are unloaded. (My Neuros mp3 player is very flakey under OS X, and I suspect it has something to do with my usb problems.)) So I started rmmoding stuff that didn't look like it was needed. lsmod said i2c_keywest was used by 0.

Quote:

are you sure this is the correct module for your sensor? do the sensors work at all? did you compile this as a module or not?
maybe a bit about your hardware would be a good start as well.


The more standardized hardware is the main reason I run gentoo on PPC.
Lots of clever folks have my hardware and have already solved most of the hard problems. I tried getting several x86 laptops' power management working, but I just couldn't make sense of all the wierd ACPI/APM jabberwocky. Looks like a bunch of broken, non-standard standards and loads of outdated docs.[/code]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum