[FreeVMS] Chronicles of a FreeVMS 0.0.48 Install Chapter 3


Subject: [FreeVMS] Chronicles of a FreeVMS 0.0.48 Install Chapter 3
From: Andrew Allison (freevms@sympatico.ca)
Date: Tue Aug 26 2003 - 17:51:27 CEST


Hello:

I little more information and a correction.

My hard drive is the master on the secondary IDE channel i.e. /dev/hdc2

As promised in Chapter 2

We are making progress I got what looks like a linux boot process

Stuff is a flying by, This is what is left that has not scrolled off the
screen:
(abridged of course, remember these notes are taken by hand)

The puts 1 to puts 16 are off the top, but they did go by.

PCI: Probing PCI hardware
Linux Net4.0
Initializing RT netlink
KERNEL After sock_init
KERNEL After start_context
KERNEL After startup NET5 MYSCS DECNET
starting kswapd
pty 256 Unix 98 ptys conf
Serial driver
ttyS00
ttyS01
block 128 slots
NET4
IP Protocols
IP routing cache
TCP Hash tables
NET 4

KERNEL-I-DEBUG After do_initcalls
KERNEL-I-DEBUG After do_basic_setup
request module [block-major-22]:Root fs not mounted
VFS: Cannot open root device "hdc2" or 16:02
Please append a correct "root=" boot option
Kernel Panic: VFS: Unable to mount root fs on 16:02

Notes: If you/me set the line

kernel /bzImage root=LABEL=/

the output is:
KERNEL-I-DEBUG After do_initcalls
KERNEL-I-DEBUG After do_basic_setup
KERNEL PANIC I have no root and I want to scream

but if you/me set it to

kernel /bzImage root=/dev/hdc2

the output is:
KERNEL-I-DEBUG After do_initcalls
KERNEL-I-DEBUG After do_basic_setup
request module [block-major-22]: Root fs not mounted
VFS: Cannot open root device "hdc2" or 16:02
Please append a correct "root=" boot option
Kernel Panic: VFS: Unable to mount root fs on 16:02

So root=/dev/hdc2 looks more promising so we will work with that.
In checking my /dev directory, I see my hdc2 major number is 22 and minor is
2, looks good.
and I going to assume 16:02 is just hex output for 22:02

In reviewing my linux boot process the output is almost identical and this
about where the VFS code is invoked.

Notes ( more notes about those puts you see flying by)
Located in /home/andrewa/freevms/linux/init/main.c

After puts 1 it calls lock_kernel
            puts 2 linux_banner
            puts 3 setup_arch
            puts 4 printk
            puts 5 parse_options
            puts 6 trap_init
            puts 7 init_IRQ
            puts 8 vms_init
            puts 9 sched_init
            puts 10 softirq_init
            puts 11 time_init
            puts 13
            puts 14 console_init
            puts 15 init_modules
            puts 16 kmem_cache_init

Sorry no more numbers
                                        after mem_init before lnm_init
                                        after lnm_init
                                        after kmem_cache
                                        Posix conformance testing by UNIFIX

                                        do basic setup
                                                After sock_init
                                                After start_context_thread
                                                After do_init_calls

                                          prepare name space

                                         After do_basic_setup

    DISCLAIMER: WHAT NOT TO DO unless you have some spare time to waste.
At least there is a gem or two of knowledge to be learned from the process.

So back to the ext3 stuff

In checking my notes I discovered that I had commented out the EXT3 option
in the depend stuff.

So lets put that directory in - sounds reasonable doesn't it?

lets create a directory /home/andrewa/freevms/linux/fs/ext3

copy the files over
edit the makefile in /home/andrewa/freevms/linux/fs
uncomment the line subdir -$(CONFIG_EXT_FS) += ext3
cd /home/andrewa/freevms/linux
make dep

Cough Cough
It's complaining about some .depend file in /ext3
Huh?
Lets check nope not there.
Go back to the linux sources yah its there
Note to self (GEM Alert) cp * /home/andrewa/freevms/linux/fs/ext3 doesn't
copy the .hidden files
Got to do that literally
Ok lets try that again
make dep
Cough Cough
Huh?
Checking again
Oh doesn't have write privileges chmod +w
make dep
Cough Cough
Huh?
Checking again
Opps wrong owner I did this all as root
chown andrewa *
Note there that * problem again
chown andrewa .depend

Ok make dep
      make bzImage
copy files and reboot
Nope same kernel panics
Well that was a complete waster of time.

Back to File Basics 101

Later Andrew

-- 
Liste de diffusion FreeVMS
Pour se désinscrire : mailto:freevms-request@ml.free.fr?subject=unsubscribe



This archive was generated by hypermail 2b25 : Tue Aug 26 2003 - 18:42:07 CEST