Everytime I attempt to empty my Trash in Haiku I end up in kernel debugging land. It’s not like I have any system files on there, just a boatload of unwanted apps, setup files (zip), drivers, and possibly some Winxp stuff I deleted using Haiku. I don’t want to be left with tons of garbage on the hard disk.
Require more information. Are you mounting multiple partitions in Haiku? Are any of those FAT32, NTFS or Linux? How many and what file systems on your partitions?
Only keep the boot volume mounted - unmount the others and empty the trash. Does that work?
check for file corruption; run checkbfs /mounted_partition_name from terminal.
It’s checkfs -c /mounted_partition_name now.
Looks like I need to change my hard drive. When I attempted to wipe it last night with DBan, it stopped at 90.35% with an error, stating it had ‘failed’. Then, this morning when I tried to reinstall Haiku, instead turning the entire drive into the BFS file system instead of using GParted to make a partition beforehand, it ended up in Kernal Debugging Land.
Yes, sounds like drive issue (bad sector). Drive manufacturers provide software to test the drive for you. If you know who made your drive, go to their site and get the software to test it. The test software may allow you to mark the sector as bad and still use the drive but be less reliable than replacing.
You should also check the data cable too to make sure it is secure and of good quality.
[quote=agreimann]Yes–I know his drive might be able to re-map–but I was mostly asking if he could run tools to do this manually in the Linux shell–it’s tedious, and requires a bit of experience with computer science to do it. Still–this wouldn’t fix anything. I’ve tried going into this method–the disk still ended up failing later on.
@Paspie: If you have SMART built-in, run that and if both tests pass, your disk is good. Otherwise, replace it immediately after backing up your data![/quote]
Don’t worry about the hard drive, it had nothing important on it. I’ve already swapped it for a 4GB one, which happens to be working fine. I don’t want to use up too many CD-R’s as it’s not often I have the chance to obtain some.
Yes–I know his drive might be able to re-map–but I was mostly asking if he could run tools to do this manually in the Linux shell–it’s tedious, and requires a bit of experience with computer science to do it. Still–this wouldn’t fix anything. I’ve tried going into this method–the disk still ended up failing later on.
@Paspie: If you have SMART built-in, run that and if both tests pass, your disk is good. Otherwise, replace it immediately after backing up your data!
The hard drive is from Maxtor, from about the year 2000, it is of about 18GB of capacity. It was heavily used until 2003, when my parents bought a new PC. The hard drive lived on in it’s original machine which I used rarely with Windows 98, but in January 2007 the original PSU went bust. In 2010 I opened the case to pull it out among other old PC stuff (CD/DVD, Floppy drive, Dial-up modem, fan). Then I was given a PC similar to the one it was in (slightly newer) and I stuck it in that. The machine did have the original hard drive and it is wiped completely. When I change the sound card and hard drive I will change to that.
OK–now I understand what you were saying when you said “it was a nightmare to empty the trash” from the other thread.
Yes–it is apparent that your hard disk needs replacement–do you hear any sounds (common audible examples: 3 clicks, respin; retract-strike sound) accompanying any crashes that happen on the hard drive or a consistently lit HDD activity LED on your chassis combined with a slow operating rate? Another indicator is also S.M.A.R.T. (Self-Monitoring, Analysis, and Reporting Technology) indicators–does your make and model have this technology on-board? Lastly, but importantly, can your HDD remap bad sectors–you can get CLI utilities in Linux that allow you to do this if not.
Ok but before changing out drive you may still want to check it with diagnostic software.
Maxtor was bought by Seagate. Use SeaTools to test.
Run short test first. Check log. Then long test. Only when both tests pass is the drive OK.
Modern disks silently auto-remap. The drive controller microcode detects that a write could not be verified, writes to a spare sector instead (a fraction of the drive capacity reserved at manufacturing time and not included in the listed usable capacity) and adds the affected sector to a lookaside table. No special tools are needed, but you can see how often this has happened with SMART if its available.
A ten year old consumer PC hard disk is beyond the end of its lifespan, and should be replaced if you see problems like this.