Saturday, October 23, 2010

Custom FreeBSD Kernel Reference






Custom FreeBSD Kernel Reference
Published: wxjoshua
Time: 2002/10/11 19:35:24


Custom FreeBSD Kernel Reference
meaculpa (2001-06-27 10:46:15)
#
# GENERIC - Generic Machine kernel
#

# # Console type i386, because FreeBSD is the only thing running in the X86
machine "i386"

# # CPU types, see themselves as almost 86 Well
# Cpu "I386_CPU" # 386 computer
# Cpu "I486_CPU" # 486 computer
cpu "I586_CPU" # 586 computer
# Cpu "I686_CPU" # 686 computer

# # Core identity, no special significance
ident GENERIC

# # Define some structure of the system should retain much of the memory space, usually
# # 16 or 32 is enough, unless you open stations, or run X, on the right with 64
# # Note that this value is always less than the number of your memory
maxusers 32

# # A user can limit the process of implementation
options CHILD_MAX = 256
# # A user can open files limit
options OPEN_MAX = 256

# # Turn on kernel debugging, it is generally less than
# Options DDB

# # Allow debug trace memory unit (see ktrace, kdump), or left to the kernel hackers to use it
# Options KTRACE # kernel tracing

# # No FPU (SX) friends use, with people who do not need the DX
# Options MATH_EMULATE # Support for x87 emulation

# # Do you have more than 64MB of memory when the amount specified, the unit is K. For example, 128MB RAM:
# Options "MAXMEM = (128 * 1024)"

# # Support network, there must be, what nonsense
options INET # InterNETworking

# # IPX-related protocols
# Options IPX # IPX / SPX communications protocols
# Options IPXIP # IPX in IP encapsulation (not available
# Options IPTUNNEL # IP in IPX encapsulation (not available
# Options IPXPRINTFS = 0 # IPX / SPX Console Debugging Information
# Options IPX_ERRPRINTFS = 0 # IPX / SPX Console Debugging Information

# # File system settings
# # Only UFS is required, the other can not, use the load when the kernel will use LKM
# # Note that the file system name with figures, use double quotation marks Oh, look at the following Linux file system will know
options FFS # Berkeley Fast Filesystem
# Options NFS # Network Filesystem
# Options NFS_NOSERVER # Disable the NFS-server code.
# Options MSDosFS # MSDOS Filesystem
# Options "CD9660" # ISO 9660 Filesystem
# Options PROCFS # Process filesystem
# Options KERNFS # Kernel filesystem
# Options NQNFS # Enable NQNFS lease checking
# Options FDESC # File descriptor filesystem
# Options LFS # Log filesystem
# Options MFS # Memory File System
# Options NULLFS # NULL filesystem
# Options PORTAL # Portal filesystem
# Options UMAPFS # UID map filesystem
# Options UNION # Union filesystem
# Options DEVFS # devices filesystem
# #
# # A LINUX file system, use the following line friends attention
# Options "EXT2FS" # ext2fs, only in 2.2-CURRENT

# # 4.3BSD compatibility, it is necessary, there may be some procedures will be used
options "COMPAT_43" # Compatible with BSD 4.3

# # Implementation of the Linux program files, even if you use LKM loading, you still need the parameter
# # You can modify / etc / sysconfig in linux = YES, or the implementation of the / usr / bin / linux
# # By the way, you must install the packages in the linux_lib
# Options "COMPAT_LINUX" # Linux Emulator

# # SCO binary simulation
# Options "IBCS2"

# # 1 boot device SCSI card will be prepared to wait several seconds for the slower SCSI devices
# # If the CDROM is concerned is needed, the minimum is 2, select the appropriate value you like the
options "SCSI_DELAY = 4" # Be pessimistic about Joe SCSI device

# # Allow users to intercept console information, procedures for xconsole like it is necessary
options UCONSOLE # Unix console

