Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to make device files for USB Zip drive disks ?

 
   FreeBSD Hosting (Home) -> FreeBSD Handbook RSS
Next:  Failed to set default locale  
Author Message
rafege

External


Since: Mar 16, 2005
Posts: 1



(Msg. 1) Posted: Wed Mar 16, 2005 6:41 pm
Post subject: How to make device files for USB Zip drive disks ?
Archived from groups: comp>unix>bsd>freebsd>misc (more info?)

Question: How to make device files in "/dev/"
for USB Zip drive disks ?

I have a USB-powered Zip250 drive that I like
to connect occasionally to my Toshiba Satellite
Pro 6100 running 5.3-R.

When I hot-plug the (empty) drive to a free USB port,
the kernel reports the following, as expected:

kernel: da0 at umass-sim0 bus 0 target 0 lun 0
kernel: da0: <IOMEGA ZIP 250 90.V> Removable Direct Access SCSI-0
device
kernel: da0: 1.000MB/s transfers
kernel: da0: Attempt to query device size failed: NOT READY, Medium not
present
kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0
0
kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition
kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
kernel: (da0:umass-sim0:0:0:0): Medium not present
kernel: (da0:umass-sim0:0:0:0): Unretryable error
kernel: Opened disk da0 -> 6
kernel: ...

and the device "/dev/da0" is created
(if it's not already there).

I next insert a FAT32-formatted Zip disk into the drive,
and try to mount partition 4 (as reported by fdisk(Cool), but,
alas, device "/dev/da0s4" does not yet exist.

I repeat the exercise, this time with the Zip disk pre-loaded
in the drive, and the kernel now reports:

kernel: umass0: Iomega USB Zip 250, rev 1.10/3.00, addr 4
kernel: da0 at umass-sim0 bus 0 target 0 lun 0
kernel: da0: <IOMEGA ZIP 250 90.V> Removable Direct Access SCSI-0
device
kernel: da0: 1.000MB/s transfers
kernel: da0: 96MB (196608 512 byte sectors: 64H 32S/T 96C)

and the device file "/dev/da0s4" is created (and is mountable).

My question here has to do with the creation of the device
file "/dev/da0s4".

I don't generally have the disk already inserted in the
Zip drive when I hot-plug the USB device.
What bit of "magic" contained in 5.3-R am I overlooking
that will create the mountable device file ?
"camcontrol rescan 0" doesn't do it,
nor does fdisk(Cool.

The FreeBSD Handbook section on USB Storage Devices (16.5)
doesn't address this issue.

I found a recent reference to "cdrecord -scanbus",
but I don't need "cdrecord" on this system,
as burncd(Cool works just fine with the DVD/CDRW drive.

 >> Stay informed about: How to make device files for USB Zip drive disks ? 
Back to top
Login to vote
Stefan Walter

External


Since: Mar 17, 2005
Posts: 1



(Msg. 2) Posted: Thu Mar 17, 2005 3:56 pm
Post subject: Re: How to make device files for USB Zip drive disks ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

* wrote:

> My question here has to do with the creation of the device
> file "/dev/da0s4".
>
> I don't generally have the disk already inserted in the
> Zip drive when I hot-plug the USB device.
> What bit of "magic" contained in 5.3-R am I overlooking
> that will create the mountable device file ?
> "camcontrol rescan 0" doesn't do it,
> nor does fdisk(Cool.

"true > /dev/da0" should create it and any other slice entries for the
inserted medium, at least it did when I last worked with a ZIP drive.

....I don't think this is documented anywhere; [1] might be a good place to
mention it, I guess. I might send a patch - if you don't beat me to it. Wink

Stefan

[1]: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/compatibility-dri....html#J
--
No reading beyond this point

 >> Stay informed about: How to make device files for USB Zip drive disks ? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
drive access/printer question RESCINDED - Hello everyone: In my infinite wisdom, I managed to miss Chapter 16 of the FreeBSD Handbook. I should be able to manage with the information on drives presented there. Printer enabling was no problem. Thanks..

Device Driver - before I start - Is there a helping hand to give me some advice where / how to start? I want: =2D a "pseudo device", which collects every now and then data from an exter= nal box via serial line (/dev/cuaa1) Box-Status and some more information shoud be re...

/dev/ttyd0 as an Input Device Works on some Systems but no.. - I posted a question a few hours ago about the strange problems I had been having with some FreeBSD systems and the use of /dev/ttyd0 as an input device for logging data. After searching the FreeBSD handbook, I found the discussion of the "callout ...

configuring freebsd dhcp server/router to listen on device - Hello, Im trying to move away from my linksys wireless router and move onto an old Pentium 200 Mhz I have. It will be the gateway between my modem and my network. I installed isc-dhcp3 on the box and took the sample dhcp.conf file in the freebsd..

Make Install -
   FreeBSD Hosting (Home) -> FreeBSD Handbook All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]