LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-11-2006, 04:14 AM   #1
p'd_off
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Rep: Reputation: 0
Question Linux won't recognise one of the other hard drives


I have just installed Mandriva 2005 L.E. on a machine that is already running windows. The disks are as follows:
Internal scsi drive intel raid controller sda - windows
Internal scsi drive intel raid controller sdb - linux
Internal IDE drive - data

The two scsi raid arrays work fine. Konquerer recognises the windows file system and I can read the disk.

Konquerer can see the IDE drive and its size but can't identify the file system (windows NTFS) or any files. The drive is an IBM DPTA-372050. The IDE controller is an onboard VIA Apolloa chipset which is apparently 100% compatible with linux kernel dirvers. Very annoying as all my lultimedia files are on that drive. Oh, and the disk is working fine under windows.

Also posted to the Hardware forum. Please help!
 
Old 07-11-2006, 06:30 AM   #2
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
You shouldn't have posted this to more than one forum.
 
Old 07-11-2006, 01:03 PM   #3
linux=future
Member
 
Registered: Apr 2005
Distribution: Debian
Posts: 154

Rep: Reputation: 30
If it is formatted with NTFS, then the rule is really don't expect it to work all that well with Linux. Some distros allow it to be read from, but I have never heard of anyone writing to it (other than obtaining a .dll from Windows and doing some serious tweeking).

If you still want to be able to read form it (which shouldn't hurt anything if it is mounted as read only), you can go to http://www.linux-ntfs.org.

The better option is to make a backup of the drive, reformat it with fat32 and copy the data back (assuming all the data on the ide drive is only multimedia and not critical for Windows). Fat32 can be safely written to and read from from both systems. If you do opt to use fat32, MAKE SURE YOU BACK IT UP AND REFORMAT IT THROUGH WINDOWS!!! I cannot stress that enough. I had a very similar situation, performed the task through Linux, and had it working fine with Linux. Windows couldn't use it though, even though it was fat32. Doing the exact same thing through Windows did the trick though.
 
Old 07-11-2006, 02:11 PM   #4
p'd_off
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Linux won't recognise one of the other hard drives

Thanks, linux=future.

It may just be an unresolvable Linux/ntfs glitch and I have re-installed Mandrive 2006 LE (Kernel 2.6 I think) and will try and ensure the new NTFS driver is set to read and write and see if that works. However I am worried that I could see the partitions and files on the other ntfs windows disk (on the scsi controller) OK so it may be a hardware issue with the IDE disk or controller - but I couldn't find any specific references to this on the web.

I suppose I could go back to fat 32 but it seems like a step backwards - thanks for the warning about re-formatting via linux.
 
Old 07-12-2006, 04:56 PM   #5
linux=future
Member
 
Registered: Apr 2005
Distribution: Debian
Posts: 154

Rep: Reputation: 30
Unless NTFS capability has improved greatly in the last year, I wouldn't try to write to the NTFS partition. The web site I gave you provides a driver, but even they say that it is highly experimental. I tried to write to NTFS a year ago, and it ended up with me losing all the data on the drive combined with a need to reformat it. Not pretty. Data backups truly are my friend.
 
Old 07-13-2006, 06:33 PM   #6
p'd_off
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Linux won't recognise one of the other hard drives

I think I will just transfer the music to one of the readable windows partitons for now. At least I can have some sounds while I explore linux.

According to http://www.linux-ntfs.org Kernel 2.6 has the new driver and it will fail safely in write/create/delete attempts - very tempting. I couldn't get any difference running the new Kernel (in Mandriva 2006) but I will persevere a while longer with trying to get the disk's file system recognised. Thanks again.
 
Old 07-13-2006, 08:23 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Are you getting any messages in dmesg when you try to access the IDE
device from Linux? There may also be some closed-source drivers for
that particular chipset available from the via-website or your mother-
boards manufacturers site. Have a look.


Cheers,
Tink
 
Old 07-14-2006, 04:51 AM   #8
p'd_off
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Original Poster
Rep: Reputation: 0
[QUOTE=Tinkster]Are you getting any messages in dmesg when you try to access the IDE
device from Linux?[/UNQUOTE]
Is there a link you can give me to say what is dmesg and what are the solutions if the messages tell me something is wrong?

[QUOTE=Tinkster]There may also be some closed-source drivers for
that particular chipset available from the via-website or your mother-
boards manufacturers site. Have a look.{/UNQUOTE]

Its a Gigabyte motherboard with a VIA apollo IDE chipset. I checked the chipset was OK at linuxhardware just to be sure - although I didn't think there there should be any problem with this kind of standard fare - thats why I am confused... I'll do a search of the exact chipset number just in case...

Thanks for the ideas.
 
Old 07-14-2006, 04:59 AM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Just try to mount the drive and look at its contents, and then open a console
and type
dmesg <enter>

As for the chipset - I haven't come across it, but if you did your research
first it should be OK ;} ... do you seen any IRQ conflicts? Have a look at
/proc/interrupts


Cheers,
Tink
 
Old 07-15-2006, 05:57 PM   #10
p'd_off
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Tinkster

The drive appears to mount but the file type shows as "unknown" and I can't access the volume to see any folders or files. I typed in dmesg and copied the last section that seemed to refer to disk errors. Hope that was the right thing.

8 TOS=0x00 PREC=0x00 TTL=64 ID=1023 DF PROTO=ICMP TYPE=8 CODE=0 ID=27928 SEQ=0
NTFS-fs error (device sda1): ntfs_ucstonls(): Unicode name contains characters that cannot be

