Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2001 07:59:54 -0400
From:      Christopher Sean Hilton <chris@vindaloo.com>
To:        freebsd-questions@freebsd.org
Subject:   M-Systems DiskOnKey
Message-ID:  <20010711075954.A27668@andale.vindaloo.com>

next in thread | raw e-mail | index | archive | help
This is a USB mass storage device which looks like a (8|16|32)MB Disk drive
and fits on a keychain. I was hoping to store my RSA private keys and maybe
a copy of putty on it so I could access systems via it. Has anyone got one
of these working in FreeBSD? When I plug mine in it gets recognized:

     umass0: M-Systems DiskOnKey, rev 1.00/2.00, addr 2
     umass0: Get Max Lun not supported (SHORT_XFER)
     da0 at umass-sim0 bus 0 target 0 lun 0
     da0: <M-Sys DiskOnKey 1.08> Removable Direct Access SCSI-0 device 
     da0: 650KB/s transfers
     da0: 15MB (31552 512 byte sectors: 64H 32S/T 15C)

But when I try to read from it it times out. In this case I was trying to 
get the partition table with fdisk (fdisk /dev/rda0):

     da0: reading primary partition table: error reading fsbn 0

I'm hoping that the problem is with configuration. If anyone else has 
started to wrestle with this device I'd love to swap stories. Here's the 
dmesg output from the machine:

Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.2-STABLE #0: Thu Jun 28 19:31:31 EDT 2001
    root@dantooine.vindaloo.com:/usr/src/sys/compile/DANTOOINE
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (399.92-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10
  
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 134086656 (130944K bytes)
avail memory = 126971904 (123996K bytes)
Preloaded elf kernel "kernel" at 0xc0388000.
VESA: v2.0, 2560k memory, flags:0x0, mode table:0xc00ec052 (e4008052)
VESA: Copyright 1997 TRIDENT MICROSYSTEMS INC.

Pentium Pro MTRR support enabled
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX host to PCI bridge (AGP disabled)> on motherboard
pci0: <PCI bus> on pcib0
pci0: <Trident model 9525 VGA-compatible display device> at 4.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 5.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfe60-0xfe6f at device 5.1 on 
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xffe0-0xffff irq 11 
at device 5.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chip1: <Intel 82371AB Power management controller> port 0xfe70-0xfe7f at 
device 5.3 on pci0
chip2: <Toshiba Fast Infra Red controller> port 0xff80-0xff9f irq 11 at 
device 10.0 on pci0
pcm0: <ESS Technology Maestro-2E> port 0xfc00-0xfcff irq 11 at device 12.0 
on pci0
fdc0: <NEC 765 or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> flags 0x6100 irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
pcic0: <Intel i82365> at port 0x3e0 iomem 0xd0000 irq 10 on isa0
pcic0: management irq 10
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
sio0 at port 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A
ppc0: parallel port not found.
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: identify failed
ad0: 6194MB <IBM-DBCA-206480> [13424/15/63] at ata0-master UDMA33
acd0: DVD-ROM <TOSHIBA DVD-ROM SD-C2102> at ata1-master using PIO4
Mounting root from ufs:/dev/ad0s1a



-- 
Chris Hilton                                 chilton-at-vindaloo-dot-com
------------------------------------------------------------------------
                "All I was doing was trying to get home from work!"
                                                 -- Rosa Parks

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010711075954.A27668>