# # The maximum number of virtual console, Alt-F1 to Alt-F12 and so on, but only the definition of limit
# # Really can use the virtual console must see / etc / ttys defined vty number
# # The value of pre-determined 16
options "MAXCONS = 8" # Max number for virtual console

# # To WINE (MS-Windows Emulator) used
# Options USER_LDT # For WINE, MS-Windows Emulator

# # Use QUOTA limit
# Options QUOTA # For quotas

# # SYSV IPC / SHM (BBS with X-window and COMPAT_LINUX needed), it is necessary
options SYSVMSG, SYSVSEM, SYSVSHM # For SYSV-IPC

# # LKM's loader, it is necessary (after the 2.1.5R has been abolished, a pre-determined parameters)
# Options LKM # Loadable kernel module loader

# # If you use the ISA to SCSI card, there are more than 16MB of memory, required to open this, or not
# # Use> 16MB of memory. If you are using EISA / VL / PCI to SCSI card do not need a
# # Open it will reduce the speed a little bit, all right Do not open (of course without the use of IDE)
# Options BOUNCE_BUFFERS # include support for DMA bounce buffers

# # Only need to use IP-Firewall, you can load with LKM
# Options IPFIREWALL # Firewall code
# Options IPFIREWALL_VERBOSE # Print information about dropped packets
# Options IPACCT # Used with ipfirewall

# # Use IP-Firewall or should it be when the router
# # In the 2.2-960323-SNAP abolished after to sysctl open (see / etc / sysconfig)
# Options GATEWAY # Internetwork gateway

# # Multicast routing, router used to do more
# Options MROUTING # Multicast routing

# # Allow the number of swap device (default 20)
# Options NSWAPDEV = 20

# # Specify the root partition on the hard disk
# On the first SCSI HD
config kernel root on sd0
# On the first IDE HD
# Config kernel root on wd0 dumps on wd0

# # Use the ISA bus
controller isa0

# # Use the EISA bus
# Controller eisa0

# # Use the PCI bus
controller pci0

# # Floppy controller
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
# Floppy A
disk fd0 at fdc0 drive 0
# Floppy B
# Disk fd1 at fdc0 drive 1

# # IDE hard disk controller
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
disk wd0 at wdc0 drive 0
disk wd1 at wdc0 drive 1

# # The second IDE hard disk controller, IDE controller has access only to use the second
# Controller wdc1 at isa? Port "IO_WD2" bio irq 15 vector wdintr
# Disk wd2 at wdc1 drive 0
# Disk wd3 at wdc1 drive 1

# # IDE (ATAPI specification) CD-ROM
# Options ATAPI # Enable ATAPI support for IDE bus
# Options ATAPI_STATIC
# Device wcd0 # IDE CD-ROM

# # SCSI controller card, from / sys/i386/conf/LINT read details
# Controller ahc0
# Controller ncr0
# Controller bt0 at isa? Port "IO_BT0" bio irq? Vector btintr
# Controller uha0 at isa? Port "IO_UHA0" bio irq? Drq 5 vector uhaintr
# Controller ahc1 at isa? Bio irq? Vector ahcintr
# Controller ahb0 at isa? Bio irq? Vector ahbintr
# Controller aha0 at isa? Port "IO_AHA0" bio irq? Drq 5 vector ahaintr
# Controller aic0 at isa? Port 0x340 bio irq 11 vector aicintr
# Controller nca0 at isa? Port 0x1f88 bio irq 10 vector ncaintr
# Controller nca1 at isa? Port 0x350 bio irq 5 vector ncaintr
# Controller sea0 at isa? Bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr

# # SCSI bus support necessary to use SCSI
# Controller scbus0

# # SCSI HD SCSI hard drive
# Device sd0 # Only need one of these, the code dynamically grows

# # SCSI CDROM SCSI drive
# Device cd0 # Only need one of these, the code dynamically grows

# # SCSI tape SCSI tape drive
# Device st0 # Only need one of these, the code dynamically grows

# # SCSI optical disk (MO) SCSI's MO drives
# Device od0 # Only need one of these, the code dynamically grows

# # SCSI media changers (Juke-Box)
# Device ch0 # Only need one of these, the code dynamically grows

#------------------ With the AT-bus drive (non-ATAPI, it is seldom a) ---------------
# # Mitsumi CDROM Mitsumi drive
# Controller mcd0 at isa? Port 0x300 bio irq 10 vector mcdintr

# # SONY CDROM drive Sony
# Controller scd0 at isa? Port 0x230 bio

# # Panasonic CDROM drive Panasonic
# Controller matcd0 at isa? Port?

# # QIC tape QIC tape drive
# Device wt0 at isa? Port 0x300 bio irq 5 drq 1 vector wtintr

# # Console screen drivers, it is necessary, less will not start
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr

# # Call the FPU in the system, regardless of whether the FPU must have, are necessary
device npx0 at isa? port "IO_NPX" irq 13 vector npxintr

# # COM1 to COM4 serial devices 1-4
device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
# Device sio2 at isa? Port "IO_COM3" tty irq 5 vector siointr
# Device sio3 at isa? Port "IO_COM4" tty irq 9 vector siointr

# # Joystick joystick device
# Device joy0 at isa? Port "IO_GAME"

# # If you have a Logitech or ATI InPort bus mouse card, would this open
# # Please note that most people use a serial mouse is not a bus mouse
# Device mse0 at isa? Port 0x23c tty irq 5 vector ms

# # To PS / 2 mouse using
# Device psm0 at isa? Port "IO_KBD" conflicts tty irq 12 vector psmintr
# Options PSM_NO_RESET

# # Printer Port
device lpt0 at isa? port? tty irq 7 vector lptintr
# Device lpt1 at isa? Port? Tty
# Device lpt2 at isa? Port? Tty

# # Card, read / sys/i386/conf/LINT, pay attention to PCI cards do not specify the hardware resources, the system will self-test
# Device ed0 at isa? Port 0x280 net irq 5 iomem 0xd8000 vector edintr
# Device ed1 at isa? Port 0x300 net irq 5 iomem 0xd8000 vector edintr
# Device eg0 at isa? Port 0x310 net irq 5 vector egintr
# Device ep0 at isa? Port 0x300 net irq 10 vector epintr
# Device IE0 at isa? Port 0x360 net irq 7 iomem 0xd0000 vector ieintr
# Device ix0 at isa? Port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr
# Device le0 at isa? Port 0x300 net irq 5 iomem 0xd0000 vector le_intr
# Device lnc0 at isa? Port 0x280 net irq 10 drq 0 vector lncintr
# Device lnc1 at isa? Port 0x300 net irq 10 drq 0 vector lncintr
# Device ze0 at isa? Port 0x300 net irq 5 iomem 0xd8000 vector zeintr
# Device zp0 at isa? Port 0x300 net irq 10 iomem 0xd8000 vector zpintr
# Device de0 # PCI --- DEC chip 21x4x series (such as DE530CT +)
# Device vx0
# Device fpa0
# Device fxp0 # PCI --- Intel chip

# # SB16 sound card, sound card other reference / sys/i386/conf/LINT
# Controller snd0
# Device sb0 at isa? Port 0x220 irq 5 conflicts drq 1 vector sbintr
# Device sbxvi0 at isa? Drq 5
# Device sbmidi0 at isa? Port 0x330
# Device opl0 at isa? Port 0x388

# # SB32/AWE32/AWE64 sound card, sound card other reference / sys/i386/conf/LINT
# Controller snd0
# Device sb0 at isa? Port 0x220 irq 5 conflicts drq 1 vector sbintr
# Device sbxvi0 at isa? Drq 5
# Device sbmidi0 at isa? Port 0x330
# Device opl0 at isa? Port 0x388
# Device awe0 at isa? Port 0x620

# # PC Speaker Audio (sound card with the PC Speaker simulation, the effect crappier)
# Device pca0 at isa? Port IO_TIMER1 tty

# # Network circuit, it is necessary,
pseudo-device loop

# # Use the Ethernet interface, it is necessary
pseudo-device ether

# # Berkerley packet filter, tcpdump, dhcp needed, it is necessary
pseudo-device bpfilter 4

# # Syslogd needs, it is necessary
pseudo-device log

# # User tty limit the maximum login limit the number of pre-set limit of 256
pseudo-device pty 256

# # PC speaker, it is necessary
pseudo-device speaker

# # Can implement gzip program, it is necessary, but only to support a.out format programs
pseudo-device gzip # Exec gzipped a.out''s

# # Support for monitoring user tty
pseudo-device snp 4 # Snoop device - to look at pty / vty / etc ..

# # Simulate a file into a sub-drive, are generally used for the exchange of files or read files with the disk image
pseudo-device vn 4 # Vnode driver (turns a file into a device)

# # Kernel-level PPP (man pppd), available LKM loading
# Pseudo-device ppp 2 # Point-to-point protocol

# # User-level PPP (man ppp), available LKM loading
# Pseudo-device tun 1 # Tunnel driver (user process ppp)

# # SLIP, available LKM loading, now rarely used
# Pseudo-device sl 2 # Serial Line IP

# # Virtual network card driver, free to write, read the information for the development of network-related programs, available LKM loading
# Pseudo-device disc # Discard device

# # Provides RAID-0 Striping, Mirroring, parity (not complete) of the function
# # Can effectively combine multiple SCSI disk, into a high-speed file system
# # For details, please man ccdconfig
# Pseudo-device ccd 4







Recommended links:



Pause slideshow TIPS



Jack Gao, became president of Autodesk China



Audio Encoders Or Decoders Report



Who cuts should be cut? Old staff or new staff?



How To Fake Brand-name Motherboard Identification



Themes And Wallpaper brief



ASF to AVI



ASF To MOV



Photoshop mouse painted illustration major combat (3): Draw Butterfly



FreeBSD Serial (49): access To X Window



Murdoch: Gone are the days BEFORE



Photoshop color change animation effects



How to transfer files from iphone to computer



How out of the trap of pseudo-BI



Wednesday, October 20, 2010

Farewell, annoying pop-up window



The process of using the computer, pop-up window will always be some that correspond to our operations must occur, while others are passively accepted. In particular, all kinds of advertising window is pervasive, hard to detect, these pop-up window has seriously affected the normal use of the computer, even cause the computer appear a certain period of time "play dead" phenomenon, so how should we deal with them?

Q: The computer often illegal advertising pop-up pages automatically with a popup blockers, and many other software can not be prohibited, killing the virus has not found any abnormality, I was Meizhe, and are there any ways to solve it?

A: This is the shared version of FlashGet to join the ad, you must run the FlashGet to appear, and register the software can disappear after the ad. There is also a way to deal with it, if you install the Windows 2000/XP/2003 operating system and partition in NTFS format, you can use folder permissions to prohibit, to Windows XP, for example, the first exit FlashGet, find C : WindowsCache277 folder (this folder to store ad files). Right click the folder, the pop-up shortcut menu, select "Properties" command, switch to the "Security" tab, the permissions to delete the role, and then click the "Advanced" button, then uncheck "Allow to come from inheritable permissions to propagate to the parent of the object "check box so that any subsequent user can not access this folder, of course, it also not work FlashGet.

Q: visit the website frequently encountered Taobao pop-up ads, strange that such a shield adware pop-up ads have no effect. How does it prohibit it pop?

A: These pop-up advertising is the use of IE browser window IE kernel to call. It is reported that Taobao is www.unionsky.cn site agents, various pop-up windows are also transferred through this site Taobao, Hosts file, we just ban this website. In the C: WINDOWSsystem32driversetc to find hosts file, use Notepad to open it, adding "127.0.0.1

www.unionsky.cn ", ANSI coded form and then save it to its original position. This trick only works here on a number of pop-up windows can play the role of prohibition, you simply pop the page address to" 0.0. 0.0 Web address "can be then added to the form of prohibition to prohibit, pop-up pages.

