Subject: Re: cd-rom
To: None <port-sparc@NetBSD.ORG>
From: Simon J. Gerraty <sjg@frodo.dn.itg.telecom.com.au>
List: port-sparc
Date: 03/01/1995 14:51:54
Ummm, ok I've booted from my Feb26 kernel:

Rebooting with command: 
Boot device: /sbus/esp@0,800000/sd@3,0   File and args: netbsd
root on /sbus/esp@0,800000/sd@3,0 fstype 4.2
Boot: netbsd
Size: 753632+77984+87632 bytes
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

NetBSD 1.0A (HOBBIT) #1: Thu Jan  1 10:59:29 EST 1970
    root@hobbit:/usr/bsd_src/current/sys/arch/sparc/compile/HOBBIT
real mem = 16449536
avail mem = 14290944
using 200 buffers containing 819200 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: SUNW,Sun 4/75 (RT601 or L64811 v2 @ 40 MHz, TMS390C602A FPU)
cpu0: cache chip bug; trap page uncached
cpu0: 65536 byte write-through, 32 bytes/line, hw flush cache enabled
memreg0 at mainbus0 ioaddr 0xf4000000
clock0 at mainbus0 ioaddr 0xf2000000: mk48t02 (eeprom)
timer0 at mainbus0 ioaddr 0xf3000000
auxreg0 at mainbus0 ioaddr 0xf7400003
zs0 at mainbus0 ioaddr 0xf1000000 pri 12, softpri 6
zs0a: console i/o
zs1 at mainbus0 ioaddr 0xf0000000 pri 12, softpri 6
audio at mainbus0 ioaddr 0xf7201000 not configured
sbus0 at mainbus0 ioaddr 0xf8000000: clock = 20 MHz
dma0 at sbus0 slot 0 offset 0x400000: rev 1+
esp0 at sbus0 slot 0 offset 0x800000 pri 3: ESP100 20Mhz, target 7
scsibus0 at esp0
esp0 targ 3 lun 0: <SEAGATE, ST1480   SUN0424, 5826> SCSI2 0/direct fixed
sd0 at scsibus0: 411MB, 1476 cyl, 9 head, 63 sec, 512 bytes/sec
esp0 targ 4 lun 0: <ARCHIVE, VIPER 150  21531, -004> SCSI1 1/sequential removable
st0 at scsibus0: density code 0x0, 512-byte blocks, write-protected
esp0 targ 6 lun 0: <SONY, CD-ROM CDU-8012, 3.1a> SCSI2 5/cdrom removable
cd0 at scsibus0: drive empty
le0 at sbus0 slot 0 offset 0xc00000 pri 5: hardware address 08:00:20:10:1d:55
bf at sbus0 slot 2 offset 0x0 not configured
cgsix0 at sbus0 slot 3 offset 0x0: SUNW,501-1672, 1152 x 900, rev 6
fd at mainbus0 ioaddr 0xf7200000 not configured
WARNING: preposterous time in file system
WARNING: clock lost 7851 days -- CHECK AND RESET THE DATE!
Automatic boot in progress: starting file system checks.
/dev/rsd0a: 559 files, 13307 used, 16964 free (108 frags, 2107 blocks, 0.4% fragmentation)
/dev/rsd0g: 4700 files, 79908 used, 155147 free (3451 frags, 18962 blocks, 1.5% fragmentation)
/dev/rsd0h: 37 files, 581 used, 95090 free (106 frags, 11873 blocks, 0.1% fragmentation)
setting tty flags
starting network
add host hobbit: gateway localhost
gw: bad value
starting rpc daemons: portmap nfsiod.
NFS Portmap: RPC: Port mapper failure - RPC: Unable to send
starting system logger, time daemon.
checking for core dump...
savecore: no core dump
checking quotas: done.
building databases...
clearing /tmp
standard daemons: update cron.
starting network daemons: routed printer sendmail inetd.
starting local daemons:.
runtime link editor directory cache
Thu Jan  1 11:02:26 EST 1970
Jan  1 11:02:26 hobbit init: kernel security level changed from 0 to 1

NetBSD/sparc (hobbit) (console)

login: Jan  1 11:03:27 hobbit su: sjg to rook on /dev/ttyp0

Now on ttyp0 I did:

# mount -r -t cd9660 /dev/cd0a /cdrom

Is that correct?  Anyway I was rewarded with this on the console:

cd0(esp0:6:0): timed out
sd0(esp0:3:0): timed out
cd0(esp0:6:0): timed out
sd0(esp0:3:0): timed out
cd0(esp0:6:0): timed out
sd0(esp0:3:0): timed out
sd0(esp0:3:0): timed out
~stopping on keyboard abort

Type  help  for more information
ok 

I'm pretty sure that's not good :-)

--sjg