Subject: Re: Newbie - install questions
To: None <port-mips@netbsd.org>
From: UnterGeek <slim@canispublishing.com>
List: port-mips
Date: 04/23/2007 08:54:20
Martin wrote:

> "db>" is the kernel debugger prompt - something went wrong.
> Can you please post the complete boot messeges up to this point and also
> do a "bt" command at the db prompt?



Maybe my psdboot options are wrong -

I have the system on a flash card which shows up as wd0.
If I start psdboot with the options -h -a wd0a (or almost anything else like
wd0, wd0f, wd1, wd1a) I get:

Stopped; curlwp = 0x807a6060, curproc is NULL at        0x801edd68:     jr     
r
a
                bdslot: nop
db> bt

801edd64+4 (807c2000,802d78b0,1c2,0) ra 8021999c sz 0
80219410+58c (807c2000,802d78b0,1c2,0) ra 8000106c sz 368
trap: TLB miss (load or instr. fetch) in kernel mode
status=0x2, cause=0x80008c08, epc=0x801f3264, vaddr=0x0
trap: TLB miss (load or instr. fetch) in kernel mode
status=0x2, cause=0x8c08, epc=0x801f20ec, vaddr=0x0
trap: TLB miss (load or instr. fetch) in kernel mode
status=0x2, cause=0x8c08, epc=0x801f20ec, vaddr=0x0
trap: TLB miss (load or instr. fetch) in kernel mode
status=0x2, cause=0x8c08, epc=0x801f20ec, vaddr=0x0
trap: TLB miss (load or instr. fetch) in kernel mode
status=0x2, cause=0x8c08, epc=0x801f20ec, vaddr=0x0
trap: TLB miss (load or instr. fetch) in kernel mode
status=0x2, cause=0x8c08, epc=0x801f20ec, vaddr=0x0
trap: TLB miss (load or instr. fetch) in kernel mode
status=0x2, cause=0x8c08, epc=0x801f20ec, vaddr=0x0
trap: TLB miss (load or instr. fetch) in kernel mode
status=0x2, cause=0x8c08, epc=0x801f20ec, vaddr=0x0
trap: TLB miss (load or instr. fetch) in kernel mode
status=0x2, cause=0x8c08, epc=0x801f20ec, vaddr=0x0
trap: TLB miss (load or instr. fetch) in kernel mode
status=0x2, cause=0x8c08, epc=0x801f20ec, vaddr=0x0

________

If I start with "-h -a"  (no root specified) I can then type in wd0a as the
root device and all is fine. I get this:

mem_cluster_cnt = 3
mem_clusters[0] = {0x0,0x7c2000}
mem_clusters[1] = {0x7c2000,0x183e000}
mem_clusters[2] = {0x2000000,0x1000000}
loading 0x7c2000,0x183e000
loading 0x2000000,0x1000000
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.0_PATCH (RAMDISK) #0: Tue Mar 20 10:16:40 PDT 2007

builds@wb46:/home/builds/ab/netbsd-3-1/hpcmips/200703200002Z-obj/home/builds/ab/netbsd-3-1/src/sys/arch/hpcmips/compile/RAMDISK
Fujitsu PenCentra 130 (NEC VR4121 rev1.0 131.072MHz)
total memory = 49152 KB
avail memory = 39816 KB
mainbus0 (root)
cpu0 at mainbus0: NEC VR4100 CPU (0xc60) Rev. 6.0 with software emulated
floating point
cpu0: 16KB/16B direct-mapped L1 Instruction cache, 32 TLB entries
cpu0: 8KB/16B direct-mapped write-back L1 Data cache
vr4102ip0 at mainbus0
vrbcu0 at vr4102ip0 addr 0x0b000000-001f
vrbcu0: CPU 131.072MHz, bus 32.768MHz, ram 65.536MHz
vrcmu0 at vr4102ip0 addr 0x0b000060-007f
vrgiu0 at vr4102ip0 addr 0x0b000100-011f
vrc4172gpio0 at vrgiu0
hpcioman5 at vrc4172gpio0
hpcin0 at hpcioman5 iochip vrc4172gpio0, port 7, type 5, id 256, interrupt
level low
vrisab5 at vrc4172gpio0: ISA port 0x15000000-0x18000000 mem
0x10000000-0x14000000
isa5 at vrisab5
pcic0 at isa5 port 0x3e0-0x3e1 iomem 0x70000-0x73fff irq 65539
pcic0: controller 0 (Ricoh RF5C396) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
vrdmaau0 at vr4102ip0 addr 0x0b000020-0037
vrdcu0 at vr4102ip0 addr 0x0b000040-004b
com0 at vr4102ip0 addr 0x0c000000-0007: ns16550a, working fifo
com0: console
vrrtc0 at vr4102ip0 addr 0x0b0000c0-00df
vrkiu0 at vr4102ip0 addr 0x0b000180-019f
hpckbd0 at vrkiu0: no keymap.
wskbd0 at hpckbd0 mux 1
vrpmu0 at vr4102ip0 addr 0x0b0000a0-00bf
vrdsu0 at vr4102ip0 addr 0x0b0000e0-00e7
vrled0 at vr4102ip0 addr 0x0b000240-024f
vrpiu0 at vr4102ip0 addr 0x0b000120-013f, 0x0b0002a0-02bf
wsmouse0 at vrpiu0 mux 0
vrc4172pci0 at vr4102ip0 addr 0x0aff0cf8-0cff
pci0 at vrc4172pci0 bus 0
pci0: i/o space, memory space enabled, rd/line ok
NEC product 0x0000 (host bridge, revision 0x03) at pci0 dev 0 function 0 not
configured
ohci0 at pci0 dev 0 function 1: NEC product 0x0000 (rev. 0x00)
ohci0: interrupting at pciintr 0:0:1
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
vraiu0 at vr4102ip0 addr 0x0b000160-017f
audio0 at vraiu0: half duplex
bivideo0 at mainbus0: pseudo video controller
bivideo0: framebuffer address: 0xb0201e00
hpcfb0 at bivideo0
wsdisplay0 at hpcfb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wskbd0: connecting to wsdisplay0
btnmgr0 at mainbus0
wskbd1 at btnmgr0 mux 1
wskbd1: connecting to wsdisplay0
hpcapm0 at mainbus0: pseudo power management module
apmdev0 at hpcapm0: Power Management spec V1.2
pcic0: using irq 65539 for socket events
md0: internal 4352 KB image area
xirc0 at pcmcia0 function 0: <Xircom, CreditCard 10/100, CE3-10/100, 1.00>
xirc0: id=0143
pcic0: port 0x300-0x30f
pcmcia0: card irq 3
xi0 at xirc0
xi0: MAC address 00:80:c7:61:f5:78
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: vendor 0x1241 USB Keyboard, rev 1.10/2.90, addr 2, iclass 3/1
ukbd0 at uhidev0
wskbd2 at ukbd0 mux 1
wskbd2: connecting to wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1
uhidev1: vendor 0x1241 USB Keyboard, rev 1.10/2.90, addr 2, iclass 3/0
uhidev1: 2 report ids
uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=3, output=0, feature=0
wdc1 at pcmcia1 function 0: <SanDisk, SDP, 5/3 0.6>
pcic0: port 0x15000400-0x1500040f
wdc1: i/o mapped mode
pcmcia1: card irq 3
atabus0 at wdc1 channel 0
wd0 at atabus0 drive 0: <SanDisk SDCFH-2048>
wd0: drive supports 4-sector PIO transfers, LBA addressing
wd0: 1953 MB, 3970 cyl, 16 head, 63 sec, 512 bytes/sect x 4001760 sectors
wd0: drive supports PIO mode 4
boot device: wd0
root device (default md0a): wd0a
dump device (default wd0b): wd0f
file system (default generic): 
root on wd0a dumps on wd0f
pcmcia1: card irq 3
pcmcia1: card irq 3
root file system type: ffs
WARNING: preposterous clock chip time
 -- CHECK AND RESET THE DATE!
