Hi,
I attached my 8Mb Disk-On-Key from M-Systems to my system running 3.6
dmesg shows following output:
OpenBSD 3.6 (GENERIC) #59: Fri Sep 17 12:32:57 MDT 2004
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by National Semi ("Geode by NSC"
586-class) 232 MHz
cpu0: FPU,TSC,MSR,CX8,CMOV,MMX
cpu0: TSC disabled
real mem = 536424448 (523852K)
avail mem = 482570240 (471260K)
using 4278 buffers containing 26923008 bytes (26292K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(2a) BIOS, date 11/15/00, BIOS32 rev. 0 @ 0xfadc0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xb248
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdae0/160 (8 entries)
pcibios0: PCI Exclusive IRQs: 3 10 11
pcibios0: no compatible PCI ICU found: ICU vendor 0x1078 product 0x0100
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x2000! 0xcc000/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Cyrix GXm PCI" rev 0x00
puc0 at pci0 dev 7 function 0 "Topic/SmartLink 5634PCV SurfRider" rev 0x00: com
pccom3 at puc0 port 0 irq 11: ns16550a, 16 byte fifo
vga1 at pci0 dev 9 function 0 unknown vendor 0x10ea product 0x5000 rev 0x03
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
rl0 at pci0 dev 10 function 0 "Realtek 8139" rev 0x10: irq 3 address
00:30:00:04:04:66
rlphy0 at rl0 phy 0: RTL internal phy
pcib0 at pci0 dev 18 function 0 "Cyrix Cx5530 South" rev 0x00
"Cyrix Cx5530 SMI/ACPI" rev 0x00 at pci0 dev 18 function 1 not configured
pciide0 at pci0 dev 18 function 2 "Cyrix Cx5530 IDE" rev 0x00: no DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
pciide0: channel 0 ignored (other hardware responding at addresses)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
"Cyrix Cx5530 XpressAUDIO" rev 0x00 at pci0 dev 18 function 3 not configured
ohci0 at pci0 dev 19 function 0 "Compaq USB OpenHost" rev 0x06: irq
11, version 1.0, legacy support
ohci0: SMM does not respond, resetting
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Compaq OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: <IC25N040ATMR04-0>
wd0: 16-sector PIO, LBA48, 38154MB, 78140160 sectors
wd0(wdc0:0:0): using BIOS timings
sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v4.12
midi0 at sb0: <SB MIDI UART>
audio0 at sb0
opl0 at sb0: model OPL3
midi1 at opl0: <SB Yamaha OPL3>
pcppi0 at isa0 port 0x61
midi2 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask ef45 netmask ef4d ttymask ffcf
pctr: no performance counters in CPU
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
umass0 at uhub0 port 1 configuration 0 interface 0
umass0: M-Systems DiskOnKey, rev 1.00/2.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets
sd0 at scsibus0 targ 1 lun 0: <M-Sys, DiskOnKey, 1.08> SCSI0 0/direct removable
sd0: 7MB, 7 cyl, 64 head, 32 sec, 512 bytes/sec, 15600 sec total
since its showing scsibus0 and umass0 I assumed /dev/sd0a would be the
device to control the DOK.
Following is what I did and what the system showed me in response:
# mount_msdos /dev/sd0a /mnt/
mount_msdos: /dev/sd0a on /mnt: Device not configured
# newfs_msdos /dev/sd0a
newfs_msdos: /dev/sd0a: Device not configured
Which device in /dev should I use to mount/format the drive?
~Mayuresh