Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Feb 2006 15:50:57 +0300
From:      "Andrew N. Below" <defan@zenon.net>
To:        <freebsd-stable@freebsd.org>
Subject:   umass device
Message-ID:  <17ea01c62be5$23fc24b0$970da8c0@jam.zenon.net>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi.
I have strange problem with 6.0-STABLE and USB flash
drive (Transcend JetFlash 1Gb). My work bsd-box is online
and powered 24/7 and almost every day I plug in my USB drive,
mount and work with it. But sometimes, after 3-4 days of
uptime, USB just freezes: I can see non-blinking led indicator
on flash drive when I plug it in, but I can see it via `camcontrol devlist`.

However, I can't see /dev/da0 and can't do anything with flash drive
(camcontrol rescan, eject/load give no results). Some times
system just reboots after removing flash drive from USB port _and_
typing `camcontrol devlist` or `camcontrol reset all`.

BTW, how should I remove flash drive properly? Is it necessary
to do `camcontrol eject x:x:x` before removing? I always did this
earlier, but for test purposes I skip this command for last
several days, and I see no difference.

There are no other USB devices (like mouse, keyboard, etc.)

My kernel config is attached.

PS: I have cvsup'ed (with RELENG_6 cvs tag) yesterday and now
`uname -r` shows "6.1-PRERELEASE" instead of "6.0-STABLE".
Is it ok? Are they same?

--
Andrew

[-- Attachment #2 --]
machine		i386
cpu		I686_CPU
ident		DEFBSD

#makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols

#options 	SCHED_ULE		# ULE scheduler
options 	SCHED_4BSD		# 4BSD scheduler
options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
#options 	INET6			# IPv6 communications protocols
options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
options 	MD_ROOT			# MD is a potential root device
options 	NFSCLIENT		# Network Filesystem Client
options 	NFSSERVER		# Network Filesystem Server
options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
options 	MSDOSFS			# MSDOS Filesystem
options 	CD9660			# ISO 9660 Filesystem
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	GEOM_GPT		# GUID Partition Tables.
options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
options 	KTRACE			# ktrace(1) support
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	ADAPTIVE_GIANT		# Giant mutex is adaptive.

device		apic			# I/O APIC

# ipfilter
options		IPFILTER		# ipfilter support
options		IPFILTER_LOG		# ipfilter logging

# Bus support.
device		eisa
device		pci

# Floppy drives
device		fdc

# Sound
device		sound
device		snd_ich
device		snd_es137x

# ATA and ATAPI devices
device		ata
device		atadisk		# ATA disk drives
device		atapicd		# ATAPI CDROM drives
device		atapifd		# ATAPI floppy drives
device		atapicam
options 	ATA_STATIC_ID	# Static device numbering

# SCSI peripherals
device		scbus		# SCSI bus (required for SCSI)
device		ch		# SCSI media changers
device		da		# Direct Access (disks)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)
device		ses		# SCSI Environmental Services (and SAF-TE)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse

device		vga		# VGA video card driver
device		splash		# Splash screen and screen saver support
device		sc		# default system console driver
device		agp		# support several AGP chipsets

# Power management support (see NOTES for more options)
#device		apm
# Add suspend/resume support for the i8254.
device		pmtimer

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports

device		em		# Intel PRO/1000 adapter Gigabit Ethernet Card
device		ixgb		# Intel PRO/10GbE Ethernet Card
device		miibus		# MII bus support
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
device		rl		# RealTek 8129/8139

# Pseudo devices.
device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
device		ppp		# Kernel PPP
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"

device		bpf		# Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		ehci		# EHCI PCI->USB interface (USB 2.0)
device		usb		# USB Bus (required)
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17ea01c62be5$23fc24b0$970da8c0>