Subject: Re: RaQ1 / Stock NetBSD Recovery ISO
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: James Hartley <jjhartley@gmail.com>
List: port-cobalt
Date: 08/04/2007 14:41:12
On 8/4/07, Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> wrote:
> jjhartley@gmail.com wrote:
>
> > I've noticed that I'm not seeing any of the "We serve it, you
> > surf it" POST messages.
>
> Maybe you have to turn on firmware console first?
> http://www.NetBSD.org/ports/cobalt/faq.html#buttons

D'oh!  My bad.  Yeah, I had forgotten that I have to toggle *while*
powering on.  Toggling at any other time is ineffective.  Sorry about
that one...

> > More importantly, how can I boot into single-user mode?  Am
> > I missing something here?
>
> If you can get "Cobalt:" prompt after the "We serve it.." banner
> by typing any key, you can specify it by "single" strings on
> the prompt as the following:
> ---
>  :
>
> 13.Ethernet Test...........................PASS
> 16.RTC Test................................PASS
>
> Cobalt: bfd /boot/vmlinux.gz single     <-- type here
> Decompressing done
> Executing bootloader kernel...
> Decompressing - done.
>
> >> NetBSD/cobalt 4.99.26 Bootloader, Revision 0.2 [@0x80f00000]
> >> (tsutsui@mirage, Sun Aug  5 00:46:02 JST 2007)
> >> Memory:              262144 k
> >> PROM boot string:    root=3D/dev/hda1 ro single
> Boot [wd0a:netbsd]:
> Loading: wd0a:netbsd
> 3118416+214512 [162960+157897]=3D0x37c490
> Starting at 0x80001000
>
>  :
>
> root on wd0a dumps on wd0b
> root file system type: ffs
> Enter pathname of shell or RETURN for /bin/sh:
> We recommend creating a non-root account and using su(1) for root access.
> No entry for terminal type "dumb";
> using dumb terminal settings.
> #
> ---
>
> But there is no way to specify it on the native bootloader prompt.

I'm not seeing the "Cobalt:" prompt at all.  Below is the console
output captured by serial connection after installing the 3 Aug build
this morning:

=3D=3D=3D=3D=3D=3D=3D=3D8<--------------
Script started on Sat Aug  4 13:59:11 2007
jjh@feynman:~ $ sudo cu -l ttyU0 -s 115200
Password:
Connected
^@Cobalt Microserver Diagnostics - 'We serve it, you surf it'
Built Tue May 25 15:58:41 PDT 1999

 1.LCD Test................................PASS
 2.Controller Test.........................PASS
 5.Bank 0:.................................64M
 6.Bank 1:.................................64M
 7.Bank 2:.................................64M
 8.Bank 3:.................................64M
 9.Serial Test.............................PASS
10.PCI Expansion Slot....................**EMPTY**
12.IDE Test................................PASS
13.Ethernet Test...........................PASS
16.RTC Test................................PASS
BOOTLOADER ramcode: selected partition /dev/hda1
Decompressing -\|/-\|/-\|/-\| done
Executing bootloader kernel...
Decompressing -/ done.

>> NetBSD/cobalt 4.0_BETA2 Bootloader, Revision 0.2 [@0x80f00000]
>> (builds@wb35, Fri Aug  3 16:38:59 PDT 2007)
>> Memory:              262144 k
>> PROM boot string:    root=3D/dev/hda1 ro
Boot [wd0a:netbsd]: bfd /boot/vmlinux.gz single
Loading: wd0a:single
|/-open wd0a:single: No such file or directory
Boot failed! Rebooting...
rebooting...
=FFCobalt Microserver Diagnostics - 'We serve it, you surf it'
Built Tue May 25 15:58:41 PDT 1999

 1.LCD Test................................PASS
 2.Controller Test.........................PASS
 5.Bank 0:.................................64M
 6.Bank 1:.................................64M
 7.Bank 2:.................................64M
 8.Bank 3:.................................64M
 9.Serial Test.............................PASS
10.PCI Expansion Slot....................**EMPTY**
12.IDE Test................................PASS
13.Ethernet Test...........................PASS
16.RTC Test................................PASS
BOOTLOADER ramcode: selected partition /dev/hda1
Decompressing -\|/-\|/-\|/-\| done
Executing bootloader kernel...
Decompressing -/ done.

>> NetBSD/cobalt 4.0_BETA2 Bootloader, Revision 0.2 [@0x80f00000]
>> (builds@wb35, Fri Aug  3 16:38:59 PDT 2007)
>> Memory:              262144 k
>> PROM boot string:    root=3D/dev/hda1 ro
Boot [wd0a:netbsd]:
Loading: wd0a:netbsd
|/-\|3443680/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\=
|/-\|/-\|/-\|/-\|/-\|/-\|
/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\=
|/-\|/-\|/-\|/-\|/-\|/-\|
/-\|/-\|/-\|/-\|/-\|/-\|/-+186084\
[186848|/-\|/-\|/-+181872\|/-\|/-\|/]=3D0x3d0708
Starting at 0x80001000

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2=
006
    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_BETA2 (GENERIC) #0: Fri Aug  3 17:22:20 PDT 2007
        builds@wb35:/home/builds/ab/netbsd-4/cobalt/200708030002Z-obj/home/=
builds/ab/netbsd-4/src/sy
s/arch/cobalt/compile/GENERIC
Cobalt Qube 2
total memory =3D 256 MB
avail memory =3D 246 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:5f:d0
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: VIA Technologies VT82C586 PCI-ISA Bridge, 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
VIA Technologies VT83C572 USB Controller (USB serial bus, revision
0x02) at pci0 dev 9 function 2 no
t 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:5f:d1
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
Kernelized RAIDframe activated
wd0 at atabus0 drive 0: <ST3160023A>
wd0: quirks 2<FORCE_LBA48>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sector=
s
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
warning: no /dev/console
init: Creating mfs /dev (477 blocks, 1280 inodes)
swapctl: adding /dev/wd0b as swap device at priority 0
Checking for botched superblock upgrades: done.
Starting file system checks:
/dev/rwd0a: file system is clean; not checking
/dev/rwd0f: file system is clean; not checking
/dev/rwd0g: file system is clean; not checking
Setting tty flags.
Setting sysctl variables:
Starting network.
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:
Starting dhclient.
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on BPF/tlp1/00:10:e0:00:5f:d1
Sending on   BPF/tlp1/00:10:e0:00:5f:d1
Listening on BPF/tlp0/00:10:e0:00:5f:d0
Sending on   BPF/tlp0/00:10:e0:00:5f:d0
Sending on   Socket/fallback
DHCPDISCOVER on tlp0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on tlp1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on tlp0 to 255.255.255.255 port 67 interval 9
DHCPOFFER from 10.0.0.254
DHCPREQUEST on tlp0 to 255.255.255.255 port 67
DHCPACK from 10.0.0.254

bound to 10.0.0.160 -- renewal in 255 seconds.
Building databases...
Starting syslogd.
Checking for core dump...
savecore: no core dump
Mounting all filesystems...
Clearing /tmp.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
Starting virecover.
Starting local daemons:.
Updating motd.
postfix: rebuilding /etc/mail/aliases (missing /etc/mail/aliases.db)
newaliases: warning: valid_hostname: empty hostname
newaliases: fatal: unable to use my own hostname
Aug  4 03:02:36  postfix/sendmail[2321]: fatal: unable to use my own hostna=
me
Starting inetd.
Starting cron.
Starting paneld.
Aug  4 03:02:37  paneld[2334]: cannot attach to device hd44780, node /dev/l=
cd
Sat Aug  4 03:02:38 UTC 2007

NetBSD/cobalt (Amnesiac) (tty00)

login: root
Aug  4 03:05:05  login: ROOT LOGIN (root) ON tty00
Last login: Sat Aug  4 02:50:09 2007 on tty00
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2=
006
    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_BETA2 (GENERIC) #0: Fri Aug 3 17:22:20 PDT 2007

Welcome to NetBSD!

This system is running a beta release of the NetBSD operating system, aimed
at stabilizing the next formal release.  It is close to formal release qual=
ity,
but may still contain bugs, even serious ones.  Please bear this in mind an=
d
use the system with care.

You are encouraged to test this version as thoroughly as possible.  Should =
you
encounter any problem, please report it back to the development team using =
the
send-pr(1) utility (requires a working MTA).  If yours is not properly set =
up,
use the web interface at: http://www.netbsd.org/support/send-pr.html

Thank you for helping us test and improve this beta NetBSD release.

^[[3g        ^[H        ^[H        ^[H        ^[H        ^[H
^[H        ^[H        ^[H
 ^[HTerminal type is vt100.
We recommend creating a non-root account and using su(1) for root access.
# shutdown -h now
Shutdown NOW!
shutdown: [pid 2419]
# wall: You have write permission turned off; no reply possible

^G*** FINAL System shutdown message from root@ ***^G
System going down IMMEDIATELY


Aug  4 03:05:12 shutdown: halt by root:
Aug  4 03:05:12  shutdown: halt by root:

System shutdown time has arrived^G^G
About to run shutdown hooks...
[Shutting down]   > cronStopping cron.
Waiting for PIDS: 2380.
[Shutting down]   > ftpd[Shutting down]   > identd[Shutting down]   >
inetdStopping inetd.
Waiting for PIDS: 2364.
[Shutting down]   > mixerctl[Shutting down]   > wsmoused[Shutting
down]   > xdm[Shutting down]   > l
ocal[Shutting down]   > amd[Shutting down]   > accounting[Shutting
down]   > racoon[Shutting down]
 > ipfs[Shutting down]   > downinterfaces[Shutting down]   >
altqd[Shutting down]   > swap1Removing
block-type swap devices
swapctl: removing /dev/wd0b as swap device
Sat Aug  4 03:05:20 UTC 2007

Done running shutdown hooks.
Aug  4 03:05:25  syslogd: Exiting on signal 15
syncing disks... done
unmounting file systems... done

The operating system has halted.
Please press any key to reboot.