init path (default /sbin/init): 
init: trying /sbin/init
/dev/wd0a: file system not clean (fs_clean=4); please fsck(8)
/dev/wd0a: lost blocks 0 files 0
/dev/wd0e: file system not clean (fs_clean=4); please fsck(8)
/dev/wd0e: lost blocks 0 files 0
/dev/wd0g: file system not clean (fs_clean=4); please fsck(8)
/dev/wd0g: lost blocks 0 files 0
/dev/wd0f: file system not clean (fs_clean=4); please fsck(8)
/dev/wd0f: lost blocks 0 files 0
mount: /tmp: unknown special file or file system.
Mon Apr 23 03:47:16 EDT 2007
Checking for botched superblock upgrades: done.
Starting file system checks:
/dev/rwd0a: file system is mounted read-write on /; not checking
/dev/rwd0e: file system is mounted read-write on /usr; not checking
/dev/rwd0f: file system is mounted read-write on /var; not checking
/dev/rwd0g: file system is mounted read-write on /home; not checking
/dev/wd0f: file system not clean (fs_clean=8); please fsck(8)
/dev/wd0f: lost blocks 0 files 0
Setting tty flags.
Setting sysctl variables:
Starting network.
Hostname: canis.canispublishing.com
IPv6 mode: host
Configuring network interfaces:.
Starting dhclient.
Internet Software Consortium DHCP Client V3.0.1rc11
Copyright 1995-2002 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

pcmcia0: card irq 3
Listening on BPF/xi0/00:80:c7:61:f5:78
Sending on   BPF/xi0/00:80:c7:61:f5:78
Sending on   Socket/fallback
DHCPREQUEST on xi0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.11 -- renewal in 35172 seconds.
/dev/wd0e: file system not clean (fs_clean=8); please fsck(8)
/dev/wd0e: lost blocks 0 files 0
Building databases...
hpcfb: 640x480 pixels, 256 colors, 80x48 chars
wsdisplay0: screen 0 added (std, vt100 emulation)
hpcfb: 640x480 pixels, 256 colors, 80x48 chars
wsdisplay0: screen 1 added (std, vt100 emulation)
wsconscfg: WSMUX_ADD_DEVICE: Device not configured
Starting syslogd.
Checking for core dump...
savecore: can't find device 548/201494
Apr 23 03:47:35 canis savecore: can't find device 548/201494
Mounting all filesystems...
/dev/wd0g: file system not clean (fs_clean=8); please fsck(8)
/dev/wd0g: lost blocks 0 files 0
Clearing /tmp.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
/etc/rc: WARNING: No swap space configured!
Starting virecover.
Starting local daemons:.
Updating motd.
/dev/wd0a: file system not clean (fs_clean=4); please fsck(8)
/dev/wd0a: lost blocks 0 files 0
mount_ffs: /dev/wd0e on /usr: Device busy
mount_ffs: /dev/wd0g on /home: Device busy
mount_ffs: /dev/wd0f on /var: Device busy
mount: /tmp: unknown special file or file system.
Starting sendmail.
Starting inetd.
Starting cron.
Mon Apr 23 03:47:49 EDT 2007

NetBSD/hpcmips (canis.canispublishing.com) (console)

login: 

______________

So 1st order of business - how do I boot without having to type in where my
root drive is?

Thanks!

Peter



-- 
View this message in context: http://www.nabble.com/Newbie---install-questions-tf3627721.html#a10143147
Sent from the port-mips mailing list archive at Nabble.com.