Subject: cd rom, export fs, lpt problem
To: None <netbsd-users@NetBSD.ORG>
From: Heru Dwi Wahjono <heru@pentium.as.bppt.go.id>
List: netbsd-users
Date: 04/23/1997 21:23:47
Dear netbsd users. Please help me to resolve my problem.

1. How to mount cdrom drive ?
   When I run command mount, I always get the message like this :

   root@pentium[2]> mount -t cd9660 /dev/cd0a /cdrom
   cd9660: Read-only file system   
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2. How to export system file using /etc/exports ? What is the format (syntax) ?
   I ever tried once. But when I mount it from other machine and try to get 
   the list of file (using ls command) the system always hang. 
   Anyone experien with this ?
   
3. I can't print trough my lpt0. (maybe) it cause of there is no lpt0 detected
   when pc is booting. I checked the kernel configuretion file, the lpt0 is
   already defined in this file. What can I do to fix it ?

   Here is the booting message (from dmesg command).
   ---------------------------------
   CPU: Pentium (GenuineIntel 586-class CPU)
   real mem  = 33161216
   avail mem = 29044736
   using 430 buffers containing 1761280 bytes of memory
   mainbus0 (root)
   isa0 at mainbus0
   com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
   com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
   aic0 at isa0 port 0x340-0x35f irq 11
   scsibus0 at aic0
   probe(aic0:0:0): sync, offset 8, period 100nsec
   sd0 at scsibus0 targ 0 lun 0: <QUANTUM, FIREBALL1080S, 1Q04> SCSI2 0/direct fixed
   sd0: 1042MB, 3835 cyl, 4 head, 139 sec, 512 bytes/sec
   mcd0: timeout in getresult
   mcd0: timeout in getresult
   mcd0: timeout in getresult
   ed0 at isa0 port 0x280-0x29f iomem 0xd2000-0xd3fff irq 5
   ed0: address 00:80:48:82:36:77, type WD8003E (8-bit)
   sb0 at isa0 port 0x220-0x237 irq 7 drq 1: dsp v3.01
   pas: detected card but PAS2 test failed
   npx0 at isa0 port 0xf0-0xff: using exception 16
   pcprobe: reset error 4
   pc0 at isa0 port 0x60-0x6f irq 1: color
   fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
   fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
   fd1 at fdc0 drive 1: 1.44MB 80 cyl, 2 head, 18 sec
   pci0 at mainbus0 bus 0: configuration mode 1
   vendor 0x8086 product 0x122d (class bridge, subclass host, revision 0x01) at pci0 dev 0 function 0 not configured
   vendor 0x8086 product 0x122e (class bridge, subclass ISA, revision 0x02) at pci0 dev 7 function 0 not configured
   vendor 0x100c product 0x3206 (class display, subclass VGA, revision 0x00) at pci0 dev 18 function 0 not configured
   biomask 8c0 netmask 8e0 ttymask 8fa
   changing root device to sd0a
   ---------------------------------

Many thanks to peoples who created the netbsd. 
And many thanks to anyone who spent his time to answer my questions.



----------------------------
    Heru Dwi Wahjono
heru@pentium.as.bppt.go.id
heru@aerotech.as.bppt.go.id