Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
Plugged in an NTFS single-partition IBM hard disk in /dev/hdc
dmesg gives the following:
Code:
hdc: IBM-DTLA-305020, ATA DISK drive
blk: queue c03ce444, I/O limit 4095Mb (mask 0xffffffff) hdc:end_request: I/O error, dev 16:00 (hdc), sector 0
end_request: I/O error, dev 16:00 (hdc), sector 2
end_request: I/O error, dev 16:00 (hdc), sector 4
end_request: I/O error, dev 16:00 (hdc), sector 6
end_request: I/O error, dev 16:00 (hdc), sector 0
end_request: I/O error, dev 16:00 (hdc), sector 2
end_request: I/O error, dev 16:00 (hdc), sector 4
end_request: I/O error, dev 16:00 (hdc), sector 6
unable to read partition table
Using kernel 2.4.20-28 with no NTFS support. But should the kernel at least be able to read that there's a device attached in /dev/hdc?
Any clue?
Cheers,
Frankie
It does detect the drive or else you wouldn't see "hdc: IBM-DTLA-305020, ATA DISK drive" there. Without support for NTFS, you can't read from it because even the writing is inperfected at this point. However, to read from it the kernel needs NTFS support, but Linux does detect the drive so I'm not sure what the problem is here other than the kernel not having support for NTFS.
The kernel finally sees the drive.... the originial setting of the machine is that hdc is the cd-rom so in grub.conf, there's a statement
kernel /vmlinuz-2.6.4 ro root=LABEL=/ hdc=ide-scsi
and of coz the kernel can't do any I/O with my IDE drive since the HD is not an ATAPI device like my cd-rom.... now the HD is stuck with hdd any fdisk can see the partition.
however, I use my kernel 2.6.4 which compiled with NTFS support, and it's still unable to mount an NTFS partition..... what's the name of the module for NTFS support? (But as I remember, I compiled NTFS support as a built-in function)
Remember to use the 'ro' flag in /etc/fstab in order to denote that it is read-only. That might work, but I'm not sure since when I had a drive that was NTFS in my system it was read just fine.
Well... Still a bit stoned after coming back from Dublin... actually the kernel 2.6.4 works fine with my NTFS partition but it appears to be read-only.... I can do a chmod of the file in the NTFS partition but I can't rm it.. so as mkdir... perhaps chmod does not write to the partition although it's a bit wierd.
thanks guys.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.