Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel panic after usb storage disconnect
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
FNX
n00b
n00b


Joined: 03 Nov 2004
Posts: 40
Location: Istanbul

PostPosted: Sun Jul 20, 2014 1:32 pm    Post subject: kernel panic after usb storage disconnect Reply with quote

Hi,

I have a Gentoo box to serve various applications, like serviio, dovecot, webcam, ftp etc. for home usage. It is an old laptop with a new battery that lasts for a long time as the screen is almost never switched on. As I also use it as a file server, I have a high capacity storage hard drive connected via USB. The drive has its own power source.

This setup sometimes suffers from power cuts. The laptop is expected to last for long hours with no electricity, but the disconnection of the USB drive causes it to panic, of which I couldn't resolve.

Any ideas?
_________________
Fnx
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54785
Location: 56N 3W

PostPosted: Sun Jul 20, 2014 1:44 pm    Post subject: Reply with quote

FNX,

Powering down a mounted filesystem without unmounting it first is always a problem.
CAn you mount the USB drive read only unless you actually need to write to it?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
FNX
n00b
n00b


Joined: 03 Nov 2004
Posts: 40
Location: Istanbul

PostPosted: Sun Jul 20, 2014 10:58 pm    Post subject: Reply with quote

Well, I guess that would save my disc from getting corrupt, but the real problem is that the disconnection of this specific device by any means (mounted or not) causes the same failure (kernel panic).

Nevertheless I'll test my system as you have suggested.

Thank you for your advice.
_________________
Fnx
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum