USB Pen drive
Karthik Subramanian
karthik301176 at gmail.com
Mon Jul 3 21:39:09 PDT 2006
Hi Folks,
I was finally able to borrow the USB stick for a little more fooling
around, and this rather long email contains the results.
To cut a long story short, no, it isn't working yet. I'd like to fool
around a little more and get it to work, though, and I'd appreciate
any help I get. Before I go further, I'd like to say Thanks a Lot to
everybody who took time to reply :)
On my box, running DF 1.5.4-Preview, the USB stick is still not
recognized. What's more, kldloading ehci.ko results in my USB keyboard
freezing :)
This is what dmesg has to say about my USB controller:
-- snip --
uhci0: <Intel 82801FB (ICH6) USB controller USB-A> port 0xff80-0xff9f
irq 9 at device 29.0 on pci0
usb0: <Intel 82801FB (ICH6) USB controller USB-A> on uhci0
usb0: USB revision 1.0
-- snip --
On a box running DF 1.5.4-DEVELOPMENT, the USB stick is recognized.
However, I wasn't able to see any filesystem on the stick. (I tried
the same stick under NetBSD on the same machine, it worked just fine).
This is what I got:
--- snip ---
uname:
--------------
DragonFly mukan.vxindia.veritas.com 1.5.4-DEVELOPMENT DragonFly
1.5.4-DEVELOPMENT #2: Mon Jul 3 14:19:42 IST 2006
root at xxxxxxxxxxxxxxxxxxxxxxxxx:/usr/obj/home/links/src/sys/MUKAN_154_DEV
i386
dmesg extract:
----------------------------
umass0: vendor 0x13fe GEIL USB DISK, rev 2.00/1.00, addr 2
n 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
da0 at umass-sim0 bus 0 target 0 lun 0
da0: < GEIL USB DISK >2.0> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 1968MB (4030464 512 byte sectors: 255H 63S/T 250C)
WARNING: da0 si_iosize_max=0, using DFLTPHYS.
WARNING: da0 si_iosize_max=0, using DFLTPHYS.
disklabel:
------------------
# /dev/da0:
type: SCSI
disk:
label: GEIL USB DISK
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 16
sectors/cylinder: 512
cylinders: 7872
sectors/unit: 4030464
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize bps/cpg]
c: 4030464 0 unused 0 0 # (Cyl. 0 - 7871)
--- snip ---
As we can see, disklabel doesn't recognize anything on the stick.
Under NetBSD, however, this is what disklabel has to say:
-- snip --
# /dev/sd0d:
type: SCSI
disk: mydisk
label: fictitious
flags: removable
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 16
sectors/cylinder: 512
cylinders: 7872
total sectors: 4030464
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
5 partitions:
# size offset fstype [fsize bsize cpg/sgs]
d: 4030464 0 unused 0 0 # (Cyl. 0 - 7871)
e: 4030432 32 MSDOS # (Cyl. 0*- 7871)
-- snip --
Now, I'd like to fool around some more and get this thing working, but
I have no idea what to do next. Any pointers from anybody, please?
Thanks,
Karthik.
More information about the Users
mailing list