From owner-freebsd-gnome@FreeBSD.ORG Fri May 11 15:10:13 2012 Return-Path: Delivered-To: gnome@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 168F2106566B for ; Fri, 11 May 2012 15:10:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EA5B48FC14 for ; Fri, 11 May 2012 15:10:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4BFACA3009727 for ; Fri, 11 May 2012 15:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4BFACXw009726; Fri, 11 May 2012 15:10:12 GMT (envelope-from gnats) Date: Fri, 11 May 2012 15:10:12 GMT Message-Id: <201205111510.q4BFACXw009726@freefall.freebsd.org> To: gnome@FreeBSD.org From: Jeremy Messenger Cc: Subject: Re: ports/165318: sysutils/hal: Western Digital Passport no longer "removable" X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jeremy Messenger List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2012 15:10:13 -0000 The following reply was made to PR ports/165318; it has been noted by GNATS. From: Jeremy Messenger To: Mel Flynn Cc: mezz@freebsd.org, gnome@freebsd.org, bug-followup@freebsd.org Subject: Re: ports/165318: sysutils/hal: Western Digital Passport no longer "removable" Date: Fri, 11 May 2012 10:05:24 -0500 On Thu, May 10, 2012 at 2:00 PM, Mel Flynn wrote: > On 22-4-2012 18:03, Jeremy Messenger wrote: >> On Sat, Mar 17, 2012 at 1:40 PM, Mel Flynn wrote: >>> On 3/17/2012 18:43, mezz@FreeBSD.org wrote: >>>> Synopsis: sysutils/hal: Western Digital Passport no longer "removable" >>>> >>>> State-Changed-From-To: open->feedback >>>> State-Changed-By: mezz >>>> State-Changed-When: Sat Mar 17 17:43:16 UTC 2012 >>>> State-Changed-Why: >>>> Have you follow this yet?: http://www.freebsd.org/gnome/docs/halfaq.html#q3 >>> >>> Yes. HalFaq was followed on installation of the desktop and at that time >>> the disk was correctly identified as removable. >>> >>> Now, when we try to mount the disk the policykit error refers to >>> mount-fixed permission, not mount-removable. The users have >>> mount-removable permissions (and now mount-fixed as a work around). >>> The lshal output provided with the report, clearly shows that removable >>> is not set. I've done tracing in hald source to see where it gets it's >>> info from and it points to cam, but I'm unable to figure out how to get >>> that info from camcontrol(8). If you know a way how to do that, I'll add >>> it to the report. >> >> Read in the manpage and the 'camcontrol inquiry ' will show >> you if it's removable. >> >> # camcontrol inquiry cd0 >> pass2: Removable CD-ROM SCSI-0 device >> pass2: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) > > Ok, so it says "Fixed": > > % sudo camcontrol inquiry 2:0:1 > pass2: Fixed Enclosure Services SCSI-4 device > pass2: Serial Number 575837314337304132303839 > pass2: 40.000MB/s transfers > > % sudo camcontrol inquiry da0 > pass1: Fixed Direct Access SCSI-4 device > pass1: Serial Number 575837314337304132303839 > pass1: 40.000MB/s transfers > > Looks that hal does the right thing, yet something in cam changed to > make it believe this is not removable. Yep, it's not a Hal bug. I will change PR's category from ports to kern (or usb?) and change synopsis from 'sysutils/hal: Western ...' to 'CAM/USB: Western ...'. I have no idea which bug is in either CAM or USB or both. You might want to boot in a good kernel or live CD/DVD (maybe FreeBSD 8.x? or 9.0 vs 9.1?) that when your external HDD used to have reported removable correct to give the dmesg verbose (while HDD is plugged in), camcontrol inquiry * and etc in PR. To allow someone to compare between version of FreeBSD. If you prefer to close this PR and file a fresh one to avoid confuse for anyone when read in this PR. Let me know. Cheers, Mezz > -- > Mel -- mezz.freebsd@gmail.com - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org