Re: PROBLEM:Machine hangs on pulling out USB cd writer on laptop.

From: Alejandro Bonilla
Date: Mon Jul 25 2005 - 22:03:38 EST


Puneet Vyas wrote:

Alejandro Bonilla wrote:

Puneet Vyas wrote:


PS : I am not even sure if I am "allowed" to pull out the writer like this. Am I supposed to "stop" the device first or something?

You are supoused to unmount the volume. Try it. umount /dev/cdrom ? Make sure that is it not in use, then unload it.
New versions of gnome and so have the option to right click the loaded device and then to unmount.

It should never hang. Does it hang with the floppy when removed?


1. When I did umount /dev/cdrom it says - "umount: /dev/hdc is not mounted (according to mtab)"
2. Yes

Thanks,
Puneet


You are trying to unmount a /dev/hdc? hdc is an IDE Hard Drive, you have a CD burner, I would doubt that it is /de/hdc.
type mount and that will tell you what is mounted, try umount /dev/cdrom. You need the hardware unloaded.

Try /etc/init.d/hotplug stop and unplugg the hardware. See if that hangs the PC.

Figure out on how to unload the module, then you will need to get us more info here for this problem to be looked...

anyone has more suggestions?

.Alejandro

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/