LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-23-2004, 12:41 PM   #1
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
whats wrong with krnel 2.6.8.1


hi there

i was using custom built kernel 2.6.7 peacefully
when i got the 2.6.8 kernel
i compiled that with the same config file of the krnel 2.6.7
all went fine except my vfat partitons
on mounting them i get this error

[root@gaurav root]# mount /dev/hda6 /mnt/d
mount: wrong fs type, bad option, bad superblock on /dev/hda6,
or too many mounted file systems

now i used to comple 2.6.7 with support of vfat in modules that workes
here it did not work
so i compiled the kernel with the vaft & MSDOS fs support in the kernel itself
then too the same error

i do not know how to tackle this
pl. help!!!!!!!!!!!!!!!!!!!!!
also kernel 2.6.7 is fine ,but i want to know what is wrong here
i also checked the new 2.6.8.1 kernel but the same problem

also i can mount my ntfs partitons

here is output of my "fdisk -l"

[root@gaurav root]# fdisk -l

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 446 3582463+ b W95 FAT32
/dev/hda2 447 3845 27302467+ f W95 Ext'd (LBA)
/dev/hda3 3846 4546 5630782+ 83 Linux
/dev/hda4 4547 4865 2562367+ 83 Linux
/dev/hda5 447 892 3582463+ 7 HPFS/NTFS
/dev/hda6 893 1402 4096543+ b W95 FAT32
/dev/hda7 1403 2868 11775613+ 7 HPFS/NTFS
/dev/hda8 2869 3544 5429938+ b W95 FAT32
/dev/hda9 3545 3845 2417751 b W95 FAT32
[root@gaurav root]#

regards

gaurav

Last edited by masand; 08-23-2004 at 12:42 PM.
 
Old 08-23-2004, 12:47 PM   #2
PenguinPwrdBox
Member
 
Registered: Oct 2003
Location: /illinois/chicago
Distribution: Slackware/Gentoo/FC/RHEL
Posts: 568

Rep: Reputation: 30
Try this
Code:
[root@gaurav root]# mount -t vfat /dev/hda6 /mnt/d
 
Old 08-23-2004, 12:49 PM   #3
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Original Poster
Rep: Reputation: 58
hi
i tried it same problem

[root@gaurav root]# mount -t vfat /dev/hda6 /mnt/d
mount: wrong fs type, bad option, bad superblock on /dev/hda6,
or too many mounted file systems
[root@gaurav root]#

regards
 
Old 08-23-2004, 02:20 PM   #4
eqxro
Member
 
Registered: Apr 2004
Location: Outer space :D
Distribution: Gentoo 2005.0 amd64 2.6.14-dfx3
Posts: 203

Rep: Reputation: 30
Did you run make oldconfig after you copied the 2.6.7 config file to the 2.6.8 dir? I knew there were some options added between 2.6.8.0 rc1 and rc2, so there might be some extra options you missed in case you didn't do a make oldconfig...
 
Old 08-23-2004, 02:35 PM   #5
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Original Poster
Rep: Reputation: 58
hi there

thanks for the advice
i am compiling my kenrel with
make oldconfig (it slipped out of my mind for this option)

i will keep u posted on that
regards
 
Old 08-23-2004, 02:39 PM   #6
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
i have the same problem too in kernel 2.6.6.
 
Old 08-23-2004, 04:28 PM   #7
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Original Poster
Rep: Reputation: 58
Quote:
Originally posted by eqxro
Did you run make oldconfig after you copied the 2.6.7 config file to the 2.6.8 dir? I knew there were some options added between 2.6.8.0 rc1 and rc2, so there might be some extra options you missed in case you didn't do a make oldconfig...
hey ui tried mak oldconfig also with my old 2.6.7 config file
t did ask me about the new settings
but that kernel also did not work out

regards
 
Old 08-23-2004, 05:29 PM   #8
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 46
try mount -t auto or mount -t msdos.
 
Old 08-23-2004, 05:36 PM   #9
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Original Poster
Rep: Reputation: 58
hi
i have the "auto" in my fstab entry
there also it is not mounting it during startup
then too i will try for it

regards
gaurav
 
Old 08-23-2004, 07:31 PM   #10
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
what does

cat /proc/filesystems

tell you - ie do you actually have vfat support compiled ???
 
Old 08-23-2004, 11:39 PM   #11
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Original Poster
Rep: Reputation: 58
hi
if i did not had vfat support then error would have been somewhat like
"fs type vfat not supported by kernel"

regards
gaurav
 
Old 08-24-2004, 12:02 AM   #12
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Seeing it would have just made me feel better as I have never tried doing things like having vfat supprt without msdos support and such and so I don't know how it would behave to be honest... When I get trouble I just start from the ground up and elliminate possible problems.

mount -t vfat /dev/hdx /mnt/x

should work and if it doesn't then you have done something wrong somewhere... And I don't know if vfat depends on msdos or not...
 
Old 08-24-2004, 01:34 AM   #13
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Original Poster
Rep: Reputation: 58
hi there
i will try that again
also i had compiled my system with MSDOS and VFAT support
also it was asking for some charset for vfat ,which i entered to be default
will post u more on that

regards
gaurav
 
Old 08-24-2004, 01:47 AM   #14
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Hmm, just a thought, did you add modules for the codepage and NLS stuff and whatever... Mostly for cdrom, but.... If it's asking for charset... you'll want nls iso 8859-1 etc...
 
Old 08-24-2004, 01:52 AM   #15
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Original Poster
Rep: Reputation: 58
hi
what else charsets do we require??

i think i wil choose all and then try

regards
 
  


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
Whats wrong with this script??? Sammy2ooo Linux - Networking 2 08-24-2004 07:20 AM
whats wrong with my sound? HNjerry Linux - Software 0 03-02-2004 12:12 PM
Whats wrong with my XF86Config here: Scruff Linux - General 4 09-17-2003 02:06 AM
Whats wrong with this? OlRoy Programming 2 05-28-2003 02:21 PM
whats wrong w/ my slack? Flawless Slackware 8 03-01-2003 04:21 PM


All times are GMT -5. The time now is 04:19 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration