LinuxSir.cn,穿越时空的Linuxsir!

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

shell发生错误,

[复制链接]
发表于 2003-8-9 17:42:15 | 显示全部楼层 |阅读模式
谢了!

选择确定后,终端关闭,

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2003-8-9 19:18:10 | 显示全部楼层
原来能用吗?不能用前,系统进行过什么改动?
 楼主| 发表于 2003-8-9 19:20:52 | 显示全部楼层
原来能用的,编译过内核,然后再进入就不行了,
晕~~~~~~~~~
发表于 2003-8-9 19:23:31 | 显示全部楼层
编译内核改动了些什么?

检查你的 /dev 是否有ttyp* 和ttyv* 这些是终端节点。
 楼主| 发表于 2003-8-9 19:27:47 | 显示全部楼层
有ttyv*,但是没有ttyp*文件,

我是新装上的系统,编译改了不少地方

machine                i386
cpu                I686_CPU
ident                love

#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         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         PROCFS                        #Process filesystem (requires PSEUDOFS)
options         PSEUDOFS                #Pseudo-filesystem framework
options         COMPAT_43                #Compatible with BSD 4.3 [KEEP THIS!]
options         COMPAT_FREEBSD4                #Compatible with FreeBSD4
options         KTRACE                        #ktrace(1) support
options         SYSVSHM                        #SYSV-style shared memory
options         SYSVMSG                        #SYSV-style message queues
options         SYSVSEM                        #SYSV-style semaphores
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev

# Debugging for use in -current
#options         DDB                        #Enable the kernel debugger
#options         INVARIANTS                #Enable calls of extra sanity checking
options         INVARIANT_SUPPORT        #Extra sanity checks of internal structures, required by INVARIANTS
#options         WITNESS                        #Enable checks to detect deadlocks and cycles
#options         WITNESS_SKIPSPIN        #Don't run witness on spinlocks for speed


device                isa
device                pci

# Floppy drives
device                fdc

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

# 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                vga                # VGA video card driver

device                splash                # Splash screen and screen saver support

device                pcm                #sound

# syscons is the default console driver, resembling an SCO console
device                sc

# Enable this for the pcvt (VT220 compatible) console driver
#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

# Floating point support - do not disable.
device                npx

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

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device                miibus                # MII bus support
device                sis                # Silicon Integrated Systems SiS 900/SiS 7016

# Pseudo devices - the number indicates how many units to allocate.
device random # Entropy device
device                loop                # Network loopback
device                ether                # Ethernet support

# Be aware of the administrative consequences of enabling this!
device                bpf                # Berkeley packet filter

# USB support
device                uhci                # UHCI PCI->USB interface
device                ohci                # OHCI PCI->USB interface
device                usb                # USB Bus (required)
发表于 2003-8-9 20:24:45 | 显示全部楼层
在你的内核配置文件中加一行

device pty
 楼主| 发表于 2003-8-9 20:34:50 | 显示全部楼层
晕~~~~~~~

又在编译内核,唉,好吧,试试先

谢了,呵呵
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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