I have been running 3.6 for about a year on my server. I have a backup solution that writes to an ide-cdrw 4 times a day. A month ago I installed a scsi card to hook up a newly acquired tape drive. My cdrw backups have been failing since.

I did not change any kernel settings (that I recall), I'm still using Generic, and I didn't have to change any sysctl settings.

I've done some tests against the tape drive and it all works ok.

$ sudo mt rewind
$ echo $?
0

When I try to -scanbus I get the following.

$ sudo cdrecord -scanbus
Cdrecord 2.00.3 (i386-unknown-openbsd3.6) Copyright (C) 1995-2002 Jrg Schilling
cdrecord: No such file or directory. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

I used to have dev=/dev/cd0c:0,0,0 but looking at my dmesg I thought I might have to change it to dev=/dev/cd0c:0,1,1. Providing different options to cdrecord does not help, it still bails

$ sudo cdrecord dev=/dev/cd0c:0,1,1 speed=4 blank=fast
Cdrecord 2.00.3 (i386-unknown-openbsd3.6) Copyright (C) 1995-2002 Jrg Schilling
scsidev: '/dev/cd0c:0,1,1'
devname: '/dev/cd0c'
scsibus: 0 target: 1 lun: 1
cdrecord: No such file or directory. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

I can mount and read the last good backup of my cd, it happened 17 Oct 05 at 18:00.

$ sudo mount /dev/cd0c /mnt
$ ls -l /mnt
total 447724
-rw-r--r--  1 marc  users        475 Jul  7 22:11 backups.rc
-rwxr-xr-x  1 marc  users        963 Jul  7 22:11 burnbackups.ksh
-rwxr-xr-x  1 marc  users        936 May  7 09:15 homes.ksh
-rw-r--r--  1 root  users  198488314 Oct 17 18:01 homes.tgz
-rw-r--r--  1 root  wheel        106 Oct 17 18:02 index.txt
-rw-r--r-- 1 root users 30739621 Oct 17 18:00 mailserver-20051017-1800.tgz
-rwxr-xr-x  1 marc  users       1138 May  5 18:50 mailserver.ksh
-rw-r--r--  1 marc  users       1966 Jan 19  2005 osbkup.log
-rw-r--r--  1 marc  users       1274 Jan 19  2005 osbkup.rc
-rwxr-xr-x  1 marc  users       2584 Jan 19  2005 osbkup.sh
$ sudo umount /mnt
$ ls -l /mnt
$

I've tried searching google and archives, but I find it difficult to make a search query that doesn't just tell me that I need to find the right dev= using -scanbus.

Finally, here's my dmesg.  TIA.
I'd provide my dmesg from before the scsi card install, but I don't have it around. I did send it to [EMAIL PROTECTED] though, so it might be there if it can be found.

$ dmesg
OpenBSD 3.6 (GENERIC) #59: Fri Sep 17 12:32:57 MDT 2004
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Sempron(tm) 2200+ ("AuthenticAMD" 686-class) 1.50 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 527867904 (515496K)
avail mem = 474603520 (463480K)
using 4278 buffers containing 26497024 bytes (25876K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 08/06/04, BIOS32 rev. 0 @ 0xf0010
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf41b0/208 (11 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x10de product 0x0060
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0xdc00 0xce000/0x1000 0xcf000/0x800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Nvidia nForce2 PCI" rev 0xa2
"Nvidia nForce2" rev 0xa2 at pci0 dev 0 function 1 not configured
"Nvidia nForce2" rev 0xa2 at pci0 dev 0 function 2 not configured
"Nvidia nForce2" rev 0xa2 at pci0 dev 0 function 3 not configured
"Nvidia nForce2" rev 0xa2 at pci0 dev 0 function 4 not configured
"Nvidia nForce2" rev 0xa2 at pci0 dev 0 function 5 not configured
pcib0 at pci0 dev 1 function 0 "Nvidia nForce2 ISA" rev 0xa4
"Nvidia nForce2 SMBus" rev 0xa2 at pci0 dev 1 function 1 not configured
ohci0 at pci0 dev 2 function 0 "Nvidia nForce2 USB" rev 0xa4: irq 11, version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Nvidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 2 function 1 "Nvidia nForce2 USB" rev 0xa4: irq 7, version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Nvidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0 at pci0 dev 2 function 2 "Nvidia nForce2 USB2" rev 0xa4: irq 5
ehci0: EHCI version 1.0
ehci0: companion controllers, 4 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: Nvidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
auich0 at pci0 dev 6 function 0 "Nvidia nForce2 AC-97 Audio" rev 0xa1: irq 3, nForce2 AC97
ac97: codec id 0x414c4720 (Avance Logic ALC650)
ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D
audio0 at auich0
ppb0 at pci0 dev 8 function 0 "Nvidia nForce2 PCI-PCI" rev 0xa3
pci1 at ppb0 bus 1
fxp0 at pci1 dev 6 function 0 "Intel 82557" rev 0x08: irq 10, address 00:d0:b7:1c:90:e3
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
fxp1 at pci1 dev 7 function 0 "Intel 82557" rev 0x05: irq 3, address 00:90:27:85:92:eb
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 0
ahc1 at pci1 dev 8 function 0 "Adaptec AHA-2940" rev 0x03: irq 10
scsibus0 at ahc1: 8 targets
st0 at scsibus0 targ 0 lun 0: <HP, C1537A, L610> SCSI2 1/sequential removable
st0: density code 0x25, variable blocks, write-enabled
pciide0 at pci0 dev 9 function 0 "Nvidia nForce2 IDE" rev 0xa2: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALL EX12.7A>
wd0: 16-sector PIO, LBA, 12159MB, 24901632 sectors
wd1 at pciide0 channel 0 drive 1: <Maxtor 6E040L0>
wd1: 16-sector PIO, LBA, 39205MB, 80293248 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 6
wd2 at pciide0 channel 1 drive 0: <WDC WD800JB-00JJA0>
wd2: 16-sector PIO, LBA, 76319MB, 156301488 sectors
atapiscsi0 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <HP, CD-Writer+ 9300, 1.0b> SCSI0 5/cdrom removable
wd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
ppb1 at pci0 dev 30 function 0 "Nvidia nForce2 AGP" rev 0xa2
pci2 at ppb1 bus 2
vga1 at pci2 dev 0 function 0 "Nvidia GeForce4 MX - nForce GPU" rev 0xa3
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
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: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
biomask ffe5 netmask ffed ttymask ffef
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
dkcsum: wd1 matched BIOS disk 81
dkcsum: wd2 matched BIOS disk 82
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted
ahc1: target 0 synchronous at 10.0MHz, offset = 0xf

Reply via email to