Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2006 14:58:20 -0500 (EST)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/105539: newly added disk devices don't have slice-devices created
Message-ID:  <200611141958.kAEJwKbg065766@symbion.zaytman.com>
Resent-Message-ID: <200611142010.kAEKA2i3094346@freefall.freebsd.org>

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

>Number:         105539
>Category:       kern
>Synopsis:       newly added disk devices don't have slice-devices created
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 14 20:10:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Mikhail Teterin
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
Virtual Estates, Inc.
>Environment:
System: FreeBSD symbion.zaytman.com 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Thu Oct 19 16:48:49 EDT 2006 root@symbion.zaytman.com:/usr/obj/ibm/src/sys/SYMBION i386

	I've seen this for a few years now -- ever since starting to
	use devfs, actually.

>Description:

	An external flash-card reader is connected to the PC via USB:

	% usbdevs 
	addr 1: UHCI root hub, Intel
	addr 1: UHCI root hub, Intel
	 addr 2: product 0x0140, vendor 0x0424
	  addr 4: ImageMate CompactFlash USB, SanDisk Corporation
	  addr 3: officejet 7100 series, Hewlett-Packard

	When a flash-card (with FAT filesystem) is inserted, it is not,
	unfortunately, immediately mountable, because /dev/da0s1 is
	missing -- only the /dev/da0 is present:

	% ls -l /dev/da0*
	crw-r-----  1 root  operator    0,  96 Nov  7 22:03 /dev/da0

>How-To-Repeat:
>Fix:

	Trying to mount /dev/da0 directly will fail, but after such
	an attempt, the /dev/da0s1 appears and can be mounted:

	% ls -l /dev/da0*
	crw-r-----  1 root  operator    0,  96 Nov  7 22:03 /dev/da0
	crw-r-----  1 root  operator    0,  96 Nov  7 22:03 /dev/da0s1

	% mount -t msdosfs /dev/da0s1 /sandisk
	%

	This is a work-around, but true fix is needed...
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611141958.kAEJwKbg065766>