List Info

Thread: Newbie - install questions




Newbie - install questions
country flaguser name
United States
2007-04-22 20:29:59
Hey everyone,
       I'm installing NetBSD onto a Pencentra 130.
Installation is fine, and
now I'm running with internet access (wired ethernet). But
I'm headless - I
installed via a serial connection and don't know how to get
the machine to
boot up using its own screen. Further, the Pencentra's
keyboard isn't
compatible, and I imagine the touchscreen is useless too,
but I am hoping a
USB keyboard can be used. The kernel recognizes it when it's
plugged in,
labeling it wskbd2, but doesn't use it.

   So - how can I wean myself off the serial connection,
start using my USB
keyboard, and have the screen do something (now it just
shows one line at
the top showing it's terminal-connected - all output is seen
on my mainframe
terminal via serial). What is the name of the
terminal/screen/display on the
Pencentra itself?

    I'm using psdboot to start. I've tried the option -a
wd0a (and wd0f, and
wd0, and wd1a, etc.) but always end end with a 'curlwp'
message and a "db"
prompt. Typing <continue> at this prompt continues the
boot and all is fine.

    I have wscons configured in rc.conf as "YES".


   Any scolding, help, pointers vastly appreciated...

Peter


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


Re: Newbie - install questions
country flaguser name
United States
2007-04-23 10: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

buildswb46:/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/p
roducts/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.


Re: Newbie - install questions
country flaguser name
United States
2007-04-24 09:57:15
   After turning off "console" in wscons.conf and
turning on TTYE0 as screen
0 (and fiddling with /etc/ttys), I was able to use the
Pencentra screen, run
TWM under X, and it even detected my USB keyboard. Very
exciting! Touching
the screen causes the mouse pointer to move, but it doesn't
really track...

    But I am still needing my mainframe to get over the
hurdle of having to
tell the booter where my root drive/dump drives are. It
boots as far as 

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): I type in <wd0a>          
                     
dump device (default wd0b): wd0a  Typed in...               
              
file system (default generic):    Typed in...

... and this has to be done over console boot because the
Pencentra screen
and keyboard aren't up yet.

Any suggestions? I'm so close!

Peter




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


Re: Newbie - install questions
country flaguser name
United States
2007-04-24 10:29:37
Talking to myself again!

If I boot with no options at all (no serial, no
"-a" to ask for or specify
kernel location) my screen scrolls the bootup and my
keyboard is working.
But it boots to sysinst, not my flash card system. 
   I have the psdboot kernel on local ram, called md0a, and
I think that is
where it is going to boot. How do I tell it to boot from
wd0a? Seems like
I've tried every "-a /dev/wd0a, -a wd0 -a wd0a,
root=/dev/wd0a, root=wd0,
etc.) option I can think of...

    See - this really is a newbie question!

thanks to anyone who responds...

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


Re: Newbie - install questions
user name
2007-04-24 11:43:13
On Tue, 24 Apr 2007, UnterGeek wrote:

>
>   After turning off "console" in wscons.conf
and turning on TTYE0 as screen
> 0 (and fiddling with /etc/ttys), I was able to use the
Pencentra screen, run
> TWM under X, and it even detected my USB keyboard. Very
exciting! Touching
> the screen causes the mouse pointer to move, but it
doesn't really track...
>
>    But I am still needing my mainframe to get over the
hurdle of having to
> tell the booter where my root drive/dump drives are. It
boots as far as
>
> 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): I type in <wd0a>
> dump device (default wd0b): wd0a  Typed in...
> file system (default generic):    Typed in...
>
> ... and this has to be done over console boot because
the Pencentra screen
> and keyboard aren't up yet.
>
> Any suggestions? I'm so close!

 	Are you building a custom kernel? If so you should be able
to
 	add "config netbsd root on wd0a type ?" to the
config file to
 	get it to automatically use wd0a as the root filesystem.
-- 
 		David/absolute       -- www.NetBSD.org: No hype required
--

Re: Newbie - install questions
country flaguser name
United States
2007-04-24 12:00:48
 	Are you building a custom kernel? 

  I'm not at that point yet; the whole cross-compiling thing
is intimidating
to me...


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


SOLVED!
country flaguser name
United States
2007-04-24 13:41:22
In a classic RTFM moment:

    I installed the dos/booter partition with
hpcboot/psdboot and the two
kernels on the SAME CARD as the netbsd system.
    Then, using HPCBOOT, I changed the name of the kernel
from the booting
one (netbsd.gz) to the regular operating one
(netbsd-GENERIC.GZ).
     All is working now, and thanks to Martin and David for
responding.

Peter

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


[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )