From owner-freebsd-current@FreeBSD.ORG Sat Oct 9 10:41:19 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BF3016A4CE for ; Sat, 9 Oct 2004 10:41:19 +0000 (GMT) Received: from ns1.interbgc.com (mail.interbgc.com [217.9.224.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 4120D43D58 for ; Sat, 9 Oct 2004 10:41:18 +0000 (GMT) (envelope-from nike_d@cytexbg.com) Received: (qmail 8053 invoked from network); 9 Oct 2004 10:41:16 -0000 Received: from nike_d@cytexbg.com by keeper.interbgc.com by uid 1002 with qmail-scanner-1.14 (uvscan: v4.2.40/v4374. spamassassin: 2.63. Clear:SA:0(-4.9/8.0):. Processed in 0.562238 secs); 09 Oct 2004 10:41:16 -0000 X-Spam-Status: No, hits=-4.9 required=8.0 Received: from 213-240-202-139.1697748.ddns.cablebg.net (HELO tormentor.totalterror.net) (213.240.202.139) by mail.interbgc.com with SMTP; 9 Oct 2004 10:41:15 -0000 Received: (qmail 2768 invoked from network); 9 Oct 2004 10:45:03 -0000 Received: from unknown (HELO niked) (10.0.0.3) by tormentor.totalterror.net with SMTP; 9 Oct 2004 10:45:03 -0000 Message-ID: <009c01c4adec$835920c0$0300000a@niked> From: "Niki Denev" To: Date: Sat, 9 Oct 2004 13:41:19 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Subject: ucom/uplcom/tty/snoop panic on current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Oct 2004 10:41:19 -0000 This is what i experience with -CURRENT as of few hours. (never tried this before, probably it's not something new) right after boot i attach uplcom based ucom device. then on one tty i do : [root@phobos ~]# cu -l /dev/ttyU0 and on second tty : [root@phobos ~]# watch /dev/ttyU0 Then when i'm back on the first tty under 'cu', the first key i press it gives me this : (i hope there are no errors, as i wrote this by hand) Fatal trap 12: page fault while in kernel mode fault virtual address = 0x1c fault code = supervisor read, page not present instruction pointer = 0x8:0xc07d9780 stack pointer = 0x10:0xe6867a78 frame pointer = 0x10:0xe6867a88 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 534 (cu) [thread 100066] Stopped at ucomstart+0xb8: movl 0x1c(%eax),%edx db> trace ucomstart(c1a99400) at ucomstart+0xb8 ttstart(c1a99400) at ttstart+0x16 ttwrite(c1a99400,e6867b64,30001,0,e6867b64) at ttwrite+0x46c snplwrite(c1a99400,e6867c88,30001) at snplwrite+0x1cd ttywrite(c1ff0100,e6867c88,30001,1,e6867c88) at ttywrite+0x2f spec_write(e6867c14,e6867c60,c056a3e4,e6867c14,30001) at spec_write+0x125 spec_vnoperate(e6867c14) at spec_vnoperate+0x13 vn_write(c1d832a8,e6867c88,c1e2f580,0,c1da24e0) at vn_write+0x1dc dofilewrite(c1da24e0,c1d832a8,3,bfbfed1b,1) at dofilewrite+0xa8 write(c1da24e0,e6867d14,3,1,202) at write+0x39 syscall(2f,2f,2f,3,bfbfed1b) at syscall+0x213 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (4, FreeBSD ELF32, write), eip = 0x280d4c8f, esp = 0xbfbfeccc, ebp = 0xbfbfecf8 --- db> i'll be glad to provide more info/testing if needed. --niki