DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have had a working setup of Debian etch running for the past month. I shutdown my system last Friday only to boot up today and find that my secondary drive SATA 320GB is not able to mount, because its already in use by the system? I go into maintenance mode and check the /etc/fstab, which hasnt changed. I am not able to manually mount the drive as its still already in use, but check using lsof and fuser, which doesnt report anything in use on the partition. I finally try to run fdisk, just to make sure the drive is accessible, and my partitions are still showing. Nothing in the kern.log or syslog show any strange errors about the drive.
So, I shutdown and move the drive to another controller, and use another cable, and bring the system back up to the same message. I even tried to switch out the drives, but to no avail.
I have already searched on google and the forums here, but unfortunately the fix that is shown doesnt appear to be my issue as I do not have EVMS installed on my system.
I've never run in to something like this, I'm sorry to say.
If you look inside /etc/mtab, after your system's booted up, do you see your drive there?
Could you please post the fstab entry for that drive (and any of its partitions) and your /etc/mtab, please?
The peculiar thing is that I have started with a completely new drive, and I am able to run fdisk to create a new partition, but I am not able to run any sort of filesystem utilities on it, such as mke2fs, e2fsck. I still get the the message that the resource or disk is busy.
I have put in a completely new drive, without a filesystem on it. I can only partition the drive using fdisk. If I try to put a filesystem on it, I get this message:
home:~# mke2fs -j /dev/sdb1
mke2fs 1.40-WIP (14-Nov-2006)
/dev/sdb1 is apparently in use by the system; will not make a filesystem here!
Only fdisk can access it.
home:~# fdisk -l /dev/sdb
Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 38913 312568641 83 Linux
I am not able to mount the drive since I cannot even put a filesystem on it. It seems like a service or something in the kernel is blocking irq resources or locking them on the secondary drive.
localhost kernel: ide0: I/O resource 0x1F0-0x1F7 not free.
localhost kernel: ide0: ports already in use, skipping probe
localhost kernel: ide1: I/O resource 0x170-0x177 not free.
localhost kernel: ide1: ports already in use, skipping probe
I have the motherboard set to PATA/SATA compatibility mode and the drives have been accessible, without any changes..so I dont believe that the BIOS is an issue.
I have also turned off acpi and even have the same resouce busy issue in single user mode.
At this point it seems like an unmanaged IRQ issue in the OS.
Have you tried any kernel parameters for irq routing? As in pci=biosirq or pci=usepirqmask . More in /usr/src/linux/Documentation/kernel-parameters.txt or where ever your kernel source is.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.