From owner-freebsd-current Thu Jun 24 0:10:57 1999 Delivered-To: freebsd-current@freebsd.org Received: from shell.futuresouth.com (shell.futuresouth.com [198.78.58.28]) by hub.freebsd.org (Postfix) with ESMTP id C0E6514BE2 for ; Thu, 24 Jun 1999 00:10:51 -0700 (PDT) (envelope-from tim@futuresouth.com) Received: (from tim@localhost) by shell.futuresouth.com (8.9.3/8.9.3) id CAA18087 for freebsd-current@FreeBSD.ORG; Thu, 24 Jun 1999 02:10:51 -0500 (CDT) Date: Thu, 24 Jun 1999 02:10:51 -0500 From: Tim Tsai To: freebsd-current@FreeBSD.ORG Subject: Re: sc0 and serial console broken? Message-ID: <19990624021050.A18027@futuresouth.com> References: <19990624015057.A17246@futuresouth.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <19990624015057.A17246@futuresouth.com>; from Tim Tsai on Thu, Jun 24, 1999 at 02:05:09AM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Grrr, forgot the trap information: From source cvsup on 6/23/99, the kernel traps on boot near sc0. I tried every variation of the kernel I can think of, including GENERIC, and same thing. I finally changed to vt0 and it booted up fine. I am using the standard sio0 config with the 0x10 flag and a /boot.config file with "-h". Console: serial port BIOS drive A: is disk0 BIOS drive C: is disk1 FreeBSD/i386 bootstrap loader, Revision 0.7 640/64512kB (root@haha.com, Wed Jun 23 22:54:06 CDT 1999) Loading /boot/defaults/loader.conf /kernel text=0x10bf98 data=0x1c27c+0x1a26c syms=[0x4+0x1c4f0+0x4+0x1efb9] - Hit [Enter] to boot immediately, or any other key for command prompt. Booting [kernel]... Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #4: Thu Jun 24 01:19:25 CDT 1999 root@haha.com:/usr/src/sys/compile/TIM Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 179629198 Hz CPU: Pentium Pro (179.63-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping=9 Features=0xf9ff real memory = 67108864 (65536K bytes) config> di zp0 No such device: zp0 Invalid command or syntax. Type `?' for help. config> di ze0 No such device: ze0 Invalid command or syntax. Type `?' for help. config> di lnc0 No such device: lnc0 Invalid command or syntax. Type `?' for help. config> di le0 No such device: le0 Invalid command or syntax. Type `?' for help. config> di ie0 No such device: ie0 Invalid command or syntax. Type `?' for help. config> di fe0 No such device: fe0 Invalid command or syntax. Type `?' for help. config> di ex0 No such device: ex0 Invalid command or syntax. Type `?' for help. config> di ep0 No such device: ep0 Invalid command or syntax. Type `?' for help. config> di cs0 No such device: cs0 Invalid command or syntax. Type `?' for help. config> di wt0 No such device: wt0 Invalid command or syntax. Type `?' for help. config> di scd0 No such device: scd0 Invalid command or syntax. Type `?' for help. config> di mcd0 No such device: mcd0 Invalid command or syntax. Type `?' for help. config> di matcdc0 No such device: matcdc0 Invalid command or syntax. Type `?' for help. config> di bt0 No such device: bt0 Invalid command or syntax. Type `?' for help. config> di aha0 No such device: aha0 Invalid command or syntax. Type `?' for help. config> di adv0 No such device: adv0 Invalid command or syntax. Type `?' for help. config> en ed0 No such device: ed0 Invalid command or syntax. Type `?' for help. config> po ed0 0x300 No such device: ed0 Invalid command or syntax. Type `?' for help. config> ir ed0 5 No such device: ed0 Invalid command or syntax. Type `?' for help. config> iom ed0 0xd8000 No such device: ed0 Invalid command or syntax. Type `?' for help. config> f ed0 0 No such device: ed0 Invalid command or syntax. Type `?' for help. config> q avail memory = 62644224 (61176K bytes) Preloaded elf kernel "kernel" at 0xc0280000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc028009c. Pentium Pro MTRR support enabled, default memory type is uncacheable Probing for PnP devices: npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 Correcting Natoma config for non-SMP Correcting Natoma config for non-SMP chip0: at device 0.0 on pci0 isab0: at device 7.0 on pci0 ide_pci0: at device 7.1 on pci0 fxp0: irq 10 at device 18.0 on pci0 fxp0: Ethernet address 00:a0:c9:a0:32:ee fxp1: irq 12 at device 19.0 on pci0 fxp1: Ethernet address 00:90:27:75:59:f1 vga-pci0: irq 5 at device 20.0 on pci0 isa0: on motherboard fdc0: at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> at fdc0 drive 0 wdc0 at port 0x1f0-0x1f7 irq 14 on isa0 wdc0: unit 0 (wd0): wd0: 1204MB (2467584 sectors), 2448 cyls, 16 heads, 63 S/T, 512 B/S atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 Fatal trap 12: page fault while in kernel mode fault virtual address = 0xa fault code = supervisor read, page not present instruction pointer = 0x8:0xc01df028 stack pointer = 0x10:0xc0294eec frame pointer = 0x10:0xc0294ef8 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 = 0 (swapper) interrupt mask = net tty bio cam kernel: type 12 trap, code=0 Stopped at sc_get_softc+0x34: testb $0x1,0xa(%eax) db> trace sc_get_softc(0,0,0,0,0) at sc_get_softc+0x34 scinit(0,0,c0979f40,0,c0964800) at scinit+0x74 sc_attach_unit(0,0,9,0,c0294f60) at sc_attach_unit+0x2b scattach(c0979f40,c0979f40,c0294f78,c01481bb,c0979f40) at scattach+0x35 DEVICE_ATTACH(c0979f40,c0979f40,c02289f0,299000,c0294f88) at DEVICE_ATTACH+0x33 device_probe_and_attach(c0979f40) at device_probe_and_attach+0x4b bus_generic_attach(c0964800) at bus_generic_attach+0x16 configure(0) at configure+0x55 mi_startup(c0294fb4,ffe,299000,c014c061,c0403000) at mi_startup+0x92 begin() at begin+0x4b db> ps pid proc addr uid ppid pgrp flag stat wmesg wchan cmd 0 c02415a0 c0293000 0 0 0 000204 2 swapper db> call boot(0) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message