After upgrade, no /dev entries created for USB hard disk slice

2010-10-10 Thread Eli Dart
Hello all,

Since upgrading from 7.2-p5 to 8.1-p1, I'm unable to mount one
particular external USB hard disk (Seagate FreeAgent 1.5TB disk).

/dev/da0 and /dev/da0a get created, but /dev/da0s1 and /dev/da0s1a do
not get created.  The label is on da0s1 and the filesystem is on da0s1a.

Another machine running 7.0-STABLE still sees the disk properly (i.e.
/dev entries for the slices get created, filesystem can be mounted, data
appears to be there).  So, the disk doesn't appear to have been corrupted.

A different Seagate FreeAgent USB disk (1TB, not 1.5TB) is seen properly
by the host running 8.1-p1.

fdisk output on both FreeBSD 7 and FreeBSD 8 show the same thing.  The
cylinder numbers look a bit odd, but the disk works fine under FreeBSD
7...is FreeBSD 8 just more particular?  I think I used 'fdisk -I' when I
originally set up the disk, rather than doing anything manual.

Output of fdisk /dev/da0 on FreeBSD 8.1-p1:

*** Working on device /dev/da0 ***
parameters extracted from in-core disklabel are:
cylinders=182401 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=182401 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 2930272002 (1430796 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 128/ head 254/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED


Output of fdisk /dev/da0 on FreeBSD 7.0-STABLE:

*** Working on device /dev/da0 ***
parameters extracted from in-core disklabel are:
cylinders=182401 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=182401 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 2930272002 (1430796 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 128/ head 254/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED


So, the slice is there - FreeBSD 8 just can't find it.

Oh, and 'camcontrol reset 0' produces the following output:
Reset of bus 0 returned error 0x3a

Many thanks for any help - I'm stumped

--eli

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: adding USB hard-disk

2009-11-19 Thread Ruben de Groot
On Wed, Nov 18, 2009 at 04:16:32PM +0100, n dhert typed:
 # mount /dev/da0s1 /mnt
 takes a while (drive spins), then
 mount: /dev/da0s1 : Invalid argument
 same result for all slices
 
 Why is this and how to remedy?

try fsck /dev/da0 to see what kind of filesystem's on it (probably ext2/3 since 
you say it comes from suse)

then mount -t ext2fs 

 (I can mount an USB memory stick with
  mount -t msdosfs -o -m=644,-M=755 /dev/da0s1 /mnt)
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


adding USB hard-disk

2009-11-18 Thread n dhert
I have an external USB hard disk, wich already has unix dirs and files on
it.
When plugging into a OpenSuse10.3, the dirs and files are immediatly
available under /media/disk-1 as unix dirs and files.

When plugging into a FreeBSD7.2 system:
on console I do get the messages:
umass0: Prolific Technology Inc. ATAPI-6 Bridge Controller, class 0/0,rev.
2.00
/0.01, addr 2 on uhub4
da0 at umass-sim0 bus 0 target 0 lun 0
da0: ST330083 1A 4.60 Fixed Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 286168MB (586072368 512 byte sectors: 255H 63S/T 36481C)

# camcontrol devlist
ST330083 1A 4.60   at scbus0 target0 lun 0 (da0,pass0)

# ls -la /dev | grep da
crw-r-   1 root  operator0, 113 Nov 18 14:40 da0
crw-r-   1 root  operator0, 117 Nov 18 14:40 da0s1
crw-r-   1 root  operator0, 118 Nov 18 14:40 da0s2
crw-r-   1 root  operator0, 119 Nov 18 14:40 da0s3
but
# mount /dev/da0s1 /mnt
takes a while (drive spins), then
mount: /dev/da0s1 : Invalid argument
same result for all slices

Why is this and how to remedy?

(I can mount an USB memory stick with
 mount -t msdosfs -o -m=644,-M=755 /dev/da0s1 /mnt)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: adding USB hard-disk

2009-11-18 Thread Robert
On Wed, 18 Nov 2009 16:16:32 +0100
n dhert ndh...@gmail.com wrote:

 I have an external USB hard disk, wich already has unix dirs and
 files on it.
 When plugging into a OpenSuse10.3, the dirs and files are immediatly
 available under /media/disk-1 as unix dirs and files.
 
 When plugging into a FreeBSD7.2 system:
 on console I do get the messages:
 umass0: Prolific Technology Inc. ATAPI-6 Bridge Controller, class
 0/0,rev. 2.00
 /0.01, addr 2 on uhub4
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: ST330083 1A 4.60 Fixed Direct Access SCSI-0 device
 da0: 40.000MB/s transfers
 da0: 286168MB (586072368 512 byte sectors: 255H 63S/T 36481C)
 
 # camcontrol devlist
 ST330083 1A 4.60   at scbus0 target0 lun 0
 (da0,pass0)
 
 # ls -la /dev | grep da
 crw-r-   1 root  operator0, 113 Nov 18 14:40 da0
 crw-r-   1 root  operator0, 117 Nov 18 14:40 da0s1
 crw-r-   1 root  operator0, 118 Nov 18 14:40 da0s2
 crw-r-   1 root  operator0, 119 Nov 18 14:40 da0s3
 but
 # mount /dev/da0s1 /mnt
 takes a while (drive spins), then
 mount: /dev/da0s1 : Invalid argument
 same result for all slices
 
 Why is this and how to remedy?
 
 (I can mount an USB memory stick with
  mount -t msdosfs -o -m=644,-M=755 /dev/da0s1 /mnt)
How is the drive formatted?

From man mount:

SEE ALSO
 getfacl(1), setfacl(1), nmount(2), acl(3), mac(4), ext2fs(5),
fstab(5), procfs(5), kldload(8), mount_cd9660(8), mount_msdosfs(8),
mount_nfs(8), mount_ntfs(8), mount_nullfs(8), mount_nwfs(8),
mount_portalfs(8), mount_smbfs(8), mount_udf(8), mount_unionfs(8),
umount(8)

HTH

Robert
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USB Hard disk with LUKS AES encryption regarding.

2009-02-12 Thread Wojciech Puchar
i don't know what's LUKS AES but it sound like something proprietary, so 
unless LUKS AES software for FreeBSD exist you can't do it


On Thu, 12 Feb 2009, Garimella Srinivas wrote:


Hi All,

Iam new to FreeBSD coming from Debian. I have installed 7.0 and then upgraded 
base and ports to 7.1. While i am slowly able to come to terms with FreeBSD I 
have one issue unable to understand how to go about.

I have lot of data in a usb hard disk of 80GB capacity.  The disk is encrypted 
using LUKS AES . Can somebody give any pointers or guide to use the disk 
without reformatting.

Thanks

Garimella Srinivas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: USB Hard disk with LUKS AES encryption regarding.

2009-02-12 Thread Bruce Cran
On Thu, 12 Feb 2009 10:17:38 +0100 (CET)
Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:

 i don't know what's LUKS AES but it sound like something
 proprietary, so unless LUKS AES software for FreeBSD exist you can't
 do it

I'd not heard of it either but apparently LUKS is the Linux Unified Key
Setup (http://code.google.com/p/cryptsetup/) but it appears nobody's
done the work to port it to FreeBSD.

-- 
Bruce
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


USB Hard disk with LUKS AES encryption regarding.

2009-02-11 Thread Garimella Srinivas
Hi All,

Iam new to FreeBSD coming from Debian. I have installed 7.0 and then upgraded 
base and ports to 7.1. While i am slowly able to come to terms with FreeBSD I 
have one issue unable to understand how to go about.

I have lot of data in a usb hard disk of 80GB capacity.  The disk is encrypted 
using LUKS AES . Can somebody give any pointers or guide to use the disk 
without reformatting.

Thanks

Garimella Srinivas



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


USB switch/USB hard disk jukebox

2007-06-07 Thread Olivier Nicole
Hi,

I am thinking (long term project) to use several USB hard disk for
achiving purpose.

One hard disk would be connected at a time, but that would be nice to
be able to connect and disconnect the disks via software.

Have you heard of some kind of USB disk jukebox?

Have you heard of some kind of USB switch that allows to connect
several devices to one PC, but enabling and disabling each port
individually, via software?

Bests,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB hard disk

2005-04-24 Thread Alex Soares de Moura
Carolina Mallol wrote:
I have a kangaroo usb hard disk that stopped working (skips, makes 
strange vibrating clicking noises and the computer does not recognize it.
could you offer any help? suggestions?
Maybe a strange suggestion from recent articles from technical 
newspapers published here:

Put the disk in the freezer for a few hours. Don't let it get wet! Then, 
remove it from the refrigerator
and quickly plug it back to the system, before it warms up, and backup 
all the data you can, because
it may be the last time you'll be able to use it and read it 's data.

As strange as it may sound, some readers replied with positive experiences.
http://www.pcworld.com/howto/article/0,aid,110320,pg,3,00.asp
http://techrepublic.com.com/5100-6255-5029761-2.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB hard disk

2005-04-23 Thread Carolina Mallol
I have a kangaroo usb hard disk that stopped working (skips, makes 
strange vibrating clicking noises and the computer does not recognize it.
could you offer any help? suggestions?

thanks
c.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB hard disk

2005-04-23 Thread Chris
Carolina Mallol wrote:
 I have a kangaroo usb hard disk that stopped working (skips, makes
 strange vibrating clicking noises and the computer does not recognize it.
 could you offer any help? suggestions?
 
 thanks
 c.

Yes - purchase a new one.

-- 
Best regards,
Chris

People to whom you are attracted invariably thing you
remind them of someone else.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems connecting USB hard disk

2004-07-22 Thread Paul English

 I maybe wrong here, but i think it has something to do with you using
 USB2.0 enclosure. 4.9 doesn't support USB2.0, from 4.10 it does.

 This maybe your problem.

 Maybe someone else from the list may have a better idea than i do.

Thanks Ana. I was actually incorrect about my setup - the disk is
currently plugged into a FreeBSD 4.4 system and the other system I tried
it on was 4.10 not 4.9!

My understanding was that even when USB 2.0 is not supported, assuming
that the disk is recognized it should be recognized as USB 1.1, since both
the controller and disk are fully backwards compatible. That has been my
experience under Windows and Linux anyway. I can be almost certain that
USB 2.0 is not supported on FreeBSD 4.4, but those errors indicate that
the disk is at least recognized, but nothing useful can be done with it.

Strangely when I had it on the 4.10 system it was not even recognized!
dmesg did not even seem to notice it. I even tried using kldload to load
modules like umass, but no dice. This is why I switched it to the 4.4
system where at least it is recognized.

At the moment I don't care *where* I get it connected so long as it is to
a FreeBSD system since I need to format it to a FreeBSD filesystem rather
than FAT32. Ideally though I'd like to have it connected to a 4.10 (and in
the future presumably a 4.11 or 5.X when 5.X is production quality).

Paul



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems connecting USB hard disk

2004-07-21 Thread Paul English

I'm trying to set up a USB disk on FreeBSD 4.9 and having some trouble. it
is apparently recognized by the OS, but when I try to do anything with it,
it spews a whole bunch of errors:


fdisk /dev/da0
fdisk: can't open device /dev/da0
fdisk: cannot open disk /dev/da0: Input/output error
ponic# Jul 14 17:25:33 ponic /kernel: (da0:umass-sim0:0:0:0): READ(06).
CDB: 8 0 0 0 1 0
Jul 14 17:25:33 ponic /kernel: (da0:umass-sim0:0:0:0): READ(06). CDB: 8 0
0 0 1 0
Jul 14 17:25:33 ponic /kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST
asc:20,0
Jul 14 17:25:33 ponic /kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST
asc:20,0
Jul 14 17:25:33 ponic /kernel: (da0:umass-sim0:0:0:0): Invalid command
operation code
Jul 14 17:25:33 ponic /kernel: (da0:umass-sim0:0:0:0): Invalid command
operation code
Jul 14 17:25:33 ponic /kernel: da0: reading primary partition table: error
reading fsbn 0
Jul 14 17:25:33 ponic /kernel: da0: reading primary partition table: error
reading fsbn 0


I did a MAKEDEV da0. I rebooted the machine. I made sure usbd was running.
What else is there to do?


There is nothing particularly special about this disk. This is how it is
recognized in dmesg (followed immediately by a duplicate of the above
errors):
umass0: Prolific Technology Inc. Mass Storage Device, rev 2.00/1.00, addr
2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: WDC WD25 00JB-22FUA0 15.0 Fixed Direct Access SCSI-0 device
da0: 650KB/s transfers
da0: 238475MB (488397169 512 byte sectors: 64H 32S/T 41867C)

It is actually a Western Digital 250GB 7200rpm PATA hard drive in a Metal
Gear Box Firewire/USB 2.0 enclosure.

Paul

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems connecting USB hard disk

2004-07-21 Thread ana
Hi,

I maybe wrong here, but i think it has something to do with you using
USB2.0 enclosure. 4.9 doesn't support USB2.0, from 4.10 it does.

This maybe your problem.

Maybe someone else from the list may have a better idea than i do.

Good luck

--
ams

 I'm trying to set up a USB disk on FreeBSD 4.9 and having some trouble. it
 is apparently recognized by the OS, but when I try to do anything with it,
 it spews a whole bunch of errors:


 fdisk /dev/da0
 fdisk: can't open device /dev/da0
 fdisk: cannot open disk /dev/da0: Input/output error
 ponic# Jul 14 17:25:33 ponic /kernel: (da0:umass-sim0:0:0:0): READ(06).
 CDB: 8 0 0 0 1 0
 Jul 14 17:25:33 ponic /kernel: (da0:umass-sim0:0:0:0): READ(06). CDB: 8 0
 0 0 1 0
 Jul 14 17:25:33 ponic /kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST
 asc:20,0
 Jul 14 17:25:33 ponic /kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST
 asc:20,0
 Jul 14 17:25:33 ponic /kernel: (da0:umass-sim0:0:0:0): Invalid command
 operation code
 Jul 14 17:25:33 ponic /kernel: (da0:umass-sim0:0:0:0): Invalid command
 operation code
 Jul 14 17:25:33 ponic /kernel: da0: reading primary partition table: error
 reading fsbn 0
 Jul 14 17:25:33 ponic /kernel: da0: reading primary partition table: error
 reading fsbn 0


 I did a MAKEDEV da0. I rebooted the machine. I made sure usbd was running.
 What else is there to do?


 There is nothing particularly special about this disk. This is how it is
 recognized in dmesg (followed immediately by a duplicate of the above
 errors):
 umass0: Prolific Technology Inc. Mass Storage Device, rev 2.00/1.00, addr
 2
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: WDC WD25 00JB-22FUA0 15.0 Fixed Direct Access SCSI-0 device
 da0: 650KB/s transfers
 da0: 238475MB (488397169 512 byte sectors: 64H 32S/T 41867C)

 It is actually a Western Digital 250GB 7200rpm PATA hard drive in a Metal
 Gear Box Firewire/USB 2.0 enclosure.

 Paul

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB hard disk

2004-02-19 Thread dave
Hello,
I've recently come in to possession of a Kangaroo external USB hard
drive manufactured by
www.interactivemediacorp.com.

I'd like to use it under
FreeBSD 5.x. I have not found any docs on this particular drive nor much in
general
on USB disks. If anyone has this working or recommendations i'd appreciate
it.
Thanks.
Dave.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB hard disk

2004-02-19 Thread Lowell Gilbert
dave [EMAIL PROTECTED] writes:

 I've recently come in to possession of a Kangaroo external USB hard
 drive manufactured by
 www.interactivemediacorp.com.
 
 I'd like to use it under
 FreeBSD 5.x. I have not found any docs on this particular drive nor much in
 general
 on USB disks. If anyone has this working or recommendations i'd appreciate
 it.

Start with man 4 umass.
If it follows the USB/umass specs reasonably well, it should be easy
to get going.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]