Re: Serial Driver Bug??

Steven L Baur (steve@miranova.com)
28 Apr 1996 11:44:06 -0700


>>>>> "Theodore" == Theodore Y Ts'o <tytso@mit.edu> writes:

Theodore> Date: Thu, 25 Apr 1996 20:37:00 -0400 (EDT)
Theodore> From: "Andrew E. Mileski" <aem@nic.ott.hookup.net>

Theodore> I've been getting lots of errors in all kernels since the
Theodore> serial driver went modular.

Theodore> I haven't seen any of these symptoms on my machine, and
Theodore> neither has any of the other people whom I'm familiar with
Theodore> who have tried using the modular serial driver.

Theodore> Do any of these problems (cat /proc/ioports causing system
Theodore> crashes, etc.) happen *before* the first time the serial
Theodore> driver is loaded?

Theodore> If anyone else has seen similar problems, by all means,
Theodore> please let me (and the kernel mailing list) know.

I can duplicate the problem. Here's an oops from it (1.3.95).

Apr 26 12:33:06 worf modprobe: Can't locate module char-major-4
Apr 26 12:33:24 worf kernel: Serial driver version 4.12 with no serial options enabled
Apr 26 12:33:24 worf kernel: tty00 at 0x03f8 (irq = 4) is a 16450
Apr 26 12:33:24 worf kernel: tty01 at 0x02f8 (irq = 3) is a 16450
...
Apr 26 20:05:30 worf kernel: Unable to handle kernel paging request at virtual address c100e2c8
Apr 26 20:05:30 worf kernel: current->tss.cr3 = 00391000, ^Lr3 = 00391000
Apr 26 20:05:30 worf kernel: *pde = 0009e067
Apr 26 20:05:30 worf kernel: *pte = 00000000
Apr 26 20:05:30 worf kernel: Oops: 0000
Apr 26 20:05:30 worf kernel: CPU: 0
Apr 26 20:05:31 worf kernel: EIP: 0010:[vsprintf+655/1060]
Apr 26 20:05:31 worf kernel: EFLAGS: 00010297
Apr 26 20:05:31 worf kernel: eax: 0100e2c8 ebx: ffffffff ecx: 0100e2c8 edx: fffffffe
Apr 26 20:05:31 worf kernel: esi: ffffffff edi: 003f609b ebp: 00000000 esp: 003deee0
Apr 26 20:05:31 worf kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Apr 26 20:05:31 worf kernel: Process cat (pid: 1082, process nr: 27, stackpage=003de000)
Apr 26 20:05:31 worf kernel: Stack: 001984d8 0000008f 003f6000 003f6000 0067e1e0 00000007 00152eec ffffffff
Apr 26 20:05:31 worf kernel: 0000001b 00000001 00179c3c 003f608f 0017bfbe 003def30 00115e04 003f608f
Apr 26 20:05:31 worf kernel: 0017bfaf 000002f8 000002ff 0100e2c8 00000000 003def90 00001000 001552a2
Apr 26 20:05:31 worf kernel: Call Trace: [proc_root_lookup+56/256] [sprintf+20/24] [get_ioport_list+56/100] [<0100e2c8>] [get_root_array+294/332] [array_read+202/564] [sys_read+170/188]
Apr 26 20:05:31 worf kernel: [system_call+89/160]
Apr 26 20:05:31 worf kernel: Code: 80 38 00 74 07 40 4a 83 fa ff 75 f4 29 c8 89 c6 f7 c5 10 00

Andrew sent me a patch that addresses this problem that I haven't had
a chance to test yet.

-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be proofread for $250/hour.
Andrea Seastrand: For your vote on the Telecom bill, I will vote for anyone
except you in November.