[LinuxPPS] BUG: scheduling while atomic:

gnu not unix gnu at wraith.sf.ca.us
Wed Feb 7 04:08:29 CET 2007


Hi, I did a git clone of the latest linuxpps today 
and  the kernel I've built seems to get some BUGs.

Partial output of dmesg:

Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
BUG: scheduling while atomic: swapper/0x00000001/1
(...)
 =======================
serial_core: PPS source #0 "/dev/ttyS0" added to the system 
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
BUG: scheduling while atomic: swapper/0x00000001/1
(...)
 =======================
serial_core: PPS source #1 "/dev/ttyS1" added to the system 
BUG: scheduling while atomic: swapper/0x00000001/1
(...)
 =======================
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
BUG: scheduling while atomic: swapper/0x00000001/1
(...)
 =======================
serial_core: PPS source #0 "/dev/ttyS0" added to the system 
BUG: scheduling while atomic: swapper/0x00000001/1
(...)
 =======================
00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
BUG: scheduling while atomic: swapper/0x00000001/1
(...)

The above left out the backtraces. These were at boot
time with built-in serial driver/pps.
Later on, I installed the lp module and this happened
(with the full backtrace):

lp0: using parport0 (interrupt-driven).
BUG: scheduling while atomic: modprobe/0x00000001/1446
 [<c0329137>] schedule+0x937/0x960
 [<c0119599>] __wake_up_common+0x39/0x60
 [<c01195f2>] __wake_up+0x32/0x60
 [<c03294a3>] wait_for_completion+0x63/0xa0
 [<c011c120>] default_wake_function+0x0/0x20
 [<c0131401>] call_usermodehelper_keys+0xe1/0x100
 [<c01312c0>] __call_usermodehelper+0x0/0x60
 [<c01e8bae>] kobject_uevent+0x36e/0x460
 [<c0245dfc>] class_device_add+0x2bc/0x460
 [<c01e7f8f>] kobject_get+0xf/0x20
 [<c01e856b>] kobject_init+0x2b/0x60
 [<c02bba26>] linuxpps_sysfs_create_source_entry+0x86/0x140
 [<c02bb63f>] linuxpps_register_source+0x9f/0x200
 [<c88406d2>] lp_register+0x132/0x1e0 [lp]
 [<c88407aa>] lp_attach+0x2a/0xa0 [lp]
 [<c885e987>] parport_register_driver+0x27/0x80 [parport]
 [<c885c19f>] lp_init_module+0x19f/0x252 [lp]
 [<c013e833>] sys_init_module+0xf3/0x1c20
 [<c01e90ff>] prio_tree_insert+0x1f/0x2a0
 [<c01031d7>] syscall_call+0x7/0xb
 =======================
lp: PPS source #2 "/dev/lp0" added to the system

../Steven



More information about the LinuxPPS mailing list