Re: [LKP] [lkp] [spi] 2baed30cb3: BUG: scheduling while atomic: systemd-udevd/134/0x00000002
From: Huang\, Ying
Date: Wed Jan 20 2016 - 00:01:05 EST
Sudip Mukherjee <sudipm.mukherjee@xxxxxxxxx> writes:
> On Wed, Jan 20, 2016 at 08:44:37AM +0800, kernel test robot wrote:
>> FYI, we noticed the below changes on
>>
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>> commit 2baed30cb30727b2637d26eac5a8887875a13420 ("spi: lm70llp: use new parport device model")
>>
>>
>> +----------------+------------+------------+
>> | | 74bdced4b4 | 2baed30cb3 |
>> +----------------+------------+------------+
>> | boot_successes | 0 | 0 |
>> +----------------+------------+------------+
>>
>>
>>
>> [ 6.358390] i6300esb: Intel 6300ESB WatchDog Timer Driver v0.05
>> [ 6.358540] i6300esb: cannot register miscdev on minor=130 (err=-16)
>> [ 6.358555] i6300ESB timer: probe of 0000:00:06.0 failed with error -16
>> [ 6.363357] BUG: scheduling while atomic: systemd-udevd/134/0x00000002
>> [ 6.363366] Modules linked in: crc32c_intel pcspkr evdev i6300esb
>> ide_cd_mod cdrom intel_agp intel_gtt i2c_piix4 i2c_core virtio_pci
>> virtio virtio_ring agpgart rtc_cmos(+) parport_pc(+) autofs4
>> [ 6.363369] CPU: 1 PID: 134 Comm: systemd-udevd Not tainted 4.4.0-rc1-00006-g2baed30 #1
>> [ 6.363370] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
>
> Can you please let me know how do i reproduce this on qemu? what command
> line you used?
The command line can be found in the last line of dmesg file, as below.
qemu-system-x86_64 -enable-kvm -cpu host -kernel /pkg/linux/x86_64-randconfig-a0-01191454/gcc-5/2baed30cb30727b2637d26eac5a8887875a13420/vmlinuz-4.4.0-rc1-00006-g2baed30 -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-lkp-wsx03-2G-2/bisect_boot-1-debian-x86_64-2015-02-07.cgz-x86_64-randconfig-a0-01191454-2baed30cb30727b2637d26eac5a8887875a13420-20160119-71002-198dtgm-0.yaml ARCH=x86_64 kconfig=x86_64-randconfig-a0-01191454 branch=linux-devel/devel-spot-201601191442 commit=2baed30cb30727b2637d26eac5a8887875a13420 BOOT_IMAGE=/pkg/linux/x86_64-randconfig-a0-01191454/gcc-5/2baed30cb30727b2637d26eac5a8887875a13420/vmlinuz-4.4.0-rc1-00006-g2baed30 max_uptime=600 RESULT_ROOT=/result/boot/1/vm-lkp-wsx03-2G/debian-x86_64-2015-02-07.cgz/x86_64-randconfig-a0-01191454/gcc-5/2baed30cb30727b2637d26eac5a8887875a13420/0 LKP_SERVER=inn earlyprintk=ttyS0,115200 systemd.log_level=err debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal rw ip=::::vm-lkp-wsx03-2G-2::dhcp' -initrd /fs/sda1/initrd-vm-lkp-wsx03-2G-2 -m 2048 -smp 2 -device e1000,netdev=net0 -netdev user,id=net0,hostfwd=tcp::23621-:22 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -drive file=/fs/sda1/disk0-vm-lkp-wsx03-2G-2,media=disk,if=virtio -drive file=/fs/sda1/disk1-vm-lkp-wsx03-2G-2,media=disk,if=virtio -pidfile /dev/shm/kboot/pid-vm-lkp-wsx03-2G-2 -serial file:/dev/shm/kboot/serial-vm-lkp-wsx03-2G-2 -daemonize -display none -monitor null
Best Regards,
Huang, Ying
>> [ 6.363372] 0000000000012880 ffff88007f8bb880 ffffffff878a5e4d ffff880078712880
>> [ 6.363374] ffff88007f8bb890 ffffffff876a64d6 ffff88007f8bb8d0 ffffffff87b05f69
>> [ 6.363375] ffff88005d04e340 ffff88007f8bc000 000000000000007f ffffffff879a6260
>> [ 6.363375] Call Trace:
>> [ 6.363385] [<ffffffff878a5e4d>] dump_stack+0x4b/0x6e
>> [ 6.363391] [<ffffffff876a64d6>] __schedule_bug+0x46/0x60
>> [ 6.363394] [<ffffffff87b05f69>] __schedule+0x549/0x780
>> [ 6.363398] [<ffffffff879a6260>] ? dead_read+0x10/0x10
>
> dead_read() is used only when a port has been removed and the driver has
> not registered with parport_register_driver(). But in the case of
> spi/spi-lm70llp.c it has detach callback, so whenever a port is removed
> detach should be executed.
>
> regards
> sudip
> _______________________________________________
> LKP mailing list
> LKP@xxxxxxxxxxxx
> https://lists.01.org/mailman/listinfo/lkp