LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-19-2004, 02:15 PM   #1
csvke
Member
 
Registered: Oct 2003
Location: Hong Kong
Distribution: Slackware
Posts: 96

Rep: Reputation: 15
linux can't see my hard disk on secondary master


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
 
Old 03-19-2004, 02:20 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
if youll notice the device is recognized, just not the partition.

NTFS is still in development, and thats for 2.6.3 , so good luck with 2.4's.
 
Old 03-19-2004, 02:20 PM   #3
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
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.
 
Old 03-19-2004, 02:36 PM   #4
csvke
Member
 
Registered: Oct 2003
Location: Hong Kong
Distribution: Slackware
Posts: 96

Original Poster
Rep: Reputation: 15
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)
 
Old 03-19-2004, 02:41 PM   #5
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
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.
 
Old 03-19-2004, 02:52 PM   #6
csvke
Member
 
Registered: Oct 2003
Location: Hong Kong
Distribution: Slackware
Posts: 96

Original Poster
Rep: Reputation: 15
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.
 
Old 03-19-2004, 06:29 PM   #7
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
They are still perfecting the writing to the partition at this time. It's only supposed to be able to read as of now, so nothing's wrong.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding New Hard Drive as Secondary Master derek8128 Linux - Newbie 4 10-24-2005 08:46 AM
upgrading or booting from secondary hard disk trysten_x Linux - General 3 08-29-2005 10:12 PM
Linux hangs after secondary master HD installation nietz Linux - Hardware 0 08-12-2004 07:13 AM
My secondary slaved hard disk crashed. How do I get Fedora Core 1 back. Bjorkli Linux - Hardware 4 08-09-2004 11:04 AM
URGENT!!! adding ide(hdb-secondary hard-disk) to redhat 7.1 gigya Linux - Software 3 05-02-2002 04:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration