Date: Sat, 17 Jan 2009 10:11:45 -0600 From: Mike Dobbs <spam@mdobbs.com> To: Jeremy Messenger <mezz7@cox.net> Cc: freebsd-gnome@freebsd.org Subject: Re: Hal segfaults when USB drive is connected Message-ID: <8c49723d0901170811m2c102be2t40ea20860427c3a9@mail.gmail.com> In-Reply-To: <op.unwrwfjk9aq2h7@localhost> References: <20090117053730.8710D1CC0B@ptavv.es.net> <op.unwrwfjk9aq2h7@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <mezz7@cox.net> wrote: > On Fri, 16 Jan 2009 23:37:30 -0600, Kevin Oberman <oberman@es.net> wrote: > > From: Joe Marcus Clarke <marcus@marcuscom.com> >>> 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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8c49723d0901170811m2c102be2t40ea20860427c3a9>