Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2002 15:00:10 +0900
From:      Igor Kulemzin <kulemzinn@mail.ru>
To:        freebsd-questions@freebsd.org
Subject:   Pen Drive usage in FreeBSD 4.5-STABLE
Message-ID:  <28104712358.20020314150010@mail.ru>

next in thread | raw e-mail | index | archive | help
Hi,

   I have Pen Drive (USB) that works fine in Windows 98. But in FreeBSD I
   can't use it.

   I've add this options to kernel config file:

        device   scbus
        device   pass
        device   da

   and recompile kernel. Also I've add loading usb and umass modules
   in /boot/loader.conf. This messages I see in dmesg output:

..............
uhci0: <Intel 82371SB (PIIX3) USB controller> port 0xe400-0xe41f irq 11 at device 7.2 on pci0
usb0: <Intel 82371SB (PIIX3) 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
umass0:          USB Disk    , rev 1.00/1.00, addr 2
..............
..............
da0 at umass-sim0 bus 0 target 0 lun 0
da0: < USB DISK 1.05> Removable Direct Access SCSI-0 device
da0: 650KB/s transfers
da0: 62MB (128000 512 byte sectors: 64H 32S/T 62C)
..............

   When I try to mount this disk with commands:

   mount -t msdos -o ro /dev/da0 /mnt
   mount -t msdos -o ro /dev/da0s1 /mnt

   I've got error messages like this:

   READ(06). CDB: 8 0 0 0 1 0
   ILLEGAL REQUEST asc:20,0
   Invalid command operation code
   da0: reading primary partition table: error reading fsbn 0

   And I found that camcontrol output parameters for this USB disk:

   camcontrol modepage da0 -m 5 -P 0

Transfer rate:  5000
Number of heads:  8
Sectors per track:  32
Data bytes per sector:  512
Number of cylinders:  500
Starting cylinder-write precompensation:  0
Starting cylinder-reduced write current:  0
Drive step rate:  0
Drive step pulse width:  0
Head settle delay:  0
Motor on delay:  5
Motor off delay:  30
TRDY:  0
SSN:  0
MO:  0
SPC:  0
Write Compensation:  0
Head load delay:  0
Head unload delay:  0
Pin 34:  0
Pin 2:  0
Pin 4:  0
Pin 1:  0
Medium rotation rate:  360   

   different with system messages on boot (64H 32S/T 62C).

   How can I use this USB disk in FreeBSD?

-- 
Thursday, March 14, 2002  1:20:50 PM

Best regards,
Igor Kulemzin
E-mail: kulemzinn@mail.ru

->
  This sentence contradicts itself - or rather - well, no, actually it doesn't!
->



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?28104712358.20020314150010>