fengzhongdeying 发表于 2003-6-15 16:19:10

安装2。4。21内核后,fstab内的vfat分区不能自动挂

新内核启用后,iptables不好用了,同时fat32分区都不能自动挂载了,手动mount好用,郁闷,不得其解,希望各位帮忙

# dmesg
Linux version 2.4.21 (root@client) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 SMP 日 6月 15 14:14:41 CST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000017ff0000 (usable)
BIOS-e820: 0000000017ff0000 - 0000000017ff3000 (ACPI NVS)
BIOS-e820: 0000000017ff3000 - 0000000018000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
383MB LOWMEM available.
On node 0 totalpages: 98288
zone(0): 4096 pages.
zone(1): 94192 pages.
zone(2): 0 pages.
Kernel command line: ro root=/dev/hda6
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
Detected 1107.434 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 2208.56 BogoMIPS
Memory: 385072k/393152k available (2201k kernel code, 7692k reserved, 671k data, 128k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 64K (64 bytes/line)
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:   After generic, caps: 0383fbff c1c7fbff 00000000 00000000
CPU:             Common caps: 0383fbff c1c7fbff 00000000 00000000
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 64K (64 bytes/line)
Intel machine check reporting enabled on CPU#0.
CPU:   After generic, caps: 0383fbff c1c7fbff 00000000 00000000
CPU:             Common caps: 0383fbff c1c7fbff 00000000 00000000
CPU0: AMD Duron(tm) processor stepping 00
per-CPU timeslice cutoff: 182.84 usecs.
SMP motherboard not detected.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1107.4812 MHz.
..... host bus clock speed is 201.3601 MHz.
cpu: 0, clocks: 2013601, slice: 1006800
CPU0<T0:2013600,T1:1006800,D:0,S:1006800,C:2013601>
Waiting on wait_init_idle (map = 0x0)
All processors have done init_idle
PCI: PCI BIOS revision 2.10 entry at 0xfb400, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router VIA at 00:07.0
Applying VIA southbridge workaround.
PCI: Disabling Via external APIC routing
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
Installing knfsd (copyright (C) 1996 [email protected]).
NTFS driver v1.1.22
udf: registering filesystem
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 321M
agpgart: Detected Via Apollo Pro KT133 chipset
agpgart: AGP aperture is 64M @ 0xe8000000
Initialized tdfx 1.0.0 20010216 on minor 0
AGP 0.99 on VIA Apollo KT133 @ 0xe8000000 64MB
Initialized radeon 1.1.1 20010405 on minor 1
AGP 0.99 on VIA Apollo KT133 @ 0xe8000000 64MB
Initialized i810 1.2.0 20010920 on minor 2
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: SAMSUNG SP4002H, ATA DISK drive
hdc: ATAPI CDROM 40X, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 78242976 sectors (40060 MB) w/2048KiB Cache, CHS=4870/255/63
hdc: attached ide-cdrom driver.
hdc: ATAPI 24X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 >
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
es1371: version v0.32 time 14:17:26 Jun 15 2003
Linux Kernel Card Services 3.1.22
options:
usb.c: registered new driver hub
host/uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 9 for device 00:07.2
PCI: Sharing IRQ 9 with 00:07.3
host/uhci.c: USB UHCI at I/O 0xd400, IRQ 9
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 9 for device 00:07.3
PCI: Sharing IRQ 9 with 00:07.2
host/uhci.c: USB UHCI at I/O 0xd800, IRQ 9
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
ds: no socket drivers loaded!
kjournald starting.Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 128k freed
hub.c: new USB device 00:07.2-2, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: EagleTecModel: External Hard DiRev: 0113
Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 19640881 512-byte hdwr sectors (10056 MB)
sda: test WP failed, assume Write Enabled
sda: sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,6), internal journal
Adding Swap: 273064k swap-space (priority -1)
MSDOS FS: IO charset gb2312
MSDOS FS: Using codepage 936
FAT: freeing iocharset=gb2312
MSDOS FS: IO charset gb2312
MSDOS FS: Using codepage 936
FAT: freeing iocharset=gb2312
MSDOS FS: IO charset gb2312
MSDOS FS: Using codepage 936
FAT: freeing iocharset=gb2312
via-rhine.c:v1.10-LK1.1.17March-1-2003Written by Donald Becker
http://www.scyld.com/network/via-rhine.html
PCI: Found IRQ 11 for device 00:08.0
eth0: VIA VT86C100A Rhine at 0xe800, 00:50:ba:ca:37:cc, IRQ 11.
eth0: MII PHY found at address 8, status 0x782d advertising 05e1 Link 0000.
cmpci: version $Revision: 5.64 $ time 15:45:39 Jun 15 2003
PCI: Found IRQ 5 for device 00:09.0
cmpci: found CM8738 adapter at io 0xec00 irq 5
cmpci: chip version = 037
cmpci: Inverse SPDIF-in
cmpci: Enable SPDIF loop
spurious 8259A interrupt: IRQ7.
Via 686a/8233/8235 audio driver 1.9.1-ac2
PCI: Found IRQ 10 for device 00:07.5
PCI: Sharing IRQ 10 with 00:0a.0
PCI: Sharing IRQ 10 with 00:0a.1
PCI: Setting latency timer of device 00:07.5 to 64
ac97_codec: AC97 Audio codec, id: ICE17 (ICE1232)
via82cxxx: board #1 at 0xDC00, IRQ 10
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
MSDOS FS: IO charset gb2312
MSDOS FS: Using codepage 936
FAT: freeing iocharset=gb2312
MSDOS FS: IO charset gb2312
MSDOS FS: Using codepage 936
FAT: freeing iocharset=gb2312
FAT: Did not find valid FSINFO signature.
Found signature1 0x66024a1e signature2 0xc88b6602 sector=4.
VFS: Can't find a valid FAT filesystem on dev 03:02.


fstab如下

LABEL=/               /                     ext3    defaults      1 1
/dev/hda5               /MyFile               vfat    iocharset=gb2312,umask=0,codepage=936 0 0
/dev/sda1               /mnt/usbdisk            vfat    iocharset=gb2312,umask=0,codepage=936 0 0
LABEL=/boot             /boot                   ext2    defaults      1 2
none                  /dev/pts                devptsgid=5,mode=6200 0
none                  /proc                   proc    defaults      0 0
none                  /dev/shm                tmpfs   defaults      0 0
/dev/hda3               /win98                  vfat    iocharset=gb2312,umask=0,codepage=936 0 0
/dev/hda7               swap                  swap    defaults      0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0
/dev/cdrom            /mnt/cdrom            udf,iso9660 noauto,owner,kudzu,ro 0 0

有一块移动硬盘在/dev/sda1/

Dragonfly 发表于 2003-6-15 23:52:30

"#1 SMP" ? u have dual cpu?

u need compile with right options to enable the iptables.
about u fat
1) can u bakup u fstab and then write a new one, without those iocharset, cp... and try again?
2) check if u include the nls kernel options.

fengzhongdeying 发表于 2003-6-23 10:48:05

谢谢,已经搞定了。语言选cp936
重新编译内核,什么也不用加,自己可以显示中文了

IPTABLES是因为我编译内核的时候没有加上支持

Dragonfly 发表于 2003-6-23 10:49:04

cong!

enjoy it.
:-D

xdwjack 发表于 2003-6-23 10:59:21

这是不是那语言支持里面??
应该选了gb2312吧..
我LFS里面,把内核文件系统默认成了gb2312
也不能同时iocharset codepage两个参数..一个就可以..两个有问题.

加上两个参数应该是可以的吧,我就加了两个。

xdwjack 发表于 2003-6-23 11:00:20

这是不是那语言支持里面??
应该选了gb2312吧..
我LFS里面,把内核文件系统默认成了gb2312
也不能同时iocharset codepage两个参数..一个就可以..两个有问题.

加上两个参数应该没有问题吧,说说你的理由

Dragonfly 发表于 2003-6-23 11:36:14

i saw sb use one, sb use two. both ok. so need check why from kernel source code i think.

cnhnln 发表于 2003-6-24 22:07:14

这是不是那语言支持里面??
应该选了gb2312吧..
我LFS里面,把内核文件系统默认成了gb2312
也不能同时iocharset codepage两个参数..一个就可以..两个有问题.

加上两个参数应该没有问题吧,说说你的理由

fat没问题。如果我用ntfs加两个参数的话就报错

Dragonfly 发表于 2003-6-24 22:24:55

check the source code, the only place can explain why
页: [1]
查看完整版本: 安装2。4。21内核后,fstab内的vfat分区不能自动挂