converted to character set iso8859-15.
NTFS-fs error (device sda1): ntfs_ucstonls(): Unicode name contains characters that cannot be converted to character set iso8859-15.
NTFS-fs error (device sda1): ntfs_ucstonls(): Unicode name contains characters that cannot be converted to character set iso8859-15.
end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0
Shorewall:net2allROP:IN=eth0 OUT= MAC= SRC=192.168.1.3 DST=192.168.1.255 LEN=44 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=32953 DPT=7741 LEN=24
Shorewall:net2allROP:IN=eth0 OUT= MAC= SRC=192.168.1.3 DST=192.168.1.0 LEN=28 TOS=0x00 PREC=0x00 TTL=64 ID=1024 DF PROTO=ICMP TYPE=8 CODE=0 ID=53272 SEQ=0
Shorewall:net2allROP:IN=eth0 OUT= MAC= SRC=192.168.1.3 DST=192.168.1.255 LEN=28 TOS=0x00 PREC=0x00 TTL=64 ID=1279 DF PROTO=ICMP TYPE=8 CODE=0 ID=53272 SEQ=0
end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0
UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume '2006.0-Disc1', timestamp 2005/09/27 10:12 (103c)
Shorewall:net2allROP:IN=eth0 OUT= MAC= SRC=192.168.1.3 DST=192.168.1.255 LEN=44 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=32956 DPT=7741 LEN=24
Shorewall:net2allROP:IN=eth0 OUT= MAC= SRC=192.168.1.3 DST=192.168.1.0 LEN=28 TOS=0x00 PREC=0x00 TTL=64 ID=1280 DF PROTO=ICMP TYPE=8 CODE=0 ID=21280 SEQ=0
Shorewall:net2allROP:IN=eth0 OUT= MAC= SRC=192.168.1.3 DST=192.168.1.255 LEN=28 TOS=0x00 PREC=0x00 TTL=64 ID=1535 DF PROTO=ICMP TYPE=8 CODE=0 ID=21280 SEQ=0
end_request: I/O error, dev fd0, sector 0
Shorewall:net2allROP:IN=eth0 OUT= MAC= SRC=192.168.1.3 DST=192.168.1.255 LEN=44 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=32967 DPT=7741 LEN=24
Shorewall:net2allROP:IN=eth0 OUT= MAC= SRC=192.168.1.3 DST=192.168.1.0 LEN=28 TOS=0x00 PREC=0x00 TTL=64 ID=1536 DF PROTO=ICMP TYPE=8 CODE=0 ID=5666 SEQ=0
Shorewall:net2allROP:IN=eth0 OUT= MAC= SRC=192.168.1.3 DST=192.168.1.255 LEN=28 TOS=0x00 PREC=0x00 TTL=64 ID=1791 DF PROTO=ICMP TYPE=8 CODE=0 ID=5666 SEQ=0
hdc: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
hdc: media error (bad sector): error=0x30 { LastFailedSense=0x03 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdc, sector 0
Buffer I/O error on device hdc, logical block 0

Is there anything that explains the hda problems? Many thanks in advance if you reply.
 
Old 07-16-2006, 12:54 AM   #11
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I see two problems with the set-up.
Quote:
Code:
NTFS-fs error (device sda1): ntfs_ucstonls(): Unicode name contains characters that cannot be
converted to character set iso8859-15.
NTFS-fs error (device sda1): ntfs_ucstonls(): Unicode name contains characters that cannot be converted to character set iso8859-15.
NTFS-fs error (device sda1): ntfs_ucstonls(): Unicode name contains characters that cannot be converted to character set iso8859-15.
If your IDE HDD is /dev/hdc you may have a physical issue as well.
Quote:
Code:
hdc: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
hdc: media error (bad sector): error=0x30 { LastFailedSense=0x03 }

Cheers,
Tink
 
Old 07-17-2006, 03:42 AM   #12
p'd_off
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Tinkster

I don't know why there are errors showing on scsi drive partition sda1 but guess thats something about windows NT/2000/XP encoding and the unicode ISO thing - maybe something MS has done which is non-standard? I seem to be able to read the disks so I will check that one out at my leisure.

The hdc thing has been sorted and I now have a readable data drive! I had formatted converted the disk to "dynamic" at some point and didn't realise until I was checking out why the weird lettering and why it appeared to have an extra partition. I have no idea how that happened or why - I am not a windows expert, I has no reason to do it as the disk has always been a stand alone data disk. I moved all the data off and reformatted it as a "basic" drive and all is well - also cleaned a lot of the crap off.

I am now very keen to use the drive as a writable data drive for both operating systems although I have beeen put off by some of the comments on the 2.6 linux kernel's ntfs writing abilities. I notice that someone has been able to do it in a package they market commercially and they charge about $20 for the home edition...

Thanks again for your help - I don't think I would have pursued this otherwise.
 
Old 07-17-2006, 02:05 PM   #13
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
If you want to share just use FAT32 .... even though NTFS write support has
suppsedly come a long way (even in windows ;}).


Cheers,
Tink
 
  


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
Recognise a new hard drive menzic Linux - Hardware 2 03-31-2006 09:40 PM
external hard drives in linux cwl157 Linux - Hardware 1 09-27-2005 09:18 PM
mandrake 10.1 does not recognise my external hard drive Sfairas Linux - Laptop and Netbook 2 01-19-2005 07:40 AM
Two Hard drives - Linux and Windows Cyb3rKnyght Linux - Hardware 4 09-30-2004 02:26 AM
Linux and USB hard drives Citizen Bleys Linux - Hardware 2 05-13-2004 04:00 PM


All times are GMT -5. The time now is 08:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration