On Sun, 16 Oct 2005, Steve Harding wrote:

> I recently installed a SCSI card and an external HP SureStore 24G tape drive,
> and am unable to access it. By reading lots of man pages, it appears that I
> need to configure /dev/rst0 so that it knows what is hooked to the SCSI port,
> but I have no clue how to do it. Worse, I have this feeling that it is
> something so fundamental that any knucklehead should be able to figure it out.
> I have googled, and read what I think are all of the applicable man pages, no
> luck.
> 
> When I attempt to write to the tape I get:
> 
> $ dump -0au /pub/etc36/
> DUMP: Ignoring u flag for subdir dump
> DUMP: Dumping sub files/directories from /pub
> DUMP: Dumping file/directory /pub/etc36/
> DUMP: Date of this level 0 dump: Thu Oct 13 19:37:27 2005
> DUMP: Date of last level 0 dump: the epoch
> DUMP: Dumping /dev/rwd0j (/pub) to /dev/rst0
> DUMP: mapping (Pass I) [regular files]
> DUMP: mapping (Pass II) [directories]
> DUMP: estimated 5606 tape blocks.
> DUMP: Cannot open output "/dev/rst0".
> DUMP: Do you want to retry the open?: ("yes" or "no")
> 
> Dmesg  follows, any help would be appreciated.

To access the tape, you need to be root or be in the operator group.

        -Otto

> Steve
> 
> OpenBSD 3.7 (GENERIC.MP) #50: Sun Mar 20 00:17:19 MST 2005
>   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
> cpu0: AMD Athlon(tm) MP 2000+ ("AuthenticAMD" 686-class) 1.67 GHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
>  
> real mem  = 1073258496 (1048104K)
> avail mem = 972795904 (949996K)
> using 4278 buffers containing 53764096 bytes (52504K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(f6) BIOS, date 03/05/02, BIOS32 rev. 0 @ 0xfb100
> apm0 at bios0: Power Management spec V1.2
> apm0: AC on, battery charge unknown
> pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf94
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/208 (11 entries)
> pcibios0: PCI Exclusive IRQs: 5 11
> pcibios0: no compatible PCI ICU found
> pcibios0: Warning, unable to fix up PCI interrupt routing
> pcibios0: PCI bus #2 is the last bus
> bios0: ROM list: 0xc0000/0xa800 0xcc000/0x2800 0xcf000/0x1800
> mainbus0: Intel MP Specification (Version 1.4) (OEM00000 PROD00000000)
> cpu0 at mainbus0: apid 0 (boot processor)
> k7_powernow: couldn't map BIOS
> cpu0: apic clock running at 266 MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: AMD Athlon(tm) MP 2000+ ("AuthenticAMD" 686-class) 1.67 GHz
> cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV
> mainbus0: bus 0 is type PCI
> mainbus0: bus 1 is type PCI
> mainbus0: bus 2 is type PCI
> mainbus0: bus 3 is type ISA
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 24 pins
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "AMD 762 PCI" rev 0x11
> ppb0 at pci0 dev 1 function 0 "AMD 762 PCI-PCI" rev 0x00
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 5 function 0 "Nvidia Vanta" rev 0x15
> wsdisplay0 at vga1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> pcib0 at pci0 dev 7 function 0 "AMD 768 ISA" rev 0x05
> pciide0 at pci0 dev 7 function 1 "AMD 768 IDE" rev 0x04: DMA, channel 0
> configured to compatibility, channel 1 configured to compatibility
> wd0 at pciide0 channel 0 drive 0: <ST340014A>
> wd0: 16-sector PIO, LBA48, 38166MB, 78165360 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
> pciide0: channel 1 disabled (no drives)
> "AMD 768 Power Mgmt" rev 0x03 at pci0 dev 7 function 3 not configured
> auich0 at pci0 dev 7 function 5 "AMD 768 AC97" rev 0x03: apic 2 int 17
> (irq 11), AMD768 AC97
> ac97: codec id 0x49434511 (ICEnsemble ICE1232)
> ac97: codec features headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D
> audio0 at auich0
> ahc1 at pci0 dev 9 function 0 "Adaptec AHA-29160 U160" rev 0x02: apic 2
> int 17 (irq 11)
> scsibus0 at ahc1: 16 targets
> ppb1 at pci0 dev 16 function 0 "AMD 768 PCI-PCI" rev 0x05
> pci2 at ppb1 bus 2
> ohci0 at pci2 dev 0 function 0 "AMD 768 USB" rev 0x07: apic 2 int 19
> (irq 5), version 1.0, legacy support
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0
> uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 4 ports with 4 removable, self powered
> pciide1 at pci2 dev 4 function 0 "Promise PDC20269" rev 0x02: DMA,
> channel 0 configured to native-PCI, channel 1 configured to native-PCI
> pciide1: using apic 2 int 16 (irq 5) for native-PCI interrupt
> wd1 at pciide1 channel 0 drive 0: <Maxtor 7Y250P0>
> wd1: 16-sector PIO, LBA48, 239372MB, 490234752 sectors
> wd2 at pciide1 channel 0 drive 1: <ST3250823A>
> wd2: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
> wd1(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
> wd2(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 5
> wd3 at pciide1 channel 1 drive 0: <ST3300831A>
> wd3: 16-sector PIO, LBA48, 286168MB, 586072368 sectors
> wd3(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
> em0 at pci2 dev 6 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02: apic
> 2 int 18 (irq 11), address: 00:0e:0c:06:b6:ea
> fxp0 at pci2 dev 9 function 0 "Intel 82559ER" rev 0x09, i82559S: apic 2
> int 17 (irq 11), address 00:10:dc:4c:ee:e3
> inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using
> wsdisplay0
> pmsi0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pmsi0 mux 0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> sysbeep0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> lm0 at isa0 port 0x290/8: W83627HF
> npx0 at isa0 port 0xf0/16: using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> biomask 0 netmask 0 ttymask 0
> ioapic0: pin 17 shares different IPL interrupts (40..90), degraded
> performance
> pctr: user-level cycle counter enabled
> mtrr: Pentium Pro MTRR support
> apm0: disconnected
> dkcsum: wd0 matched BIOS disk 80
> dkcsum: wd1 matched BIOS disk 81
> dkcsum: wd2 matched BIOS disk 82
> dkcsum: wd3 matched BIOS disk 83
> root on wd0a
> rootdev=0x0 rrootdev=0x300 rawdev=0x302
> k7_powernow: couldn't map BIOS

Reply via email to