LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-10-2007, 04:10 PM   #1
kummiliim
Member
 
Registered: Mar 2007
Location: Tallinn, Estonia
Distribution: Slackware 12.0
Posts: 276

Rep: Reputation: 30
Can't mount NTFS after 2.4 to 2.6 compile


It's something in kernel compile options that I keep missing. My NTFS filesystem on sda1 works perfectly with the default 2.4.33.3 kernel. At first I recompiled to 2.6.16.43. After that I couldn't mount ntfs anymore.

Code:
sda1 is not a valid block device
(if i remember correctly)

NTFS support is compiled into the kernel. Today I tried 2.6.20.1, still no gain, same problem. I figure it has something to do with sata drivers. The harddrive itself is Seagate Barracuda 7200.10 320GB (Slack is on the other drive). I hope you have some hints, what options I should look out for.
I've tried mounting both sda1 and sda (as someone suggested somewhere) yet nothing. /proc/filesystems shows that ntfs is available.
Also with the new kernel (I compiled some new SATA options in there that I haven't used before and might cause the following) during boot up when it checks for SCSI it gets a "NEW:" prompt. I can enter whatever there without anything happening, then after about a minute it continues booting. What might that be?
 
Old 03-10-2007, 05:01 PM   #2
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
are you mounting from cli or fstab?

please show your fstab entry or your mount command.

mine:
Code:
# windows stuff
/dev/hda2        /mnt/windows   ntfs            ro               1   0
double check your ntfs support options, also that the correct SATA modules are compiled in or loaded before trying to mount the ntfs partition.

are there any linux partitions on the same HD? Is your linux HD the same model?

if so can you mount them?

a brute force approach: recompile your kernel with 'auto module loading' enabled. then select every thing SATA that is even close to what you have as modules (except where you are currently booting to). reboot and try and mount the drive. then do lsmod and see what got loaded.
 
Old 03-10-2007, 05:19 PM   #3
kummiliim
Member
 
Registered: Mar 2007
Location: Tallinn, Estonia
Distribution: Slackware 12.0
Posts: 276

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by bioe007
are you mounting from cli or fstab?
Doesn't matter, same for both

Quote:
Originally Posted by bioe007
please show your fstab entry or your mount command.

mine:
Code:
# windows stuff
/dev/hda2        /mnt/windows   ntfs            ro               1   0
I'm currently in windows, but as I remember it, it's:
Code:
/dev/sda1        /mnt/win       ntfs            ro,umask=000     1   0
I'm only not sure in the last two numbers, but thay shouldn't make a difference anyway. Also 2.4.33.3 loads perfectly with the same fstab.

I mount with
Code:
mount -t ntfs /dev/sda1 /mnt/win
Quote:
Originally Posted by bioe007
double check your ntfs support options, also that the correct SATA modules are compiled in or loaded before trying to mount the ntfs partition.
NTFS support is on, SATA modules is what I'm not sure of and what I suspect. Kmod is also on so if the necesarry stuff was in modules, it should still work, but it isn't, everything exept alsa is compiled in.

Quote:
Originally Posted by bioe007
are there any linux partitions on the same HD? Is your linux HD the same model?

if so can you mount them?
Linux is fully on hda and it's partitions, windows is on sda1, can mount in 2.4.33.3, can boot, just can't mount in 2.6. Linux hd is not the same model. It's ATA while sda is SATA.

Quote:
Originally Posted by bioe007
a brute force approach: recompile your kernel with 'auto module loading' enabled. then select every thing SATA that is even close to what you have as modules (except where you are currently booting to). reboot and try and mount the drive. then do lsmod and see what got loaded.
Yup, that's pretty much what I intended on doing. Unfortunately I'm gonna have to call it a night but if I don't get any other suggestions, I'll try it. Thanks for your reply.
 
Old 03-11-2007, 05:51 AM   #4
kummiliim
Member
 
Registered: Mar 2007
Location: Tallinn, Estonia
Distribution: Slackware 12.0
Posts: 276

Original Poster
Rep: Reputation: 30
I've compiled half of the kernel in modules, still nothing. I think I'm going to put it to a rest for now, I can access my stuff with the 2.4 kernel and pretty soon I'm going to get rid of XP anyway. Just hope that there won't be any problems when I'm finally going to install on that same sda disk. If you have any ideas, let me know, if not, let it be.
 
Old 03-11-2007, 10:31 AM   #5
riodeuno
Member
 
Registered: Jan 2007
Location: India
Distribution: Slackware 12.1
Posts: 53

Rep: Reputation: 15
if nothing works try using ntfs-3g, worked like a charm for a friend with fc6..
 
Old 03-11-2007, 10:44 AM   #6
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Just for giggles, what do you see with cfdisk while using the 2.6 kernel?
 
Old 03-11-2007, 10:49 AM   #7
kummiliim
Member
 
Registered: Mar 2007
Location: Tallinn, Estonia
Distribution: Slackware 12.0
Posts: 276

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by masonm
Just for giggles, what do you see with cfdisk while using the 2.6 kernel?
There we go, nothing. It's still some weird sata controller stuff that I missed.
 
Old 03-11-2007, 11:49 AM   #8
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
did you compile your own config?
 
Old 03-11-2007, 12:11 PM   #9
kummiliim
Member
 
Registered: Mar 2007
Location: Tallinn, Estonia
Distribution: Slackware 12.0
Posts: 276

Original Poster
Rep: Reputation: 30
I did, that's the problem.
 
  


Reply



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
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
Can I mount a local NTFS disc as SAMBA mount point? alek66 Linux - Networking 15 10-01-2006 10:02 AM
NTFS Mount Last Attacker Linux - General 5 06-30-2006 03:34 AM
how I can centos ntfs compile? Grave Linux - General 2 12-23-2005 07:50 PM
can't access ntfs mount through nfs mount bezoomny Linux - Networking 9 04-14-2004 10:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:02 PM.

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