Can't mount ntfs partition after recompiling the kernel
I use Slackware 14.0 with native kernel. Then I compiled and installed the new one: 3.7.0. But after recompiling, one of NTFS partitions has disappeared:
/dev/sdc1 While 2 other NTFS partitions are visible and mounted correctly: /dev/sda1 /dev/sdb1 When loading the old kernel, the partition is visible and mounted. So, I did something wrong with the kernel. But I included NTFS support, otherwise 2 other partition will be invisible. What can be wrong? |
Is the entire drive (/dev/sdc) missing, or just the partition (/dev/sdc1)?
|
Just the partition.
|
That is a bit odd, as it indicates a problem with parsing the partition table.
If /dev/sdc has a GPT partition table or has been converted to a "Dynamic Disc" in Windows, things like this can happen. However, both these partitioning schemes always contain at least one regular MBR partition, so I would expect to see /dev/sdc1 anyway. What's the output of fdisk -l /dev/sdc when you're running the new kernel? |
root@pc:/# fdisk -l /dev/sdc
Code:
Disk /dev/sdc: 500.1 GB, 500107862016 bytes Code:
root@pc:/dev# ls -l ./sdc* |
That looks like a perfectly ordinary MBR partition, and there's no good reason I can think of for udev not to create a device node.
Can you mount the partition if you create the device node manually? (mknod /dev/sdc1 b 8 33 & chown root:disk /dev/sdc1) |
You may want to look at the kernel messages.
What does "sudo file -s /dev/sdc1" say. Does running "sudo kpartx -v" add the device node. |
Quote:
Code:
root@pc:/usr/src/linux# dmesg | grep sdc ---------- Post added 12-18-12 at 03:49 PM ---------- Quote:
|
Quote:
This could be a problem with the SATA controller driver. Could you post the output of lspci -v? |
RDB stands for either Receive Data Buffer or Rigid Disk Block. It may be assuming it is an Amiga disk before continuing trying to check for an MBR on the disk.
However IO errors could indicate a flakey drive. Boot up with the old kernel and check the messages again. NTFS is not a good choice for Linux. If you are not dual-booting or using an external drive and sharing with a Windows machine, then back up the files and restore to a Native linux file system. The ntfs repair tool only fixes simple errors and marks the drive as needing checking when you boot to windows. |
Quote:
Code:
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 IDE Controller (prog-if 80 [Master]) Quote:
Quote:
Code:
root@pc:/# dmesg | grep sdc Code:
root@pc:/# dmesg | grep sda |
Folks, all of a sudden it started to work. I have only 1 clue: some hardware problems. But why did it work on windows and older kernel?
|
All times are GMT -5. The time now is 04:30 PM. |