From owner-freebsd-hackers Thu Jul 6 17:41:29 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA10524 for hackers-outgoing; Thu, 6 Jul 1995 17:41:29 -0700 Received: from swan.aitken.com ([204.222.111.129]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id RAA10518 for ; Thu, 6 Jul 1995 17:41:21 -0700 Received: (jaitken@localhost) by swan.aitken.com (8.6.10/8.6.9) id UAA00460 for hackers@freebsd.org; Thu, 6 Jul 1995 20:40:30 -0400 From: Jeff Aitken Message-Id: <199507070040.UAA00460@swan.aitken.com> Subject: Booting/NCR problems [long] To: hackers@freebsd.org Date: Thu, 6 Jul 1995 20:40:30 -0400 (EDT) X-Mailer: ELM [version 2.4 PL22] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 6100 Sender: hackers-owner@freebsd.org Precedence: bulk Stefan & -hackers, Awhile back I experienced some serious problems when I rebooted my machine. It hasn't happened lately, although that may just be because I haven't rebooted but once in the last 10 days. I promised some documentation describing in detail what was going on, so here it is. Here's what happens when I boot the machine. For completeness' sake, I've included just about everything I see on the screen (I had to reboot the damn thing a half a dozen times to make sure I got 'em all!:) This problem *is* repeatable, but doesn't happen every time I reboot the machine! I have *no* idea what triggers it. -- Click! -- PhoenixBIOS(TM) A486 Version 1.03 Copyright (C) 1985-1993 Phoenix Technologies Ltd. All Rights Reserved PCI400C-A FEB.02,1994 [Ctrl][Alt][S]--BIOS Setup Reference ID 07.1 486 DX2 processor detected operating at 66 MHz 256 KB secondary cache size. Cache 1 Enabled Cache 2 Enabled NCD SDMS (TM) V3.0 53C810 SCSI BIOS, PCI Rev. 2.0 Copyright 1993 NCR Corporation. PCI20-3.01.04 ID 00 Microp 4110-09NB_Nov18F >> FreeBSD BOOT @ 0x10000: 635/15360 k of memory [... Normal boot prompt here ...] Boot: sd(0,a)/kernel [... as an aside, what the hell does this mean? ...] BIOS basemem (635K) != RTC basemem (640K) [... device probing here, see dmesg output below for list... ] [... file system checks complete ...] ncr0 targ 0? (80:110) (e-2e-0) (8/13) @ (10f0:48000000) reg: da 10 0 13 47 8 0 1f 3 e 80 2e 80 0 e 0 ncr0: restart (fatal error). sd0(ncr0:0:0): COMMAND FAILED (9 ff) @f053c200. ncr0: reset by timeout. vnode_pager_input: I/O read error vm_fault: pager input (probably hardware) error, PID 1 failure [... various other commands from /etc/rc fail here ...] Here's the output of 'dmesg' after a successful boot: jaitken@huron:/home/jaitken % dmesg FreeBSD 2.0.5-RELEASE #0: Tue Jun 20 19:25:50 EDT 1995 roott@huron.aitken.com:/usr/src/sys/compile/HURON CPU: i486DX (486-class CPU) real memory = 16384000 (4000 pages) avail memory = 14991360 (3660 pages) Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 at 0x280-0x29f irq 5 maddr 0xd8000 msize 16384 on isa ed0: address 00:00:c0:05:82:08, type WD8013EP (16 bit) bpf: ed0 attached lpt0 not found at 0x3bc sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16450 sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16450 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 765 fd0: 1.44MB 3.5in npx0 on motherboard npx0: INT 16 interface Probing for devices on the pci0 bus: configuration mode 2 allows 16 devices. chip0 rev 2 on pci0:0 chip1 rev 0 on pci0:2 ncr0 rev 1 int a irq 11 on pci0:4 reg20: virtual=0xf2e58000 physical=0x10000000 size=0x100 ncr0: restart (scsi reset). ncr0 scanning for targets 0..6 (V2 pl21 95/03/21) (ncr0:0:0): "MICROP 4110-09NB_Nov18F TN0F" type 0 fixed SCSI 2 sd0(ncr0:0:0): Direct-Access sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. 1002MB (2053880 512 byte sectors) pci0:5: vendor=0x1095, device=0x640, class=storage [not supported] pci0: uses 256 bytes of memory from 10000000 upto 100000ff. pci0: uses 256 bytes of I/O space from d000 upto d0ff. bpf: lo0 attached bpf: ppp0 attached bpf: sl0 attached Here is /usr/src/sys/i386/conf/HURON (the kernel config file): ident HURON machine "i386" cpu "I486_CPU" maxusers 8 options "CHILD_MAX=128" options "OPEN_MAX=128" options "COMPAT_43" options INET options KTRACE options SYSVSHM options SYSVSEM options SYSVMSG options UCONSOLE options FFS #Fast filesystem options NFS #Network File System options "CD9660" #ISO 9660 filesystem options MFS #Memory File System options PROCFS #Process filesystem options "NSWAPDEV=20" options "MAXCONS=16" options "AUTO_EOI_1" options BOUNCE_BUFFERS options XSERVER # include code for XFree86 options FAT_CURSOR # start with block cursor config kernel root on sd0 swap on sd0 dumps on sd0 controller isa0 controller pci0 controller scbus0 #base SCSI code device ncr0 device sd0 #SCSI disks device st0 #SCSI tapes device cd0 #SCSI CD-ROMs controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 tape ft0 at fdc0 drive 2 device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr #device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint #options "PCVT_FREEBSD=210" # pcvt running on FreeBSD 2.0.5 device lpt0 at isa? port "IO_LPT1" tty irq 9 vector lptintr device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device npx0 at isa? port "IO_NPX" irq 13 vector npxintr #controller snd0 #device sb0 at isa? port 0x220 irq 7 drq 1 vector sbintr #device joy0 at isa? port "IO_GAME" pseudo-device loop #Network loopback device pseudo-device ether #Generic Ethernet pseudo-device sl 1 #Serial Line IP pseudo-device ppp 1 #Point-to-point protocol pseudo-device bpfilter 4 #Berkeley packet filter pseudo-device pty 32 #Pseudo ttys - can go as high as 64 pseudo-device speaker #Play IBM BASIC-style noises out your speaker pseudo-device log #Kernel syslog interface (/dev/klog) #pseudo-device gzip #Exec gzipped a.out's pseudo-device snp 3 #Snoop device - to look at pty/vty/etc..