Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: Upgrade to V4.0 Complains of DDR.DB.
  1999-04-06  4:00 Upgrade to V4.0 Complains of DDR.DB John Allen
@ 1999-04-06  4:00 ` Adam Price
  0 siblings, 0 replies; 2+ messages in thread
From: Adam Price @ 1999-04-06  4:00 UTC (permalink / raw)


Hi John,
I've sent you this by email as well, but I would really rather do this
in
the
newsgroup, since then if I make any mistakes someone will correct me and
I can learn, otherwise I gain nothing from the interaction.
This way I think we all benefit



>Adam:
>
>Your assistance in this whole matter of migrating my system to a larger
>drive has helped greatly.

Thanks

> "The following filesystems had unexpected inconsistencies:
>
> /dev/rrz6g  (/rz6g)  BAD SUPER BLOCK
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This looks like an error in /etc/fstab

> /dev/rrz6h  (/usl)    MAGIC NUMBER WRONG
^^^^^^^^^^^^^^^^^^^^^^^
This looks bad too

>
> Automatic reboot failed.  Run fsck manually.  Reapair filesystem, and
>reboot."
>

>I then attempted a manual fsck, but it doesn't work.
What do you mean manual?
Did you just type fsck and let it go or, assuming / is /dev/rz6a and
/usr is
/dev/rz6g, did you try
fsck /dev/rz6a
fsck /dev/rz6g

At boot time a script called bcheckrc will run, it will call fsck with
the
names of the mount points ie fsck / ; fsck /usr etc



>
>I noticed a message during the reboot attempt...
>
> "Unable to open the device database,  ddr.db"

I never came accross problems with this, but I only ever get to use
standard
DEC parts, so they are always supported.
The manual says
--- BEGIN QUOTE
When you make a change to the operating parameters or characteristics of
a
SCSI device, you must describe the changes in the /etc/ddr.dbase file.
You
must compile the changes by using the ddr_config -c command.
Two common reasons for changes are:


Your device deviates from the SCSI standard or reports something
different
from the SCSI standard

You want to optimize device defaults, most commonly the TagQueueDepth
parameter, which specifies the maximum number of active tagged requests
the
device supports

You use the ddr_config -c command to compile the /etc/ddr.dbase file and
produce a binary database file, /etc/ddr.db. When it is notified that
the
file's state has changed, the kernel loads the new /etc/ddr.dbase file.
In
this way, the SCSI CAM I/O subsystem is dynamically updated with the
changes
that you made in the /etc/ddr.dbase file and the contents of the on-disk
database are synchronized with the contents of the in-memory database.
Use the following procedure to compile the /etc/ddr.dbase database:


Log in as root or become the superuser.

Enter the ddr_config -c command, for example:
# /sbin/ddr_config -c

#

When the prompt is displayed, the compilation is complete. If there are
syntax errors, they are displayed at standard output and no output file
is
compiled.

--- END QUOTE

>I read something about the Dynamic Device Recognition for SCSI Devices
on
>p. 1-43 in the V4.0 release notes.   It must be related somehow to
this.
>
>The result is that I've got a problematic install of V4.0 on one drive
>telling me that I must correct this DDR problem before proceeding.  The
>good thing is that I can revert to my good bootable system of V3.2C on
a
>separate drive.
>
>Ever seen anything like this Adam?

Never seen this but my troubleshooting procedure would run like this.

Assuming 4.0X installed on scsi bus 0 target 6 lun 0 (DKA600 at boot
prompt,
/dev/rrz6c from inside unix)
                3.2X installed on scsi bus 0 target 0 lun 0 (DKA0    at
boot
prompt, /dev/rrz0c from inside unix)


From the console prompt boot DUX4 in single user mode from the generic
console.

>>> boot -fl s -file genvmunix dka600

wait for root prompt

# fsck /dev/rz6a
# mount -u /dev/rz6a /

OK now we have a root filesystem

# mkdir /oldsys
# fsck /dev/rz1a
# mount /dev/rz1a /oldsys

OK now we have both systems mounted

# diff /etc/fstab /oldsys/etc/fstab

The differences should be the numbers in the device names, all
references to
rz1 in the 3.2 system should say rz6 in the dux4 system.

Hope this helps
Adam











^ permalink raw reply	[flat|nested] 2+ messages in thread

* Upgrade to V4.0 Complains of DDR.DB.
@ 1999-04-06  4:00 John Allen
  1999-04-06  4:00 ` Adam Price
  0 siblings, 1 reply; 2+ messages in thread
From: John Allen @ 1999-04-06  4:00 UTC (permalink / raw)


Hi There!

Thanks to those of you who have been replying to my pleas.  Your
assistance has providied me with the ability to construct an
additional bootable drive on my alpha.  I migrated my 'old' V3.2C
system to the new drive, and booted using that new drive.  Then
attempted an upgrade to DU V4.0.  Results are as follows:

The upgrade proceeded as per normal, loaded the 95 subsets, and then,
at the end, it did its merging, attempted a reboot, and complained...

	"The following filesystems had unexpected inconsistencies:

	/dev/rrz6g  (/rz6g)  BAD SUPER BLOCK
	/dev/rrz6h  (/usl)    MAGIC NUMBER WRONG

	Automatic reboot failed.  Run fsck manually.  Reapair
filesystem, and reboot."

I then attempted a manual fsck, but it doesn't work.

I noticed a message during the reboot attempt...

	"Unable to open the device database,  ddr.db"

I read something about the Dynamic Device Recognition for SCSI Devices
on p. 1-43 in the V4.0 release notes.   It must be related somehow to
this.

The result is that I've got a problematic install of V4.0 on one drive
telling me that I must correct this DDR problem before proceeding.
The good thing is that I can revert to my good bootable system of
V3.2C on a separate drive.  When I do boot my original V3.2C, that
system has no trouble recognizing the drives which are not seen on the
V4.0 attempt. 

Any suggestions?

John A.






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-04-06  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-06  4:00 Upgrade to V4.0 Complains of DDR.DB John Allen
1999-04-06  4:00 ` Adam Price

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox