Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2006 08:36:19 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: Problem with 16-in-1 card reader
Message-ID:  <20060312213619.GB969@k7.mavetju>
In-Reply-To: <20060312213331.GA969@k7.mavetju>
References:  <4412C7D2.5080809@FreeBSD.org> <20060311124931.62eee647@frankie.konav201.local> <44136C01.4030400@FreeBSD.org> <20060312213331.GA969@k7.mavetju>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 13, 2006 at 08:33:31AM +1100, Edwin Groothuis wrote:
> On Sun, Mar 12, 2006 at 01:32:01AM +0100, Alex Dupre wrote:
> > Robert Marella wrote:
> > > This problem has been discussed many times on the lists. In order to
> > > update devfs you can use:
> > > 
> > > cat /dev/null > /dev/daX
> > > 
> > > I seem to remember another method using dd.
> > > 
> > > I hope this helps.
> > 
> > The 'cat' way works, thanks. Perhaps we should add this info somewhere
> > in a man page.
> 
> Hmm... doesn't seem to do the trick with my Samsung SGH-D600 phone:

Don't forget these lines:

Mar 13 08:30:42 k7 kernel: umass0: Samsung SAMSUNG Mobile USB Modem, rev 2.00/1.00, addr 2
Mar 13 08:30:43 k7 kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Mar 13 08:30:43 k7 kernel: da0: <  > Removable Direct Access SCSI-0 device 
Mar 13 08:30:43 k7 kernel: da0: 1.000MB/s transfers
Mar 13 08:30:43 k7 kernel: da0: Attempt to query device size failed: NOT READY, Medium not present

> Mar 13 08:31:56 k7 kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
> Mar 13 08:31:56 k7 kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
> Mar 13 08:31:56 k7 kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition
> Mar 13 08:31:56 k7 kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
> Mar 13 08:31:56 k7 kernel: (da0:umass-sim0:0:0:0): Medium not present
> Mar 13 08:31:56 k7 kernel: (da0:umass-sim0:0:0:0): Unretryable error
> Mar 13 08:31:56 k7 kernel: Opened disk da0 -> 6
> 
> [/home/edwin] root@k7>cat /dev/null > /dev/da0 
> su: /dev/da0: Device not configured

Edwin
-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/



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