Q: The computer is always somehow messenger service pop-up window, the contents are all useless, illegal advertising, as long as the one on the line will appear and ask how we can eliminate?

A: Windows 2000/XP operating system at boot time, automatically activated a built-in Messenger service can receive and send popup messages to other computers. This feature was malicious, giving rise to the phenomenon of flying messenger ads. We are prohibited by the following methods: Select "Control Panel 鈫?Administrative Tools 鈫?Services", in the event of the "services" window find the "Messenger" entry and double-click, and then in the pop-up "Messenger Properties" dialog box, select the "General "tab," Startup Type "to" prohibited "and click" Stop "button.

Q: visit the website often a number of authentication dialog box will pop up, such as network name, little communication and so on, each time experiencing this phenomenon, the computer will stop responding for some time authentication pop-up window, feeling Hao Fan! So I banned the ActiveX control, although these things do not pop up, but sometimes visits a bank site or those who need to install Flash and other plug-ins to browse the site normally is not normal, what are the best of both worlds solution?

A: After all, these plug-ins are installed can be a permanent use, and so need to install plug-ins, you can start the ActiveX control, such as the installation is complete, then ban on it. Also recommend you for a very good software - Anti ActiveX nags, it can shield the window 42 kinds of nuisance, basically out of trouble authentication dialog box. Download: http://www.onlinedown.net/soft/28775.htm.

Q: I found a boot the computer will automatically pop up IE and open a number of silly sites, while browsing the web will often pop up when IE window. How do I remove them, it is also a clean computer?

A: These situations are generally malicious Web site to your computer is modified, added in the boot of illegal startup items, and modify the registry created. Since modifying the registry is too complex and could easily lead to system crashes, we propose to install the fix to restore the system software, such as "IE repair experts", "IE Registry Repair device" and software can help you clean up.

Editor Note: the current pop-up window for the browser more and more software and even Windows XP SP2 also added the function to ban the pop-up window. Full use of these functions can be against most of the pop-up window, but because of the particularity of the Internet, it is difficult to do 100 without a leak. Illegal pop-up window and the fight against illegal pop-up window will continue.







相关链接:



MP4 standard expected by the end of line introduced to avoid repeating the mistakes MP3



HTML Tools Comparison



My Favorite Helpdesk And Remote PC



Days of thinking and ultrafiltration: a pure space also people



Why the new emphasis on staff training



EVALUATION Remote Computing



U.S. online travel nearly 50% share



Easy to use Browsers



Log multiple Gmail accounts at the same time - Firefox extension



Fireworks MX 2-1 early experience



12 large companies in 2007-2008 compared the welfare state



MOV To iPod



integrated steel supply chain MANAGEMENT



MPG To DivX



3GPP Converter



"Chino Conflict" Comment



Friday, October 8, 2010

Qingdao Shengli Oilfield nursing home use Maxima



Qingdao Shengli Oilfield Shengli Oilfield nursing homes is the nursing home in Qingdao, hotels and reception, is now in Qingdao Shengli Oilfield division level units. Nursing home is located in Qingdao City, the political, economic, cultural, financial, business center, transportation is very convenient. Nursing homes and beautiful environment, facilities, Qingdao municipal government named the "Garden" unit.

December 2009, Shengli Oilfield, nursing homes used in Qingdao Maxima front hotel management system management system, restaurant management systems, back office systems.








Recommended links:



Kai-fu Lee: The most worried about the phenomenon of Misleading the 80 students after the start-Star



Taobao Alipay betrayal?



DivX to 3GP



How to avoid price War



Storage INVENTORY And Barcoding



MOV to MPEG4



Younger's Quickstep



Lists Log Analysers



Year Season: How To Make Cash "flow Up"



exe stopped working quick repair



AVI to MOV



Wizard Java And JavaScript



FrontPage easy to adjust inside the framework of the margins



"Personal efficiency" and "organizational efficiency"



Golden ABACUS settled in Wuhan air "Gold Dealer"