Skip to contentSkip to conversation

WARNING in tty_io.c

DISCUSSION Shan Wei 2 participants 3 messages Nov 10, 2010 – Nov 18, 2010

lore
Share & tools
lore

Shan Wei

author
#0 lore raw

Modify start-ttys.conf to add ttyS0 device on my Fedora13 with 2.6.37-rc1+ kernel. After rebooting system, got the following WARNING.

------------[ cut here ]------------
WARNING: at drivers/char/tty_io.c:1331 tty_open+0x20e/0x3b2()
Hardware name: Aspire SA80
Modules linked in: ipv6 uinput snd_intel8x0 snd_ac97_codec ac97_bus r8169 ppdev parport_pc snd_seq snd_seq_device snd_pcm sis900 mii snd_timer snd soundcore parport snd_page_alloc pcspkr ata_generic pata_acpi sata_sis pata_sis [last unloaded: scsi_wait_scan]
Pid: 117, comm: plymouthd Not tainted 2.6.37-rc1+ #4
Call Trace:
 [<c044045c>] warn_slowpath_common+0x6a/0x7f
 [<c062aff0>] ? tty_open+0x20e/0x3b2
 [<c0440485>] warn_slowpath_null+0x14/0x18
 [<c062aff0>] tty_open+0x20e/0x3b2
 [<c04dc6c7>] chrdev_open+0xf3/0x110
 [<c04d8688>] __dentry_open+0x141/0x237
 [<c04d8833>] nameidata_to_filp+0x43/0x51
 [<c04dc5d4>] ? chrdev_open+0x0/0x110
 [<c04e25b8>] do_last+0x372/0x47f
 [<c04e3b8d>] do_filp_open+0x19c/0x406
 [<c04e5085>] ? do_vfs_ioctl+0x55e/0x5b4
 [<c05b6232>] ? might_fault+0x1e/0x20
 [<c04d8457>] do_sys_open+0x4d/0xcf
 [<c0581f47>] ? selinux_file_ioctl+0x43/0x46
 [<c04d8525>] sys_open+0x23/0x2b
 [<c04097df>] sysenter_do_call+0x12/0x28
 [<c07a0000>] ? init_intel_cacheinfo+0x6d/0x39e
---[ end trace eeb22dd7bedfb0b1 ]---
#1 lore raw
Quoted 10 lines · Shan Wei

Modify start-ttys.conf to add ttyS0 device on my Fedora13 with 2.6.37-rc1+ kernel. After rebooting system, got the following WARNING.

------------[ cut here ]------------
WARNING: at drivers/char/tty_io.c:1331 tty_open+0x20e/0x3b2()
Hardware name: Aspire SA80
Modules linked in: ipv6 uinput snd_intel8x0 snd_ac97_codec ac97_bus r8169 ppdev parport_pc snd_seq snd_seq_device snd_pcm sis900 mii snd_timer snd soundcore parport snd_page_alloc pcspkr ata_generic pata_acpi sata_sis pata_sis [last unloaded: scsi_wait_scan]

Pid: 117, comm: plymouthd Not tainted 2.6.37-rc1+ #4

Does this still happen in .37-rc2?

Alan, any ideas?

Quoted 20 lines
Call Trace:
 [<c044045c>] warn_slowpath_common+0x6a/0x7f
 [<c062aff0>] ? tty_open+0x20e/0x3b2
 [<c0440485>] warn_slowpath_null+0x14/0x18
 [<c062aff0>] tty_open+0x20e/0x3b2
 [<c04dc6c7>] chrdev_open+0xf3/0x110
 [<c04d8688>] __dentry_open+0x141/0x237
 [<c04d8833>] nameidata_to_filp+0x43/0x51
 [<c04dc5d4>] ? chrdev_open+0x0/0x110
 [<c04e25b8>] do_last+0x372/0x47f
 [<c04e3b8d>] do_filp_open+0x19c/0x406
 [<c04e5085>] ? do_vfs_ioctl+0x55e/0x5b4
 [<c05b6232>] ? might_fault+0x1e/0x20
 [<c04d8457>] do_sys_open+0x4d/0xcf
 [<c0581f47>] ? selinux_file_ioctl+0x43/0x46
 [<c04d8525>] sys_open+0x23/0x2b
 [<c04097df>] sysenter_do_call+0x12/0x28
 [<c07a0000>] ? init_intel_cacheinfo+0x6d/0x39e
---[ end trace eeb22dd7bedfb0b1 ]---
author
#2 lore raw

Greg KH wrote, at 11/18/2010 02:14 PM:

Quoted 6 lines · Shan Wei
Quoted 5 lines

Modify start-ttys.conf to add ttyS0 device on my Fedora13 with 2.6.37-rc1+ kernel. After rebooting system, got the following WARNING.

Quoted 7 lines
Quoted 5 lines
------------[ cut here ]------------
WARNING: at drivers/char/tty_io.c:1331 tty_open+0x20e/0x3b2()
Hardware name: Aspire SA80
Modules linked in: ipv6 uinput snd_intel8x0 snd_ac97_codec ac97_bus r8169 ppdev parport_pc snd_seq snd_seq_device snd_pcm sis900 mii snd_timer snd soundcore parport snd_page_alloc pcspkr ata_generic pata_acpi sata_sis pata_sis [last unloaded: scsi_wait_scan]

Pid: 117, comm: plymouthd Not tainted 2.6.37-rc1+ #4

Does this still happen in .37-rc2?

Good news.
It's not appreared in 2.6.37-rc2+ with top commit 59365d13.

Thanks again.

Signature · 3 lines
Best Regards
-----
Shan Wei
Quoted 24 lines

Alan, any ideas?

Quoted 20 lines
Call Trace:
 [<c044045c>] warn_slowpath_common+0x6a/0x7f
 [<c062aff0>] ? tty_open+0x20e/0x3b2
 [<c0440485>] warn_slowpath_null+0x14/0x18
 [<c062aff0>] tty_open+0x20e/0x3b2
 [<c04dc6c7>] chrdev_open+0xf3/0x110
 [<c04d8688>] __dentry_open+0x141/0x237
 [<c04d8833>] nameidata_to_filp+0x43/0x51
 [<c04dc5d4>] ? chrdev_open+0x0/0x110
 [<c04e25b8>] do_last+0x372/0x47f
 [<c04e3b8d>] do_filp_open+0x19c/0x406
 [<c04e5085>] ? do_vfs_ioctl+0x55e/0x5b4
 [<c05b6232>] ? might_fault+0x1e/0x20
 [<c04d8457>] do_sys_open+0x4d/0xcf
 [<c0581f47>] ? selinux_file_ioctl+0x43/0x46
 [<c04d8525>] sys_open+0x23/0x2b
 [<c04097df>] sysenter_do_call+0x12/0x28
 [<c07a0000>] ? init_intel_cacheinfo+0x6d/0x39e
---[ end trace eeb22dd7bedfb0b1 ]---