On Sunday 27 November 2011 07:01:43 Erich Dollansky wrote:
> Hi,
> 
> I think that the following is just a note for the developers working on the
> USB section dealing with hard disks.
> 
> I just have had a total freeze of a FreeBSD machine running on 8.2 from
> yesterday.
> 
> How it happened:
> 
> I got an old backup disk back. It was not used for more than a year. I
> plugged into the usual USB port and ran the backup script. It seemed to
> work but gave soon errors like this:
> 
> Nov 27 12:07:28 AMD620 kernel:
> g_vfs_done():ufs/USB80GBDisk[WRITE(offset=37180145664, length=16384)]error
> = 5 Nov 27 12:07:28 AMD620 kernel:
> g_vfs_done():ufs/USB80GBDisk[WRITE(offset=577945600, length=16384)]error =
> 5 Nov 27 12:07:28 AMD620 kernel:
> g_vfs_done():ufs/USB80GBDisk[WRITE(offset=770588672, length=16384)]error =
> 5 Nov 27 12:07:31 AMD620 kernel:
> g_vfs_done():ufs/USB80GBDisk[WRITE(offset=770588672, length=16384)]error =
> 5 Nov 27 12:07:33 AMD620 kernel:
> g_vfs_done():ufs/USB80GBDisk[WRITE(offset=54583558144, length=16384)]error
> = 5 Nov 27 12:07:33 AMD620 kernel:
> g_vfs_done():ufs/USB80GBDisk[WRITE(offset=54524133376, length=16384)]error
> = 5 Nov 27 12:07:33 AMD620 kernel:
> g_vfs_done():ufs/USB80GBDisk[WRITE(offset=54583541760, length=16384)]error
> = 5 Nov 27 12:07:36 AMD620 kernel:
> g_vfs_done():ufs/USB80GBDisk[WRITE(offset=54583541760, length=16384)]error
> = 5 Nov 27 12:07:36 AMD620 kernel:
> g_vfs_done():ufs/USB80GBDisk[WRITE(offset=54583558144, length=16384)]error
> = 5 Nov 27 12:07:36 AMD620 kernel:
> g_vfs_done():ufs/USB80GBDisk[WRITE(offset=54524133376, length=16384)]error
> = 5 Nov 27 12:07:38 AMD620 kernel:
> g_vfs_done():ufs/USB80GBDisk[WRITE(offset=54583541760, length=16384)]error
> = 5 Nov 27 12:07:38 AMD620 kernel:
> g_vfs_done():ufs/USB80GBDisk[WRITE(offset=54583558144, length=16384)]error
> = 5 Nov 27 12:07:38 AMD620 kernel:
> g_vfs_done():ufs/USB80GBDisk[WRITE(offset=54524133376, length=16384)]error
> = 5 Nov 27 12:07:40 AMD620 kernel:
> g_vfs_done():ufs/USB80GBDisk[WRITE(offset=54583541760, length=16384)]error
> = 5 Nov 27 12:07:40 AMD620 kernel:
> g_vfs_done():ufs/USB80GBDisk[WRITE(offset=54583558144, length=16384)]error
> = 5 Nov 27 12:07:40 AMD620 kernel:
> g_vfs_done():ufs/USB80GBDisk[WRITE(offset=54524133376, length=16384)]error
> = 5
> 
> After I noticed the problems I interrupted the backup program and tried to
> un-mount the disk. umount was successful but never returned to the prompt.
> 
> A check with mount in a second console showed that the disk was not mounted
> anymore.
> 
> I was then interrupted. When I came back to the machine, the machine was
> totally frozen. umount did still not return to the prompt. A telnet from a
> second machine did not work. No lights were blinking anymore.
> 
> I restarted the machine afterwards.
> 
> Nov 27 12:27:13 AMD620 syslogd: kernel boot file is /boot/kernel/kernel
> Nov 27 12:27:13 AMD620 kernel: Copyright (c) 1992-2011 The FreeBSD Project.
> Nov 27 12:27:13 AMD620 kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988,
> 1989, 1991, 1992, 1993, 1994 Nov 27 12:27:13 AMD620 kernel: The Regents of
> the University of California. All rights reserved. Nov 27 12:27:13 AMD620
> kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Nov
> 27 12:27:13 AMD620 kernel: FreeBSD 8.2-STABLE #18: Sat Nov 26 10:22:39 WIT
> 2011

Hi,

> I know that this is not really helpful information for locating an error.
> You might just take it as an hint that the USB stack is not perfect yet.

Thanks for your report.
The problem is most likely not in the USB stack. Try looking at GEOM (know to 
freeze while probing devices) or the file system code.

--HPS
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to