Re: Connecting a USB Zip drive -- whatever am I doing wrong?
On Sun, 11 Jul 2004 16:04:10 +0100 John Murphy [EMAIL PROTECTED] wrote: epilogue [EMAIL PROTECTED] wrote: ### uname -a FreeBSD 4.10-RELEASE-p1 i386 ### relevant lines from kernel device vpo device scbus device da device umass device uhci# uhci related entries show up in dmesg device usb device ugen Do you have 'device pass'? Just a guess, sorry if it doesn't help. regrettably, this did not do the trick. i see precisely the same behaviour as outlined in my earlier messages. sigh. thanks for your suggestion, john. -- John. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Connecting a USB Zip drive -- whatever am I doing wrong?
epilogue [EMAIL PROTECTED] wrote: ### uname -a FreeBSD 4.10-RELEASE-p1 i386 ### relevant lines from kernel device vpo device scbus device da device umass device uhci# uhci related entries show up in dmesg device usb device ugen Do you have 'device pass'? Just a guess, sorry if it doesn't help. -- John. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Connecting a USB Zip drive -- whatever am I doing wrong?
hey hey, anyone else willing to take a stab at this? fwiw, i am fairly certain that the problem resides somewhere between the keyboard and the chair, however i would appreciate confirmation (i think :) before i do something silly like submitting a pr or sending this off to another list. (note that i had two very right suggestions to add the umass device, however that didn't solve the problem, because i already had it compiled into my kernel. i simply forgot to include it in this message. this has been corrected below...) apologies for the lengthy message. really wanted to provide as much useful info as i could. thanks to all who suffer through the verbiage, yet resolutely give it a go. hello all, for many moons now, i'll occasionally dedicate a dark day to getting my USB Zip drive to work. i've been through the handbook, faq, relevant man pages, mailing lists and across the colossal googlesphere collecting bits and pieces, none of which seem to get me the desired result. i'm obviously missing something. i'm writing with the hope that, what i have managed to overlook will be so obvious and straighforward, some kind reader will take 2 seconds to point it out, so that i may zip off on my merry way. ### uname -a FreeBSD 4.10-RELEASE-p1 i386 ### relevant lines from kernel device vpo device scbus device da device umass device uhci# uhci related entries show up in dmesg device usb device ugen i have also tried with the ohci device added, but it never generates any dmesg entries. from what i gather, uhci and ohci have an 'either - or' kind of relationship. i'm supposing that uhci is the right device for my system. now, when i boot with the zip device plugged in (whether or not there is a disk loaded), the system will hang until i unplug the usb cable. ### dmesg snip atapci0: Intel PIIX4 ATA33 controller port 0x1050-0x105f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0x1060-0x107f irq 5 at device 7.2 on 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 ##-- hangs here for about 30 seconds, then chugs on happily --## chip0: Intel 82371AB Power management controller port 0x1040-0x104f at device 7.3 on pci0 pcm0: ESS Technology Maestro-2E port 0x1400-0x14ff irq 5 at device 8.0 on pci0 snip pccard: card inserted, slot 1 ad0: 17301MB TOSHIBA MK1814GAV [35152/16/63] at ata0-master UDMA33 acd0: CDROM TOSHIBA CD-ROM XM-7002B at ata1-master UDMA33 ##-- hangs here *until* i pull the usb plug. after i do, i get the following error messages but the boot finishes nicely. --## umass0: BBB reset failed, IOERROR umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED Mounting root from ufs:/dev/ad0s2a umass0: at uhub0 port 1 (addr 2) disconnected umass0: detached snip ### /var/log/messages Jul 4 21:47:04 /kernel: umass0: Iomega USB Zip 100, rev 1.00/1.00, addr 2 Jul 4 21:47:04 /kernel: umass0: Get Max Lun not supported (STALLED) Jul 4 21:48:09 /kernel: umass0: BBB reset failed, IOERROR ### after booting, i plug the usb cable back in and usbdevs -v: Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x), rev 1.00 port 1 addr 2: full speed, self powered, config 1, Zip 100(0x0001), Iomega(0x059b), rev 1.00 port 2 powered ### ps auxw | grep -i usb root 99 0.0 0.2 940 604 ?? Is 9:42PM 0:00.00 /usr/sbin/usbd root 4 0.0 0.0 00 ?? DL5:42PM 0:00.00 (usbtask) root 3 0.0 0.0 00 ?? DL5:42PM 0:00.00 (usb0) looks good (i think). ### mounting i'm not sure that i 'get' which device the zip maps to nor how to determine this. i have tried about 40 different combinations of mount (mostly gleaned from my research), but i have yet to hit upon the right command. # mount -t msdos /dev/da* /mnt # * = practically every single one msdos: /dev/da0s4: Device not configured ...with the same results for /dev/sa* devices. of the many combinations tried, /dev/usb0 has provided the most promising error message (i think). # mount -t msdos /dev/usb0 /mnt msdos: /dev/usb0: Block device required ### final notes 1) not the drive - it works on several other non-*nix systems 2) not the usb port itself - boot to another OS and it works. 2) not the zip disks - have tried different disks all known to be good if there is any further testing i can do or details i can provide, please let me
Re: Connecting a USB Zip drive -- whatever am I doing wrong?
epilogue wrote: ### relevant lines from kernel device vpo device scbus device da device uhci# uhci related entries show up in dmesg device usb device ugen Don't forget umass. Try adding sa. My USB HDD comes up as /dev/sa0. Your ZIP drive might need sa, too. [dmesg snipped] [various messages snipped] ### /var/log/messages Jul 4 21:47:04 /kernel: umass0: Iomega USB Zip 100, rev 1.00/1.00, addr 2 Jul 4 21:47:04 /kernel: umass0: Get Max Lun not supported (STALLED) Jul 4 21:48:09 /kernel: umass0: BBB reset failed, IOERROR I guess if you posted these to stable@ you might get more attention. ### mounting i'm not sure that i 'get' which device the zip maps to nor how to determine this. i have tried about 40 different combinations of mount (mostly gleaned from my research), but i have yet to hit upon the right command. # mount -t msdos /dev/da* /mnt # * = practically every single one msdos: /dev/da0s4: Device not configured See above. I think USB mass storage devices require sa to work, therefore you would need sth like mount -t msdos /dev/sa* /mnt -- Don't know what * should be out of my head now. Hope this helps. Phil. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Connecting a USB Zip drive -- whatever am I doing wrong?
On Mon, 05 Jul 2004 13:36:20 +0200 Phil Schulz [EMAIL PROTECTED] wrote: epilogue wrote: ### relevant lines from kernel device vpo device scbus device da device uhci# uhci related entries show up in dmesg device usb device ugen Don't forget umass. Try adding sa. My USB HDD comes up as /dev/sa0. Your ZIP drive might need sa, too. hello phil, actually, i have 'umass' enabled. i simply missed including it, when i cut and pasted all this together. i added 'sa'. the boot time freeze still occurs, but when i unplug, i see a few new messages in dmesg and /var/log/messages. before sa: snip umass0: Iomega USB Zip 100, rev 1.00/1.00, addr 2 umass0: Get Max Lun not supported (STALLED) umass0: BBB reset failed, IOERROR with sa: snip umass0: Iomega USB Zip 100, rev 1.00/1.00, addr 2 umass0: Get Max Lun not supported (STALLED) umass0: Invalid CSW: status 4 2 (da0:umass-sim0:0:0:0): got CAM status 0x4 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry [dmesg snipped] [various messages snipped] ### /var/log/messages Jul 4 21:47:04 /kernel: umass0: Iomega USB Zip 100, rev 1.00/1.00, addr 2 Jul 4 21:47:04 /kernel: umass0: Get Max Lun not supported (STALLED) Jul 4 21:48:09 /kernel: umass0: BBB reset failed, IOERROR I guess if you posted these to stable@ you might get more attention. ### mounting i'm not sure that i 'get' which device the zip maps to nor how to determine this. i have tried about 40 different combinations of mount (mostly gleaned from my research), but i have yet to hit upon the right command. # mount -t msdos /dev/da* /mnt # * = practically every single one msdos: /dev/da0s4: Device not configured See above. I think USB mass storage devices require sa to work, therefore you would need sth like mount -t msdos /dev/sa* /mnt -- Don't know what * should be out of my head now. # cd /dev; sh MAKEDEV all # just to be sure. # ls -al sa* crw-rw 4 root operator 14, 0 Jul 5 09:56 sa0 crw-rw 4 root operator 14, 0 Jul 5 09:56 sa0.0 crw-rw 2 root operator 14, 4 Jul 5 09:56 sa0.1 crw-rw 2 root operator 14, 8 Jul 5 09:56 sa0.2 crw-rw 2 root operator 14, 12 Jul 5 09:56 sa0.3 crw-rw 2 root wheel 14, 0x2000 Jul 5 09:56 sa0.ctl # mount -t msdos /dev/sa0.0 /mnt msdos: /dev/sa0.0: Device not configured unfortunately, i'm getting the same error for each of these devices. nevertheless, many thanks for your suggestions. epi Hope this helps. Phil. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Connecting a USB Zip drive -- whatever am I doing wrong?
hello all, for many moons now, i'll occasionally dedicate a dark day to getting my USB Zip drive to work. i've been through the handbook, faq, relevant man pages, mailing lists and across the colossal googlesphere collecting bits and pieces, none of which seem to get me the desired result. i'm obviously missing something. i'm writing with the hope that, what i have managed to overlook will be so obvious and straighforward, some kind reader will take 2 seconds to point it out, so that i may zip off on my merry way. ### uname -a FreeBSD 4.10-RELEASE-p1 i386 ### relevant lines from kernel device vpo device scbus device da device uhci# uhci related entries show up in dmesg device usb device ugen i have also tried with the ohci device added, but it never generates any dmesg entries. from what i gather, uhci and ohci have an 'either - or' kind of relationship. i'm supposing that uhci is the right device for my system. now, when i boot with the zip device plugged in (whether or not there is a disk loaded), the system will hang until i unplug the usb cable. ### dmesg snip atapci0: Intel PIIX4 ATA33 controller port 0x1050-0x105f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0x1060-0x107f irq 5 at device 7.2 on 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 ##-- hangs about 30 seconds here, but chugs on happily after --## chip0: Intel 82371AB Power management controller port 0x1040-0x104f at device 7.3 on pci0 pcm0: ESS Technology Maestro-2E port 0x1400-0x14ff irq 5 at device 8.0 on pci0 snip pccard: card inserted, slot 1 ad0: 17301MB TOSHIBA MK1814GAV [35152/16/63] at ata0-master UDMA33 acd0: CDROM TOSHIBA CD-ROM XM-7002B at ata1-master UDMA33 ##-- hangs here *until* i pull the usb plug. after i do, i get the following error messages but the boot finishes nicely. --## umass0: BBB reset failed, IOERROR umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED Mounting root from ufs:/dev/ad0s2a umass0: at uhub0 port 1 (addr 2) disconnected umass0: detached ltmdm0: Lucent Winmodem port 0x1800-0x18ff,0x1080-0x1087 mem 0xfc00-0xfcff irq 5 at device 16.0 on pci0 ltmdm0: type Virtual 16550A umass0: Iomega USB Zip 100, rev 1.00/1.00, addr 2 umass0: Get Max Lun not supported (STALLED) umass0: BBB reset failed, IOERROR ### after booting. i plug the usb cable back in and usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x), rev 1.00 port 1 addr 2: full speed, self powered, config 1, Zip 100(0x0001), Iomega(0x059b), rev 1.00 port 2 powered ### ps auxw | grep -i usb root 99 0.0 0.2 940 604 ?? Is 9:42PM 0:00.00 /usr/sbin/usbd root 4 0.0 0.0 00 ?? DL5:42PM 0:00.00 (usbtask) root 3 0.0 0.0 00 ?? DL5:42PM 0:00.00 (usb0) looks good (i think). ### /var/log/messages Jul 4 21:47:04 /kernel: umass0: Iomega USB Zip 100, rev 1.00/1.00, addr 2 Jul 4 21:47:04 /kernel: umass0: Get Max Lun not supported (STALLED) Jul 4 21:48:09 /kernel: umass0: BBB reset failed, IOERROR ### mounting i'm not sure that i 'get' which device the zip maps to nor how to determine this. i have tried about 40 different combinations of mount (mostly gleaned from my research), but i have yet to hit upon the right command. # mount -t msdos /dev/da* /mnt # * = practically every single one msdos: /dev/da0s4: Device not configured of the many combinations tried, /dev/usb0 has provided the most promising error message (i think). # mount -t msdos /dev/usb0 /mnt msdos: /dev/usb0: Block device required ### final notes 1) the Zip drive works on several other non-*nix systems 2) i *have* tried with more than just one disk. i'm guessing that the problem is that i'm just not mounting correctly, but hey, that's just a guess. :) -- my apologies for the lengthy message. hopefully, it provided some useful troubleshooting info. please let me know if there are any further details i can provide. many thanks, epi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Connecting a USB Zip drive -- whatever am I doing wrong?
On Sunday 04 July 2004 07:28 pm, epilogue wrote: hello all, for many moons now, i'll occasionally dedicate a dark day to getting my USB Zip drive to work. i've been through the handbook, faq, relevant man pages, mailing lists and across the colossal googlesphere collecting bits and pieces, none of which seem to get me the desired result. i'm obviously missing something. i'm writing with the hope that, what i have managed to overlook will be so obvious and straighforward, some kind reader will take 2 seconds to point it out, so that i may zip off on my merry way. ### uname -a FreeBSD 4.10-RELEASE-p1 i386 ### relevant lines from kernel device vpo device scbus device da device uhci# uhci related entries show up in dmesg deviceusb deviceugen What about device umass # Disks/Mass storage - Requires scbus and da Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Connecting a USB Zip drive -- whatever am I doing wrong?
On Sun, 4 Jul 2004 20:04:06 -0700 Kent Stewart [EMAIL PROTECTED] wrote: On Sunday 04 July 2004 07:28 pm, epilogue wrote: hello all, for many moons now, i'll occasionally dedicate a dark day to getting my USB Zip drive to work. i've been through the handbook, faq, relevant man pages, mailing lists and across the colossal googlesphere collecting bits and pieces, none of which seem to get me the desired result. i'm obviously missing something. i'm writing with the hope that, what i have managed to overlook will be so obvious and straighforward, some kind reader will take 2 seconds to point it out, so that i may zip off on my merry way. ### uname -a FreeBSD 4.10-RELEASE-p1 i386 ### relevant lines from kernel device vpo device scbus device da device uhci# uhci related entries show up in dmesg device usb device ugen What about device umass # Disks/Mass storage - Requires scbus and da hello kent, it's already in there. sigh. i just missed it, when i pasted all this info together. sorry for the oversight. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]