LinuxSir.cn,穿越时空的Linuxsir!

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

[求肋]编译了一个新内核有两个问题?

[复制链接]
发表于 2007-10-19 14:40:55 | 显示全部楼层 |阅读模式
2.6.23的内核。
1.我用的是SATA硬盘旧的内核都是用/dev/sda*这种方式,咋现在是/dev/hda*这种方式了。
Oct 19 21:11:05 mailserver ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Oct 19 21:11:05 mailserver Probing IDE interface ide0...
Oct 19 21:11:05 mailserver hda: HDS728080PLA380 40Y9028LEN, ATA DISK drive
Oct 19 21:11:05 mailserver Probing IDE interface ide1...
Oct 19 21:11:05 mailserver hdc: LITE-ON DVD SHD-16P1S, ATAPI CD/DVD-ROM drive
Oct 19 21:11:05 mailserver ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Oct 19 21:11:05 mailserver ide1 at 0x170-0x177,0x376 on irq 15
Oct 19 21:11:05 mailserver hda: max request size: 512KiB
Oct 19 21:11:05 mailserver hda: 156312576 sectors (80032 MB) w/7677KiB Cache, CHS=16383/255/63
Oct 19 21:11:05 mailserver hda: cache flushes supported
Oct 19 21:11:05 mailserver hda: hda1 hda2 < hda5 > hda3 hda4
Oct 19 21:11:05 mailserver hdc: ATAPI 48X DVD-ROM drive, 1727kB Cache

2.还有一个是启动到一半的时候显示屏就没信号了!但系统还是能正常启动的,所有服务都能防问!
Oct 19 21:11:05 mailserver intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM chipsets
Oct 19 21:11:05 mailserver intelfb: Version 0.9.4
Oct 19 21:11:05 mailserver ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
Oct 19 21:11:05 mailserver intelfb: 00:02.0: Intel(R) 945G, aperture size 256MB, stolen memory 7932kB
Oct 19 21:11:05 mailserver intelfb: Mode is interlaced.
Oct 19 21:11:05 mailserver intelfb: Initial video mode is 1024x768-32@70.
Oct 19 21:11:05 mailserver Console: switching to colour frame buffer device 128x48
Oct 19 21:11:05 mailserver ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
Oct 19 21:11:05 mailserver PCI: Setting latency timer of device 0000:00:1b.0 to 64
发表于 2007-10-19 14:48:11 | 显示全部楼层
hdx是ide接口的硬盘~包括光驱也是~

第二个问题是不是因为新内核对intel集成显卡支持不好啊,用vesa的驱动先顶着,反正fb的要求不高,vesa肯定能用~
回复 支持 反对

使用道具 举报

发表于 2007-10-19 14:56:48 | 显示全部楼层
sata硬盘要在把scsi disk suppor选上.配置内核的sata选项里有一行英文已经说明了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-19 14:57:20 | 显示全部楼层
我的电脑上没有IDE硬盘。只有一个SATA的,一个光驱。
启动内核时本来是要用root=/dev/sda3,但现在要改为root=/dev/hda3才行!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-22 15:09:15 | 显示全部楼层
咋没有回答呢!!!!
回复 支持 反对

使用道具 举报

发表于 2007-10-22 15:38:20 | 显示全部楼层
1、是不是在BIOS里把SATA设置成PATA模拟方式了?
2、用xdm启动的?那就先停了这个服务看看到底X是用哪个驱动。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-22 16:09:20 | 显示全部楼层
没有装Xorg!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-22 17:10:14 | 显示全部楼层
问题2解决了!是splash不行,用VGA=791就行了。
下面是旧内核的启动信息:
Oct 22 16:51:46 mailserver Probing IDE interface ide1...
Oct 22 16:51:46 mailserver hdc: LITE-ON DVD SHD-16P1S, ATAPI CD/DVD-ROM drive
Oct 22 16:51:46 mailserver ide1 at 0x170-0x177,0x376 on irq 15
Oct 22 16:51:46 mailserver hdc: ATAPI 48X DVD-ROM drive, 1727kB Cache
Oct 22 16:51:46 mailserver Uniform CD-ROM driver Revision: 3.20
Oct 22 16:51:46 mailserver megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
Oct 22 16:51:46 mailserver megaraid: 2.20.4.9 (Release Date: Sun Jul 16 12:27:22 EST 2006)
Oct 22 16:51:46 mailserver megasas: 00.00.03.05 Mon Oct 02 11:21:32 PDT 2006
Oct 22 16:51:46 mailserver ata_piix 0000:00:1f.2: version 2.00ac6
Oct 22 16:51:46 mailserver ata_piix 0000:00:1f.2: MAP [ P0 P2 IDE IDE ]
Oct 22 16:51:46 mailserver ACPI: PCI Interrupt 0000:00:1f.2 -> GSI 19 (level, low) -> IRQ 19
Oct 22 16:51:46 mailserver ata: 0x170 IDE port busy
Oct 22 16:51:46 mailserver ata: conflict with ide1
Oct 22 16:51:46 mailserver PCI: Setting latency timer of device 0000:00:1f.2 to 64
Oct 22 16:51:46 mailserver ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0x30B0 irq 14
Oct 22 16:51:46 mailserver ata2: DUMMY
Oct 22 16:51:46 mailserver scsi0 : ata_piix
Oct 22 16:51:46 mailserver ata1.00: ATA-7, max UDMA/133, 156312576 sectors: LBA48 NCQ (depth 0/32)
Oct 22 16:51:46 mailserver ata1.00: ata1: dev 0 multi count 16
Oct 22 16:51:46 mailserver ata1.00: configured for UDMA/133
Oct 22 16:51:46 mailserver scsi1 : ata_piix
Oct 22 16:51:46 mailserver scsi 0:0:0:0: Direct-Access     ATA      HDS728080PLA380  PF2O PQ: 0 ANSI: 5
Oct 22 16:51:46 mailserver SCSI device sda: 156312576 512-byte hdwr sectors (80032 MB)
Oct 22 16:51:46 mailserver sda: Write Protect is off
Oct 22 16:51:46 mailserver sda: Mode Sense: 00 3a 00 00
Oct 22 16:51:46 mailserver SCSI device sda: drive cache: write back
Oct 22 16:51:46 mailserver SCSI device sda: 156312576 512-byte hdwr sectors (80032 MB)
Oct 22 16:51:46 mailserver sda: Write Protect is off
Oct 22 16:51:46 mailserver sda: Mode Sense: 00 3a 00 00
Oct 22 16:51:46 mailserver SCSI device sda: drive cache: write back
Oct 22 16:51:46 mailserver sda: sda1 sda2 < sda5 > sda3 sda4
Oct 22 16:51:46 mailserver sd 0:0:0:0: Attached scsi disk sda
Oct 22 16:51:46 mailserver sd 0:0:0:0: Attached scsi generic sg0 type 0
回复 支持 反对

使用道具 举报

发表于 2007-10-22 20:26:46 | 显示全部楼层
.... 呵呵 , 你跟我机器一样哦,我也是 945G .. intel E2160... 也是今天装 gentoo , 也是 sata 认做了 hd ...

我的情况是 2硬盘, sata / ide 都有,以前没装过sata,不知道 fstab / menu.lst ( 用的ubuntu grub ) 该怎么写 , 编译内核改grub/fstab 从黑,到能启动用了我 4,5个小时 , 我用vga=791 不行,估计是没选 framebuffer 。。
回复 支持 反对

使用道具 举报

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

本版积分规则

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