Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2001 19:28:45 +0200
From:      Wilko Bulte <wkb@freebie.xs4all.nl>
To:        Matthew Jacob <mjacob@feral.com>
Cc:        freebsd-alpha@FreeBSD.ORG, obrien@FreeBSD.ORG
Subject:   Re: my bootable CDs...
Message-ID:  <20010820192845.B22339@freebie.xs4all.nl>
In-Reply-To: <20010820083007.P38936-100000@wonky.feral.com>; from mjacob@feral.com on Mon, Aug 20, 2001 at 08:32:01AM -0700
References:  <20010820171447.D21855@freebie.xs4all.nl> <20010820083007.P38936-100000@wonky.feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 20, 2001 at 08:32:01AM -0700, Matthew Jacob wrote:
> 
> 
> On Mon, 20 Aug 2001, Wilko Bulte wrote:
> 
> > On Mon, Aug 20, 2001 at 08:12:33AM -0700, Matthew Jacob wrote:
> >
> > > No, no, disk1.iso didn't have cdboot run on it.
> > >
> > > Try disk2.iso- that's what I booted. When it came time to install from cdrom
> > > media, I swapped media. Isn't this how it's supposed to work? There's no
> > > kernel on disk1!
> >
> > ?? for 4.3R I used the first iso (the only one available for download) and
> > I (as a result) never had to swap CDs for a kernel.
> >
> > Did I miss something here?
> 
> Probably not. I've never installed an alpha from CD before (I never received a
> CD as a developer, and I purchased i386 ones, but there were no alpha ones
> mostly). I looked at the contents of both CDs, and it seemed pretty clear to
> me that the disk2 was a bootable CD (the 'fixit' disk), so I booted that one.
> 
> For all I know, disk1 is supposed to work. I just didn't even try it.
> 
> Try a vnconfig and look at the contents and tell me what *I* have missed?

OK, now I am completely and thoroughly confused. I repeated Matt's steps
and created a bootable CDRW from the *disc2* tree that I generated myself
using make release a while back. And this one boots:

Digital Personal WorkStation 600au5.e4.
Console V7.2-1 Mar  6 2000 14:47:02

CPU 0 booting

(boot dkc600.6.0.1004.0 -flags A)
block 0 of dkc600.6.0.1004.0 is a valid boot block
reading 370 blocks from dkc600.6.0.1004.0
bootstrap code read in
base = 1d8000, image_start = 0, image_bytes = 2e400
initializing HWRPB at 2000
initializing page table at 1ca000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
Console: SRM firmware console
VMS PAL rev: 0x1000000010114
OSF PAL rev: 0x1000000020116
Switch to OSF PAL code succeeded.

FreeBSD/alpha SRM CD9660 boot, Revision 1.0
(root@miata.wbnet, Sun Aug 12 16:23:32 CEST 2001)
Memory: 262144 k
\
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [kernel]...               
elf_loadmodule: filename= /kernel
/kernel entry at 0xfffffc000032b200
Segment: 0x5e9c30@0x0 -> 0xfffffc0000300000-0xfffffc000090fddf (bss:
0xfffffc000
08e9c30-0xfffffc000090fddf)
\
Entering kernel at 0xfffffc000032b200...
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 somename #1: Sun Aug 12 22:00:10 GMT 2001
    root@miata.wbnet:/usr/src/sys/compile/BOOTMFS
Digital Personal Workstation (Miata)
Digital Personal WorkStation 600au, 598MHz
8192 byte page size, 1 processor.
CPU: EV56 (21164A) major=7 minor=0 extensions=0x1<BWX>
OSF PAL rev: 0x1000000020116
real memory  = 266493952 (260248K bytes)
avail memory = 251559936 (245664K bytes)
Preloaded elf kernel "kernel" at 0xfffffc0000912000.
md1: Malloc disk
cia0: Pyxis, pass 1
cia0: extended capabilities: 1<BWEN>
pcib0: <2117x PCI host bus adapter> on cia0
pci0: <PCI bus> on pcib0
dc0: <Intel 21143 10/100BaseTX> port 0x9000-0x907f mem 0x80965000-0x8096507f
irq 0 at device 3.0 on pci0
dc0: interrupting at CIA irq 0
 
etc.

It puts me in sysinstall after booting. I did not change CDs like Matt did,
I just booted the disc2 CDRW. 

On disc2 we find:

miata#ls -l
total 11023
-rw-r--r--   4 root  wheel      802 Aug 12 22:01 .cshrc
-rw-r--r--   1 root  wheel     1451 Aug 13 00:01 .profile
-r--r--r--   2 root  wheel     4735 Aug 12 22:01 COPYRIGHT
-r--r--r--   1 root  wheel      909 Aug 20 17:26 TRANS.TBL
drwxr-xr-x   2 root  wheel     6144 Aug 12 22:13 bin
drwxr-xr-x   3 root  wheel     2048 Aug 13 00:01 boot
-rw-r--r--   1 root  wheel       22 Aug 13 00:01 cdrom.inf
drwxr-xr-x   3 root  wheel   118784 Aug 12 22:01 dev
drwxr-xr-x  15 root  wheel    12288 Aug 12 22:01 etc
-r-xr-xr-x   3 root  wheel  6230352 Aug 13 00:00 kernel
-r-xr-xr-x   2 root  wheel  4866409 Aug 12 22:47 kernel.GENERIC
drwxr-xr-x   2 root  wheel     2048 Aug 12 21:38 mnt
drwxr-xr-x   2 root  wheel    18432 Aug 12 21:56 modules
dr-xr-xr-x   2 root  wheel     2048 Aug 12 21:38 proc
drwxr-xr-x   2 root  wheel     2048 Aug 12 22:01 root
drwxr-xr-x   2 root  wheel    12288 Aug 12 22:16 sbin
lrwxrwxrwx   1 root  wheel       11 Aug 13 00:01 sys -> usr/src/sys
drwxrwxrwt   2 root  wheel     2048 Aug 12 21:38 tmp
drwxr-xr-x  13 root  wheel     2048 Aug 12 23:24 usr
drwxr-xr-x  19 root  wheel     4096 Aug 12 23:23 var
miata#ls -l boot
total 733
-r--r--r--  1 root  wheel     503 Aug 20 17:26 TRANS.TBL
-r-xr-xr-x  2 root  wheel    7560 Aug 12 21:56 boot1
-r-xr-xr-x  3 root  wheel  189232 Aug 13 22:12 cdboot
drwxr-xr-x  2 root  wheel    2048 Aug 12 21:56 defaults
-r-xr-xr-x  2 root  wheel  190112 Aug 12 21:56 loader
-r--r--r--  2 root  wheel    9237 Aug 12 21:56 loader.4th
-r-xr-xr-x  2 root  wheel  109056 Aug 12 21:56 loader.exe
-r--r--r--  2 root  wheel   10541 Aug 12 21:56 loader.help
-rw-r--r--  2 root  wheel      26 Aug 13 00:00 loader.rc
-r-xr-xr-x  2 root  wheel  208888 Aug 12 21:56 netboot
-r--r--r--  2 root  wheel   25121 Aug 12 21:56 support.4th
miata#

In contrast, on disc1 we find:

miata#ls -la
total 6193
drwxrwxr-x  15 root  wheel     4096 Aug 17 02:09 .
drwxr-xr-x  21 root  wheel      512 Aug  7 20:35 ..
-r--r--r--   1 root  wheel      717 Aug 17 13:36 TRANS.TBL
drwxrwxr-x   2 root  wheel    22528 Aug 17 02:09 bin
drwxrwxr-x   2 root  wheel     2048 Aug 17 02:09 boot
drwxrwxr-x   2 root  wheel     4096 Aug 17 02:09 catpages
-rw-rw-r--   1 root  wheel       33 Aug 17 02:09 cdrom.inf
drwxrwxr-x   2 root  wheel     2048 Aug 17 02:09 compat4x
drwxrwxr-x   2 root  wheel    10240 Aug 17 02:09 crypto
drwxrwxr-x   2 root  wheel     2048 Aug 17 02:09 dict
drwxrwxr-x   2 root  wheel     2048 Aug 17 02:09 doc
drwxrwxr-x   2 root  wheel     2048 Aug 17 02:09 floppies
drwxrwxr-x   2 root  wheel     4096 Aug 17 02:09 games
drwxrwxr-x   2 root  wheel     2048 Aug 17 02:09 info
-r-xr-xr-x   3 root  wheel  6231680 Aug 17 02:08 kernel
drwxrwxr-x   2 root  wheel     6144 Aug 17 02:09 manpages
drwxrwxr-x   2 root  wheel     4096 Aug 17 02:09 proflibs
drwxrwxr-x   2 root  wheel    40960 Aug 17 02:09 src
miata#ls -l boot
total 370
-r--r--r--  1 root  wheel     147 Aug 17 13:36 TRANS.TBL
-r-xr-xr-x  3 root  wheel  188744 Aug 17 00:10 cdboot
-r-xr-xr-x  1 root  wheel  190120 Aug 17 02:08 loader
-rw-rw-r--  2 root  wheel      26 Aug 17 02:08 loader.rc
miata#

For comparison this is what 4.3R has on the CD:

wb /mnt: ls -l
total 7
-r--r--r--   1 root  wheel     9707 Apr 21 21:17 ABOUT.TXT
-r--r--r--   1 root  wheel      980 Apr 21 21:17 ERRATA.TXT
-r--r--r--   1 root  wheel   114245 Apr 21 21:17 HARDWARE.TXT
-r--r--r--   1 root  wheel    20248 Apr 21 21:17 INSTALL.TXT
-r--r--r--   1 root  wheel     4722 Apr 21 21:17 LAYOUT.TXT
-r--r--r--   1 root  wheel     3615 Apr 21 21:17 README.TXT
-r--r--r--   1 root  wheel    37774 Apr 21 21:17 RELNOTES.TXT
-r--r--r--   1 root  wheel    17777 Apr 21 21:17 TROUBLE.TXT
-r--r--r--   1 root  wheel     8453 Apr 21 21:17 UPGRADE.TXT
dr-xr-xr-x   3 root  wheel     4096 Apr 23 03:04 XF86336
dr-xr-xr-x   2 root  wheel    22528 Apr 21 21:17 bin
dr-xr-xr-x   2 root  wheel     2048 Apr 21 21:17 boot
dr-xr-xr-x   2 root  wheel     4096 Apr 21 21:17 catpages
-r--r--r--   1 root  wheel       25 Apr 21 21:17 cdrom.inf
dr-xr-xr-x   2 root  wheel     2048 Apr 21 21:17 compat4x
dr-xr-xr-x   2 root  wheel    10240 Apr 21 21:17 crypto
dr-xr-xr-x   2 root  wheel     2048 Apr 21 21:17 dict
dr-xr-xr-x   2 root  wheel     2048 Apr 21 21:17 doc
-r--r--r--   1 root  wheel    89422 Apr 23 03:25 filename.txt
dr-xr-xr-x   2 root  wheel     2048 Apr 21 21:17 floppies
dr-xr-xr-x   2 root  wheel     4096 Apr 21 21:17 games
dr-xr-xr-x   2 root  wheel     2048 Apr 21 21:17 info
-r--r--r--   2 root  wheel  6298064 Apr 21 21:16 kernel
dr-xr-xr-x   2 root  wheel     4096 Apr 21 21:17 manpages
dr-xr-xr-x  66 root  wheel     8192 Apr 22 09:55 packages
dr-xr-xr-x   2 root  wheel     2048 Apr 21 21:23 ports
dr-xr-xr-x   2 root  wheel     4096 Apr 21 21:17 proflibs
dr-xr-xr-x   2 root  wheel    40960 Apr 21 21:17 src
wb /mnt: ls -l boot
total 1
-r--r--r--  1 root  wheel    7400 Apr 21 21:16 boot1
-r--r--r--  2 root  wheel  181856 Apr 21 16:19 cdboot
-r--r--r--  1 root  wheel  188408 Apr 21 21:16 loader
-r--r--r--  2 root  wheel      26 Apr 21 21:16 loader.rc
wb /mnt: 

This brings me to:
- To me disc1 of RELENG_4 corresponds to disc1 of 4.3R
- RELENG_4 no longer has boot/boot1 ; I don't think that is bad?
- there is nothing inherently broken in cdboot
- there is nothing inherently broken in loader either

Hypothesis:

- does loader now need additional support files from /boot that disc2 has but
  disc1 does not?

Note: cdboot on disc1 and disc2 are not the same as I had some debugging
added in disc1. 

Any helpful insights appreciated.

David, any chance you can try a boot of disc2 on the 164LX for comparison?

Wilko
-- 
|   / o / /  _   	Arnhem, The Netherlands    	email: wilko@FreeBSD.org
|/|/ / / /( (_) Bulte	

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010820192845.B22339>