Hardware :: How To Reclaim Device Name After Malfunction
Aug 14, 2009
Sometimes when I hotplug a SATA device to/from say /dev/sdb, it malfunctions/times out, and cannot be detected. Then when I plug in another SATA device, it gets detected as /dev/sdc even though /dev/sdb is no longer there. How can I reclaim /dev/sdb in this case?
I am using Mepis 8 on my PC and also have a laptop with windows XP installed. I had the laptop connected to the printer (HP Deskjet 930c) on my PC through the Internet Printer Protocol but it suddenly refused to work. I accessed localhost:631 through my broswer on my PC and there was a error message "permission denied on /dev/lp0". Now my printer refuses to work on my PC also. I have tried deleting the printer and rebooting and reinstalling it but the KDE print manager lets me get right to the final stage before informing me it cannot create the printer. All I was trying to find the URL to install on my laptop.
I have logical partitions on my drive numbered /dev/sda5 through /dev/sda14.I want to reclaim unused space from one of the partitions in the middle /dev/sda7. First I intend to resize /dev/sda7 by leaving the beginning of the partition as is and shrinking the end to create some unallocated space between /dev/sda7 and /dev/sda8. Then I would like to create a new logical partition in this unallocated space. My question is what will be the device name of the newly created logical partition? Will it be /dev/sda15 (I hope)? Or will it be /dev/sda8 and all partitions after this be renamed?
The GParted manual states that if a partition is deleted, all of the following partitions will be renamed, but it doesn't say anything specifically about renaming partitions after adding a new partition in the middle of a partition table.
I'm using a program somewhere that is leaking memory. I think it is handbrake but I can't be certain. Even after terminating the programs (I have three instances ripping DVD's simultaneously) there is still a lot of memory not accounted for. (memory used is a gig or so more than the total used by the processes listed)Is there any way I can reclaim that memory please? Some form of memory flushing system? I've searched but I can't find anything.
I started getting this warning that my Home partition disk space was running low, so I ran a disk space analyzer which only told me that I was using about 650 MB. Since I had 5 GB allocated to the home partition, I knew that something was not right. After manually going through all of the primary subdirectories on home, I found the culprit, namely an unexecuted game installation directory taking up about 4.5 GB. So I deleted the files, but then I didn't get my disk space back. I rebooted, no change. I ran this program called sfill, part of Secure Delete, which is supposed to wipe the directory 38 times and totally clean everything off. Still, no change. Any ideas how to reclaim my disk space?
After using wubi, it's taken around 80GB off of an NTFS drive. The drive is now in an external USB enclosure, how do I reclaim the space? Windows XP's partition software, Partition Magic, and even Mount Manager on my laptop running Leeenux all see the drive as being smaller than it started out, the partitions created by wubi are invisible to them.
I have Ubuntu 9.10 and 10.10 dual booted on the system, I needed data from the 9.10 available to move to the 10.10. How do I reclaim the 82gig of disk space the 9.10 is on? the 9.10 is FUBAR and I can't get into it.
After I finished the upgrade, everything is running super slow (I'm actually writing this on my Vista). One thing that I did different during the installation process was keeping my grub's menu.lst file intact so it's the same as it was before (still showing 9.04 on the title). Should I completely reformat my ubuntu partition and install 9.10 from scratch??? (I have a feeling I do)
I wanted, on my laptop, to clone a 60GB HDD into a 500GB HDD using clonezilla (Parted Magic live cd). So I used the option disk2image, create the image file to an USB Drive. Everything was fine, I get my image file on that ext HDD. After I change the HDD on my laptop for the brand new 500GB but I think I make a mistake when restoring the image file using image2disk instead of image2partition. Now my 500gb is recognised as a 60GB hdd on gparted. How can I reclaim original HDD space on my 500GB?
Today I experienced an weird functioning of rpm on ubuntu. In general, to install any software on ubuntu we use "apt-get" command,but, the problem with it is that it will install the latest version of that software present in the repository. For installing the older versions of the particular software, "apt-get" is not useful. Today I wanted to install the java 1.4 version on my box. I downloaded the rpm.bin file from the oracle Sun site. let us assume that the name of the downloaded file is java1.4.rpm.bin. To convert the file into an rpm format I gave the following command ./java1.4.rpm.bin. This command showed a list of terms and conditions and after accepting, it generated the rpm file java1.4.rpm.
Then I gave the command rpm -ivh java1.4.rpm. After executing this command, I expected java to be installed but it gave me an error like "rpm: please use alien to install rpm packages on Debian, if you are really sure use --force-debian switch. See README.Debian for more details." When I do the following steps same-to-same on redhat and when I gave the command ./java1.4.rpm.bin, java got installed automatically and environmental variable was created. I do not know why ubuntu is not supporting the rpm packages. If we want to use "apt-get" then we have to see the alternative way of installing the older versions of any software.
I have a single PC that has two hard disks in it. One is 250GB running Debian linux; the other 1TB running windows. I was switching between the two by going to the BIOS and changing the order of the hard disks to boot from. Both lived happily together in peaceful co-existance. Until....
Lately, I haven't been using Linux, so I decided to convert the 250GB to windows. So I put in the windows install CD, and it all started working fine, but when it came down to setting up a partition, Windows only recognized 130GB (out of the 250GB). I got confused so I decided to re-install linux. Linux recognizes the full 250GB; it recognized that there is a second hard disk running a different OS so the grub gave the option to boot from windows. So after a couple of reboots from both drives I decided to go ahead and install windows on the 250GB. Well again, windows only recognized 130GB, but this time, windows showed me another hard disk again with 130GB capacity. Apparently I stupid enough to proceed so now both hard disks - the 250GB and the 1TB - have capacity of 130GB each. And this is where I'm stuck.
I have tried fdisk, I have tried debug, but for some reason, windows can only recognize 130GB out of the entire disks; linux on the other hand recognizes the full capacity. I also used the seagate disk diagnostic tool (seatools for MS DOS) and it found no errors on either hard disk.
How can I reclaim the full capacity under windows?
How to recover from a failed OpenSUSE install. The situation is that I have a striped RAID set up on two 500Gb drives running Windows. I wanted a dual boot setup, and I tried to install OpenSUSE but it failed with a Grub error 18. This, I understand, is caused by my BIOS not being able to access the part of the drive with the /boot on. Because I have two 500 Gb disks, the OpenSUSE /boot partition is beyond the BIOS's addressing range.
The recommended solution seems to be to put the /boot at the start of the HDD - but then I'd need to move Windows after it somewhere. But I don't know how to do that and it seems a risky, longwinded business. I've given up on the OpenSUSE install. My problem is that the failed install has grabbed about half of the diskspace for its purposes. Question therefore is: how can I reclaim that space for Windows?
I was looking to get glx to work with direct rendering. So i installed the nvidia drivers from the openSuSe Sight. I installed because /var/log/Xorg.O.log Said that the Nvidia card was not loaded. Long story short looks like the card is loaded but X windows... I guess GLX is not running and neither is Opengl. I still have output to the monitor. here is
I've compiled HandBrake 0.9.4 from source as well as installed it with success(--enable-Gtk). However, many buttons (among them the 'Start' and the 'Pause' ones) do not seem to work at all-they are colored grey and I cannot click on them.Probably,it's a gui malfunction.
I installed Kubuntu 9.04 recently which I thought was jaunty, but my apt sources list had Karmic Koala as the repos. Updater told me 9.1 was available so I used updater to upgrade my system. Normally I'd use apt-get dist-upgrade. Since then, apt-get / amarok and updater won't access the all the repos. Apt-get stalls at ip 32.1.3.136.
Here is my sources list. deb http://au.archive.ubuntu.com/ubuntu/ karmic main restricted deb-src http://au.archive.ubuntu.com/ubuntu/ karmic main restricted deb http://au.archive.ubuntu.com/ubuntu/ karmic-updates main restricted deb-src http://au.archive.ubuntu.com/ubuntu/ karmic-updates main restricted deb http://au.archive.ubuntu.com/ubuntu/ karmic universe deb-src http://au.archive.ubuntu.com/ubuntu/ karmic universe deb http://au.archive.ubuntu.com/ubuntu/ karmic-updates universe deb-src http://au.archive.ubuntu.com/ubuntu/ karmic-updates universe deb http://au.archive.ubuntu.com/ubuntu/ karmic multiverse deb-src http://au.archive.ubuntu.com/ubuntu/ karmic multiverse deb http://au.archive.ubuntu.com/ubuntu/ karmic-updates multiverse deb-src http://au.archive.ubuntu.com/ubuntu/ karmic-updates multiverse deb http://archive.canonical.com/ubuntu karmic partner deb-src http://archive.canonical.com/ubuntu karmic partner deb http://security.ubuntu.com/ubuntu karmic-security main restricted deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted deb http://security.ubuntu.com/ubuntu karmic-security universe deb-src http://security.ubuntu.com/ubuntu karmic-security universe deb http://security.ubuntu.com/ubuntu karmic-security multiverse deb-src http://security.ubuntu.com/ubuntu karmic-security multiverse deb http://au.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse deb-src http://au.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
Interestingly, I thought I had installed the Medibuntu repos as well?
I would like to ask something. Today my network Internet access suddenly slowed down, after inspecting the problem the hard way we disconnected one of our servers(ip=190, debian squeeze) from network and the network was alright again. When we plugged it back in, following symptoms were observed: computer 190 pinged gateway app. each 6th time. gateway(debian lenny) pinged computer 190 app each 6th time whole network Internet access was slowed down, local network functioned just fine
While pinging themselves, i ran iptraf on icmp packets on gateway and I saw what i thought was ping attack, lots of echo request coming from external address to computer 190. Blocking that address in iptables didn't help but restarting the gateway did, network Internet conenction is at full speed and gateway and computer 190 ping just fine.
My question is, what steps should I undertake in similar case (it's second time in 2 months) - to debug similar problems. Is it even possible for ping DOS to this kind of damage?
I am running Ubuntu on an Acer 5742 laptop and running XP on Oracle Virtual box and plugged in externally (keyboard, mouse etc...) I have lost ability on both the laptop numeric keyboard (only the numeric keys) and the external keyboard when plugged in. This happened while I was working in Virtual box and running Windows XP.
When the laptop is on its own the numeric keyboard doesn't work (only numeric keys) either. I have toyed with the number lock and I have un-installed and re-installed both"keyboard input methods" and "input method switcher" within Ubuntu software centre to with no change. Not that I bought the damn computer for the numeric keyboard but it should work.
My hard drive's file system has become totally mucked up. I had a few partitions on it, 0 is XP, 1 is vista, 2 is Debian, and 3 is the data. I know that it's this hard drive because when I disconnect it, any liveCD runs ok. After failing to boot puppy linux (liveCD), xp (bootmgr not found), debian (ended in kernal panic), I tried GPARTED. The xp and vista partitions are listed as existing, but they show a problem flag, gparted says they are corrupt, and they are not listed as having a start, end, or any data. However, the main data partition does list a start, end, size, and data space used.
I need to either format those or get into something that will let me access the data partition. Gparted either hangs on boot or doesn't recognise the mouse so I can't reformat the bad partitions. Are there any programs that will ignore the bad partitions and let me access the good ones? Any time I go into a linux distro it either ends up in kernel panic or the mouse doesn't respond. It's hard to explain. With GPARTED, sometimes it hangs at the third line, sometimes it fails at "mounting hard drives", and sometimes it makes it to the GUI but I can't use the mouse. Debian alternates between these as well.
If I keep trying it looks like I can boot, and it will recognise the partitions, but I can't use the mouse. I'm kind of familar with bash, is there a way to start up the terminal with no gui? If I could get a terminal up with a hotkey in the GUI or just start up from a terminal (no gui), I could type mv dev/sda3/ or whatnot. If I could get into a terminal of gparted I could format the bad parts of the drive to see if that would work. Otherwise it looks like I'm going to have to zero out the drive with the WD diag tool. The data isn't life or death, but it would save me some time.
i have an acer aspire one with a 250 gb hdd the hdd is currently partitioned into two parts part 1 - 85 or so gb, has windows installed part 2 - the rest which is currently unallocated. i am trying to install ubuntu so that each has its own section and will dual boot once in the ubuntu installation window, how do i set up the partition to achieve this? i am trying to install ubuntu 10.10 netbook
I recently installed Ubuntu 10.10 Desktop Edition on my HP Compaq Presario V3018TU Note Book PC.It is working fine. The problem is with Power Meter.It shows battery Charged in Icon, though it is discharging. Also after clicking on it, it should show % battery power. But it only shows (estimating).Is there any way to fix this ?It was working fine with Ubuntu 10.04.
Recently, I created a device sc0 through device mapper. The divice could be found in /dev/mapper/sc0. My problem is that the device doesn't exist in /dev/partitions which will block my following test.BTW, I found dm-0 in /dev/partitions. Is it the same as /dev/mapper/sc0? But the device /dev/dm-0 doesn't exist!
I am working on an embedded system, which is an USB MSC device that supports some vendor specific scsi commands. I am using FC10 laptop as USB host for testing, and it runs some small apps based on sg3. All has been well for ~ a week. The FC10 laptop is able to communicate with the device and retrieve data. Suddenly, starting from today, the laptop is not able to properly detect the device. When plugged-in, the MSC device is detected as input device (I thought). This is observed from "dmesg" output and changes in "/dev/input/".The device under development is running at full speed. When I connect to winXP, no problem. A windows file explorer pops up, showing the content of the drive.Also, the FC10 has no problem with other USB flash drive (high speed).
I rebooted my server and out of nowhere the RAID5 array won't assemble. I've tried everything I could think of to reassemble the thing. I fear that the array is ruined, but I can't imagine how. Here are various bits of information: The simplest failure (with and without partition numbers, which have not been needed in the past):
Code:
richard@nas:~$ sudo mdadm --assemble --verbose /dev/md0 /dev/sd[bcd] mdadm: looking for devices for /dev/md0 mdadm: cannot open device /dev/sdb: Device or resource busy
For those that use Virtualbox on their slackware host and have a windows (xp) guest running. I have tried various settings for sound (Alsa, PulseAudio), the AC97 drivers are installed in the Windows xp guest os, but there is no sound and there is an unknown audio device (in the windows device manager). If I remove the AC97 drivers and use the soundblaster16 drivers in the Vbox settings there is no unknown sound device, but there's still no sound. why I can't get sound working?
[ 3635.194162] usb 3-1: new full speed USB device using uhci_hcd and address 2 [ 3635.338159] usb 3-1: New USB device found, idVendor=066f, idProduct=4200 [ 3635.338165] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
here we have an older digicam (Jenoptik/Exakta Model "DC 22", if someone might want to know) that can be switched between some "PC Camera mode" and "Mass storage mode".Unfortunately, if attached to USB, it is always recognized as
Since May 12,2009. Our system lifekeeper has the error log "lifekeeper error: DEVICE FAILURE on SCSI device '/dev/add'", but it ran normally. Until last week, it failover to the standby server. The disk still running, the error still come out.
I am currently using fedora 11 kernel 2.6.29 version, i wanted to write device driver for usb to detect my own device. My project is radio with computer. My fm radio get connected to usb port so i need to write h/w interfacing program.