halt upon usb removal

2007-12-10 Thread Nuno Magalhães
Greetz,

Prior to figuring out what was wrong with the deb64 netinst (needed
-noacpi) i was using M$ XP Pro x64 without any major issues. The only
annoying one was that sometimes, after unmounting a usb-drive, once
i'd remove it from the PC it would shutdown. Only sometimes. I thought
it was a Redmond issue and eventually got Etch up and running
dualbooted. At the moment i'm using gnome and it just did the same
thing: i unmounted the drive and once i removed the usb-stick gnome
shutdown (halt), as if i had chosed to shut it down.

So, if it's not OS-related... Could it be drivers?
My board is an Asus M2NPV-VM, any suggestions?
Could if be something in the board itself?

-- 
Fica bem, porta-te mal.
Be well, misbehave.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: halt upon usb removal

2007-12-10 Thread C Wakefield
Hi Nuno.

need more info and we don't know your level of expertise.

what was mounted on the usb stick prior to unmounting.
what was the command you issued to unmount.
are you saying that the kernel did a proper shutdown or did you have a 
kernel seize or crash where the machine goes directly to off as if you 
pushed the reset.
did the hardware shutdown or did it just reboot?
Did you check through the logs in /var - (this will only probably help if your 
machine did some kind of a proper shutdown, in other words, if the kernel 
didn't crash)

I have that very same board, and while I did have issues earlier on with 2.6, 
they seem to be resolved now.  however, I don't use a usb stick.

Chris W.




OnDecember 10, 2007 11:33:56 am Nuno Magalhães wrote:
 Greetz,

 Prior to figuring out what was wrong with the deb64 netinst (needed
 -noacpi) i was using M$ XP Pro x64 without any major issues. The only
 annoying one was that sometimes, after unmounting a usb-drive, once
 i'd remove it from the PC it would shutdown. Only sometimes. I thought
 it was a Redmond issue and eventually got Etch up and running
 dualbooted. At the moment i'm using gnome and it just did the same
 thing: i unmounted the drive and once i removed the usb-stick gnome
 shutdown (halt), as if i had chosed to shut it down.

 So, if it's not OS-related... Could it be drivers?
 My board is an Asus M2NPV-VM, any suggestions?
 Could if be something in the board itself?

 --
 Fica bem, porta-te mal.
 Be well, misbehave.



Re: halt upon usb removal

2007-12-10 Thread Alex Malinovich
On Mon, 2007-12-10 at 19:33 +, Nuno Magalhães wrote:
 Greetz,
 
 Prior to figuring out what was wrong with the deb64 netinst (needed
 -noacpi) i was using M$ XP Pro x64 without any major issues. The only
 annoying one was that sometimes, after unmounting a usb-drive, once
 i'd remove it from the PC it would shutdown. Only sometimes. I thought
 it was a Redmond issue and eventually got Etch up and running
 dualbooted. At the moment i'm using gnome and it just did the same
 thing: i unmounted the drive and once i removed the usb-stick gnome
 shutdown (halt), as if i had chosed to shut it down.

This depends on whether the system is shutting down properly or just
dying. If the system just spontaneously shuts down/reboots, then there's
probably an electrical problem with the board and it needs to be
replaced.

However, it sounds from what you've said that the PC is actually
shutting down gracefully. In this case, and since it's happening in both
Windows and Debian, my bet would be that something in the BIOS is
sending an ACPI shutdown signal when a USB device is removed. I would
start by looking in the BIOS for any USB or ACPI related configuration.
While I've never seen the option in a BIOS for this, there's certainly
no reason that there couldn't be a setting that says something like
Send ACPI shutdown signal on device removal or something along those
lines.

-- 
Alex Malinovich
[EMAIL PROTECTED]
(503) 929-2149



signature.asc
Description: This is a digitally signed message part