LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 739|回复: 4

还是一些内核问题

[复制链接]
发表于 2006-6-11 16:47:18 | 显示全部楼层 |阅读模式
我现在两个kernel :2。6。2。-386 & 2.6.16-20
在kernel2。6。16-20 下 pcmcia 服务没有起来 ,因为我的垃圾d-link dwl-650无线网卡一个灯都不亮,而且usb好像也有问题 /dev/目录下没有sd*之类的文件 看来 编译内核的时候多删了一些东西
我在.config 文件检索 pcmcia ,就搜索到两个地方有,而且一个地方没有编译到内核或者编译为模块,
  1. #
  2. # Bus options (PCI, PCMCIA, EISA, MCA, ISA)
  3. #
  4. CONFIG_PCI=y
  5. # CONFIG_PCI_GOBIOS is not set
  6. # CONFIG_PCI_GOMMCONFIG is not set
  7. # CONFIG_PCI_GODIRECT is not set
  8. CONFIG_PCI_GOANY=y
  9. CONFIG_PCI_BIOS=y
  10. CONFIG_PCI_DIRECT=y
  11. CONFIG_PCI_MMCONFIG=y
  12. # CONFIG_PCIEPORTBUS is not set
  13. CONFIG_PCI_MSI=y
  14. # CONFIG_PCI_LEGACY_PROC is not set
  15. # CONFIG_PCI_DEBUG is not set
  16. CONFIG_ISA_DMA_API=y
  17. CONFIG_ISA=y
  18. CONFIG_EISA=y
  19. CONFIG_EISA_VLB_PRIMING=y
  20. CONFIG_EISA_PCI_EISA=y
  21. CONFIG_EISA_VIRTUAL_ROOT=y
  22. CONFIG_EISA_NAMES=y
  23. CONFIG_MCA=y
  24. CONFIG_MCA_LEGACY=y
  25. # CONFIG_MCA_PROC_FS is not set
  26. # CONFIG_SCx200 is not set

  27. #
  28. [b]# PCCARD (PCMCIA/CardBus) support[/b]
复制代码

另一个问题是在新内核下,mount 无法使用loop参数
我又检索内核配置文件 发现:
  1. # CONFIG_BLK_DEV_LOOP is not set
复制代码

是罪魁祸首??
最后一个问题就是无法挂在usb u盘了,就是因为/dev/下没有sda 或者sda1之类
检索,cat /boot/config-2.6.16.20 |grep USB |grep is
如下:

  1. # CONFIG_SND_USB_USX2Y is not set
  2. # CONFIG_USB_DEBUG is not set
  3. # Miscellaneous USB options
  4. # CONFIG_USB_DYNAMIC_MINORS is not set
  5. # CONFIG_USB_SUSPEND is not set
  6. # CONFIG_USB_OTG is not set
  7. # CONFIG_USB_ISP116X_HCD is not set
  8. # CONFIG_USB_OHCI_BIG_ENDIAN is not set
  9. # CONFIG_USB_SL811_HCD is not set
  10. # CONFIG_OBSOLETE_OSS_USB_DRIVER is not set
  11. # CONFIG_USB_ACM is not set
  12. # CONFIG_USB_PRINTER is not set
  13. # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
  14. # CONFIG_USB_STORAGE_DEBUG is not set
  15. # CONFIG_USB_STORAGE_USBAT is not set
  16. # CONFIG_USB_STORAGE_ALAUDA is not set
  17. # CONFIG_USB_LIBUSUAL is not set
  18. # CONFIG_USB_HIDINPUT_POWERBOOK is not set
  19. # CONFIG_USB_AIPTEK is not set
  20. # CONFIG_USB_WACOM is not set
  21. # CONFIG_USB_ACECAD is not set
  22. # CONFIG_USB_KBTAB is not set
  23. # CONFIG_USB_POWERMATE is not set
  24. # CONFIG_USB_MTOUCH is not set
  25. # CONFIG_USB_ITMTOUCH is not set
  26. # CONFIG_USB_EGALAX is not set
  27. # CONFIG_USB_YEALINK is not set
  28. # CONFIG_USB_XPAD is not set
  29. # CONFIG_USB_ATI_REMOTE is not set
  30. # CONFIG_USB_ATI_REMOTE2 is not set
  31. # CONFIG_USB_KEYSPAN_REMOTE is not set
  32. # CONFIG_USB_APPLETOUCH is not set
  33. # CONFIG_USB_MDC800 is not set
  34. # CONFIG_USB_MICROTEK is not set
  35. # CONFIG_USB_DABUSB is not set
  36. # CONFIG_USB_VICAM is not set
  37. # CONFIG_USB_DSBR is not set
  38. # CONFIG_USB_ET61X251 is not set
  39. # CONFIG_USB_IBMCAM is not set
  40. # CONFIG_USB_KONICAWC is not set
  41. # CONFIG_USB_OV511 is not set
  42. # CONFIG_USB_SE401 is not set
  43. # CONFIG_USB_SN9C102 is not set
  44. # CONFIG_USB_STV680 is not set
  45. # CONFIG_USB_PWC is not set
  46. # CONFIG_USB_NET_GL620A is not set
  47. # CONFIG_USB_NET_PLUSB is not set
  48. # CONFIG_USB_NET_RNDIS_HOST is not set
  49. # CONFIG_USB_NET_CDC_SUBSET is not set
  50. # CONFIG_USB_ZD1201 is not set
  51. # CONFIG_USB_SERIAL_AIRPRIME is not set
  52. # CONFIG_USB_SERIAL_ANYDATA is not set
  53. # CONFIG_USB_SERIAL_CP2101 is not set
  54. # CONFIG_USB_SERIAL_CYPRESS_M8 is not set
  55. # CONFIG_USB_SERIAL_GARMIN is not set
  56. # CONFIG_USB_SERIAL_IPW is not set
  57. # CONFIG_USB_SERIAL_KEYSPAN_MPR is not set
  58. # CONFIG_USB_SERIAL_KEYSPAN_USA28 is not set
  59. # CONFIG_USB_SERIAL_KEYSPAN_USA28X is not set
  60. # CONFIG_USB_SERIAL_KEYSPAN_USA28XA is not set
  61. # CONFIG_USB_SERIAL_KEYSPAN_USA28XB is not set
  62. # CONFIG_USB_SERIAL_KEYSPAN_USA19 is not set
  63. # CONFIG_USB_SERIAL_KEYSPAN_USA18X is not set
  64. # CONFIG_USB_SERIAL_KEYSPAN_USA19W is not set
  65. # CONFIG_USB_SERIAL_KEYSPAN_USA19QW is not set
  66. # CONFIG_USB_SERIAL_KEYSPAN_USA19QI is not set
  67. # CONFIG_USB_SERIAL_KEYSPAN_USA49W is not set
  68. # CONFIG_USB_SERIAL_KEYSPAN_USA49WLC is not set
  69. # CONFIG_USB_SERIAL_HP4X is not set
  70. # CONFIG_USB_SERIAL_SAFE_PADDED is not set
  71. # CONFIG_USB_SERIAL_TI is not set
  72. # USB Miscellaneous drivers
  73. # CONFIG_USB_EMI62 is not set
  74. # CONFIG_USB_EMI26 is not set
  75. # CONFIG_USB_AUERSWALD is not set
  76. # CONFIG_USB_RIO500 is not set
  77. # CONFIG_USB_LEGOTOWER is not set
  78. # CONFIG_USB_LCD is not set
  79. # CONFIG_USB_LED is not set
  80. # CONFIG_USB_CYTHERM is not set
  81. # CONFIG_USB_PHIDGETKIT is not set
  82. # CONFIG_USB_PHIDGETSERVO is not set
  83. # CONFIG_USB_IDMOUSE is not set
  84. # CONFIG_USB_SISUSBVGA is not set
  85. # CONFIG_USB_LD is not set
  86. # CONFIG_USB_TEST is not set
  87. # CONFIG_USB_ATM is not set
  88. # CONFIG_USB_GADGET_DEBUG_FILES is not set
  89. # CONFIG_USB_GADGET_PXA2XX is not set
  90. # CONFIG_USB_GADGET_GOKU is not set
  91. # CONFIG_USB_GADGET_LH7A40X is not set
  92. # CONFIG_USB_GADGET_OMAP is not set
  93. # CONFIG_USB_GADGET_DUMMY_HCD is not set
  94. # CONFIG_USB_FILE_STORAGE_TEST is not set
