Does not work well at all on a 64 bit kernel:
Apr 12 22:05:59 kim-touch kernel: [ 1111.966242] BUG: scheduling while atomic: swapper/0/0x10010000 Apr 12 22:05:59 kim-touch kernel: [ 1111.966250] Modules linked in: nw_fermi nfs lockd nfs_acl auth_rpcgss sunrpc binfmt_misc ppdev snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi fbcon tileblit snd_seq_midi_event font bitblit softcursor edac_core snd_seq fglrx(P) vga16fb vgastate pl2303 video lp edac_mce_amd usbserial shpchp output snd_timer rt3090sta (C) joydev i2c_piix4 snd_seq_device parport psmouse serio_raw uvcvideo videodev snd soundcore snd_page_alloc v4l1_compat usbhid v4l2_compat_ioctl32 hid lirc_mceusb lirc_dev usb_storage r8169 mii ahci Apr 12 22:05:59 kim-touch kernel: [ 1111.966338] CPU 0: Apr 12 22:05:59 kim-touch kernel: [ 1111.966342] Modules linked in: nw_fermi nfs lockd nfs_acl auth_rpcgss sunrpc binfmt_misc ppdev snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi fbcon tileblit snd_seq_midi_event font bitblit softcursor edac_core snd_seq fglrx(P) vga16fb vgastate pl2303 video lp edac_mce_amd usbserial shpchp output snd_timer rt3090sta (C) joydev i2c_piix4 snd_seq_device parport psmouse serio_raw uvcvideo videodev snd soundcore snd_page_alloc v4l1_compat usbhid v4l2_compat_ioctl32 hid lirc_mceusb lirc_dev usb_storage r8169 mii ahci Apr 12 22:05:59 kim-touch kernel: [ 1111.966422] Pid: 0, comm: swapper Tainted: P C 2.6.32-20-generic #29-Ubuntu NY758AA-ABG 300-1040a Apr 12 22:05:59 kim-touch kernel: [ 1111.966427] RIP: 0010:[<ffffffff81038acb>] [<ffffffff81038acb>] native_safe_halt+0xb/0x10 Apr 12 22:05:59 kim-touch kernel: [ 1111.966445] RSP: 0018:ffffffff8178bea8 EFLAGS: 00000246 Apr 12 22:05:59 kim-touch kernel: [ 1111.966449] RAX: 0000000000000000 RBX: ffffffff8178bea8 RCX: 0000000000000000 Apr 12 22:05:59 kim-touch kernel: [ 1111.966455] RDX: ffffc90000000108 RSI: 0000000000000086 RDI: 0000000000000086 Apr 12 22:05:59 kim-touch kernel: [ 1111.966460] RBP: ffffffff81013b0e R08: ffffffff817b8740 R09: 0000000000000001 Apr 12 22:05:59 kim-touch kernel: [ 1111.966465] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff810934c0 Apr 12 22:05:59 kim-touch kernel: [ 1111.966470] R13: ffffffff8178be48 R14: 0000000000000000 R15: 00000000ffffffff Apr 12 22:05:59 kim-touch kernel: [ 1111.966476] FS: 00007faac4d31710(0000) GS:ffff880028200000(0000) knlGS:00000000f6c1db70 Apr 12 22:05:59 kim-touch kernel: [ 1111.966482] CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b Apr 12 22:05:59 kim-touch kernel: [ 1111.966487] CR2: 000000000237f5ec CR3: 00000001003bc000 CR4: 00000000000006f0 Apr 12 22:05:59 kim-touch kernel: [ 1111.966492] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Apr 12 22:05:59 kim-touch kernel: [ 1111.966497] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Apr 12 22:05:59 kim-touch kernel: [ 1111.966502] Call Trace: Apr 12 22:05:59 kim-touch kernel: [ 1111.966513] [<ffffffff81092c5c>] ? clockevents_notify+0x4c/0x160 Apr 12 22:05:59 kim-touch kernel: [ 1111.966523] [<ffffffff8101b6cd>] ? default_idle+0x3d/0x90 Apr 12 22:05:59 kim-touch kernel: [ 1111.966531] [<ffffffff8101b7ba>] ? c1e_idle+0x9a/0x120 Apr 12 22:05:59 kim-touch kernel: [ 1111.966539] [<ffffffff81011e73>] ? cpu_idle+0xb3/0x110 Apr 12 22:05:59 kim-touch kernel: [ 1111.966548] [<ffffffff8152c0db>] ? rest_init+0x6b/0x80 Apr 12 22:05:59 kim-touch kernel: [ 1111.966556] [<ffffffff81849dcc>] ? start_kernel+0x368/0x371 Apr 12 22:05:59 kim-touch kernel: [ 1111.966566] [<ffffffff8184933a>] ? x86_64_start_reservations+0x125/0x129 Apr 12 22:05:59 kim-touch kernel: [ 1111.966575] [<ffffffff81849438>] ? x86_64_start_kernel+0xfa/0x109
Does not work well at all on a 64 bit kernel:
Apr 12 22:05:59 kim-touch kernel: [ 1111.966242] BUG: scheduling while atomic: swapper/ 0/0x10010000 codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm ffffffff81038ac b>] [<ffffffff81038 acb>] native_ safe_halt+ 0xb/0x10 78bea8 EFLAGS: 00000246 0(0000) GS:ffff88002820 0000(0000) knlGS:00000000f 6c1db70 c5c>] ? clockevents_ notify+ 0x4c/0x160 6cd>] ? default_ idle+0x3d/ 0x90 7ba>] ? c1e_idle+0x9a/0x120 e73>] ? cpu_idle+0xb3/0x110 0db>] ? rest_init+0x6b/0x80 dcc>] ? start_kernel+ 0x368/0x371 33a>] ? x86_64_ start_reservati ons+0x125/ 0x129 438>] ? x86_64_ start_kernel+ 0xfa/0x109
Apr 12 22:05:59 kim-touch kernel: [ 1111.966250] Modules linked in: nw_fermi nfs lockd nfs_acl auth_rpcgss sunrpc binfmt_misc ppdev snd_hda_
snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi fbcon tileblit snd_seq_midi_event font bitblit softcursor edac_core snd_seq fglrx(P) vga16fb vgastate pl2303 video lp edac_mce_amd usbserial shpchp output snd_timer rt3090sta
(C) joydev i2c_piix4 snd_seq_device parport psmouse serio_raw uvcvideo videodev snd soundcore snd_page_alloc v4l1_compat usbhid v4l2_compat_ioctl32 hid lirc_mceusb lirc_dev usb_storage r8169 mii ahci
Apr 12 22:05:59 kim-touch kernel: [ 1111.966338] CPU 0:
Apr 12 22:05:59 kim-touch kernel: [ 1111.966342] Modules linked in: nw_fermi nfs lockd nfs_acl auth_rpcgss sunrpc binfmt_misc ppdev snd_hda_
snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi fbcon tileblit snd_seq_midi_event font bitblit softcursor edac_core snd_seq fglrx(P) vga16fb vgastate pl2303 video lp edac_mce_amd usbserial shpchp output snd_timer rt3090sta
(C) joydev i2c_piix4 snd_seq_device parport psmouse serio_raw uvcvideo videodev snd soundcore snd_page_alloc v4l1_compat usbhid v4l2_compat_ioctl32 hid lirc_mceusb lirc_dev usb_storage r8169 mii ahci
Apr 12 22:05:59 kim-touch kernel: [ 1111.966422] Pid: 0, comm: swapper Tainted: P C 2.6.32-20-generic #29-Ubuntu NY758AA-ABG 300-1040a
Apr 12 22:05:59 kim-touch kernel: [ 1111.966427] RIP: 0010:[<
Apr 12 22:05:59 kim-touch kernel: [ 1111.966445] RSP: 0018:ffffffff81
Apr 12 22:05:59 kim-touch kernel: [ 1111.966449] RAX: 0000000000000000 RBX: ffffffff8178bea8 RCX: 0000000000000000
Apr 12 22:05:59 kim-touch kernel: [ 1111.966455] RDX: ffffc90000000108 RSI: 0000000000000086 RDI: 0000000000000086
Apr 12 22:05:59 kim-touch kernel: [ 1111.966460] RBP: ffffffff81013b0e R08: ffffffff817b8740 R09: 0000000000000001
Apr 12 22:05:59 kim-touch kernel: [ 1111.966465] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff810934c0
Apr 12 22:05:59 kim-touch kernel: [ 1111.966470] R13: ffffffff8178be48 R14: 0000000000000000 R15: 00000000ffffffff
Apr 12 22:05:59 kim-touch kernel: [ 1111.966476] FS: 00007faac4d3171
Apr 12 22:05:59 kim-touch kernel: [ 1111.966482] CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
Apr 12 22:05:59 kim-touch kernel: [ 1111.966487] CR2: 000000000237f5ec CR3: 00000001003bc000 CR4: 00000000000006f0
Apr 12 22:05:59 kim-touch kernel: [ 1111.966492] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Apr 12 22:05:59 kim-touch kernel: [ 1111.966497] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Apr 12 22:05:59 kim-touch kernel: [ 1111.966502] Call Trace:
Apr 12 22:05:59 kim-touch kernel: [ 1111.966513] [<ffffffff81092
Apr 12 22:05:59 kim-touch kernel: [ 1111.966523] [<ffffffff8101b
Apr 12 22:05:59 kim-touch kernel: [ 1111.966531] [<ffffffff8101b
Apr 12 22:05:59 kim-touch kernel: [ 1111.966539] [<ffffffff81011
Apr 12 22:05:59 kim-touch kernel: [ 1111.966548] [<ffffffff8152c
Apr 12 22:05:59 kim-touch kernel: [ 1111.966556] [<ffffffff81849
Apr 12 22:05:59 kim-touch kernel: [ 1111.966566] [<ffffffff81849
Apr 12 22:05:59 kim-touch kernel: [ 1111.966575] [<ffffffff81849