HAL crashes when partitioning a USB stick

You think you have found a bug? Let us know about it.
Post Reply
GJones
Donor
Posts: 300
Joined: 22. Jul 2011, 23:27

HAL crashes when partitioning a USB stick

Post by GJones »

... Even if the USB stick is not mounted. Run cfdisk, partition it, save the changes, and suddenly the volume manager and power applet stop working, and htop shows that HAL is not running.

In older versions of HAL, the behavior was for the volume manager to show the old partition layout until the stick was removed and plugged in again - obviously not the best outcome, but much more reasonable than just crashing.

Again, FWIW, this applies only to partitioning the USB drive when it is not mounted. Partitioning while it was mounted would be pretty much guaranteed to cause problems, but IMO partitioning an unmounted USB drive should not crash anything.
GJones
Donor
Posts: 300
Joined: 22. Jul 2011, 23:27

Re: HAL crashes when partitioning a USB stick

Post by GJones »

More HAL hijinks: remove a CD without unmounting it first, and file managers will report it as still existing (and be unable to access it). The faux CD will persist until you log out.
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: HAL crashes when partitioning a USB stick

Post by laprjns »

Can't confirm, CDs unmount on disk ejection here without problems.
Rich
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: HAL crashes when partitioning a USB stick

Post by thenktor »

GJones wrote:... Even if the USB stick is not mounted. Run cfdisk, partition it, save the changes, and suddenly the volume manager and power applet stop working, and htop shows that HAL is not running.
Better try gparted for this.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: HAL crashes when partitioning a USB stick

Post by Shador »

thenktor wrote:
GJones wrote:... Even if the USB stick is not mounted. Run cfdisk, partition it, save the changes, and suddenly the volume manager and power applet stop working, and htop shows that HAL is not running.
Better try gparted for this.
I think I've seen this recently too. Did some partitioning (don't know anymore whether I did something special). Removable devices disappeared in Thunar and gaprted wouldn't start anymore. On the console it told me that it assumed hal weren't running and really it was down so I had to restart. Dunno whether pat is aware of such an issue.
Image
User avatar
jpg153
Donor
Posts: 473
Joined: 23. Oct 2009, 15:43
Location: Krefeld/NRW/BRD/EU

Re: HAL crashes when partitioning a USB stick

Post by jpg153 »

Is there a link to this problem?
http://www.salixos.org/forum/viewtopic.php?f=16&t=3079

It reads a bit the same, although I am not sure about HAL crash.
Regards Gruß
jpg
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: HAL crashes when partitioning a USB stick

Post by Shador »

Possibly, but as of now I can't tell whether it's really the same problem.
Image
Post Reply