Re: umass detected, but da is never created

2006-01-03 Thread Nikolas Britton
On 1/2/06, Nikolas Britton [EMAIL PROTECTED] wrote:
 On 12/24/05, Philip Lykke Carlsen [EMAIL PROTECTED] wrote:
  I have this external harddisk kit, and when I plug it in, the system 
  correctly
  recognizes it as a umass.. but afterwards, the da device is never created..
 
  this is what I get from the console:
 
  umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.33, addr 2
  umass0: BBB reset failed, TIMEOUT
  umass0: BBB bulk-in clear stall failed, TIMEOUT
 
  Also, the very same thing but the timeouts are happening if I connect an 
  Apple
  iPod..
 
  And for the record, I had this problem with both the generic and my custom
  kernel.. both with umass,da,ses,pass compiled in..
 
  Any ideas as for how to solve this?
  Any guidelines and I'd gladly edit the files in question and submit a patch,
  when I get it working..
 
  PS, Any other usb-drive I've tried has worked without problems..

 I was having a similar problem with my new ipod... it would stall here:
 umass0: Apple iPod, rev 2.00/0.01, addr 2

 After two hours of frustration (pissed off) I decided to repeatedly
 unplugged and re-plug the device cable in... To my surprise it started
 working!!!

 umass0: Apple iPod, rev 2.00/0.01, addr 2
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: Apple iPod 1.62 Removable Direct Access SCSI-0 device
 da0: 40.000MB/s transfers

 The trick is to rapidly (without being careless) unplug / replug the
 device in 2 or 3 times... My mainboard is an Intel 845GBV with ICH4,
 USB settings in BIOS are set to defaults.

 uname -a:
 FreeBSD spectra.intranet 6.0-RELEASE-p1 FreeBSD 6.0-RELEASE-p1 #2: Mon
 Jan  2 22:26:01 CST 2006
 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/Info-Matic  i386

 Kernel config file:
 #
 # Info-Matic -- Generic kernel configuration file for FreeBSD/i386 Info-Matic
 #   Appends system specific options to the generic kernel
 #

 include GENERIC

 ident   Info-Matic

 # System Management Bus
 device  smb
 device  smbus
 device  ichsmb

 # Sound Support
 device  sound   # PCM audio device infrastructure
 device  snd_emu10k1   # SoundBlaster Live! and Audigy PCI bridge 
 devic

 # Video Support
 device  radeondrm # ATI Radeon Direct Rendering Module
 device  drm # Direct Rendering Module
 options VESA# Full VESA BIOS support
 options SC_PIXEL_MODE   # Console raster text mode (VESA graphic 
 modes)


One more thing. It's highly likey that your system will hang when you
disconnect the ipod... prep your system for the worst, a warm reboot.
Also don't connect the ipod untill you have X running. Connecting the
ipod and then running KDE will hang the system. Start KDE and then ALT
+ CTRL + F1 to get to the console and then connect it... jump back to
X (ALT + F9) to mount the drive mount_msdosfs /dev/da0s2 /mnt/ipod
and then everything should be good to go for amaroK to use it. I use
umount and camcontrol eject da0 before I unplug it, but it still
seems to hang the system. Oh.. and it's not as rapid as I said
before. Connect the ipod then disconnect it... wait for error(s) then
reconnect it. rinse and repeat until you get device da0... It's all
about your timing Is their something wrong in the FreeBSD code?
Anyways.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: umass detected, but da is never created

2006-01-03 Thread Scott Smith
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nikolas Britton wrote:
 One more thing. It's highly likey that your system will hang when you
 disconnect the ipod... prep your system for the worst, a warm reboot.
 Also don't connect the ipod untill you have X running. Connecting the
 ipod and then running KDE will hang the system. Start KDE and then ALT
 + CTRL + F1 to get to the console and then connect it... jump back to
 X (ALT + F9) to mount the drive mount_msdosfs /dev/da0s2 /mnt/ipod
 and then everything should be good to go for amaroK to use it. I use
 umount and camcontrol eject da0 before I unplug it, but it still
 seems to hang the system. Oh.. and it's not as rapid as I said
 before. Connect the ipod then disconnect it... wait for error(s) then
 reconnect it. rinse and repeat until you get device da0... It's all
 about your timing Is their something wrong in the FreeBSD code?
 Anyways.

It works fine for me:

umass0: Apple iPod, rev 2.00/0.01, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: Apple iPod 1.62 Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 3906MB (7999488 512 byte sectors: 255H 63S/T 497C)

blingbling# mount_msdosfs /dev/da0s2 /ipod
blingbling# ls /ipod
Calendars   ContactsData Files  Notes   iPod_Control
blingbling# umount /ipod
blingbling# camcontrol eject 1:0:0
Unit stopped successfully, Media ejected
blingbling# id
uid=0(root) gid=0(wheel) groups=0(wheel), 5(operator)

