Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2009 02:18:07 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Mike Dobbs <spam@mdobbs.com>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: Hal segfaults when USB drive is connected
Message-ID:  <1232263087.51752.21.camel@shumai.marcuscom.com>
In-Reply-To: <8c49723d0901170811m2c102be2t40ea20860427c3a9@mail.gmail.com>
References:  <20090117053730.8710D1CC0B@ptavv.es.net> <op.unwrwfjk9aq2h7@localhost> <8c49723d0901170811m2c102be2t40ea20860427c3a9@mail.gmail.com>

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

--=-RmDqAFm+xBAQtwDW5FoY
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2009-01-17 at 10:11 -0600, Mike Dobbs wrote:
>  BINGO!
>=20
> 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=3D/dev/da0 if=3D/dev/zero bs=3D1024 count=3D1024.  WARNIN=
G
> 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!
>=20
> I think the mtools is probably the better way to go if you don't want
> to definatly have to recover your data.
>=20
> Thanks for your help guys.
>=20
> 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.

This is due to the way hal uses GEOM to get disk information.  It was
easy to code, but suboptimal.  Fixing it is on my todo list.

Joe

>=20
> 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:
>        =20
>                          From: Joe Marcus Clarke
>                         <marcus@marcuscom.com>
>                         Date: Fri, 16 Jan 2009 23:36:04 -0500
>                         Sender: owner-freebsd-gnome@freebsd.org
>                        =20
>                         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?
>                        =20
>                         You might try:
>                        =20
>                         tunefs -L dos /dev/da0
>                        =20
>                         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.
>                 =20
>                 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".
>         =20
>        =20
>          The mtools might be what you are looking for. If you have big
>         FAT32, see here:
>        =20
>         http://lists.freebsd.org/pipermail/freebsd-gnome/2008-August/0208=
18.html
>        =20
>         Make sure to back up your data before you try it. ;-)
>        =20
>         Cheers,
>         Mezz
>        =20
>        =20
>         --=20
>         mezz7@cox.net  -  mezz@FreeBSD.org
>         FreeBSD GNOME Team
>         http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
>=20
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-RmDqAFm+xBAQtwDW5FoY
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEABECAAYFAkly160ACgkQb2iPiv4Uz4fXCQCghnN9K34pFEUikYg4rzH0++5M
4YQAoKPwx89SQIH8/96aGKuq8AgTzo2T
=bdHf
-----END PGP SIGNATURE-----

--=-RmDqAFm+xBAQtwDW5FoY--




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