免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 4402 | 回复: 16
打印 上一主题 下一主题

编译内核成功 机器速度增加很多 但遇到一奇怪问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-10-26 00:37 |只看该作者 |倒序浏览
编译过程中 我没用动任何PPP方面的设置
但编译成功并重新启动以后 却再不能开机自动PPPOE
PPP。CONF RC。CONF 也没有做任何修改
开机以后有提示PPP进程 但是用IFCONFIG查看
只有TUN0连接 却没能获取IP地址
将PPP进程KILL之后 又可以手动PPP -DDIAL ADSL 上网。。。。。。。。。晕了




恳请高手赐教

内核配置

RC。CONF

PPP日志 在以下几楼

救命阿~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~```

[ 本帖最后由 qiongren 于 2007-11-1 10:44 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-10-26 07:45 |只看该作者
show you kernel

论坛徽章:
2
丑牛
日期:2013-09-29 09:47:222015七夕节徽章
日期:2015-08-21 11:06:17
3 [报告]
发表于 2007-10-26 08:06 |只看该作者
你确定你没动ppp方面的?把内核恢复回去可以吗?如果可以,那肯定是你内核的问题了

论坛徽章:
0
4 [报告]
发表于 2007-10-26 08:58 |只看该作者
你确定?

论坛徽章:
0
5 [报告]
发表于 2007-10-26 11:10 |只看该作者
谢谢各位高手的指点  我把我的配置文件和 KERNEL 都给大家看下吧

RC.CONF
gateway_enable="YES"
defaultrouter="192.168.1.1"
hostname="supermanbar.fs"
ifconfig_rl0="inet 192.168.1.12  netmask 255.255.255.0"
keymap="us.iso"
linux_enable="YES"
sshd_enable="YES"
usbd_enable="NO"
moused_enable="YES"

ppp_enable="YES"
ppp_mode="dial"
ppp_nat="YES"
ppp_profile="adsl"
lpd_enable="YES"
rpcbind_enable="YES"
nfs_server_enable="YES"
mountd_flags="-r"
swapfile="/usr/swap0"
gdm_enable="YES"


PPP.CONF

default:
set log Phase tun command

adsl:
set device PPPoE:rl0
set mru 1492
set mtu 1492
set authname xxxxxxxx
set authkey xxxxxx
set dial
set login
add default HISADDR


KERNEL

论坛徽章:
0
6 [报告]
发表于 2007-10-26 11:15 |只看该作者
/USR/SRC/SYS/I386/CONF/MYKERNEL


#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US ... lconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.13 2006/10/09 18:41:36 simon Exp $

machine                i386
cpu                I686_CPU
ident                MYKERNEL

# To statically compile in device wiring instead of /boot/device.hints
#hints                "GENERIC.hints"                # Default places to look for devices.

makeoptions        DEBUG=-g                # Build kernel with gdb(1) debug symbols

options         SCHED_4BSD                # 4BSD scheduler
options         PREEMPTION                # Enable kernel thread preemption
options         INET                        # InterNETworking
options         FFS                        # Berkeley Fast Filesystem
options         SOFTUPDATES                # Enable FFS soft updates support
options         UFS_ACL                        # Support for access control lists
options         UFS_DIRHASH                # Improve performance on big directories
options         MD_ROOT                        # MD is a potential root device
options         NFSCLIENT                # Network Filesystem Client
options         NFSSERVER                # Network Filesystem Server
options         NFS_ROOT                # NFS usable as /, requires NFSCLIENT
options         CD9660                        # ISO 9660 Filesystem
options         PROCFS                        # Process filesystem (requires PSEUDOFS)
options         PSEUDOFS                # Pseudo-filesystem framework
options         GEOM_GPT                # GUID Partition Tables.
options         COMPAT_43                # Compatible with BSD 4.3 [KEEP THIS!]
options         COMPAT_FREEBSD4                # Compatible with FreeBSD4
options         COMPAT_FREEBSD5                # Compatible with FreeBSD5
options         SCSI_DELAY=5000                # Delay (in ms) before probing SCSI
options         KTRACE                        # ktrace(1) support
options         SYSVSHM                        # SYSV-style shared memory
options         SYSVMSG                        # SYSV-style message queues
options         SYSVSEM                        # SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         ADAPTIVE_GIANT                # Giant mutex is adaptive.

device                apic                        # I/O APIC

# Bus support.
device                eisa
device                pci

# Floppy drives

# ATA and ATAPI devices
device                ata
device                atadisk                # ATA disk drives
device                atapicd                # ATAPI CDROM drives
options         ATA_STATIC_ID        # Static device numbering

# SCSI Controllers
device                ahc                # AHA2940 and onboard AIC7xxx devices

# SCSI peripherals
device                scbus                # SCSI bus (required for SCSI)
device                ch                # SCSI media changers
device                da                # Direct Access (disks)
device                sa                # Sequential Access (tape etc)
device                pass                # Passthrough device (direct SCSI access)
device                ses                # SCSI Environmental Services (and SAF-TE)



# atkbdc0 controls both the keyboard and the PS/2 mouse
device                atkbdc                # AT keyboard controller
device                atkbd                # AT keyboard
device                psm                # PS/2 mouse

device                kbdmux                # keyboard multiplexer

device                vga                # VGA video card driver

device                splash                # Splash screen and screen saver support

device                sc

#device                vt
#options         XSERVER                # support for X server on a vt console
#options         FAT_CURSOR        # start with block cursor

device                agp                # support several AGP chipsets

# Power management support (see NOTES for more options)
#device                apm
# Add suspend/resume support for the i8254.
device                pmtimer


# Serial (COM) ports
device                sio                # 8250, 16[45]50 based serial ports

# Parallel port
device                ppc
device                ppbus                # Parallel port bus (required)
device                lpt                # Printer
device                plip                # TCP/IP over parallel
device                ppi                # Parallel port interface device
#device                vpo                # Requires scbus and da

# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to the sio and/or ppc drivers):

device                miibus
device                rl                # RealTek 8129/8139
device                vr                # VIA Rhine, Rhine II



# Pseudo devices.
device                loop                # Network loopback
device                random                # Entropy device
device                ether                # Ethernet support
device                sl                # Kernel SLIP
device                ppp                # Kernel PPP
device                tun                # Packet tunnel.
device                pty                # Pseudo-ttys (telnet etc)
device                md                # Memory "disks"
device                gif                # IPv6 and IPv4 tunneling
device                faith                # IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device                bpf                # Berkeley packet filter

device                sound
device                snd_es137x

论坛徽章:
0
7 [报告]
发表于 2007-10-26 11:16 |只看该作者
我的DMESG输出

dmesg
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #2: Thu Oct 25 23:08:14 CST 2007
    root@supermanbar.fs:/usr/obj/usr/src/sys/MYKERNEL
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(TM) CPU                1000MHz (999.72-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6b4  Stepping = 4
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 536805376 (511 MB)
avail memory = 520081408 (495 MB)
kbd1 at kbdmux0
acpi0: <IntelR AWRDACPI> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82815 (i815 GMCH) host to PCI bridge> mem 0xe8000000-0xebffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
rl0: <RealTek 8139 10/100BaseTX> port 0x9000-0x90ff mem 0xef000000-0xef0000ff irq 11 at device 1.0 on pci2
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:e0:4c:fe:81:d8
ahc0: <Adaptec 2940 Ultra2 SCSI adapter (OEM)> port 0x9400-0x94ff mem 0xef001000-0xef001fff irq 11 at device 2.0 on pci2
ahc0: [GIANT-LOCKED]
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
pcm0: <AudioPCI ES1373-B> port 0x9800-0x983f irq 11 at device 3.0 on pci2
pcm0: <Cirrus Logic CS4297A AC97 Codec>
pcm0: <Playback: DAC2 / Record: ADC>
vr0: <VIA VT6105 Rhine III 10/100BaseTX> port 0x9c00-0x9cff mem 0xef002000-0xef0020ff irq 11 at device 4.0 on pci2
miibus1: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:19:5b:34:5c:0a
atapci0: <HighPoint HPT370 UDMA100 controller> port 0xa000-0xa007,0xa400-0xa403,0xa800-0xa807,0xac00-0xac03,0xb000-0xb0ff irq 9 at device 5.0 on pci2
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH2 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
pci0: <serial bus, USB> at device 31.2 (no driver attached)
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pci0: <serial bus, USB> at device 31.4 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f,0x778-0x77b irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xccfff,0xd0000-0xd57ff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 999721372 Hz quality 800
Timecounters tick every 1.000 msec
acd0: DMA limited to UDMA33, controller found non-ATA66 cable
acd0: DVDR <SONY DVD RW DW-G120A/MYR5> at ata0-master UDMA33
ad1: DMA limited to UDMA33, controller found non-ATA66 cable
ad1: 305245MB <Seagate ST3320620AV 3.ACH> at ata0-slave UDMA33
Waiting 5 seconds for SCSI devices to settle
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM-ESXS IC35L036UCD210F S5CJ> Fixed Direct Access SCSI-3 device
da0: 40.000MB/s transfers (20.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 34715MB (71096640 512 byte sectors: 255H 63S/T 4425C)
Trying to mount root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 36 files 25
WARNING: /back was not properly dismounted
dazuko: loaded, version=2.3.2

论坛徽章:
0
8 [报告]
发表于 2007-10-26 18:33 |只看该作者
大哥门啊  帮帮忙啊

论坛徽章:
2
丑牛
日期:2013-09-29 09:47:222015七夕节徽章
日期:2015-08-21 11:06:17
9 [报告]
发表于 2007-10-26 21:06 |只看该作者

论坛徽章:
54
2017金鸡报晓
日期:2017-02-08 10:39:42操作系统版块每日发帖之星
日期:2016-03-08 06:20:00操作系统版块每日发帖之星
日期:2016-03-07 06:20:00操作系统版块每日发帖之星
日期:2016-02-22 06:20:00操作系统版块每日发帖之星
日期:2016-01-29 06:20:00操作系统版块每日发帖之星
日期:2016-01-27 06:20:00操作系统版块每日发帖之星
日期:2016-01-20 06:20:00操作系统版块每日发帖之星
日期:2016-01-06 06:20:0015-16赛季CBA联赛之江苏
日期:2015-12-21 20:00:24操作系统版块每日发帖之星
日期:2015-12-21 06:20:00IT运维版块每日发帖之星
日期:2015-11-17 06:20:002015亚冠之广州恒大
日期:2015-11-12 10:58:02
10 [报告]
发表于 2007-10-26 21:11 |只看该作者
最好还是看log。正常情况下是:/var/log/ppp.log
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP