1.2.13 oops

Jon Lewis (jlewis@gnv.fdt.net)
Sat, 9 Mar 1996 12:23:02 -0500 (EST)


I've had 2 similar oops's in the past 3 days running 1.2.13 on a 64 port
(RocketPort) terminal server with the following patches:
3c509.c v1.07
128 slip channels
128 ppp channels
skbuf (drop excessive UDP buffering)
kswap
n_tty patch
exit.c patch
reset on panic (lilo append="panic=20")
slhc fix
fixed ppp.c

I'm using rocket.o 1.08 with a bug-fix patch that is in 1.09B1.

Both oops's in the past few days have been followed by:
Attempt to open closing tty ttyR46.
Ack!!!! This should never happen!!

though the tty has been different. Both times it's been the original
name of a RocketPort tty, even though I rename them at bootup immediately
after setrocket creates them. ttyR46 ends up being named ttyRK.

Each time, this seems to have happened immediately after a copy of pppd
2.1.2d started.

Here's the output of today's pair of oops's generated by ksymoops and the
original log entries. I don't understand the Code: lines but I did
verify with my own perl script that the Trace: information is correct.

Using `../System.map-1.2.13-hp' to map addresses to symbols.

>>EIP: 193f0c <_ppp_us_queue+5c/2e0>
Trace: 193aef <_ppp_doframe+15f/2a0>
Trace: 193856 <_ppp_receive_buf+156/290>
Trace: 17b9a4 <_flush_to_ldisc+8c/a0>
Trace: 116f9a <_tqueue_bh+2a/50>
Trace: 11cd46 <_do_bottom_half+3e/a8>
Trace: 110735 <handle_bottom_half+d/20>
Trace: 190018 <_ethif_probe+620/6d4>
Trace: 1237ea <_kmalloc+1a/370>
Trace: 193222 <_ppp_open+112/1f0>
Trace: 193237 <_ppp_open+127/1f0>
Trace: 17933f <_tty_set_ldisc+c7/190>
Trace: 182a24 <_n_tty_open>
Trace: 1829e4 <_n_tty_close>
Trace: 1814b4 <_n_tty_flush_buffer>
Trace: 181554 <_n_tty_chars_in_buffer>
Trace: 182b74 <_read_chan>
Trace: 183244 <_write_chan>
Trace: 180ee8 <_n_tty_ioctl>
Trace: 182794 <_n_tty_set_termios>
Trace: 183444 <_normal_select>
Trace: 181c54 <_n_tty_receive_buf>
Trace: 182714 <_n_tty_receive_room>
Trace: 17b656 <_tty_ioctl+60e/810>
Trace: 115705 <_do_page_fault+ed/e48>
Trace: 13133b <_sys_ioctl+13b/158>
Trace: 1107b1 <_system_call+59/a0>
Trace: 11002b <_sys_sigsuspend+2f/50>

Code: 193f0c <_ppp_us_queue+5c/2e0> movb %al,(%edx)
Code: 193f0e <_ppp_us_queue+5e/2e0> incl 0x78(%ebx)
Code: 193f11 <_ppp_us_queue+61/2e0> movl 0x78(%ebx),%eax
Code: 193f14 <_ppp_us_queue+64/2e0> cmpl %eax,0x74(%ebx)
Code: 193f17 <_ppp_us_queue+67/2e0> jne 193f1f <_ppp_us_queue+6f/2e0>
Code: 193f19 <_ppp_us_queue+69/2e0> movl 0x70(%ebx),%eax
Code: 193f1c <_ppp_us_queue+6c/2e0> movl %eax,0x78(%ebx)
Code: 193f1f <_ppp_us_queue+6f/2e0> movl (%eax),%eax
Code: 193f21 <_ppp_us_queue+71/2e0> nop
Code: 193f22 <_ppp_us_queue+72/2e0> nop

>>EIP: 123b57 <_kfree_s+17/21c>
Trace: 192f37 <_ppp_release+67/f0>
Trace: 193016 <_ppp_close+56/150>
Trace: 17aa7e <_release_dev+3c6/4f0>
Trace: 17ad92 <_tty_release+a/20>
Trace: 1251be <_close_fp+66/90>
Trace: 125239 <_sys_close+51/70>
Trace: 11b38d <_exit_files+19/30>
Trace: 11b456 <_do_exit+52/270>
Trace: 110ed6 <_die_if_kernel+2c2/2f0>
Trace: 110c0d <_page_fault+155/15c>
Trace: 3000000 [this is beyond the end of Rocket.map <02824320 b _R.68>]
Trace: 2800000 [this is pre-Rocket.map <02820000 b _mod_use_count_>]
Trace: 115853 <_do_page_fault+23b/e48>
Trace: 11560a <_si_meminfo+1aa/1b8>
Trace: 115853 <_do_page_fault+23b/e48>
Trace: 110973 <error_code+4b/60>
Trace: 193f0c <_ppp_us_queue+5c/2e0>
Trace: 193aef <_ppp_doframe+15f/2a0>
Trace: 193856 <_ppp_receive_buf+156/290>
Trace: 17b9a4 <_flush_to_ldisc+8c/a0>
Trace: 116f9a <_tqueue_bh+2a/50>
Trace: 11cd46 <_do_bottom_half+3e/a8>
Trace: 110735 <handle_bottom_half+d/20>
Trace: 190018 <_ethif_probe+620/6d4>
Trace: 1237ea <_kmalloc+1a/370>
Trace: 193222 <_ppp_open+112/1f0>
Trace: 193237 <_ppp_open+127/1f0>
Trace: 17933f <_tty_set_ldisc+c7/190>
Trace: 182a24 <_n_tty_open>
Trace: 1829e4 <_n_tty_close>
Trace: 1814b4 <_n_tty_flush_buffer>
Trace: 181554 <_n_tty_chars_in_buffer>
Trace: 182b74 <_read_chan>
Trace: 183244 <_write_chan>
Trace: 180ee8 <_n_tty_ioctl>
Trace: 182794 <_n_tty_set_termios>
Trace: 183444 <_normal_select>
Trace: 181c54 <_n_tty_receive_buf>
Trace: 182714 <_n_tty_receive_room>
Trace: 17b656 <_tty_ioctl+60e/810>
Trace: 115705 <_do_page_fault+ed/e48>
Trace: 13133b <_sys_ioctl+13b/158>
Trace: 1107b1 <_system_call+59/a0>
Trace: 11002b <_sys_sigsuspend+2f/50>

Mar 9 10:38:31 ewok pppd[13571]: pppd 2.1.2 started by bsykes, uid 872
Mar 9 10:38:32 ewok kernel: Unable to handle kernel NULL pointer dereference at virtual address c0000000
Mar 9 10:38:32 ewok kernel: current->tss.cr3 = 01adf000, or3 = 01adf000
Mar 9 10:38:32 ewok kernel: *pde = 00102067
Mar 9 10:38:32 ewok kernel: *pte = 00000027
Mar 9 10:38:32 ewok kernel: Oops: 0002
Mar 9 10:38:32 ewok kernel: EIP: 0010:00193f0c
Mar 9 10:38:32 ewok kernel: EFLAGS: 00010256
Mar 9 10:38:32 ewok kernel: eax: 00000000 ebx: 001d5f68 ecx: 0000000c edx: 00000000
Mar 9 10:38:32 ewok kernel: esi: 01d8901c edi: 0000000e ebp: 013ac021 esp: 01469de8
Mar 9 10:38:32 ewok kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Mar 9 10:38:32 ewok kernel: Process pppd (pid: 13571, process nr: 61, stackpage=01469000)
Mar 9 10:38:32 ewok kernel: Stack: 0000000a 01d8901c 001d5f68 013ac021 00000100 00000000 00193aef 001d5f68
Mar 9 10:38:32 ewok kernel: 0000c021 01d8901c 0000000c 001d5f68 00000000 013ae538 013ae138 00193856
Mar 9 10:38:32 ewok kernel: 001d5f68 013ae11c 013ae71c fffffffc 01469e6c 01d89027 0020d07e 0017b9a4
Mar 9 10:38:32 ewok kernel: Call Trace: 00193aef 00193856 0017b9a4 00116f9a 0011cd46 00110735 00190018
Mar 9 10:38:32 ewok kernel: 001237ea 00193222 00193237 0017933f 00182a24 001829e4 001814b4 00181554
Mar 9 10:38:32 ewok kernel: 00182b74 00183244 00180ee8 00182794 00183444 00181c54 00182714 0017b656
Mar 9 10:38:32 ewok kernel: 00115705 0013133b 001107b1 0011002b
Mar 9 10:38:32 ewok kernel: Code: 88 02 ff 43 78 8b 43 78 39 43 74 75 06 8b 43 70 89 43 78 8b
Mar 9 10:38:32 ewok kernel: Aiee, killing interrupt handler
Mar 9 10:38:32 ewok kernel: general protection: 0000
Mar 9 10:38:32 ewok kernel: EIP: 0010:00123b57
Mar 9 10:38:32 ewok kernel: EFLAGS: 00010286
Mar 9 10:38:32 ewok kernel: eax: 00000000 ebx: fffff000 ecx: 0020ab12 edx: fffffff8
Mar 9 10:38:32 ewok kernel: esi: 00238ea0 edi: 00000000 ebp: 00000000 esp: 01469ca4
Mar 9 10:38:32 ewok kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Mar 9 10:38:35 ewok pppd[13764]: pppd 2.1.2 started by jays, uid 942
Mar 9 10:38:35 ewok pppd[13764]: Using interface ppp36
Mar 9 10:38:35 ewok pppd[13764]: Connect: ppp36 <--> /dev/ttyRL
Mar 9 10:38:32 ewok kernel: Process pppd (pid: 13571, process nr: 61, stackpage=01469000)
Mar 9 10:38:32 ewok kernel: Stack: 001d5f68 00238ea0 0000002e 00000000 00192f37 00000000 00000000 01d89018
Mar 9 10:38:32 ewok kernel: 00000000 01d88018 00000000 01d8a018 00000000 001d5f68 00193016 001d5f68
Mar 9 10:38:32 ewok kernel: 013ae000 0017aa7e 013ae000 00238ea0 01127e00 0146a000 01469dac 00000000
Mar 9 10:38:32 ewok kernel: Call Trace: 00192f37 00193016 0017aa7e 0017ad92 001251be 00125239 0011b38d
Mar 9 10:38:32 ewok kernel: 0011b456 00110ed6 00110c0d 03000000 02800000 00115853 0011560a 00115618
Mar 9 10:38:32 ewok kernel: 00110973 00193f0c 00193aef 00193856 0017b9a4 00116f9a 0011cd46 00110735
Mar 9 10:38:32 ewok kernel: 00190018 001237ea 00193222 00193237 0017933f 00182a24 001829e4 001814b4
Mar 9 10:38:32 ewok kernel: 00181554 00182b74 00183244 00180ee8 00182794 00183444 00181c54 00182714
Mar 9 10:38:32 ewok kernel: 0017b656 00115705 0013133b 001107b1 0011002b
Mar 9 10:38:32 ewok kernel: Code: 8b 73 08 85 f6 7c 16 83 fe 0e 77 11 f7 03 ff 0f 00 00 75 09
Mar 9 10:38:32 ewok kernel: pppd trying to free kernel page-directory: not good
Mar 9 10:38:33 ewok kernel: Attempt to open closing tty ttyR46.
Mar 9 10:38:33 ewok kernel: Ack!!!! This should never happen!!
Mar 9 10:38:34 ewok kernel: Attempt to open closing tty ttyR46.
Mar 9 10:38:34 ewok kernel: Ack!!!! This should never happen!!
Mar 9 10:38:35 ewok kernel: Attempt to open closing tty ttyR46.
Mar 9 10:38:35 ewok kernel: Ack!!!! This should never happen!!
Mar 9 10:38:36 ewok kernel: Attempt to open closing tty ttyR46.
Mar 9 10:38:36 ewok kernel: Ack!!!! This should never happen!!
Mar 9 10:38:37 ewok kernel: Attempt to open closing tty ttyR46.
Mar 9 10:38:37 ewok kernel: Ack!!!! This should never happen!!
Mar 9 10:38:39 ewok kernel: Attempt to open closing tty ttyR46.
Mar 9 10:38:39 ewok kernel: Ack!!!! This should never happen!!
Mar 9 10:38:40 ewok kernel: Attempt to open closing tty ttyR46.
Mar 9 10:38:40 ewok kernel: Ack!!!! This should never happen!!
Mar 9 10:38:41 ewok kernel: Attempt to open closing tty ttyR46.
Mar 9 10:38:41 ewok kernel: Ack!!!! This should never happen!!
Mar 9 10:38:43 ewok kernel: Attempt to open closing tty ttyR46.
Mar 9 10:38:43 ewok kernel: Ack!!!! This should never happen!!
Mar 9 10:38:44 ewok kernel: Attempt to open closing tty ttyR46.
Mar 9 10:38:44 ewok kernel: Ack!!!! This should never happen!!