用了一段时间的2.6.20,想换回原来的2.6.17-generic

为当前最终发行版之前的所有版本提供支持
回复
zhwlyfx
帖子: 431
注册时间: 2007-01-21 15:44
送出感谢: 0
接收感谢: 0

用了一段时间的2.6.20,想换回原来的2.6.17-generic

#1

帖子 zhwlyfx » 2007-03-26 18:45

由于在2.620下一直不能搞定usb设备,想换回原来的2.6.17内核,请问该怎么做呢,原来的内核都删除了阿
头像
hualang0929
帖子: 1226
注册时间: 2006-11-11 10:23
来自: Mars
送出感谢: 0
接收感谢: 0
联系:

#2

帖子 hualang0929 » 2007-03-26 18:49

源里面就有2.6.17啊
抬头望星空一片晴,我独行,夜已渐寒……
zhwlyfx
帖子: 431
注册时间: 2007-01-21 15:44
送出感谢: 0
接收感谢: 0

#3

帖子 zhwlyfx » 2007-03-26 19:14

安装那些包阿
雕啸长空
帖子: 1897
注册时间: 2006-09-12 14:09
送出感谢: 0
接收感谢: 0

#4

帖子 雕啸长空 » 2007-03-26 19:53

哪些USB设备,如果是U盘,移动硬盘之类只要选上下面两个就可以了

USB support:USB Mass Storage support
SCSI device support: SCSI disk support

注:我用的是2.6.20-4
Fair winds and following seas !
zhwlyfx
帖子: 431
注册时间: 2007-01-21 15:44
送出感谢: 0
接收感谢: 0

#5

帖子 zhwlyfx » 2007-03-26 20:00

,想换回去不想用20的内核了
binsir543
帖子: 180
注册时间: 2007-03-22 2:04
送出感谢: 0
接收感谢: 0

#6

帖子 binsir543 » 2007-03-26 20:14

20在哪下的17就在哪
zhwlyfx
帖子: 431
注册时间: 2007-01-21 15:44
送出感谢: 0
接收感谢: 0

#7

帖子 zhwlyfx » 2007-03-26 20:30

不是把,按楼上的说法我还得自己编译了
雕啸长空
帖子: 1897
注册时间: 2006-09-12 14:09
送出感谢: 0
接收感谢: 0

#8

帖子 雕啸长空 » 2007-03-26 20:39

源里面一大把

代码: 全选

linux-image-2.6.17-10-generic - Linux kernel image for version 2.6.17 on x86/x86_64
linux-image-2.6.17-11-generic - Linux kernel image for version 2.6.17 on x86/x86_64
linux-image-generic - Generic Linux kernel image
linux-image-2.6.17-10-386 - Linux kernel image for version 2.6.17 on i386
linux-image-2.6.17-10-server - Linux kernel image for version 2.6.17 on x86/x86_64
linux-image-2.6.17-10-server-bigiron - Linux kernel image for version 2.6.17 on BigIron Server Equipment
linux-image-2.6.17-11-386 - Linux kernel image for version 2.6.17 on i386
linux-image-2.6.17-11-server - Linux kernel image for version 2.6.17 on x86/x86_64
linux-image-2.6.17-11-server-bigiron - Linux kernel image for version 2.6.17 on BigIron Server Equipment
linux-image-386 - Linux kernel image on 386.
linux-image-686 - Obsoleted by: linux-image-generic
linux-image-debug-2.6.17-10-386 - Linux kernel debug image for version 2.6.17 on i386
linux-image-debug-2.6.17-10-generic - Linux kernel debug image for version 2.6.17 on x86/x86_64
linux-image-debug-2.6.17-10-server - Linux kernel debug image for version 2.6.17 on x86/x86_64
linux-image-debug-2.6.17-10-server-bigiron - Linux kernel debug image for version 2.6.17 on BigIron Server Equipment
linux-image-debug-2.6.17-11-386 - Linux kernel debug image for version 2.6.17 on i386
linux-image-debug-2.6.17-11-generic - Linux kernel debug image for version 2.6.17 on x86/x86_64
linux-image-debug-2.6.17-11-server - Linux kernel debug image for version 2.6.17 on x86/x86_64
linux-image-debug-2.6.17-11-server-bigiron - Linux kernel debug image for version 2.6.17 on BigIron Server Equipment
linux-image-k7 - Obsoleted by: linux-image-generic
linux-image-server - Linux kernel image on Server Equipment.
linux-image-server-bigiron - Linux kernel image on BigIron Server Equipment.
linux-686-smp - Obsoleted by: linux-image-generic
linux-image-2.6.17-50-386 - Linux kernel image for version 2.6.17 on i386
linux-image-2.6.17-50-generic - Linux kernel image for version 2.6.17 on x86/x86_64
linux-image-2.6.17-50-server - Linux kernel image for version 2.6.17 on x86/x86_64
linux-image-2.6.17-50-server-bigiron - Linux kernel image for version 2.6.17 on BigIron Server Equipment
linux-image-debug-2.6.17-50-386 - Linux kernel debug image for version 2.6.17 on i386
linux-image-debug-2.6.17-50-generic - Linux kernel debug image for version 2.6.17 on x86/x86_64
linux-image-debug-2.6.17-50-server - Linux kernel debug image for version 2.6.17 on x86/x86_64
linux-image-debug-2.6.17-50-server-bigiron - Linux kernel debug image for version 2.6.17 on BigIron Server Equipment
linux-image-kdump - Linux Kernel Crash Dump Image.
linux-image-2.6.20.4 - Linux kernel binary image for version 2.6.20.4

代码: 全选

inux-headers-2.6.17-10 - Header files related to Linux kernel version 2.6.17
linux-headers-2.6.17-10-generic - Linux kernel headers for version 2.6.17 on x86/x86_64
linux-headers-2.6.17-11 - Header files related to Linux kernel version 2.6.17
linux-headers-2.6.17-11-generic - Linux kernel headers for version 2.6.17 on x86/x86_64
linux-headers-generic - Generic Linux kernel headers
xen-source-2.6.16 - Linux kernel source for version 2.6.17 with Ubuntu patches
linux-headers-2.6.17-10-386 - Linux kernel headers for version 2.6.17 on i386
linux-headers-2.6.17-10-server - Linux kernel headers for version 2.6.17 on x86/x86_64
linux-headers-2.6.17-10-server-bigiron - Linux kernel headers for version 2.6.17 on BigIron Server Equipment
linux-headers-2.6.17-11-386 - Linux kernel headers for version 2.6.17 on i386
linux-headers-2.6.17-11-server - Linux kernel headers for version 2.6.17 on x86/x86_64
linux-headers-2.6.17-11-server-bigiron - Linux kernel headers for version 2.6.17 on BigIron Server Equipment
linux-headers-386 - Linux kernel headers on 386
linux-headers-686 - Obsoleted by: linux-headers-generic
linux-headers-k7 - Obsoleted by: linux-headers-generic
linux-headers-server - Linux kernel headers on Server Equipment.
linux-headers-server-bigiron - Linux kernel headers on BigIron Server Equipment.
linux-headers-2.6.17-50 - Header files related to Linux kernel version 2.6.17
linux-headers-2.6.17-50-386 - Linux kernel headers for version 2.6.17 on i386
linux-headers-2.6.17-50-generic - Linux kernel headers for version 2.6.17 on x86/x86_64
linux-headers-2.6.17-50-server - Linux kernel headers for version 2.6.17 on x86/x86_64
linux-headers-2.6.17-50-server-bigiron - Linux kernel headers for version 2.6.17 on BigIron Server Equipment
linux-source-2.6.17 - Linux kernel source for version 2.6.17 with Ubuntu patches
linux-headers-2.6.20.4 - Header files related to Linux kernel, specifically,
Fair winds and following seas !
zhwlyfx
帖子: 431
注册时间: 2007-01-21 15:44
送出感谢: 0
接收感谢: 0

#9

帖子 zhwlyfx » 2007-03-26 20:54

正是因为一大把才不知道安装哪一个呢
jupiter
帖子: 159
注册时间: 2006-04-11 22:23
送出感谢: 0
接收感谢: 0

#10

帖子 jupiter » 2007-03-27 1:04

在linuxsir.org上看到的,用文章中介绍的modconf解决我的USB移动硬盘问题,我的内核inux-image-2.6.20-12-generic
modconf 图形化的,对于我这种菜鸟只能用这个。

<来自: www.linuxsir.org> 原文地址链接忘了

我使用的是台式机的外置硬盘盒,没有笔记本外置硬盘盒,没法测试,不过想来区别只在体积问题。

测试设备:
1. 移动之星光驱盒 + 40X cd-rw
2. 移动之星硬盘盒 + 40G hd
盒子都是银灰色,铝合金那种,使用的都是些台式机上的老设备,觉得闲置可惜,就利用起来,听听 CD, 刻个盘,备份文件什么的。

Linux 支持的不错,只要内核选上相应模块就可以了。所需模块如下:
Linux Kernel v2.6.11.4 Configuration
代码:

代码: 全选

Device Drivers
       USB support  ---> 
           --- USB Host Controller Drivers 
           <M> EHCI HCD (USB 2.0) support  <---- USB 2.0   
           <M> UHCI HCD (most Intel and VIA) support  <---- USB 1.1
           --- NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE  
           <M> USB Mass Storage support
        SCSI device support  --->
           <M> SCSI device support[*]   legacy /proc/scsi/ support
           ---   SCSI support type (disk, tape, CD-ROM) 
           <M>   SCSI disk support          <---- 外置硬盘
           <M>   SCSI CDROM support     <----  外置刻录机
           <M>   SCSI generic support      <---- 选上能获取更多信息
$ modconf
在列表中选上上述模块。

查看已加载的模块:
$ lsmod |grep usb

usb_storage 32832 2
scsi_mod 94312 4 sg,sd_mod,usb_storage,sr_mod
usbhid 34496 0
usbcore 122104 5 usb_storage,uhci_hcd,usbhid,ehci_hcd

$ lsmod |grep hcd
uhci_hcd 33104 0
ehci_hcd 32936 0
usbcore 122104 5 usb_storage,uhci_hcd,usbhid,ehci_hcd

其中 sr_mod 是光驱模块,sd_mod 是硬盘模块。

下面让我们来看看都多哪些设备:
$ cd /proc/scsi/
$ ls
device_info scsi sg usb-storage
$ cat scsi
Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00

Vendor: CDWRITER Model: IDE4816 Rev: 0A2G
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: USB 2.0 Model: Storage Device Rev: 0100
Type: Direct-Access ANSI SCSI revision: 02

$ cd /dev

$ ls |grep scd
scd0
这是我的刻录机设备文件。

$ ls |grep sda
sda
sda1
sda2
sda5

sda6
这里当然是外置硬盘了。
Linux localhost 2.6.25-ARCH #1 SMP PREEMPT Fri May 16 14:29:57 CEST 2008 x86_64 Intel(R) Pentium(R) Dual CPU T2370 @ 1.73GHz GenuineIntel GNU/Linux
jupiter
帖子: 159
注册时间: 2006-04-11 22:23
送出感谢: 0
接收感谢: 0

#11

帖子 jupiter » 2007-03-27 1:21

IBM developerWorks 中国 上也有篇文章
《Linux下的硬件驱动——USB设备(上)(驱动配置部分)》,讲的很详细
原文链接:http://www.ibm.com/developerworks/cn/li ... ndex1.html
Linux localhost 2.6.25-ARCH #1 SMP PREEMPT Fri May 16 14:29:57 CEST 2008 x86_64 Intel(R) Pentium(R) Dual CPU T2370 @ 1.73GHz GenuineIntel GNU/Linux
回复

回到 “老旧版本支持”