[Click] Linux 2.6 Seg Faults

Jason Haas jjhaas at gmail.com
Sun Sep 17 10:27:19 EDT 2006


Recently, I've looking into going to a 2.6 kernel for driver support.
However, I'm still running into similar problems I had with a 2.6 kernel and
click as of 6 months ago or so.  The kernel seg faults (page faults) when I
uninstall the click kernel module.  I've tried it with the conf/test.click
script provided.  Compiling with SMP support locks the computer and without
SMP, it segfaults, but lets you install and uninstall click at least twice
and doesn't lock up the computer (when running test.click).  The lock-up
behavior appears again when I run test2.click.  I'm running on Kubuntu
6.06with a vanilla 2.6.16.13
kernel + click patch.  I'm attaching my oops from dmesg and my list of
kernel modules at the time.

I'd appreciate any help, even of the form of, "Why the heck are you using
Kubuntu?  Use Slackware, it works for me."  I'm not attached to a distro.
Also, please note your kernel/patch level if you reply.


Thanks,

Jason Haas
-------------- next part --------------
[17184317.684000] click module exiting
[17184318.504000] Unable to handle kernel paging request at virtual address cd1e9f94
[17184318.504000]  printing eip:
[17184318.504000] c106a6ba
[17184318.504000] *pde = 00030067
[17184318.504000] Oops: 0002 [#1]
[17184318.504000] PREEMPT DEBUG_PAGEALLOC
[17184318.504000] Modules linked in: proclikefs usbserial ppp_deflate zlib_deflate bsd_comp ppp_async ppp_generic slhc radeon drm nvram uinput ppdev speedstep_ich speedstep_lib cpufreq_userspace cpufreq_stats freq_table cpufreq_powersave cpufreq_ondemand cpufreq_conservative video thermal processor ibm_acpi fan container button battery ac af_packet lp pcmcia tsdev hostap_pci hostap ieee80211_crypt psmouse floppy serio_raw pcspkr parport_pc parport rtc orinoco_pci orinoco hermes e100 mii yenta_socket rsrc_nonstatic pcmcia_core snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc intel_agp agpgart hw_random evdev
[17184318.504000] CPU:    0
[17184318.504000] EIP:    0060:[<c106a6ba>]    Not tainted VLI
[17184318.504000] EFLAGS: 00010293   (2.6.16.13 #2)
[17184318.504000] EIP is at generic_shutdown_super+0xea/0x180
[17184318.504000] eax: cd1e9f90   ebx: d1de3e44   ecx: d1de3eac   edx: cd1e9f90
[17184318.504000] esi: d1de3df8   edi: 00100100   ebp: d16fded4   esp: d16fdec0
[17184318.504000] ds: 007b   es: 007b   ss: 0068
[17184318.504000] Process click-uninstall (pid: 6185, threadinfo=d16fc000 task=e0d24ad0)
[17184318.504000] Stack: <0>d1de3df8 e7f61ef8 00000011 cd1e9f78 e7f45140 d16fdee8 c106a7b5 d1de3df8
[17184318.504000]        c118a041 d1de3df8 d16fdf00 c106aa9b d1de3df8 c140a580 d1de3df8 e7f45118
[17184318.504000]        d16fdf1c c1082c57 d1de3df8 c140ac14 d16fdf4c c140ac18 d16fc000 d16fdf2c
[17184318.504000] Call Trace:
[17184318.504000]  [<c100398d>] show_stack_log_lvl+0xcd/0x120
[17184318.504000]  [<c1003b9b>] show_registers+0x1bb/0x250
[17184318.504000]  [<c1003eec>] die+0x10c/0x250
[17184318.504000]  [<c10139b1>] do_page_fault+0x331/0x5b1
[17184318.504000]  [<c100331b>] error_code+0x4f/0x54
[17184318.504000]  [<c106a7b5>] kill_anon_super+0x15/0x60
[17184318.504000]  [<c106aa9b>] deactivate_super+0x9b/0xc0
[17184318.504000]  [<c1082c57>] mntput_no_expire+0x67/0xc0
[17184318.504000]  [<c107253f>] path_release_on_umount+0x1f/0x30
[17184318.504000]  [<c1083c63>] sys_umount+0x43/0x2d0
[17184318.504000]  [<c1083f07>] sys_oldumount+0x17/0x20
[17184318.504000]  [<c1003097>] sysenter_past_esp+0x54/0x75
[17184318.504000] Code: 00 00 00 e8 79 d3 fa ff 8b 46 04 8d 8e b4 00 00 00 bf 00 01 10 00 8b 16 89 42 04 89 10 89 76 04 8b 96 b4 00 00 00 8b 41 04 89 36 <89> 42 04 89 10 c7 41 04 00 02 20 00 89 be b4 00 00 00 b8 01 00
[17184318.504000]  <6>note: click-uninstall[6185] exited with preempt_count 1

------------ module list follows ------------------


Module                  Size  Used by
proclikefs              9012  1 
usbserial              32844  0 
ppp_deflate             6656  0 
zlib_deflate           22048  1 ppp_deflate
bsd_comp                6400  0 
ppp_async              12160  0 
ppp_generic            31252  3 ppp_deflate,bsd_comp,ppp_async
slhc                    7424  1 ppp_generic
radeon                111520  0 
drm                    73752  1 radeon
nvram                   9480  1 
uinput                  9600  1 
ppdev                  10500  0 
speedstep_ich           5136  0 
speedstep_lib           4996  1 speedstep_ich
cpufreq_userspace       4500  1 
cpufreq_stats           6024  0 
freq_table              5124  2 speedstep_ich,cpufreq_stats
cpufreq_powersave       2176  0 
cpufreq_ondemand        6428  0 
cpufreq_conservative     7332  0 
video                  15620  0 
thermal                13704  0 
processor              22848  1 thermal
ibm_acpi               25860  0 
fan                     4996  0 
container               4736  0 
button                  6928  0 
battery                 9860  0 
ac                      5252  0 
af_packet              23432  2 
lp                     12448  0 
pcmcia                 40996  0 
tsdev                   8384  0 
hostap_pci             56848  0 
hostap                121604  1 hostap_pci
ieee80211_crypt         7040  1 hostap
psmouse                40840  0 
floppy                 65616  0 
serio_raw               7812  0 
pcspkr                  3972  0 
parport_pc             36592  1 
parport                40520  3 ppdev,lp,parport_pc
rtc                    14644  0 
orinoco_pci             7936  0 
orinoco                45716  1 orinoco_pci
hermes                  8320  2 orinoco_pci,orinoco
e100                   37124  0 
mii                     6400  1 e100
yenta_socket           27660  3 
rsrc_nonstatic         14080  1 yenta_socket
pcmcia_core            43156  3 pcmcia,yenta_socket,rsrc_nonstatic
snd_intel8x0           33948  3 
snd_ac97_codec         97440  1 snd_intel8x0
snd_ac97_bus            2688  1 snd_ac97_codec
snd_pcm_oss            52896  0 
snd_mixer_oss          19072  1 snd_pcm_oss
snd_pcm                92296  4 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              25732  2 snd_pcm
snd                    55680  10 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              10848  1 snd
snd_page_alloc         11144  2 snd_intel8x0,snd_pcm
intel_agp              24732  1 
agpgart                33888  2 drm,intel_agp
hw_random               6556  0 
evdev                  10368  2 


More information about the click mailing list