Scott

- --
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)

iD8DBQFDumigKBeC2yZ3EEsRAoWPAKCOgL7ZJaeNJkvoyvbdibSLNqvvzwCgk+p8
+Txrap8lTYmloKTC1p7dnYg=
=D6NX
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: umass detected, but da is never created

2006-01-02 Thread Nikolas Britton
On 12/24/05, Philip Lykke Carlsen [EMAIL PROTECTED] wrote:
 I have this external harddisk kit, and when I plug it in, the system correctly
 recognizes it as a umass.. but afterwards, the da device is never created..

 this is what I get from the console:

 umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.33, addr 2
 umass0: BBB reset failed, TIMEOUT
 umass0: BBB bulk-in clear stall failed, TIMEOUT

 Also, the very same thing but the timeouts are happening if I connect an Apple
 iPod..

 And for the record, I had this problem with both the generic and my custom
 kernel.. both with umass,da,ses,pass compiled in..

 Any ideas as for how to solve this?
 Any guidelines and I'd gladly edit the files in question and submit a patch,
 when I get it working..

 PS, Any other usb-drive I've tried has worked without problems..

I was having a similar problem with my new ipod... it would stall here:
umass0: Apple iPod, rev 2.00/0.01, addr 2

After two hours of frustration (pissed off) I decided to repeatedly
unplugged and re-plug the device cable in... To my surprise it started
working!!!

umass0: Apple iPod, rev 2.00/0.01, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: Apple iPod 1.62 Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers

The trick is to rapidly (without being careless) unplug / replug the
device in 2 or 3 times... My mainboard is an Intel 845GBV with ICH4,
USB settings in BIOS are set to defaults.

uname -a:
FreeBSD spectra.intranet 6.0-RELEASE-p1 FreeBSD 6.0-RELEASE-p1 #2: Mon
Jan  2 22:26:01 CST 2006
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/Info-Matic  i386

Kernel config file:
#
# Info-Matic -- Generic kernel configuration file for FreeBSD/i386 Info-Matic
#   Appends system specific options to the generic kernel
#

include GENERIC

ident   Info-Matic

# System Management Bus
device  smb
device  smbus
device  ichsmb

# Sound Support
device  sound   # PCM audio device infrastructure
device  snd_emu10k1   # SoundBlaster Live! and Audigy PCI bridge devic

# Video Support
device  radeondrm # ATI Radeon Direct Rendering Module
device  drm # Direct Rendering Module
options VESA# Full VESA BIOS support
options SC_PIXEL_MODE   # Console raster text mode (VESA graphic modes)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: umass detected, but da is never created

2005-12-25 Thread Niklas Nielsen
I have an iPod shuffle and expirences the same problem - no cabling is
envolved, its a kind of USB stick. And I know that the iPod worked in
5.4, so I highly doubt hardware issues.
And to Philip - I'll give a beer at the local pub if you post a patch ;)

Best regards
Niklas Nielsen

On 12/25/05, Rowdy [EMAIL PROTECTED] wrote:
 Philip Lykke Carlsen wrote:
  I have this external harddisk kit, and when I plug it in, the system
  correctly recognizes it as a umass.. but afterwards, the da device is
  never created..
 
  this is what I get from the console:
 
  umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.33, addr 2 umass0: BBB
  reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT
 
 
  Also, the very same thing but the timeouts are happening if I connect
  an Apple iPod..
 
  And for the record, I had this problem with both the generic and my
  custom kernel.. both with umass,da,ses,pass compiled in..
 
  Any ideas as for how to solve this? Any guidelines and I'd gladly
  edit the files in question and submit a patch, when I get it
  working..
 
  PS, Any other usb-drive I've tried has worked without problems..

 Greetings,

 I have an external USB enclosure into which I can plug either of two IDE
 hard drives, each in a separate caddy.  One works perfectly, the other
 produces something very similar to the above error fairly consistently,
 and triggers reboots of the FreeBSD (5.3) box when the enclosure is
 plugged in or out with the 'broken' caddy inserted.

 After some experimentation and close examination, it appears that the
 cable inside the 'broken' caddy may have been slightly damaged.
 Manipulating the cable (squashing it down into the caddy so the sliding
 caddy lid does not scrape against it) appears to go some way towards
 solving the problem.

 So in my case I would say that it was a hardware (cabling) problem
 within the caddy, and thus within the USB enclosure.

 Other USB devices, including the second caddy and a couple of flash
 drives, seem to work fine.

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

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


umass detected, but da is never created

2005-12-24 Thread Philip Lykke Carlsen
I have this external harddisk kit, and when I plug it in, the system correctly 
recognizes it as a umass.. but afterwards, the da device is never created..

this is what I get from the console:

umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.33, addr 2
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT

Also, the very same thing but the timeouts are happening if I connect an Apple 
iPod.. 

And for the record, I had this problem with both the generic and my custom 
kernel.. both with umass,da,ses,pass compiled in..

Any ideas as for how to solve this?
Any guidelines and I'd gladly edit the files in question and submit a patch, 
when I get it working.. 

PS, Any other usb-drive I've tried has worked without problems..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: umass detected, but da is never created

2005-12-24 Thread Russell J. Wood
On Sat, Dec 24, 2005 at 11:48:10AM +0100, Philip Lykke Carlsen wrote:
 I have this external harddisk kit, and when I plug it in, the system 
 correctly 
 recognizes it as a umass.. but afterwards, the da device is never created..
 
 this is what I get from the console:
 
 umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.33, addr 2
 umass0: BBB reset failed, TIMEOUT
 umass0: BBB bulk-in clear stall failed, TIMEOUT

 Also, the very same thing but the timeouts are happening if I connect an 
 Apple 
 iPod.. 
 
 And for the record, I had this problem with both the generic and my custom 
 kernel.. both with umass,da,ses,pass compiled in..
 
 Any ideas as for how to solve this?
 Any guidelines and I'd gladly edit the files in question and submit a patch, 
 when I get it working.. 
 
 PS, Any other usb-drive I've tried has worked without problems..

At first I guessed it would have been a faulty device, however after a
quick Google it appears `common'.

http://www.bsdforums.org/forums/archive/index.php/t-664.html

Maybe it's an unsupported device.

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


Re: umass detected, but da is never created

2005-12-24 Thread rod person
On Sat, 24 Dec 2005 22:52:21 +0800
Russell J. Wood [EMAIL PROTECTED] wrote:

 On Sat, Dec 24, 2005 at 11:48:10AM +0100, Philip Lykke Carlsen wrote:
  I have this external harddisk kit, and when I plug it in, the
  system correctly recognizes it as a umass.. but afterwards, the da
  device is never created..
  
  this is what I get from the console:
  
  umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.33, addr 2
  umass0: BBB reset failed, TIMEOUT
  umass0: BBB bulk-in clear stall failed, TIMEOUT
 
  Also, the very same thing but the timeouts are happening if I
  connect an Apple iPod.. 
  
  And for the record, I had this problem with both the generic and my
  custom kernel.. both with umass,da,ses,pass compiled in..
  
  Any ideas as for how to solve this?
  Any guidelines and I'd gladly edit the files in question and submit
  a patch, when I get it working.. 
  
  PS, Any other usb-drive I've tried has worked without problems..


I had this problem with an iPod also. When I switch to using firewire
for the iPod it then worked fine. I've read that there is some problem
with Apples usb2 code.

-- 
Rod

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


Re: umass detected, but da is never created

2005-12-24 Thread David Gerard
rod person wrote:

 I had this problem with an iPod also. When I switch to using firewire
 for the iPod it then worked fine. I've read that there is some problem
 with Apples usb2 code.


The Mac OS X code is certainly not the *BSD code, at least on the
computer end. I have a camera (Premier DC-5085) which won't work under
FreeBSD or Linux (gives Buffer I/O error on device) but works just
fine as a umass device under Mac OS X 10.4.3. The camera is cheap, so I
wouldn't be surprised if they cut corners on the USB interface or code.
Worthy of further investigation ...


- d.



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


Re: umass detected, but da is never created

2005-12-24 Thread Rowdy

Philip Lykke Carlsen wrote:

I have this external harddisk kit, and when I plug it in, the system
correctly recognizes it as a umass.. but afterwards, the da device is
never created..

this is what I get from the console:

umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.33, addr 2 umass0: BBB
reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT


Also, the very same thing but the timeouts are happening if I connect
an Apple iPod..

And for the record, I had this problem with both the generic and my
custom kernel.. both with umass,da,ses,pass compiled in..

Any ideas as for how to solve this? Any guidelines and I'd gladly
edit the files in question and submit a patch, when I get it
working..

PS, Any other usb-drive I've tried has worked without problems..


Greetings,

I have an external USB enclosure into which I can plug either of two IDE
hard drives, each in a separate caddy.  One works perfectly, the other
produces something very similar to the above error fairly consistently,
and triggers reboots of the FreeBSD (5.3) box when the enclosure is
plugged in or out with the 'broken' caddy inserted.

After some experimentation and close examination, it appears that the
cable inside the 'broken' caddy may have been slightly damaged.
Manipulating the cable (squashing it down into the caddy so the sliding
caddy lid does not scrape against it) appears to go some way towards
solving the problem.

So in my case I would say that it was a hardware (cabling) problem
within the caddy, and thus within the USB enclosure.

Other USB devices, including the second caddy and a couple of flash
drives, seem to work fine.

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