Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2596906
  • 博文数量: 333
  • 博客积分: 4817
  • 博客等级: 上校
  • 技术积分: 4413
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-28 10:51
文章分类

全部博文(333)

文章存档

2017年(20)

2016年(57)

2015年(27)

2014年(20)

2013年(21)

2012年(164)

2011年(24)

分类: LINUX

2012-04-18 13:15:49

以下是是转贴,在实验时,发现很多项都没有(我的内核版本:2.6.32.2),则跳过,选择主要的设置


升级内核至2。6。39 mount 不了fat盘 dmesg出现下述错误:
[drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[drm] No driver support for vblank timestamp query.
[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
FAT: codepage cp437 not found
FAT: codepage cp437 not found
原因是没有配置相应的文件系统的codepage;

重新配置内核:
1、让内核支持热插拔
│ General setup --->
│ │
Support for hot-pluggable devices
2、USB驱动设置,可参考
http://www-128.ibm.com/developerworks/cn/linux/l-usb/index1.html

│ │ Device Drivers --->
│ │ Generic Driver Options --->
│ Hotplug firmware loading support
│ │ Block devices --->
│ │  Low Performance USB Block driver
│ │ SCSI device support --->    //此处必选
│ │  SCSI generic support  //此处必选
│ │
Probe all LUNs on each SCSI device
│ │ USB support --->
│ │ Support for Host-side USB  //此目录下所有必选,目录还有好几个懒得写了
│ │
USB device filesystem
│ │ OHCI HCD support
│ │ USB Mass Storage support  //此目录下所有必选,目录还有好几个懒得写了
│ │
USB Monitor
3、加入了MSDOS fs和VFAT fs的支持。 //必选,否则将看不到windows下的文件
│ │ File systems --->
│ │ DOS/FAT/NT Filesystems --->
  │ ┌——————————————————————————————————————————————————————————————————————————————————————————————————————————————————┐ │  
  │ │                       MSDOS fs support                                                                        │ │  
  │ │                       VFAT (Windows-95) fs support                                                            │ │  
  │ │                      (437) Default codepage for FAT                                                              │ │  (重点在这)
  │ │                      (iso8859-1) Default iocharset for FAT                                        
              │ │  
  │ │                       NTFS file system support                                                                │ │  
  │ │                     
  •    NTFS debugging support                                                                │ │  
      │ │                     
  •    NTFS write support                                                                    │ │  
      │ │                        
    4 、加入分区支持
    │ │ File systems --->
    │ │ Partition Types --->
    │ │
        Advance Partition Selection //选择它将自动出现若干选项,默认即可
    5、加入中文语言支持
    File Systems->Native Language Support->
      │ │                      --- Native language support                                                                 │ │  
      │ │                      (iso8859-1) Default NLS Option                                                              │ │  
      │ │                         Codepage 437 (United States, Canada)                                             │ │  (重点在这)     │ │  
      │ │                         Codepage 737 (Greek)                                                                  │ │  
      │ │                         Codepage 775 (Baltic Rim)                                                             │ │  
      │ │                         Codepage 850 (Europe)                                                                 │ │  
      │ │                         Codepage 852 (Central/Eastern Europe)                                                 │ │  
      │ │                         Codepage 855 (Cyrillic)                                                               │ │  
      │ │                         Codepage 857 (Turkish)                                                                │ │  
      │ │                         Codepage 860 (Portuguese)                                                             │ │  
      │ │                         Codepage 861 (Icelandic)                                                              │ │  
      │ │                         Codepage 862 (Hebrew)                                                                 │ │  
      │ │                         Codepage 863 (Canadian French)                                                        │ │  
      │ │                         Codepage 864 (Arabic)                                                                 │ │  
      │ │                         Codepage 865 (Norwegian, Danish)                                                      │ │  
      │ │                         Codepage 866 (Cyrillic/Russian)                                                       │ │  
      │ │                         Codepage 869 (Greek)                                                                  │ │  
      │ │                         Simplified Chinese charset (CP936, GB2312)                                            │ │  
      │ │                         Traditional Chinese charset (Big5)                                                    │ │  
      │ │                         Japanese charsets (Shift-JIS, EUC-JP)                                                 │ │  
      │ │                         Korean charset (CP949, EUC-KR)  
  • 阅读(3405) | 评论(0) | 转发(1) |
    给主人留下些什么吧!~~