From owner-freebsd-questions@FreeBSD.ORG Thu Apr 1 22:28:02 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18AB816A4CE for ; Thu, 1 Apr 2004 22:28:02 -0800 (PST) Received: from julie.unixlabplus.com (h-67-100-145-26.nycmny83.covad.net [67.100.145.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EA0F43D31 for ; Thu, 1 Apr 2004 22:28:01 -0800 (PST) (envelope-from mwang@unixlabplus.com) Received: from julie.unixlabplus.com (localhost [127.0.0.1]) by julie.unixlabplus.com (8.12.5/8.12.5) with ESMTP id i326SAUJ024519 for ; Fri, 2 Apr 2004 01:28:10 -0500 (EST) Received: (from mwang@localhost) by julie.unixlabplus.com (8.12.5/8.12.5/Submit) id i326S9ZF024518 for freebsd-questions@FreeBSD.ORG; Fri, 2 Apr 2004 01:28:09 -0500 (EST) Date: Fri, 2 Apr 2004 01:28:09 -0500 From: Michael Wang To: freebsd-questions@FreeBSD.ORG Message-ID: <20040402062809.GA24512@unixlabplus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: 4.9-R panic with Lava DSerial-PCI 3.3v and device puc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2004 06:28:02 -0000 (0) Hardware: - Dell 1750 - 133 MHz 3.3v PCIX - Lava DSerial-PCI 3.3v Software: - FreeBSD 4.9-R - device puc (1) without "device puc", upon boot, I have pcib3: on motherboard pci3: on pcib3 pci3: (vendor=0x1407, dev=0x0110) at 6.0 irq 0 pci3: (vendor=0x1407, dev=0x0111) at 6.1 irq 0 pcib4: on motherboard pci4: on pcib4 pciconf -lv shows: none1@pci3:6:0: class=0x070002 card=0x01101407 chip=0x01101407 rev=0x00 hdr=0x00 vendor = 'Lava Computer Manufacturing Inc' device = 'Lava DSerial PCI Port A' class = simple comms subclass = UART none2@pci3:6:1: class=0x070002 card=0x01111407 chip=0x01111407 rev=0x00 hdr=0x00 vendor = 'Lava Computer Manufacturing Inc' device = 'Lava DSerial PCI Port B' class = simple comms subclass = UART (2) after adding options COM_MULTIPORT device puc device sio I have the following upon boot. Please note "irq 0". pcib3: on motherboard pci3: on pcib3 puc0: irq 0 at device 6.0 on pci3 pci_cfgintr_virgin: using routable interrupt 4 kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode fault virtual address = 0xbc7c fault code = supervisor read, page not present instruction pointer = 0x8:0xc00fcd24 stack pointer = 0x10:0xc057cd94 frame pointer = 0x10:0xc057ce04 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 0 (swapper) interrupt mask = net tty bio cam kernel: type 12 trap, code=0 Stopped at 0xc00fcd24: movb %cs:0xbc7c,%al db> trace kernbase(40a,c057ce44,c032cc03,c318f180,c057ce44) at 0xc00fcd24 db> ps pid proc addr uid ppid pgrp flag stat wmesg wchan cmd 2 dc05ec60 dda66000 0 0 0 000204 2 taskqueue 1 dc05ee00 dc063000 0 0 0 000204 2 swapper 0 c04bbe00 c057a000 0 0 0 000204 2 swapper (3) General questions: >From various documentation: " options "COM_MULTIPORT" device sio4 at isa? port 0x2a0 tty flags 0x781 device sio5 at isa? port 0x2a8 tty flags 0x781 device sio6 at isa? port 0x2b0 tty flags 0x781 device sio7 at isa? port 0x2b8 tty flags 0x781 irq 7 vector siointr " My questions are: (3a) My device is PCI device, should I use isa? Why all documentation on sio uses isa? (3b) How do I know the port number? minor number? irq? And what is "vector siointr"? Looks like "tty", and "vector siointr" are illegal in 4.9-R. (3c) I have Lava DSerial-PCI 3.3v, should I use this? options "COM_MULTIPORT" device puc device sio4 at isa? port 0x2a0 flags 0x581 device sio5 at isa? port 0x2a8 flags 0x581 irq 11 Thanks a lot. -- Michael Wang * http://www.unixlabplus.com/ * mwang@unixlabplus.com