Subject: Cobalt restore CD 4.0_RC3
To: None <port-cobalt@NetBSD.org>
From: Dave J. Barnes <djb_netbsd@charter.net>
List: port-cobalt
Date: 10/22/2007 23:04:07
I see stuff in "setting up EXT" , "setting up swap" and "setting up BSD 
partition" that looks like errors.

Also my bpf devices come up like this:
# ls -al b*
crw-------  1 root  wheel  18, 0 Oct 23 03:49 bpf0
crw-------  1 root  wheel  18, 1 Oct 23 03:49 bpf1
crw-------  1 root  wheel  18, 2 Oct 23 03:49 bpf2
crw-------  1 root  wheel  18, 3 Oct 23 03:49 bpf3
crw-------  1 root  wheel  18, 4 Oct 23 03:49 bpf4
crw-------  1 root  wheel  18, 5 Oct 23 03:49 bpf5
crw-------  1 root  wheel  18, 6 Oct 23 03:49 bpf6
crw-------  1 root  wheel  18, 7 Oct 23 03:49 bpf7

They do not work -- I have to do the MAKEDEV bpf -
# ./MAKEDEV bpf
# ls -al b*
crw-------  1 root  wheel  18, 0 Oct 23 03:55 bpf
lrwx------  1 root  wheel      3 Oct 23 03:55 bpf0 -> bpf

Now they work.

djb

Console Log
====================================================================================

NetBSD 4.0_RC3 (INSTALL) #0: Sat Oct 20 14:44:30 PDT 2007
        
builds@wb35:/home/builds/ab/netbsd-4/cobalt/200710200002Z-obj/home/build
s/ab/netbsd-4/src/sys/arch/cobalt/compile/INSTALL
Cobalt RaQ 2
total memory = 160 MB
avail memory = 154 MB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
com0 at mainbus0 addr 0x1c800000 level 3: st16650a, working fifo
com0: console
cpu0 at mainbus0: QED RM5200 CPU (0x28a0) Rev. 10.0 with built-in FPU 
Rev. 10.0
cpu0: 32KB/32B 2-way set-associative L1 Instruction cache, 48 TLB entries
cpu0: 32KB/32B 2-way set-associative write-back L1 Data cache
mcclock0 at mainbus0 addr 0x10000070: mc146818 compatible time-of-day clock
panel0 at mainbus0 addr 0x1f000000
gt0 at mainbus0 addr 0x14000000
pci0 at gt0
pci0: i/o space, memory space enabled, rd/line, wr/inv ok
pchb0 at pci0 dev 0 function 0: Galileo GT-64111 System Controller, rev 1
tlp0 at pci0 dev 7 function 0: DECchip 21143 Ethernet, pass 4.1
tlp0: interrupting at level 1
tlp0: Ethernet address 00:10:e0:00:36:ed
lxtphy0 at tlp0 phy 1: LXT970 10/100 media interface, rev. 3
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 9 function 0
pcib0: vendor 0x1106 product 0x0586, rev 39
viaide0 at pci0 dev 9 function 1
viaide0: VIA Technologies VT82C586 (Apollo VP) ATA33 controller
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at irq 14
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel interrupting at irq 15
atabus1 at viaide0 channel 1
vendor 0x1106 product 0x3038 (USB serial bus, revision 0x02) at pci0 dev 
9 funct
ion 2 not configured
tlp1 at pci0 dev 12 function 0: DECchip 21143 Ethernet, pass 4.1
tlp1: interrupting at level 2
tlp1: Ethernet address 00:10:e0:00:36:ee
lxtphy1 at tlp1 phy 1: LXT970 10/100 media interface, rev. 3
lxtphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mips3_cp0_counter" frequency 125000000 Hz 
quality 100
wd0 at atabus0 drive 0: <QUANTUM FIREBALL CR4.3A>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 4110 MB, 14848 cyl, 9 head, 63 sec, 512 bytes/sect x 8418816 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd1 at atabus0 drive 1: <QUANTUM FIREBALL CR13.0A>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 12416 MB, 25228 cyl, 16 head, 63 sec, 512 bytes/sect x 25429824 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
wd1(viaide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
boot device: <unknown>
root on tlp0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 10.0.0.254
nfs_boot: my_domain=mfg.cobaltmicro.com
nfs_boot: my_addr=10.0.0.160
nfs_boot: my_mask=255.0.0.0
root on 10.0.0.254:/nfsroot
WARNING: clock gained 2 days
WARNING: CHECK AND RESET THE DATE!
warning: no /dev/console
init: Creating mfs /dev
Tue Oct 23 03:43:50 GMT 2007
Starting file system checks:
Coming up: fixing /dev...
eval: cannot create /dev/lcd: no such device or address
cd: can't cd to /var/run
Setting tty flags.
Setting sysctl variables:
Starting network.
Hostname: client
Configuring network interfaces:.
Building databases...
kvm_mkdb: /var/db/kvm.db.tmp: No such file or directory
dev_mkdb: /var/run/dev.db692618.tmp: No such file or directory
install: /var/run/utmp: open: No such file or directory
Mounting all filesystems...
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
/etc/rc: WARNING: No swap space configured!
starting local daemons:Trace/BPT trap

 ------------------------------------------------
  Setting up the disk...
 ------------------------------------------------

mknod: /dev/lcd: File exists

 ------------------------------------------------
  Clearing partition information...
 ------------------------------------------------

Trace/BPT trap
Trace/BPT trap
Trace/BPT trap
Trace/BPT trap

 ------------------------------------------------
  Setting up the Ext2 partition...
 ------------------------------------------------

expr: non-integer argument '*'
[: -gt: argument expected
[: 0: unexpected operator
fdisk: Bad argument to the -s flag.
: Undefined error: 0
expr: syntax error
[: -: bad number
expr: syntax error

 ------------------------------------------------
  Setting up swap...
 ------------------------------------------------

expr: non-integer argument '*'
[: -gt: argument expected
[: 0: unexpected operator
fdisk: Bad argument to the -s flag.
: Undefined error: 0
expr: syntax error
[: 0: unexpected operator

 ------------------------------------------------
  Setting up BSD partition...
 ------------------------------------------------

fdisk: Bad argument to the -s flag.
: Undefined error: 0
expr: non-integer argument '*'
[: -gt: argument expected
[: 0: unexpected operator
expr: syntax error
expr: non-integer argument '*'
[: -gt: argument expected
[: 0: unexpected operator
expr: non-integer argument '*'
expr: non-integer argument '*'
[: 0: unexpected operator
expr: syntax error
[: -: bad number
expr: syntax error
expr: non-integer argument '*'
[: -gt: argument expected
[: 0: unexpected operator
expr: non-integer argument '*'
expr: non-integer argument '*'
[: 0: unexpected operator
expr: syntax error
[: 0: unexpected operator
disklabel: line 22: invalid format
disklabel: line 22: warning, unknown filesystem type: Ext2
disklabel: line 23: invalid format
disklabel: line 23: too few fields
Segmentation fault

 ------------------------------------------------
  Setting up boot partition...
 ------------------------------------------------

mke2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
7744 inodes, 30901 blocks
0 blocks (0.00%) reserved for the super user
First data block=1
4 block groups
8192 blocks per group, 8192 fragments per group
1936 inodes per group
Superblock backups stored on blocks:
        8193, 16385, 24577

Writing inode tables: done                           
Writing superblocks and filesystem accounting information: done

 ------------------------------------------------
  Setting up /var...
 ------------------------------------------------

Warning: 1 sector(s) in last cylinder unallocated
/dev/wd0f:      1540538 sectors in 2717 cylinders of 9 tracks, 63 sectors
        752.2MB in 19 cyl groups (144 c/g, 39.87MB/g, 9856 i/g)
super-block backups (for fsck -b #) at:
      32,   81744,  163456,  245168,  326880,  408592,  490304,  572016,
  653728,  735440,  817152,  898864,  980576, 1062288, 1144000, 1225712,
 1306400, 1388112, 1469824,

 ------------------------------------------------
  Setting up /tmp...
 ------------------------------------------------

Warning: 1 sector(s) in last cylinder unallocated
/dev/wd0g:      770552 sectors in 1359 cylinders of 9 tracks, 63 sectors
        376.2MB in 10 cyl groups (144 c/g, 39.87MB/g, 9408 i/g)
super-block backups (for fsck -b #) at:
     32,  81744, 163456, 245168, 326880, 408592, 490304, 572016, 653728,
 735440,

 ------------------------------------------------
  Setting up root...
 ------------------------------------------------

Warning: 1 sector(s) in last cylinder unallocated
/dev/wd0a:      5390468 sectors in 9507 cylinders of 9 tracks, 63 sectors
        2632.1MB in 19 cyl groups (512 c/g, 141.75MB/g, 17536 i/g)
super-block backups (for fsck -b #) at:
      32,  290400,  580768,  871136, 1161504, 1451872, 1742240, 2032608,
 2322976, 2613344, 2903712, 3194080, 3484448, 3774816, 4065184, 4355552,
 4644896, 4935264, 5225632,

 ------------------------------------------------
  Setting up boot partition......
 ------------------------------------------------

cp: /cobalt/binary/kernel/GENERIC: No such file or directory
cp: /cobalt/binary/kernel/INSTALL: No such file or directory

 ------------------------------------------------
  Copying files...
 ------------------------------------------------


 ------------------------------------------------
  Unpacking base.tgz...
 ------------------------------------------------


 ------------------------------------------------
  Unpacking comp.tgz...
 ------------------------------------------------


 ------------------------------------------------
  Unpacking etc.tgz...
 ------------------------------------------------


 ------------------------------------------------
  Unpacking man.tgz...
 ------------------------------------------------


 ------------------------------------------------
  Unpacking misc.tgz...
 ------------------------------------------------


 ------------------------------------------------
  Unpacking text.tgz...
 ------------------------------------------------


 ------------------------------------------------
  Fixing up /dev...
 ------------------------------------------------


 ------------------------------------------------
  Fixing /dev/lcd...
 ------------------------------------------------


 ------------------------------------------------
  Fixing up /etc...
 ------------------------------------------------


 ------------------------------------------------
  Rebooting...
 ------------------------------------------------

Oct 23 03:49:38 reboot: rebooted by root
syncing disks... done
unmounting file systems... done
rebooting...

 >> NetBSD/cobalt 4.0_RC3 Bootloader, Revision 0.4 [@0x80f00000]
 >> (builds@wb35, Sat Oct 20 13:59:05 PDT 2007)
 >> Memory:              163840 k
 >> PROM boot string:    root=/dev/hda1 ro
Boot [wd0a:netbsd]:
Loading: wd0a:netbsd
3448992+186084 [186976+182027]=0x3d1ce4
Starting at 0x80001000

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007
    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 4.0_RC3 (GENERIC) #0: Sat Oct 20 14:42:28 PDT 2007
        
builds@wb35:/home/builds/ab/netbsd-4/cobalt/200710200002Z-obj/home/builds/ab/netbsd-4/src/sys/arch/cobalt/compile/GENERIC
Cobalt RaQ 2