LinuxSir.cn,穿越时空的Linuxsir!

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

内核编译中的小问题!

[复制链接]
发表于 2002-8-30 22:09:38 | 显示全部楼层 |阅读模式


小弟刚重新编译成功2.4.18-3的内核,大问题是没有,就请大家帮忙看看这些小问题!

1.我的新编内核在启动时加上vga=***就会黑屏(我常用vga=789,分辨率800*600),不知道在内核编译时就加上什么选项??
2.新编内核不能自动关闭主板电源,我差不多把高级电源管理下的选项都选上了,不知道还要选什么??
3.在网络选项方面有没有一些加快网速的选项,我现在的拔号速度只有32100,慢死了,我用ESS2838WINMODEM!
望有经验的兄弟帮帮忙!

刚刚重新编译过内核,上面的三个总是都解决了,不过上网的速度不是愉了很多,现 在是33600!最小开网页不慢了
 楼主| 发表于 2002-9-1 18:06:01 | 显示全部楼层
到现在我还未能解决上面的第二点问题,我用MANDRAKE发行版的内核 是可以自动关闭电源的,为什么在RH下不行,我试过很多选项都不行,试过按照MANDRAKE的选项编译还是不行,请兄弟们帮帮手啊!
 楼主| 发表于 2002-9-1 18:54:39 | 显示全部楼层
建议大家编译内核时,make bzImage改为make bzdisk,把软盘插入软驱,它会自动制作新内核的启动盘,如果大家对新内核不太放心,用这种方法就最好了,不用改lilo,直到自已满意再改LILO。
我自己是不用LILO的,我是用LOADLIN程序启动。

(这两天版主都放假啦!总不见有人回复!)
发表于 2002-9-1 19:18:48 | 显示全部楼层
关于APM支持嘛~如果你用make xconfig就会在smp支持里面的帮助看到,smp把apm支持看作是不安全的.所以要用apm关机就不可以smp选项,除非你有多颗cpu.
发表于 2002-9-1 19:27:21 | 显示全部楼层
小毅,请恕我失职,您的贴子没有注意到还没有解决,现在已经把此帖加到这里了,请有经验的朋友来看看,直到解决为止:

http://www.linuxsir.cn/forum.php?mod=viewthread&tid=5130

朋友们如果发现还没解决的问题,不用自己辛苦的顶了,只要发个悄悄话向我反映就行了,我会及时加入置顶的贴子。当然我也会多多查看贴子的问题是否已经解决,难免有疏漏,请兄弟谅解。
 楼主| 发表于 2002-9-1 21:03:13 | 显示全部楼层
我没有选择smp选项呀,我的CPU的athlon 1G,主板是VIA KT133A,
我把apm选y,它下面的选项都选y了,但还不能自动电源!
我用MANDRAKE时是可以的,BIOS设置应该没有问题!
 楼主| 发表于 2002-9-1 21:19:25 | 显示全部楼层
下面是我的开机提示信息,请大家帮我分析下不能软关机的原因!!


=================================================

Linux version 2.4.18 (root@localhost.localdomain) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #1 日 9月 1 20:38:22 CST 2002
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000017ff0000 (usable)
BIOS-e820: 0000000017ff0000 - 0000000017ff3000 (ACPI NVS)
BIOS-e820: 0000000017ff3000 - 0000000018000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
On node 0 totalpages: 98288
zone(0): 4096 pages.
zone(1): 94192 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/hdc3 devfs=mount BOOT_IMAGE=newtest
Initializing CPU#0
Detected 996.026 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 1985.74 BogoMIPS
Memory: 384920k/393152k available (910k kernel code, 7844k reserved, 246k data, 216k init, 0k highmem)
Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Before vendor init, caps: 0183f9ff c1c7f9ff 00000000, vendor = 2
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After vendor init, caps: 0183f9ff c1c7f9ff 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU:             Common caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU: AMD Athlon(tm) processor stepping 02
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
lvcool: Enabling special AMD Athlon/VIA KT133(A) idle loop (ACPI C2 mode)
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb240, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 0: assuming transparent
PCI: Using IRQ router VIA [1106/0686] at 00:07.0
Applying VIA southbridge workaround.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Starting kswapd
vesafb: framebuffer at 0xd0000000, mapped to 0xd8800000, size 32768k
vesafb: mode is 800x600x32, linelength=3200, pages=0
vesafb: protected mode interface info at c000:0eb9
vesafb: scrolling: redraw
vesafb: directcolor: size=8:8:8:8, shift=24:16:8:0
Console: switching to colour frame buffer device 100x37
fb0: VESA VGA frame buffer device
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1
    ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hdaMA, hdb:pio
    ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdcMA, hddMA
hda: IC35L040AVER07-0, ATA DISK drive
hdc: QUANTUM FIREBALL CR6.4A, ATA DISK drive
hdd: IDE/ATAPI CD-ROM 52XS, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 80418240 sectors (41174 MB) w/1916KiB Cache, CHS=5005/255/63, UDMA(100)
hdc: 12594960 sectors (6449 MB) w/418KiB Cache, CHS=13328/15/63, (U)DMA
hdd: ATAPI 52X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 >
hdc:hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdd: DMA disabled
ide1: reset: success
[PTBL] [784/255/63] hdc1 hdc2 hdc3 hdc4
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 321M
agpgart: Detected Via Apollo Pro KT133 chipset
agpgart: AGP aperture is 64M @ 0xd8000000
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 216k freed
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
ide1: reset: success
Adding Swap: 361452k swap-space (priority -1)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 20:44:38 Sep  1 2002
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 10 for device 00:07.2
IRQ routing conflict for 00:07.2, have irq 11, want irq 10
IRQ routing conflict for 00:07.3, have irq 11, want irq 10
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 10 for device 00:07.3
IRQ routing conflict for 00:07.2, have irq 11, want irq 10
IRQ routing conflict for 00:07.3, have irq 11, want irq 10
usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
MSDOS FS: Using codepage 936
MSDOS FS: IO charset cp936
MSDOS FS: Using codepage 936
MSDOS FS: IO charset cp936
MSDOS FS: Using codepage 936
MSDOS FS: IO charset cp936
MSDOS FS: Using codepage 936
MSDOS FS: IO charset cp936
MSDOS FS: Using codepage 936
MSDOS FS: IO charset cp936
MSDOS FS: Using codepage 936
MSDOS FS: IO charset cp936
MSDOS FS: Using codepage 936
MSDOS FS: IO charset cp936
VFS: Disk change detected on device ide1(22,64)
hdd: DMA disabled
hdc: Speed warnings UDMA 3/4/5 is not functional.
 楼主| 发表于 2002-9-1 22:09:22 | 显示全部楼层
to 笨猪猎人
可不可以写个具体的config文件写我,或把你的config文件贴上来看看,最好是2.4.18内核的!
发表于 2002-9-5 10:56:56 | 显示全部楼层
哦~你的内核怎么这么多东西。我是用DEBIAN的,而且我是用2.5.31的内核。我在网吧上网没有软驱不好拿来,我尽量想想办法。
发表于 2002-9-5 10:57:27 | 显示全部楼层
你用make zlilo试试?建议你用make xconfig
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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