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/05/2007 07:39:17
On 8/4/07, Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> wrote:
> jjhartley@gmail.com wrote:
>
> > > > 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:
>
> > I'm not seeing the "Cobalt:" prompt at all.
>
> Did you try this?
> >> Press the space bar while the diagnostics run to halt the autoboot process.
> (sorry it's not any but the space)

Okay, I had a sticky spacebar problem.  Your suggestion works with the
unadulterated 3 August build.  If interested, the transcript of the
serial connection is below.

Thanks for your assistance.

========8<-----------------

Script started on Sun Aug  5 07:22:51 2007
jjh@feynman:~ $ sud o  o cu -l ttp U0 -s     yU0 -s 115200
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

Cobalt: bfd /boot/vmlinux.gz single
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=/dev/hda1 ro single
Boot [wd0a:netbsd]:
Loading: wd0a:netbsd
|/-\|3443680/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|
/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|
/-\|/-\|/-\|/-\|/-\|/-\|/-+186084\
[186848|/-\|/-\|/-+181872\|/-\|/-\|/]=0x3d0708
Starting at 0x80001000

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    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 = 256 MB
avail memory = 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 sectors
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)
Enter pathname of shell or RETURN for /bin/sh:
Terminal type? [unknown]
Terminal type is unknown.
We recommend creating a non-root account and using su(1) for root access.
# shutdown -h now
Shutdown NOW!
shutdown: [pid 1712]
# wall: You have write permission turned off; no reply possible
wall: can't open temporary file: Read-only file system
Aug  4 20:25:59 shutdown: halt by root:

System shutdown time has arrived^G^G

About to run shutdown hooks...
[Shutting down]   > croncron not running? (check /var/run/cron.pid).
[Shutting down]   > ftpd[Shutting down]   > identd[Shutting down]   >
inetdinetd not running? (check
 /var/run/inetd.pid).
[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: /dev/wd0b: Device not configured
Sat Aug  4 20:26:03 UTC 2007

Done running shutdown hooks.
syncing disks... done
unmounting file systems... done

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