Skip to contentSkip to conversation

cpufreq segfaults when network cable plugged in

DISCUSSION Simon Cooper 2 participants 4 messages Apr 11, 2004 – Apr 25, 2004

lore
Share & tools
lore
#0 lore raw

right, this is very strange, cpufreq (compiled into the kernel) segfaults whenever the network cable on my laptop is plugged in on bootup but boots ok when it is plugged in after the kernel has loaded. i can post the entire segfault msg but it'll need me to write it all down. driver is 'r8139' (1000Mbps card), kernel version 2.6.5-mm2

Simon Cooper

#1 lore raw
Quoted 5 lines · Simon Cooper

right, this is very strange, cpufreq (compiled into the kernel) segfaults whenever the network cable on my laptop is plugged in on bootup but boots ok when it is plugged in after the kernel has loaded. i can post the entire segfault msg but it'll need me to write it all down. driver is 'r8139' (1000Mbps card), kernel version 2.6.5-mm2

Hm, this is really very strange.

Which cpufreq drivers do you use / are compiled into the kernel? What are the last two to four functions called, where's the EIP at the segfault? [the first few function names mentioned in the oops]

Thanks,
Dominik

#2 lore raw
Quoted 7 lines · On Mon, 12 Apr 2004 10:30:58 +0200 Dominik Brodowski…
Quoted 5 lines · Simon Cooper

right, this is very strange, cpufreq (compiled into the kernel) segfaults whenever the network cable on my laptop is plugged in on bootup but boots ok when it is plugged in after the kernel has loaded. i can post the entire segfault msg but it'll need me to write it all down. driver is 'r8139' (1000Mbps card), kernel version 2.6.5-mm2

Quoted 9 lines

Hm, this is really very strange.

Which cpufreq drivers do you use / are compiled into the kernel? What are the last two to four functions called, where's the EIP at the segfault? [the first few function names mentioned in the oops]

Thanks,
Dominik

well, technically its a kernel oops (attempted ot kill init). powersave and performance govenors are compiled in, using p4_clockmod driver. Sometimes it boots fine with the cable in, but it oops's most of the time:

Unable to handle kernel NULL pointer dereference at virtual address 00000018

...
EIP: 0060:[<c02f7c45>] Not tainted VLI
EIP is at cpufreq_notify_transition+0x79/0x98
...

Call trace:
[<c010f543>] cpufreq_p4_setdc+0x1eb/0x306
[<c01706d3>] d_lookup+0x29/0x52
[<c010f6bb>] cpufreq_p4_target+0x5d/0x69
[<c02f757d>] __cpufreq_driver_target+0x22/0x26

...

Simon

#3 lore raw
Quoted 27 lines · Simon Cooper
Quoted 7 lines · On Mon, 12 Apr 2004 10:30:58 +0200 Dominik Brodowski…
Quoted 5 lines · Simon Cooper

right, this is very strange, cpufreq (compiled into the kernel) segfaults whenever the network cable on my laptop is plugged in on bootup but boots ok when it is plugged in after the kernel has loaded. i can post the entire segfault msg but it'll need me to write it all down. driver is 'r8139' (1000Mbps card), kernel version 2.6.5-mm2

Quoted 9 lines

Hm, this is really very strange.

Which cpufreq drivers do you use / are compiled into the kernel? What are the last two to four functions called, where's the EIP at the segfault? [the first few function names mentioned in the oops]

Thanks,
Dominik

well, technically its a kernel oops (attempted ot kill init). powersave and performance govenors are compiled in, using p4_clockmod driver. Sometimes it boots fine with the cable in, but it oops's most of the time:

Unable to handle kernel NULL pointer dereference at virtual address 00000018

...
EIP: 0060:[<c02f7c45>] Not tainted VLI
EIP is at cpufreq_notify_transition+0x79/0x98
...

Quoted 6 lines
Call trace:
[<c010f543>] cpufreq_p4_setdc+0x1eb/0x306
[<c01706d3>] d_lookup+0x29/0x52
[<c010f6bb>] cpufreq_p4_target+0x5d/0x69
[<c02f757d>] __cpufreq_driver_target+0x22/0x26

...

This very strange. Especially as all such NULL pointer dereferences would already happen _earlier_. It seems to me that this might be a bug in the networking driver, which -randomly?- affects unrelated other kernel/userspace components...

Dominik

_______________________________________________
Cpufreq mailing list
[email protected]
http://www.linux.org.uk/mailman/listinfo/cpufreq