Subject: port-vax/36497: Installation fails after the disk has been formatted
To: None <port-vax-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <carbon@gmx.ch>
List: netbsd-bugs
Date: 06/15/2007 20:45:00
>Number:         36497
>Category:       port-vax
>Synopsis:       Installation fails after the disk has been formatted
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-vax-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 15 20:45:00 +0000 2007
>Originator:     Steffen Mueller
>Release:        3.1
>Organization:
-
>Environment:
VaxStation 3100 Model VS42A
32 MByte Ram
4 GByte IBM SCSI DISK
>Description:
After booting install.ram.gz follow the instructions for creating a new disklabel and formatting the disk. After the new filesystem has been created, an error is printed and the installation is aborted.

CONSOLE OUTPUT OF THE VAX
=========================

-ESA0
>> NetBSD/vax boot [Aug 19 2001 05:57:49] <<
>> Press any key to abort autoboot 0
Trying BOOTP
Using IP address: 192.168.1.7
myip:  (192.168.1.7)
root addr=192.168.1.5 path=/export/vax/root/
2534488+69564=0x27becc
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 3.1 (INSTALL) #0: Tue Oct 31 10:06:11 UTC 2006
        

ghen@b2.netbsd.org:/home/builds/ab/netbsd-3-1-RELEASE/vax/200610302053Z-obj/home/builds/ab/n

etbsd-3-1-RELEASE/src/sys/arch/vax/compile/INSTALL

VAXstation 3100/m{30,40}
cpu: KA41/42
cpu: Enabling primary cache, secondary cache
total memory = 32636 KB
avail memory = 28700 KB
mainbus0 (root)
vsbus0 at mainbus0
vsbus0: interrupt mask 8
le0 at vsbus0 csr 0x200e0000 vec 120 ipl 14 maskbit 5 buf 0x3a6000-0x3b5fff
le0: address 08:00:2b:13:7c:99
le0: 32 receive buffers, 8 transmit buffers
dz0 at vsbus0 csr 0x200a0000 vec 304 ipl 14 maskbit 6
dz0: 4 lines
lkkbd0 at dz0
wskbd0 at lkkbd0 (mux ignored)
hdc0 at vsbus0 csr 0x200c0000 vec 774 ipl 14 maskbit 0
si0 at vsbus0 csr 0x200c0080 vec 770 ipl 14 maskbit 1
si0: NCR5380, SCSI ID 6
scsibus0 at si0: 8 targets, 8 luns per target
smg0 at vsbus0 csr 0x200f0000 vec 104 ipl 14 maskbit 3
wsdisplay0 at smg0 (kbdmux ignored)
md0: internal 1536 KB image area
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <IBM, DDRS-34560, S71D> disk fixed
sd0: 4357 MB, 8387 cyl, 5 head, 212 sec, 512 bytes/sect x 8925000 sectors
sd0: async, 8-bit transfers
boot device: le0
root on md0a dumps on md0b
root file system type: ffs
Clock has gained 226 days - CHECK AND RESET THE DATE.
erase ^?, werase ^W, kill ^U, intr ^C


Formatting disk fails:


     Status: Finished
    Command: disklabel -w -r -f /tmp/disktab sd0 'DDRS'

--------------------------------------------------------------------------------
     Status: Finished
    Command: /sbin/newfs -O 1 -b 16384 -f 2048  /dev/rsd0a

--------------------------------------------------------------------------------
/dev/rsd0a: 4229.0MB (8660992 sectors) block size 16384, fragment size 2048
        using 21 cylinder groups of 201.39MB, 12889 blks, 25344 inodes.
super-block backups (for fsck_ffs -b #) at:
      32,  412480,  824928, 1237376, 1649824, 2062272, 2474720, 2887168,
 3299616, 3712064, 4124512, 4536960, 4949408, 5361856, 5774304, 6186752,
 6599200, 7011648, 7424096, 7836544, 8248992,
cg 0: bad magic number
     Status: Command failed
    Command: /sbin/mount -tffs -o async /dev/sd0a /targetroot/
     Hit enter to continue
--------------------------------------------------------------------------------
mount_ffs: /dev/sd0a on /targetroot: incorrect super block
>How-To-Repeat:
see full description
>Fix:
none, yet