From owner-freebsd-questions Fri May 8 06:21:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA20499 for freebsd-questions-outgoing; Fri, 8 May 1998 06:21:06 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from itw.itworks.com.au (root@itw.itworks.com.au [203.32.61.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA20438 for ; Fri, 8 May 1998 06:20:43 -0700 (PDT) (envelope-from gavin@itworks.com.au) Received: from localhost (gavin@localhost) by itw.itworks.com.au (8.8.8/8.8.5) with SMTP id XAA17505 for ; Fri, 8 May 1998 23:17:32 +1000 (EST) Date: Fri, 8 May 1998 23:17:30 +1000 (EST) From: Gavin Cameron To: questions@FreeBSD.ORG Subject: Problem with comconsole (the saga continues) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm still waiting for someone to get back to me on my serial console problems but I've been playing around a bit more. I don't have a sc0 or vt0 defined in my kernel config file, do I need one? I now get upto the "Probing for devices" message before I end up in the debugger. db> trace _cninit_finish(f01fbab4,f0201c1c,efbfffac,f010dbbe,0) at _cninit_finish+0x26 _configure(0) at _configure+0x5e _main(efbfffb8,efbffff4,f01cc505,f02180c0,f0258000,3fff000,f01cc5fa,30,250f00,25 4000,254000,1,ea5c0407) at _main+0x92 begin() at begin+0x44 db> Any help greatly appreciated. TIA, Gavin []------------------------------------+-------------------------------------[] | Gavin Cameron | ITworks Consulting | | Ph : 0418 390350 | Suite 100, 85 Grattan Street | | Fax : +61 3 9347 6544 | Carlton, Victoria | | Email : gavin@itworks.com.au | Australia, 3053 | []------------------------------------+-------------------------------------[] ---------- Forwarded message ---------- Date: Fri, 8 May 1998 12:39:56 +1000 (EST) From: Gavin Cameron To: questions@FreeBSD.ORG Subject: Problem with comconsole Hi, I sent this message to -questions yesterday but it didn't seem to pop out the other end of majordomo :-( Hope someone can help me. Gavin ---------- Forwarded message ---------- Date: Thu, 7 May 1998 19:40:56 +1000 (EST) From: Gavin Cameron To: questions@freebsd.org Subject: Problem with comconsole Hi, I'm trying to setup a 2.2.6-RELEASE box with a serial console. The machine currently has a video card and keyboard, but these will be removed once the machine is installed and the serial console working. I've got a null modem cable between 2 FBSD boxes, the first is the machine that is to have a serial console, the second machine is to act as a terminal to the first.. I boot up the machine and the boot prompts come out on the video card, which isn't a problem, I enter the options '-hd' to use the serial port as the console. On the second FBSD box I run 'cu -l cuaa1 -s 9600'. As soon as I connect the first machine is sitting at the db> prompt. Enter cont to continue and the machine boots. It gets to the sc0 initialisation, cu close down... I reconnect and see Fatal trap 12: page fault while in kernel mode fault virtual address = 0x4 fault code = supervisor read, page not present instruction pointer = 0x8:0xf01be7ee stack pointer = 0x10:0xefbfff80 frame pointer = 0x10:0xefbfff80 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 () interrupt mask = kernel: type 12 trap, code=0 Stopped at _cninit_finish+0x26: movl 0x4(%edx),%eax Any help greatly appreciated. Thanks in advance Gavin Here's all the messages gavin@ferret {155} : cu -s 9600 -l cuaa1 Connected. db> cont Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.6-RELEASE #0: Fri May 8 05:32:06 EST 1998 root@iserver.itworks.com.au:/usr/src/sys/compile/iserver CPU: Pentium (167.05-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x543 Stepping=3 Features=0x8001bf real memory = 33554432 (32768K bytes) avail memory = 30765056 (30044K bytes) Probing for devices on PCI bus 0: chip0 rev 1 on pci0:0:0 chip1 rev 1 on pci0:7:0 chip2 rev 1 on pci0:7:1 chip3 rev 1 int d irq 15 on pci0:7:2 chip4 rev 1 on pci0:7:3 vga0 rev 0 int a irq 11 on pci0:9:0 fxp0 rev 4 int a irq 15 on pci0:11:0 fxp0: Ethernet address 00:a0:c9:a6:24:c8 ahc0 rev 1 int a irq 10 on pci0:12:0 ahc0: aic7860 Single Channel, SCSI Id=7, 3 SCBs ahc0 waiting for scsi devices to settle (ahc0:0:0): "QUANTUM FIREBALL ST6.4S 0F0C" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 6180MB (12657717 512 byte sectors) (ahc0:1:0): "QUANTUM FIREBALL ST6.4S 0F0C" type 0 fixed SCSI 2 sd1(ahc0:1:0): Direct-Access 6180MB (12657717 512 byte sectors) (ahc0:2:0): "MATSHITA CD-ROM CR-508 XS03" type 5 removable SCSI 2 cd0(ahc0:2:0): CD-ROM can't get the size Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flagscu: Got hangup signal Disconnected. gavin@ferret {156} : cu -s 9600 -l cuaa1 Connected. Fatal trap 12: page fault while in kernel mode fault virtual address = 0x4 fault code = supervisor read, page not present instruction pointer = 0x8:0xf01be7ee stack pointer = 0x10:0xefbfff80 frame pointer = 0x10:0xefbfff80 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 () interrupt mask = kernel: type 12 trap, code=0 Stopped at _cninit_finish+0x26: movl 0x4(%edx),%eax db> []------------------------------------+-------------------------------------[] | Gavin Cameron | ITworks Consulting | | Ph : 0418 390350 | Suite 100, 85 Grattan Street | | Fax : +61 3 9347 6544 | Carlton, Victoria | | Email : gavin@itworks.com.au | Australia, 3053 | []------------------------------------+-------------------------------------[] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message