Gentoo Archives: gentoo-user

From: Dale <dalek@××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] son of can't mount vfat part.
Date: Sun, 18 Dec 2005 21:59:04
Message-Id: 43A5DA4D.4020708@exceedtech.net
In Reply to: Re: [gentoo-user] son of can't mount vfat part. by maxim wexler
1 maxim wexler wrote:
2
3 >--- Mariusz Pêkala <skoot@××.pl> wrote:
4 >
5 >
6 >
7 >>On 2005-12-18 18:18:34 +0100 (Sun, Dec), Holly
8 >>Bostick wrote:
9 >>
10 >>
11 >>>>pindar@reflex ~ $ grep FAT
12 >>>>
13 >>>>
14 >>/usr/src/linux/.config #
15 >>
16 >>
17 >>>>CONFIG_X86_MCE_NONFATAL is not set # DOS/FAT/NT
18 >>>>
19 >>>>
20 >>Filesystems
21 >>
22 >>
23 >>>>CONFIG_FAT_FS=y CONFIG_VFAT_FS=y
24 >>>>
25 >>>>
26 >>CONFIG_FAT_DEFAULT_CODEPAGE=437
27 >>
28 >>
29 >>>>CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
30 >>>>
31 >>>>
32 >>>>
33 >>>Since you have the vfat module compiled into the
34 >>>
35 >>>
36 >>kernel, it seems to me
37 >>
38 >>
39 >>>that this can only mean that the module is not
40 >>>
41 >>>
42 >>loaded (as it might not
43 >>
44 >>
45 >>>be if a FAT32 filesystem did not need to be
46 >>>
47 >>>
48 >>mounted at boot, because it
49 >>
50 >>
51 >>>was not detected, and/or the partition is not set
52 >>>
53 >>>
54 >>to autoload at boot
55 >>
56 >>
57 >>>via /etc/fstab, and/or the module is not set to
58 >>>
59 >>>
60 >>autoload at boot via
61 >>
62 >>
63 >>>/etc/modules.autoload.d/kernel-2.*).
64 >>>
65 >>>
66 >>>If you get an error when attempting to modprobe,
67 >>>
68 >>>
69 >>or after modprobing
70 >>
71 >>
72 >>>mounting still returns an error, then we've at
73 >>>
74 >>>
75 >>least got more
76 >>
77 >>
78 >>>information (in the case of an error), or
79 >>>
80 >>>
81 >>eliminated one possible cause
82 >>
83 >>
84 >>>(if mounting still fails after successfully
85 >>>
86 >>>
87 >>modprobing the module).
88 >>
89 >>As I can see the VFAT is compiled in the kernel, not
90 >>as a module.
91 >>Compare:
92 >>case@cthulhu ~ $ zcat /proc/config.gz | grep -i fat
93 >>CONFIG_X86_MCE_NONFATAL=y
94 >># DOS/FAT/NT Filesystems
95 >>CONFIG_FAT_FS=m
96 >>CONFIG_VFAT_FS=m
97 >>CONFIG_FAT_DEFAULT_CODEPAGE=852
98 >>CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-2"
99 >>
100 >>I wonder what is in your /proc/filesystems and
101 >>/etc/filesystems ? Could
102 >>you post their contents here?
103 >>
104 >>
105 >
106 >reflex pindar # cat /proc/filesystems
107 >nodev sysfs
108 >nodev rootfs
109 >nodev bdev
110 >nodev proc
111 >nodev sockfs
112 >nodev debugfs
113 >nodev pipefs
114 >nodev futexfs
115 >nodev tmpfs
116 >nodev inotifyfs
117 >nodev eventpollfs
118 >nodev devpts
119 > reiserfs
120 > ext2
121 >nodev ramfs
122 > iso9660
123 > ntfs
124 >nodev mqueue
125 >nodev usbfs
126 >
127 >
128 >hmm, no vfat
129 >
130 >reflex pindar # cat /etc/filesystems
131 ># /etc/filesystems
132 >#
133 ># This file defines the filesystems search order used
134 >by a
135 ># 'mount -t auto' command.
136 >#
137 >
138 ># Uncomment the following line if your modular kernel
139 >has vfat
140 ># support and you want mount to try vfat.
141 >#vfat
142 >
143 >aha!
144 >
145 >Well, I removed the comment but nothing changed. I'll
146 >try etc-update...nope
147 >
148 >oh, wait, it says to use -t auto...nope. OK, that's
149 >all I got.
150 >
151 >
152 >
153 >>And are you sure that /usr/src/linux/.config belongs
154 >>to the kernel you
155 >>actualy run?
156 >>
157 >>
158 >
159 >no alternatives
160 >
161 >
162 >
163 >>It would not hurt to modprobe, anyway. ;-)
164 >>
165 >>
166 >
167 >FATAL: Module vfat not found. naturally
168 >
169 >
170 >
171 >>--
172 >>No virus found in this outgoing message.
173 >>Checked by "grep -i virus $MESSAGE"
174 >>
175 >>
176 >>
177 >
178 >
179 >
180 OK. I haven't followed this thread letter by letter but noticed
181 something that I ran into after I did my gcc upgrade a bit ago. I
182 upgraded my kernel but it did NOT make my modules. I went back and did
183 a make modules && make modules_install and they were there then. May be
184 worth a try since you are using modules for this. Me, I compile
185 everything but my temp sensors *in* the kernel.
186
187 Another command that may help shead some light:
188
189 > root@smoker / # modprobe -l
190 > /lib/modules/2.6.14-gentoo-r2/kernel/drivers/hwmon/w83627hf.ko
191 > /lib/modules/2.6.14-gentoo-r2/kernel/drivers/hwmon/hwmon-vid.ko
192 > /lib/modules/2.6.14-gentoo-r2/kernel/drivers/i2c/busses/i2c-isa.ko
193 > /lib/modules/2.6.14-gentoo-r2/video/nvidia.ko
194 > root@smoker / #
195
196
197 It lists what is available even if it is not loaded up yet.
198
199 Dale
200 :-)
201
202
203 --
204 To err is human, I'm most certainly human.
205
206 I have four rigs:
207
208 1: Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 80GB hard drives.
209 2: Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.
210 3: Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 128MBs of ram and a 2.5GB drive.
211 4: Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB SCSI drive.
212
213 All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers.
214
215 --
216 gentoo-user@g.o mailing list