I'm not sure if this should go here or to -bugs, but the other USB-related reports put me in good company, I'm hoping... I'm having a problem with a Kodak USB flash reader. "camcontrol inquiry" gives me: pass0: <Kodak CF/SD/MMC/SM 0108> Removable Direct Access SCSI-0 device pass0: Serial Number pass0: 1.000MB/s transfers The device has printed on it: Kodak Multi-Card Reader CE2A012 KP P/N 7E3771 ITEM# 20209416 P/N 680-070-563 Reproducibly, if I begin copying data to a Lexar 256MB CF card (P/N 2250, Rev. A), it works for a while, then freezes the system. The first time this happened it was when trying to unmount the filesystem. The second time was in the midst of copying data. Both times the system was completely frozen; not even the keyboard LEDs toggled. Strangely, I could connect on the SSH and FTP ports, but received no welcome banner. The third time I modified the script I was using to copy my files to sync and sleep after each file. This time the system seemed to freeze, then lurch through handling several interrupts (mouse pointer moved and a menu popped up from right-clicking), then froze again. Initially connecting to the SSH port brought up the banner after a very long delay, but an attempt to reproduce this was unsuccessful, and I was unable to actually SSH in. Mounting the filesystem synchronously doesn't seem to help. The first time it worked, but then when I unmounted and remounted it and copied some more files it froze midway through. I'm running FreeBSD 5.3: FreeBSD beaker.data-secure.net 5.3-RELEASE-p8 FreeBSD 5.3-RELEASE-p8 #1: Mon Apr 11 15:20:08 EDT 2005 root@beaker.data-secure.net:/usr/obj/usr/src/sys/GENERIC i386 I will be fairly busy for the next few days but later this week I should be able to try out patches or set up a machine running a more cutting-edge source tree, if necessary. I've got FreeBSD 5.4-RC2 building today, actually; is it likely that this will solve my problem? Thanks in advance for any assistance.
On Mon, Apr 11, 2005 at 05:24:15PM -0400, Tim Howe wrote:> I'm not sure if this should go here or to -bugs, but the other > USB-related reports put me in good company, I'm hoping... > > I'm having a problem with a Kodak USB flash reader. "camcontrol > inquiry" gives me: > > pass0: <Kodak CF/SD/MMC/SM 0108> Removable Direct Access SCSI-0 device > pass0: Serial Number > pass0: 1.000MB/s transfers > > The device has printed on it: > > Kodak Multi-Card Reader CE2A012 > KP P/N 7E3771 > ITEM# 20209416 > P/N 680-070-563 > > Reproducibly, if I begin copying data to a Lexar 256MB CF card (P/N > 2250, Rev. A), it works for a while, then freezes the system. The first > time this happened it was when trying to unmount the filesystem. The > second time was in the midst of copying data. Both times the system was > completely frozen; not even the keyboard LEDs toggled. Strangely, I > could connect on the SSH and FTP ports, but received no welcome banner. > > The third time I modified the script I was using to copy my files to > sync and sleep after each file. This time the system seemed to freeze, > then lurch through handling several interrupts (mouse pointer moved and > a menu popped up from right-clicking), then froze again. Initially > connecting to the SSH port brought up the banner after a very long > delay, but an attempt to reproduce this was unsuccessful, and I was > unable to actually SSH in. > > Mounting the filesystem synchronously doesn't seem to help. The first > time it worked, but then when I unmounted and remounted it and copied > some more files it froze midway through. > > I'm running FreeBSD 5.3: > > FreeBSD beaker.data-secure.net 5.3-RELEASE-p8 FreeBSD 5.3-RELEASE-p8 #1: Mon Apr 11 15:20:08 EDT 2005 root@beaker.data-secure.net:/usr/obj/usr/src/sys/GENERIC i386 > > I will be fairly busy for the next few days but later this week I should > be able to try out patches or set up a machine running a more > cutting-edge source tree, if necessary. I've got FreeBSD 5.4-RC2 > building today, actually; is it likely that this will solve my problem?It is quite likely that 5.4 fixed your problem. Not certain, of course, but many problems have been fixed recently. -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050411/df109f90/attachment.bin
Brooks Davis <brooks@one-eyed-alien.net> writes:> On Mon, Apr 11, 2005 at 05:24:15PM -0400, Tim Howe wrote: > > > Reproducibly, if I begin copying data to a [...] CF card [...] it > > works for a while, then freezes the system. > > It is quite likely that 5.4 fixed your problem.Unfortunately not. I was able, having mounted the filesystem with no synchronization options, to copy 171MiB of data onto it and unmount. However when I re-mounted it with the same options and tried to copy 71MiB more, it again froze midway through. Everything else (X11, sound, printing, input) seems to be working perfectly with 5.4, but I did notice something new and strange with regard to umass. I still have to run "true > /dev/da0" to get the slice to show up, but now I get the following: [1042] ~ # true > /dev/da0 [1043] ~ # camcontrol rescan 0 Re-scan of bus 0 was successful [1044] ~ # ls -l /dev/da0* crw-r----- 1 root operator 4, 21 Apr 11 21:45 /dev/da0 crw-r----- 1 root operator 4, 28 Apr 11 21:45 /dev/da0s1 crw-r----- 1 root operator 4, 29 Apr 11 21:45 /dev/da0s1s1 [1045] ~ # mount_msdosfs /dev/da0s1 /mnt/cf [1046] ~ # umount /mnt/cf [1047] ~ # mount_msdosfs /dev/da0s1s1 /mnt/cf [1048] ~ # umount /mnt/cf Thoughts? FreeBSD beaker.data-secure.net 5.4-RC2 FreeBSD 5.4-RC2 #2: Mon Apr 11 20:31:53 EDT 2005 root@beaker.data-secure.net:/usr/obj/usr/src/sys/GENERIC i386