From owner-freebsd-gnome@FreeBSD.ORG Sat Jan 17 16:11:46 2009 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22DC91065672 for ; Sat, 17 Jan 2009 16:11:46 +0000 (UTC) (envelope-from mike.j.dobbs@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id E5ACC8FC13 for ; Sat, 17 Jan 2009 16:11:45 +0000 (UTC) (envelope-from mike.j.dobbs@gmail.com) Received: by wa-out-1112.google.com with SMTP id m34so1126303wag.27 for ; Sat, 17 Jan 2009 08:11:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=VSmXv662H1U1Uj/fxfqYMK4tKRzk5aJbqOtTzDNdURA=; b=AKVGPgM7O7RoUrgZRyVfy0JvKrcvq+6tKpdKyCqNe0JGUSpnEM05HuMFAkR+ckUoDd zGZE+c+ixnRqZ9bZHkY7gnTuXG82ifDmvCWnid+CsDeEphWZ55ICT5i36ihyy6LX9zBU nIQCxM8WClB+/QNtlzqkSggFaTIZTVSoQhJMY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=arz5lnGwjrt7m9gJqJQkumkc9ZSGxugby24ATZzy3ekys6lSwyjAsl//UqOJ7rSxwq rpMItNT+PAEL624tQx0bs71errkRWc5VC6XHUrGxyjeTYaC+atdLmcmLo/OksUoDBI2D ydKYbcwm20KJr2xtW+JNCg0ToNo39NBptxBXY= MIME-Version: 1.0 Sender: mike.j.dobbs@gmail.com Received: by 10.114.36.4 with SMTP id j4mr1539859waj.119.1232208705620; Sat, 17 Jan 2009 08:11:45 -0800 (PST) In-Reply-To: References: <20090117053730.8710D1CC0B@ptavv.es.net> Date: Sat, 17 Jan 2009 10:11:45 -0600 X-Google-Sender-Auth: c79472e4c3d2b4ab Message-ID: <8c49723d0901170811m2c102be2t40ea20860427c3a9@mail.gmail.com> From: Mike Dobbs To: Jeremy Messenger Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-gnome@freebsd.org Subject: Re: Hal segfaults when USB drive is connected X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jan 2009 16:11:46 -0000 BINGO! I was actually just about to email back my problem and solution. It appears that for whatever reason /dev/da0 had a fat volume name? Maybe it was formated fat once? I could change the label with newfs_msdos /dev/da0, but couldn't figure out how to remove it. After clearing the mbr it still didn't work. Finally I just zeroed out the disk with dd of=/dev/da0 if=/dev/zero bs=1024 count=1024. WARNING this will damage data on your drive and you will have to reformat! After that, dmesg reported no labels. I resetup the partition and reformated it, and violla no problems! I think the mtools is probably the better way to go if you don't want to definatly have to recover your data. Thanks for your help guys. By the way, what's the deal with no spaces in the label anyway. Linux had no problem with this? Is there a bug filed or fix? I couldn't find any report of the bug myself. I did see a reference somewhere that it was actually a GEOM problem, but I couldn't find anything. I only had a problem with HAL on Freebsd so far. On Sat, Jan 17, 2009 at 9:56 AM, Jeremy Messenger wrote: > On Fri, 16 Jan 2009 23:37:30 -0600, Kevin Oberman wrote: > > From: Joe Marcus Clarke >>> Date: Fri, 16 Jan 2009 23:36:04 -0500 >>> Sender: owner-freebsd-gnome@freebsd.org >>> >>> On Fri, 2009-01-16 at 20:52 -0600, Mike Dobbs wrote: >>> > I'm starting to think that I didn't have any glabel. That just added >>> > another label. I tried glabel clear, but msdosfs/ . just keeps coming >>> > back? >>> >>> You might try: >>> >>> tunefs -L dos /dev/da0 >>> >>> I'm not sure if there's a better way to rename a DOS volume from >>> FreeBSD. Of course, if you have a Windows machine, you can just change >>> the name there. >>> >> >> I'm afraid that tunefs does not work on non-ufs file systems. You need >> to plug it into a Windows box and rename it there. I had the same >> problem with a disk that came named "WD PASSPORT". >> > > The mtools might be what you are looking for. If you have big FAT32, see > here: > > http://lists.freebsd.org/pipermail/freebsd-gnome/2008-August/020818.html > > Make sure to back up your data before you try it. ;-) > > Cheers, > Mezz > > > -- > mezz7@cox.net - mezz@FreeBSD.org > FreeBSD GNOME Team > http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org >