OpenSUSE Hardware :: Uses The /dev/freefall To Provide Hard Disk Head Crash Protection?
Jun 26, 2010
I wish openSUSE to supply a daemon, which uses the /dev/freefall to provide hard disk head crash protection. There is an example application in usr/src/linux/Documentation/hwmon/hpfall.c which might be used as a base for such a daemon and the needed modules (hp_accel and lis3lv02d) are present in kernel 2.6.31.
View 3 Replies
ADVERTISEMENT
Jun 2, 2010
I created a thread about a problem a I had with my hard disk clicking whilst idle little while ago and I may now have stumbled upon a possible solution. The strange thing with the problem is that Ubuntu/Kubuntu didn't cause this problem but Opensuse 11.2 does.
I installed Fedora 13 to have a glimpse of what all the fuss was about and noticed that I had the same problem (hard disk clicking whilst idle ~ every 20 secs or so). Now there's a wiki on this subject and a few bug reports: [url]
Problem Description
Some ATA harddrives perform very frequent head unloads under Linux significantly shortening their lifespans. Root cause
The inactivity timer for head unload is configured too aggressively either via ATA APM (Advanced Power Management) feature or other non-standard means. Such aggressive settings are very fragile to changes in IO pattern and under Linux many such drives unload their heads only to re-load them shortly. Note that this relentless unloading/reloading cycle can also be triggered under Windows by installing programs which can alter the IO pattern (e.g. certain vaccine programs which runs in background).
Now two of the listed models with this problem are basically identical to my model (Dell Inspiron 1520) and basically share the same hardware: Dell Vostro 1500 and XPS 1520.
The workaround listed is to:
set APM to 254
Furthermore, there is a script: Storage-Fixup which can also be downloaded from opensuse software search. Indeed there is a report of this for a Vostro 1500: Gmane Loom
The report suggests looking at: Disk Power Management - openSUSE which lists a method to create a configuration file to management disk power management:
My question is whether I could download the storage-fixup rpm [url] has a description of it and it can be found: Software.openSUSE.org) and install it to (hopefully) solve the issue or should I follow the method given in: Disk Power Management - openSUSE
to set APM to 254:
Code:
View 3 Replies
View Related
Apr 13, 2011
I am trying to use my accelerometer as joystick just so I know it's working, but I can't figure out how. To my surprise, Ubuntu doesn't seem to have a nice GTK joystick testing dialog. There used to be hdaps-gl out there for testing, but this was for very old models and is only released for Ubuntu 8.04 afaik. So I tried installing neverball for that purpose. It doesn't have options for joystick selection, but apparently it works out of the box with a Thinkpad T61.
Code:
sudo aptitude install tp-smapi-dkms
sudo modprobe tp_smapi
sudo modprobe hdaps
dmesg:
Code:
[720.093604] thinkpad_ec: thinkpad_ec 0.40 loaded.
[720.095348] tp_smapi 0.40 loading...
[720.095786] tp_smapi successfully loaded (smapi_port=0xb2).
[842.860767] thinkpad_ec: thinkpad_ec_read_row: failed waiting for data: (0x13:0x00)->0xfffffff0
[842.860773] hdaps init failed at: hdaps_get_ec_mode failed
[842.861321] input: ThinkPad HDAPS joystick emulation as /devices/virtual/input/input10
[842.861696] input: ThinkPad HDAPS accelerometer data as /devices/virtual/input/input11
[842.861883] hdaps: driver successfully loaded.
lsmod:
Code:
Module Size Used by
hdaps 10772 0
tp_smapi 26194 0
thinkpad_ec 5842 2 hdaps,tp_smapi
(..)
I've also tried to use jstest with
/dev/input/js[0|1]
and
/devices/virtual/input/input10/[many things]
But the former gives static 0 for both axes and the second gives error messages (you're probably not supposed to use it like this).
View 3 Replies
View Related
Feb 24, 2010
is there any performance tool for linux? i av found phoronix but it cant provide testing on memory, CPU, hard disk utilization and also stress test.
View 4 Replies
View Related
May 15, 2010
I have a problem in Ubuntu 10.04. The bug is well know which makes the hard disk head to park often (2-3 times per minute) that's dangerous for the drive in the long term and annoying for me (click-click-click).I found out the "ugly-fix" for old Ubuntu version which was :hdparm -B 254 /dev/sda instead of 128. It works. The problem is that it doesn't remains (when restart/standby/ac connection-disconnection).I found a script well known too :Code:1) make a file named "99-hdd-spin-fix.sh". The important thing is starting with "99".2) make sure the file contains the following 2 lines (fix it if you have PATA HDD):
#!/bin/sh
hdparm -B 255 /dev/sda
3) copy this file to 3 locations:
[code]....
View 4 Replies
View Related
Apr 10, 2009
the HDAPS system in IBM / Lenovo Thinkpad laptops is, in principle, supported by the hdaps kernel module. However, it is actually *useless* since it refuses to load on current models which report Lenovo as vendor ID instead of IBM The alternative is the tp_smapi module which, according to ThinkWiki, is strongly recommended anyway. It is not available in any CentOS repo, so I tried to compile it. However, I get the following error:
/root/devel/tp_smapi-0.40/tp_smapi.c: In function tp_suspend:
/root/devel/tp_smapi-0.40/tp_smapi.c:1241: error: PM_EVENT_HIBERNATE undeclared (first use in this function)
/root/devel/tp_smapi-0.40/tp_smapi.c:1241: error: (Each undeclared identifier is reported only once
/root/devel/tp_smapi-0.40/tp_smapi.c:1241: error: for each function it appears in.)
make[3]: *** [/root/devel/tp_smapi-0.40/tp_smapi.o] Error 1
make[2]: *** [_module_/root/devel/tp_smapi-0.40] Error 2
[Code]..
View 12 Replies
View Related
Feb 1, 2011
We have had a hardisk crash in our RAID1 webhosting server running CentOS5 and Plesk. We first realized something was wrong when our main site didn't load but showed MySQL errors. We then found out that the system was in read-only state. Something that also happened the day before yesterday, but we could fix with a FSCK. Then the system worked well til around 18 hours later when it crashed with the same sympoms. So, we rebooted the server and wanted to do a filesystem check again. But the HDD wouldnt even load. It was gone. Unfortunatelly it was not realized that the second disk in the system was also not working any more for some time now. Fortunatelly we had our main site backed up externally though. So we could re-install a fresh box and mounted the two drives to the system. We checked the harddisk. One is practically empty (the older one), the other has almost only files in 'lost + found' but these are all "numbered", no real filenames or so.
View 2 Replies
View Related
Apr 8, 2009
after installing Ubuntu on one WD 500 GB hard disk and after making mistake and pasting wrong code into Terminal:my OTHER WD 500 GB hard disk that was also in the system (I guess it was "hd1") - died.The problem must be, I guess, I typed wrong code: "hd1,1" instead of "hd0,0".)500 GB (NTFS) of data was on that other (non-Ubuntu) hard disk, and now I can not access it anymore. While booting, system gives "Hard Disk Error" warning and stops.One again: I installed Ubuntu od one hard disk and at the end of instalation I pasted wrong code for GRUB, giving address of another hard disk. Now that other hard disk has error and will not work
View 3 Replies
View Related
Sep 23, 2010
I want to copy hard disk have ubuntu 10.04 and ext4 to 1000 hard disk for new 1000
View 2 Replies
View Related
Jul 7, 2009
I have a sata 320 gb with mandriva linux 2009.1 on it.And it is what curently atached to my cpu. It is shown as 'sda' in the partition table.I also have another 40gb hard disk with windows xp installed on it.It is shown as 'hda' in the partition table . Now what i want to do is attach this 40gb hard disk to my pc and configure grub on my 320gb hard disk('sda') so as to boot windows xp(which is residing on the second hard disk,'hda')Can anyone tell me if what im doing is feasible or not? If it is feasible,can anyone suggest me how to get it working. I know i just need to add 2-3 lines to my grub.conf, but dont know what exactly i need to write.
View 3 Replies
View Related
May 14, 2010
I had a dual boot (windows 7 + debian), both of them installed in my internal hard disk, with the GRUB in it. I have recently installed a second linux distro (mint), but I put it in an external hard disk. Now the GRUB allows me to boot any of the three operating systems, but I need the external disk to do it. It seems that after the mint installation the GRUB is now working from the external disk (if the external disk is not connected, the machine does not boot.) �Is there a way to change the location of the GRUB, to the internal hard disk of my laptop?
View 2 Replies
View Related
Jun 21, 2011
I was using Terminal and browsing a directory in my home folder. My "home" directory is located on "/dev/sdb1". When in Terminal I typed "ls" in one of my directories and the output was garbage. The output didn't show the files in the directory. I think it said something like, "input/output error". Unfortunately, I didn't write the exact error down. Instead I rebooted.The hard disk with the problem is:
Code:
$ sudo hdparm -I /dev/sdb
[sudo] password for brian:
[code]...
View 6 Replies
View Related
Jul 26, 2011
We are using thin client systems in our work environment. There is a central ubuntu server and by using thin clients, we are connecting to our homes. The problem is when I try to install an application, it reported me that I had 200 mb of disk space. But when i try to look from console, I see that /home folder has over 250 gb s of disk space. Even when I try to look from baobab, Disk Usage Analyzer in Ubuntu, i see that my home file system is full.
So what's the reason that I am receiving different kinds of disk space report from different sources? Our system admin here told me that some applications foolishly try to see the physical devices on the thin client and got confused as a result. Is this true?
View 1 Replies
View Related
Apr 6, 2010
If you have a hard disk image (including partition table, multiple partitions,...), is it possible to let Linux treat it as a regular hard disk?
By "regular hard disk" I mean I would like to have the image show up as, for instance, /dev/hdx and its partitions as /dev/hdx1,...
(I know I can mount one of the partitions in the image using "mount -o loop,offset=x ..." but I don't really like this option.)
View 2 Replies
View Related
Aug 31, 2011
I've recently added a new hard disk and due to mother board controllers this new hard disk is known as sda.Before that my boot partition was /dev/sda3 and know this changed to sdb3.Whenever grub menu appears and I choose opensuse,it can't find /dev/sda3 .It seems that I should edit menu.lst or change boot loader parameter.something like root (hd1,2).But I don't how I can do this with opensuse boot loader.Though I could do this with CentOS easily.
View 7 Replies
View Related
Jul 17, 2010
I set my storage hard disk to auto-mount at start up, using fstab options, but sometimes (when my computer has been on for awhile) the storage hard disk will unmount by itself....any ideas?I have already tried replacing the hard disk multiple times, and I switched from Kubuntu to Opensuse. (partially because of this).This occurance only appears after I have had the hard disk for awhile. (Western Digital Caviar Green series)
I do plan to upgrade to OpenSuse 11.3.
View 9 Replies
View Related
Aug 30, 2010
Recently I was working on something on my windows partition (on the same HD as opensuse), and all the sudden windows stopped working and I got some bad sectors on my HD.
Now, my opensuse installation is on the same HD as windows, but I need to get rid of that HD soon because it's starting to get worse (and I think opensuse is randomly crashing because of it).
Is there any way to transfer my opensuse parititon/os to another hard drive?
View 9 Replies
View Related
Apr 24, 2011
Acer Travelmate laptop, 1.3GHz Pentium M, 12MB Ram.pensuse 11.4 (upgraded from 11.3)Vanilla install, not running anything special, always startup and shutdown from scratch, never sleepFor several minutes after KDE appears and I open an app (any app, e.g. Chrome) the hard disk is going nuts. WTF is it doing and how do I stop it? Also some programs take years to start, e.g. digicam took TEN minutes the other day even after waiting a while after booting, the disk thrashing the whole time. But in 11.3 it started almost instantly.
View 9 Replies
View Related
Jan 5, 2011
I'm running SUSE 11.3 on hard disk (a). I have a second hard disk (b) which has FreeBSD loaded and would like to copy all that info onto (a), then reformat (b).
How do I mount hard disk (b) to achieve my objective?
View 6 Replies
View Related
Jul 5, 2011
I've used YAST to include a USB hard disk in the export list and mount it to remote machine with NFS. That worked first time the disk was mounted. On the next reboot I saw that the USB disk was mounted again in "/media" but in new folder and its previous folder existed but empty and was mounted with nfs. It seems that first nfs comes mounted in booting time and then USB gets mounted after logging as a user. USB hard disk finds its folder occupied and automatically creates new folder in "/media". What should be done in order to USB hard disk and nfs to be mounted in the same point automatically on the boot ? The second question : When I mount an external disk to be accessible remotely with nfs I get refused to unmount the disk as a USB device. Is it possible to be unmounted as a USB disk done without unmounting it as a nfs as well?
View 5 Replies
View Related
Nov 1, 2009
I have installed on my computer Fedora 10, now I want to install opensuse and create a dual boot environment and I want to have them both on the same hard disk. how to carry on with this task?
View 7 Replies
View Related
Jun 10, 2010
I looking for advice on what is the best way for backup on opensuse in case hard disk failure .
I have opensuse as server running samba (with some share folder) and mysql and web service. for mysql backup I run cron job using automysqlbackup script that run 3 times a day (morning , lunch , evening).
in case of hard disk failure, I wish to be put every things on new hard disk in 1or 2 hours.
do I have to use disk imaging software ?
View 3 Replies
View Related
Apr 13, 2010
I got a new hard drive yesterday, a Seagate Baracuda XT 2000GB SATA3. I'm running it on the SATA3 jmicron chip in AHCI mode, and Opensuse 11.2 is having issues with using this hard drive properly.
The hard drive seems to take a while to detect, for one thing. After it is detected however, I am told I have no hard disk that can be used for installation. The exact message is:
"No hard disks were found for the installation. Please check your hardware!"
After that, I'm told the partitioner can't read the partitions on my hard drive properly:
"The partitioning on disk /dev/sda is not readable by the partitioning tool parted, which is used to change the partition table.
You can use the partitions on disk /dev/sda as they are. You can format them and assign mount points to them, but you cannot add, edit, resize, or rename partitions from that disk with this tool."
I partitioned the new hard drive under Windows, with a partitioning tool called Partition Wizard (free / home version). I'm not sure if hard drives partitioned with this tool are not recognized by OpenSuse's partitioner, or if it's something else.
I already installed Windows on this hard drive, so I can't delete all the partitions I have so far and start all over again (I'm keeping my system a dual-boot between Windows 7 and openSuse 11.2). What can I do so OpenSuse will see and modify my partitions? If it is the partitioning not being understood, is there some sort of tool that can make the partition table of the hard disk linux-readable? (a free Windows program that could do such).
View 9 Replies
View Related
Apr 20, 2010
[System: OpenSuSE 11.0 , kernel 2.6.25.20-0.7-pae, athlon i386] I've recently begun to have problems with my Sata Hitachi disk drive; it stores all my documents and music etc. I've only begun to notice these problems when I installed the Ex2 IFS driver for Windows so I could access my data (read only) from my Windows disk. However, the problem is not exclusive to Windows; Windows blue-screens when the Sata link goes down, but SuSE attempts to re-establish a link. Here's the dmesg output (only includes output relevant to disk activity). I've also run smartcl on the disk, here's the output. Note that the output says that it's soft-resetting the link. Any clues as to what this may infer? Also, the system has sometimes failed to boot as it sees the disk as corrupted and asks me to perform a fsck, which rewrites the journal (although this may or may not have been down to the aforementioned driver possibly not playing nice with the journal, even though it is in read only mode) and restores the disk to working order.
I can have periods of days where the disk works perfectly fine on both Windows and SusE, and random events where the disk link goes down for some reason. The situation seems to be remedied by me physically pushing the Sata cable into the disk and motherboard., and returns when the computer tower is subject to a considerable vibration from a slight knock et cetera. On the other hand, this may be a power problem, some ends on a rail are faulty on my PSU and will only give power to my optical drives if they are positioned in a certain angle, although this is probably less likely as the disks don't go offline, just the link.
View 4 Replies
View Related
Jul 21, 2010
I set my bios with AHCI, and plugged my external e-sata disk but i can't see it so far in dolphin . i also changed the policykit.conf to the following :
cat /etc/PolicyKit/PolicyKit.conf
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">
[code]....
How come the partition table is not read ?
View 7 Replies
View Related
Mar 13, 2010
I have a qzd notebook with an rdc 1010 flash drive. I have downloaded the new 11.2 version of opensuse and it now recognises it, so thanks for that.Only trouble is I get an error message of:Failure occured during following action: Setting disk label of disk /dev/sda to msdos. System error code was: -1013A little history is required in orderI had windows xp installed to begin with (fool me ay!) and when I installed the adobe flash player 10, it always crashed my internet explorer, so i managed to find flash player 7, which I installed and it worked (kind of; it played videos, but stallingly; although this might be to do with the fact that i was also upgrading to IE 8 at the same time) but after a few seconds of it playing a video the computer reset and the message DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER appears. It seems that this flash player was some kind of virus and I worry that it may of damaged the flash drive, or is it that it's just messed up the MBR.
View 1 Replies
View Related
Sep 19, 2010
I am new to linux. I am trying to install suse 11.3 on my desktop which has following configuration:
Intel Pentium 4 processor 32 bit
512 mb RAM
80 gb Hard Disk
I made a 20gb partition on my hard disk and formatted it as fat32 for installing suselinux on it. I changed my boot priority and booted the system from the bootable dvd. The problems are:
1). Message is displayed telling to ensure that cd 1 is in the drive. I cannot make out what this means when the dvd is already in the drive. If I press ok same message keeps coming if I press back following occurs.
2). The installation starts and asks for language and keyboard type. Then it asks me to specify the hard disk and then a message is displayed that it cannot find repository.
View 4 Replies
View Related
Jun 30, 2010
mount from the old hdd to the new hdd i mean (Hard disk)
View 2 Replies
View Related
Jan 3, 2011
I've set up my parents' machine running KDE 4.5 and want them to use the Gwenview import function from the Device Manager popup when transferring image files off photo CDs or other inserted media, since it's the easiest method for them to comprehend. All the files on their photo discs are r-xr-xr-x by default so they're unable to rotate or modify the images once copied to their hard disk. I want to set one specific images folder on their system to automatically force any files placed there to be rw-r--r-- (and rw-rw-r-- for another shared images directory elsewhere). It seems that umask won't work since that can only take permissions away and not add them, and I'd rather avoid getting into messy ACL configuration. Is there a way to achieve this either generically or some hidden config in Gwenview itself? I use KRename myself for such tasks but this is way too complex for my parents to understand so I need something that works without them having to do anything.
View 9 Replies
View Related
Apr 8, 2011
I have tried to plan my backup plans. As I want it simple I am gonna use only tar.gz combination of some files that are important. My question then is the following:
-I have a 100GB hard disk with 20Gb free space only. I would like to backup the rest 80Gb to an external hard disk. I run my scripts which end up saving a 75Gb(due to compression) to my external hard disk.
-->Then comes the times to try to see the contents of my archive (just to make sure that I can recover what is inside the 75GB disk file). Do you know if tar.gz needs to decompress the 75Gb file in some /tmp space in my hard disk for showing me the contents inside it? In that case it will not be easy at all to ever look at what is inside it in my hard disk, as there is no 80Gb of free space in my hard disk (20gb only).
View 9 Replies
View Related