|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Why Does FreeBSD reboot if USB Drive Is Removed before unmount
I was on FreeBSD and I put in my standard usb drive and after I was finished with it. I accidently Removed it with out unmounting it.. Well my system rebooted and I was wondering why does it do this???? And is there anyway to prevent it from doing this...
|
|
|||
Likely crashed the kernel, nobody can help you.. because you didn't provide enough information.
What release of FreeBSD are you using? Can you perhaps post a dmesg? |
|
||||
Quote:
When you remove mounted device it will CRASH, always. The only sollution is to use amd(8).
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
|||
Thanks
Thanks I was wondering what was causing that problem.I will try and get that amd up and running
|
|
||||
Quote:
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE) |
|
||||
I just encountered this behavior a couple of days ago too.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE) |
|
||||
This is an interesting issue.
For many years, it was considered to be unavoidable: After all, if an attached hard disk went awol mid-session, it seemed like panicing was the only sane thing for the OS to do. Then, with removable USB devices, this started happening more often, but still most developers considered a panic to be the correct response, as it always had been in the past. One of the developers of PC-BSD wondered why this should be, went digging for the actual cause(s), and found only relatively simple, fixable bugs in the pathways (seldom used in fixed servers!) that only occurred when a filesystem device was removed. So now the FreeBSD developers have made similar fixes, I see. Nice to know! But still, umount your filesystems before removing devices: Kernel Panics were only half the story - filesystem corruption is still as much of an issue as it ever was. Still, I would like to be able to put mount/umount code in devfs.rules, and have it just work(TM)!
__________________
The only dumb question is a question not asked. The only dumb answer is an answer not given. |
|
|||
That's right, the only other commonly removable SCSI devices were CD-ROM's, fortunately they had technology that locked the bay and prevented spontaneous removal.
Still.. I'm sure it's not only the FreeBSD developers fault, a lot of devices have quirks/bugs themselves. If anything, it should force you to stick with the time tested umount(8) command. |
|
||||
Does this new USB stack already works in 8-CURRENT I did not had time to check that out?
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
which Flash Drive I must buy for FreeBSD and OpenBSD | mfaridi | General Hardware | 18 | 22nd October 2008 07:43 PM |
FreeBSD 7.0 hangs with USB disk drive. | map7 | FreeBSD General | 7 | 9th August 2008 03:02 AM |
moving freebsd install to new drive | carpman | FreeBSD General | 7 | 7th August 2008 06:09 PM |
Boot freeBSD from USB drive? | s25 | FreeBSD General | 9 | 17th June 2008 07:47 AM |
FreeBSD 7.0 hard drive problems. | Errinok | FreeBSD Installation and Upgrading | 8 | 13th June 2008 03:24 PM |