From owner-freebsd-alpha Tue Apr 3 10: 9:32 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.interchange.ca (ns.interchange.ca [216.126.79.2]) by hub.freebsd.org (Postfix) with ESMTP id F1AF737B71E; Tue, 3 Apr 2001 10:09:24 -0700 (PDT) (envelope-from michael@fastmail.ca) Received: by mail.interchange.ca (Fastmailer, from userid 555) id 569272123; Tue, 3 Apr 2001 13:09:13 -0400 (EDT) MIME-Version: 1.0 Message-Id: <3ACA03B9.000161.26518@frodo.searchcanada.ca> Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_DN788RQJD89OO49D7TH0" To: dfr@nlsystems.com Subject: Boot Loader Problem Fixed and tested. Cc: jhb@FreeBSD.org, mjacob@feral.com, freebsd-alpha@FreeBSD.org, msmith@FreeBSD.org From: "Michael Richards" X-Fastmail-IP: 24.43.130.237 Date: Tue, 3 Apr 2001 13:09:13 -0400 (EDT) Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --------------Boundary-00=_DN788RQJD89OO49D7TH0 Content-Type: Text/Plain Content-Transfer-Encoding: 7bit Since both of our patches are basically identical. (The only differences I can see are in what we named the addition to the devdata structure and they both work, I'm content to ask that everyone test out the patch Doug already posted and consider that for inclusion into the tree if it all goes well. Here is a transcript of it working on my AS1200. Note that there are still a few debugging statements in to show me what is going on. The only difficulty is that the disk drive never turns off, even when it is expecting a new disk. I assume this is because the device is not being properly closed (by the closeall). Low on my list of priorities, but I'll take a look at it later. Initializing... SROM V3.0 on cpu0 SROM V3.0 on cpu1 XSROM V5.9 on cpu0 XSROM V5.9 on cpu1 BCache testing complete on cpu0 BCache testing complete on cpu1 mem_pair0 - 256 MB 20..20..21..21..23.. please wait 6 seconds for T24 to complete 24..24.. Memory testing complete on cpu1 Memory testing complete on cpu0 starting console on CPU 0 sizing memory 0 256 MB DIMM starting console on CPU 1 probing IOD1 hose 1 bus 0 slot 1 - NCR 53C810 probing IOD0 hose 0 bus 0 slot 1 - PCEB probing EISA Bridge, bus 1 bus 0 slot 3 - DE500-BA bus 0 slot 4 - S3 Trio64/Trio32 configuring I/O adapters... ncr0, hose 1, bus 0, slot 1 floppy0, hose 0, bus 1, slot 0 tulip0, hose 0, bus 0, slot 3 System temperature is 15 degrees C AlphaServer 1200 Console V5.9-5, 8-JAN-2001 10:05:24 CPU 0 booting (boot dva0.0.0.1000.0 -flags 0) block 0 of dva0.0.0.1000.0 is a valid boot block reading 15 blocks from dva0.0.0.1000.0 bootstrap code read in Building FRU table base = 200000, image_start = 0, image_bytes = 1e00 initializing HWRPB at 2000 initializing page table at 1f2000 initializing machine state setting affinity to the primary CPU jumping to bootstrap code Loading /boot/loader Console: SRM firmware console VMS PAL rev: 0x4000200010115 OSF PAL rev: 0x4000200020117 Switch to OSF PAL code succeeded. FreeBSD/alpha SRM disk boot, Revision 1.0 (michael@marconi.eecs.ukans.edu, Tue Apr 3 11:44:33 CDT 2001) Memory: 262144 k prom_open called on (DVA 0 1000 0 0 0 8086 0002),26 /kernel data=0x328ad8+0x27868 - Please insert MFS root floppy and press enter: | Hit [Enter] to boot immediately, or any other key for command prompt. Booting [kernel]... Entering kernel at 0xfffffc000032b760... Unrecognized boot flag '0'. Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.3-BETA-20010312 #2: Wed Mar 14 01:18:06 GMT 2001 rootk@quynh.nuxi.com:/usr/src/sys/compile/BOOTMFS AlphaServer 4100 AlphaServer 1200 5/533 4MB, 531MHz 8192 byte page size, 2 processors. CPU: EV56 (21164A) major=7 minor=2 extensions=0x1 OSF PAL rev: 0x4000200020117 real memory = 266330112 (260088K bytes) avail memory = 251486208 (245592K bytes) Preloaded elf kernel "kernel" at 0xfffffc0000924000. Preloaded mfs_root "/mfsroot" at 0xfffffc00009240a0. md0: Preloaded image 2949120 bytes at 0xfffffc0000650340 md1: Malloc disk mcpcia0: at mcbus0 gid 7 mid 5 mcpcia0: Horse Revision 3, Left Handed Saddle Revision 4, CAP Revision 2 pci0: on pcib0 sym0: <810> port 0x1ffff00-0x1ffffff mem 0x7ffff00-0x7ffffff irq 4 at device 1.0 on pci0 sym0: No NVRAM, ID 7, Fast-10, SE, parity checking sym0: interrupting at IRQ 0x10 intA (vec 0xb40) mcpcia1: at mcbus0 gid 7 mid 4 mcpcia1: Horse Revision 3, Left Handed Saddle Revision 4, CAP Revision 2 Attaching Real Console pci16: on pcib1 isab0: at device 1.0 on pci16 isa0: on isab0 dc0: port 0x41ffff00-0x41ffff7f mem 0x43faff00-0x43faff7f irq 12 at device 3.0 on pci16 dc0: interrupting at IRQ 0x4 intA (vec 0x9c0) dc0: Ethernet address: 00:00:f8:1b:07:fd miibus0: on dc0 dcphy0: on miibus0 dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci16: at 4.0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: interrupting at ISA irq 6 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 atkbd0: interrupting at ISA irq 1 psm0: failed to get data. psm0: irq 12 on atkbdc0 psm0: interrupting at ISA irq 12 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x0> mcclock0: at port 0x70-0x71 on isa0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0 at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A, console sio0: interrupting at ISA irq 4 sio1: reserved for low-level i/o ppc0: at port 0x3bc-0x3bf irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: cannot reserve interrupt, failed. ppc0: interrupting at ISA irq 7 Timecounter "alpha" frequency 532812688 Hz Waiting 15 seconds for SCSI devices to settle Mounting root from ufs:/dev/md0c da0 at sym0 bus 0 target 6 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled da0: 1001MB (2050860 512 byte sectors: 64H 32S/T 1001C) cd0 at sym0 bus 0 target 5 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 8) cd0: Attempt to query device size failed: NOT READY, WARNING: clock gained 20 days -- CHECK AND RESET THE DATE! /stand/sysinstall running as init on serial console These are the predefined terminal types available to sysinstall when running stand-alone. Please choose the closest match for your particular terminal. 1 ...................... Standard ANSI terminal. 2 ...................... VT100 or compatible terminal. 3 ...................... FreeBSD system console (color). 4 ...................... FreeBSD system console (monochrome). 5 ...................... xterm terminal emulator. -Michael > Hmm. Must have been garbled somewhere. I've attached another patch > here in the hope that attachments get less mailer mangling than > plain text. This version of the patch does reference counting so > that we can actually call prom_close(). Its still untested though > :-). > > -- > Doug Rabson Mail: dfr@nlsystems.com > Phone: +44 20 8348 6160 _________________________________________________________________ http://fastmail.ca/ - Fast Free Web Email for Canadians --------------Boundary-00=_DN788RQJD89OO49D7TH0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message