QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1512|回复: 4

2.6.7-bk21没有/dev/sda1设备

[复制链接]
发表于 2004-7-15 01:30:14 | 显示全部楼层 |阅读模式
2.6.7-bk21没有/dev/sda1设备

加载usb设备的时候说/dev/sda1不是有效的块设备

应该修改内核配置的哪部分?

thx
 楼主| 发表于 2004-7-15 01:34:49 | 显示全部楼层
#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y

#
# USB Host Controller Drivers
#
# CONFIG_USB_EHCI_HCD is not set
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=m

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_DPCM=y

#
# USB Human Interface Devices (HID)
#
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_MTOUCH is not set
# CONFIG_USB_EGALAX is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set

#
# USB Imaging devices
#
# CONFIG_USB_MICROTEK is not set

#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set

#
# Video4Linux support is needed for USB Multimedia device support
#

#
# USB Network adaptors
#
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_USBNET is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGETSERVO is not set

#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set
回复

使用道具 举报

发表于 2004-7-15 01:58:16 | 显示全部楼层
U盘被识别为scsi设备。你的内核配置文件里没有搜到scsi相关的选项~
经测试,插入U盘后以下5个模块被加载,其中floppy应该不是必须的,插入U盘的时候也检测软驱了(为什么?) 至于每个模块对应内核哪个选项我还不清楚……
等编译2.6.8的时候查一下

[code:1]floppy                 55568   0  (autoclean)
sg                     35468   0  (autoclean)
sd_mod                 13424   0  (autoclean)
usb-storage            72800   0
scsi_mod              103144   3  [sg sd_mod usb-storage]
[/code:1]
回复

使用道具 举报

 楼主| 发表于 2004-7-15 12:33:26 | 显示全部楼层
那么应该从何入手修改配置呢?

thx
回复

使用道具 举报

发表于 2004-7-15 15:34:19 | 显示全部楼层
[quote:2c13f6f2e5="12543122"]U盘被识别为scsi设备。你的内核配置文件里没有搜到scsi相关的选项~
经测试,插入U盘后以下5个模块被加载,其中floppy应该不是必须的,插入U盘的时候也检测软驱了(为什么?) 至于每个模块对应内核哪个选项我还不清楚……
等编译2.6.8的时候查一下

[code:1]floppy                 55568   0  (autoclean)
sg                     35468   0  (autoclean)
sd_mod                 13424   0  (autoclean)
usb-storage            72800   0
scsi_mod              103144   3  [sg sd_mod usb-storage]
[/code:1][/quote]

应该还有个usb-core,可能你编译进内核了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-8-30 06:53 , Processed in 0.079043 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表