复制代码


哪位热心人帮我看看 由于哪个 is not set 让我的x24 不不能用u盘


在原来安装的内核上 无线网卡act灯亮了 link 没反应 ,使用ndiswrapper 安装windows驱动 奇怪只能用for win98驱动 ,如果选择for winxp驱动 ,ndiswarpper -l 就显示 invalid driver,装上for win98驱动后,modprobe ndiswrapper 成功 ,dmesg 看到 load了
但是iwconfig 没有看到wlan0 之类的东东 ,只有
  1. debian:/home/joey/ndiswrapper-1.17# iwconfig
  2. lo        no wireless extensions.

  3. eth0      no wireless extensions.

  4. eth1      no wireless extensions.

  5. sit0      no wireless extensions.

复制代码


郁闷了,高手快来帮我阿
 楼主| 发表于 2006-6-11 16:54:02 | 显示全部楼层
# PCCARD (PCMCIA/CardBus) support
#
# CONFIG_PCCARD is not set
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-12 08:15:55 | 显示全部楼层
u盘问题是解决了:scsi disk support 选上编译一下就好了
现在就是一个pcmcia无线网卡用了 ,好像这个服务没有起来

大虾们来帮帮我阿
回复 支持 反对

使用道具 举报

发表于 2006-6-12 09:35:56 | 显示全部楼层
最好不要重新编译内核,可以通过制作initrd的方式加以解决。
回复 支持 反对

使用道具 举报

发表于 2006-6-12 23:15:48 | 显示全部楼层
Post by shitbaby
# PCCARD (PCMCIA/CardBus) support
#
# CONFIG_PCCARD is not set

你这不是知道问题就在这吗?
# PCCARD (PCMCIA/CardBus) support
#
CONFIG_PCCARD=y
# CONFIG_PCMCIA_DEBUG is not set
CONFIG_PCMCIA=y
# CONFIG_PCMCIA_LOAD_CIS is not set
# CONFIG_PCMCIA_IOCTL is not set
CONFIG_CARDBUS=y

#
# PC-card bridges
#
CONFIG_YENTA=y
# CONFIG_PD6729 is not set
# CONFIG_I82092 is not set
# CONFIG_TCIC is not set
CONFIG_PCCARD_NONSTATIC=y
回复 支持 反对

使用道具 举报

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

本版积分规则

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