* Martin Michlmayr <[EMAIL PROTECTED]> [2008-11-19 23:25]: > > Signed-off-by: Riku Voipio <[EMAIL PROTECTED]> > > Tested-by: Martin Michlmayr <[EMAIL PROTECTED]>
Sorry, I take this back. While it fixes the oops when beeping, I now get this: debian:/sys/class/leds# echo 1 > n2100\:red\:usb/brightness [42949890.970000] kernel BUG at kernel/workqueue.c:169! [42949890.970000] Unable to handle kernel NULL pointer dereference at virtual address 00000000 [42949890.980000] pgd = c77ac000 [42949890.980000] [00000000] *pgd=a763a031, *pte=00000000, *ppte=00000000 [42949890.990000] Internal error: Oops: 817 [#2] [42949890.990000] Modules linked in: ipv6 ext2 loop ehci_hcd uhci_hcd usbcore r8169 evdev ext3 jbd mbcache sd_mod sata_sil libata scsi_mod [42949890.990000] CPU: 0 Tainted: G D (2.6.26-1-iop32x #1) [42949890.990000] PC is at __bug+0x20/0x2c [42949890.990000] LR is at 0xc02c04ec [42949890.990000] pc : [<c0028c08>] lr : [<c02c04ec>] psr: 20000013 [42949890.990000] sp : c7e39ea0 ip : c7e39dd0 fp : c7e39eac [42949890.990000] r10: c7e39f78 r9 : c7424378 r8 : c02cc570 [42949890.990000] r7 : 00000002 r6 : c7caf2e8 r5 : 00000001 r4 : c7caf2dc [42949890.990000] r3 : 00000000 r2 : 00000013 r1 : 00003c50 r0 : 0000003b [42949890.990000] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user [42949890.990000] Control: 0000397f Table: a77ac000 DAC: 00000015 [42949890.990000] Process bash (pid: 1810, stack limit = 0xc7e38268) [42949890.990000] Stack: (0xc7e39ea0 to 0xc7e3a000) [42949890.990000] 9ea0: c7e39ebc c7e39eb0 c004cc1c c0028bf4 c7e39ecc c7e39ec0 c004cc4c c004cbd0 [42949890.990000] 9ec0: c7e39ee4 c7e39ed0 c01972f4 c004cc3c c7e38000 00000002 c7e39f0c c7e39ee8 [42949890.990000] 9ee0: c0196758 c01972a0 c7424378 c76e7001 c75d1d28 c7424360 00000002 c75d3068 [42949890.990000] 9f00: c7e39f1c c7e39f10 c01690b4 c01966bc c7e39f4c c7e39f20 c00daf50 c016909c [42949890.990000] 9f20: c009e4a0 c74d5ae0 000c2c08 c7e39f78 00000002 c0024c28 c7e38000 00000000 [42949890.990000] 9f40: c7e39f74 c7e39f50 c0092780 c00dae3c c7e39f7c c7e39f60 c74d5ae0 fffffff7 [42949890.990000] 9f60: 00000000 00000000 c7e39fa4 c7e39f78 c0092e48 c00926d4 00000000 00000000 [42949890.990000] 9f80: c009ebd4 00000000 00000002 000c2c08 401a05e0 00000004 00000000 c7e39fa8 [42949890.990000] 9fa0: c0024a60 c0092e10 00000002 000c2c08 00000001 000c2c08 00000002 00000000 [42949890.990000] 9fc0: 00000002 000c2c08 401a05e0 00000004 00000002 bec12b8c 00000000 bec12b88 [42949890.990000] 9fe0: 000c2c08 bec12b08 400e0c9c 40130c9c 60000010 00000001 6369746e 6f697461 [42949890.990000] Backtrace: [42949890.990000] [<c0028be8>] (__bug+0x0/0x2c) from [<c004cc1c>] (queue_work+0x58/0x6c) [42949890.990000] [<c004cbc4>] (queue_work+0x0/0x6c) from [<c004cc4c>] (schedule_work+0x1c/0x24) [42949890.990000] [<c004cc30>] (schedule_work+0x0/0x24) from [<c01972f4>] (pca9532_set_brightness+0x60/0x64) [42949890.990000] [<c0197294>] (pca9532_set_brightness+0x0/0x64) from [<c0196758>] (led_brightness_store+0xa8/0xb8) [42949890.990000] r4:00000002 [42949890.990000] [<c01966b0>] (led_brightness_store+0x0/0xb8) from [<c01690b4>] (dev_attr_store+0x24/0x30) [42949890.990000] r7:c75d3068 r6:00000002 r5:c7424360 r4:c75d1d28 [42949890.990000] [<c0169090>] (dev_attr_store+0x0/0x30) from [<c00daf50>] (sysfs_write_file+0x120/0x178) [42949890.990000] [<c00dae30>] (sysfs_write_file+0x0/0x178) from [<c0092780>] (vfs_write+0xb8/0x190) [42949890.990000] [<c00926c8>] (vfs_write+0x0/0x190) from [<c0092e48>] (sys_write+0x44/0x70) [42949890.990000] r7:00000000 r6:00000000 r5:fffffff7 r4:c74d5ae0 [42949890.990000] [<c0092e04>] (sys_write+0x0/0x70) from [<c0024a60>] (ret_fast_syscall+0x0/0x3c) [42949890.990000] r7:00000004 r6:401a05e0 r5:000c2c08 r4:00000002 [42949890.990000] Code: e1a01000 e59f000c eb00525e e3a03000 (e5833000) [42949891.280000] ---[ end trace 831ffa354dcc6a00 ]--- Debian GNU/Linux lenny/sid debian ttyS0 debian login: -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]