/* Author: Julian Stacey jhs@berklix._ERASE_. * {[( * ~jhs/public_html/src/bsd/fixes/FreeBSD/src/jhs/sys/i386/conf/HOLZ * ~jhs/public_html/src/bsd/fixes/FreeBSD/src/jhs/sys/amd64/conf/HOLZ * * { -------------------------------------------------------------------------- * RAM MEMORY NOTES * Types: * SDRAM2 168 pin; DDR 1 184 pin; DDR 2 240 pin * http://www.myshopping.com.au/BG--66_Random_Access_Memory_RAM * Gary has 2 spare memories 1 for laptop & 1 for PC, * split next line to 2 lines: * SO DIM 256M DDR PC2700 Laptop CL2.5 * Some Of My PC RAM Not In A Host: * 32M ex GE * Module=SEC KMM366S403BTN-G2, Korea 9712 * 2nd label on back: 5000198 * 16 chips: KM48S2020BT-G12 PC-66 * http://www.mrob.com/pub/comp/sdram.html says 16Mx[1] * 128M RAM (from HOST=SLIM, but removed as can only use 32M more) * Module * Paper Label: * RAMOS Technology Co Ltd * Korea 0131 * RM28S180TC-13AC * 128MB, Sync, 133 MHz, CL3. * 168 pin DIM, 13.3 x 3 cm, * Slots: 1 in middle, + 1 @ 2.45 mm from end * with pins 1 & 85 * 2 sides x 8 chips: Ramos 0131, RC28S0801B1-13AC * 256M borrowed from another PC bought in UK * (with 2 completely different RAM sources, unlikey both might be * accidentaly or deliberately mislabeled (as occasionaly occurs * re CT mag article on cache chip fraud some years back) * Module Paper Label: IRL DEM DP133 064323E * PC133 333 520 256MB * 0137-2328-062[56] * 2 sides x 8 chips: Hynix 132A, HY57V2882DAT-H * ----------------------------------------------------------------------- * HOST=LAPA ACI Mirage * I cant find where memory is, but dmesg says 128M. * HOST=LAPC Compaq * 2 slots both occupied 144 pin EDO * Module Korea SEC KMM466F213CS2-L6 9816 * 8 x Chip SEC Korea 813, KM48V2104CS-L6 * Web says module is: 16MB 144 pin SODIMM EDO Memory Module * dmesg reports 48M, so presumably 16M soldered on board. * HOST=LAPD Digital * 8 chips on board LGS GM71VS16163C LT6 * Web says a similar GM71C16163C = 1M x 16bit * 6 x 2M = 16 Mbyte. * + 2 slots, both occupied 144 pin: * Module GMM7642147C * 8 x chip LGS GM71VS17803CLT6 * Web suggests 17803 chips are 2m * 8 bit ie 16M Module * Module * 8 x HY51V65804, TC-60 * Web says EDO/FPM DRAM -> 64 Mb -> Asynchronous->3.3V EDO * HOST=LAPS Toshiba Satellite * 2 slots both filled with * Module Paper Label M470L3224DTO; 200 pin DIM * http://www.computercomputer.it/partni_829665.ihtml * "Samsung M470L3224DTO-CB0" * "256M 32x64 DDR PC2100 CL2.5 200pin SODIMM" * 2 sides x 4 chips: Samsung 223, K4H561638D-TCBO * HOST=LAPL Libretto * I havent looked where memory goes, * I recall Phillip extended to Max. * dmesg says 32M. * HOST=LAPO * Red label off of power supply RR1188837 * HOST=THIN * 2 slots, 1 slot occupied furthest from edge of board. * 1 x DIMM 168 Pin * pic on camera * 16 x ICs of Panasonic MN45V17080AT-10 * 97376B061 * } --------------------------------------------------------------------- * Look in /sys/conf/NOTES * * Try #if LAPC * options BROKEN_KEYBOARD_RESET * #endif * * Tatsumi Hosokawa Libretto 50CT * # You may need to reset all pccards after resuming * options PCIC_RESUME_RESET * # Detach ATAPI devices when the ATA card is removed * options ATAPI_DETACH * # Suspend the system when the battery status is "Low" * #options "APM_BATT_LOW_SUSPEND" * * See Also * http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html * http://www.FreeBSD.org/handbook/kernelconfig.html * * Features: * - This is also on the Web. * - All my hosts in one file, eases moving cards between my hosts, * & searches for clashing irqs etc. * - Comments from latest LINT & GENERIC are not always copied in here. * Where they are copied in, comment is sometimes from an older version, * or can risk getting disconnected from operational line. * See GENERIC for definitive comment. * - Order is the same as latest release of GENERIC, * (which is not the same as boot order shown by dmesg) * - Most comments are inside / * * / to avoid wasting kernel space. * - JENERIC is embedded as a compare reference against GENERIC 4.9 & 5.2. * Maintenance: * The way I keep this up to date against new releases versions of * GENERIC is to run: * cd /sys/i386/conf * Reiterate: * make clean ; cp LN.HOLZ HOLZ ; make * diff -c JENERIC.small GENERIC.small | more * vi LN.HOLZ * Until the only difference is : * ! ident JHS_Generic * ! ident GENERIC * To look for kernel variables eg: http://fxr.watson.org/fxr/ident?i=hz * Strip mini of serial & parallel & turn off in bios to save memory * & interrupts. * Merge * King 10G IDE, LS120, CD, CDW, 2xUSB2, audio cards removed, * ed card added * Lapa 4G, 2xUSB, 128M ram, 267 MHz, LS120, * See Also: * /usr/src/share/doc/smm/02.config/ * /usr/src/sys/conf/NOTES * /usr/src/sys/i386/conf/GENERIC & LINT * /usr/src/sys/i386/conf/HOLZ Spare copy on local host. * /usr/src/sys/i386/conf/LN.HOLZ * /usr/src/sys/i386/conf/LN.HOLZ Site wide pointer * /usr/src/sys/i386/conf/LN.{host_names}from `le`. * man boot * ~/public_html/standards/rs232.v24 * ~/tech/odds/cables * ~/tech/odds/config * ~/tech/odds/dmesg/ per host * ~/tech/pc * ~/tech/scsi/FAQ * bios can be config''d * to auto allocate irqs or not, (& to share irq on pci devs. too) * To snapshot a running system: config -pg ; reboot ; kgmon * ---------- * SATA * >Is there anyone compiling a list of "fake" vs. "real" SATA drives? * >The difference being "fake" drives with ATA-100 electronics and an * >SATA to ATA conversion chip vs. drives that really support SATA * >natively? * > * >Dave. * > * > * > * You can find a lot of info in the forums at storagereview.com. Just for * the record the raptors from wd are fake(PATA 100), I think most other * stuff is real as you say. */ #define HASH #/* FreeBSD-4 cpp is OK, but 5 doesnt like lines beginning with a # */ /* Manually switch between a type 4.8 and a 5.0 config * this could be done better using right cpp */ #if /*{*/ ( defined FIRE64 ) HASH kernel with debug support by jhs HOLZ /* #define DEBUG_JHS 1 */ #endif /*}*/ #if /*{*/ ( defined JOHN32 || defined JOHN64 ) HASH kernel with debug support by jhs HOLZ #define DEBUG_JHS 1 #endif /*}*/ #if /*{*/ ( ( defined LAPS ) || ( defined LAPD ) ) /* ( __FreeBSD_cc_version == 600001 ) cpp -dM /dev/null */ HASH kernel with debug support by jhs HOLZ #define DEBUG_JHS 1 #endif /*}*/ /* All Hosts * if / * { * / ( \ * defined DUAL \ * || defined BLAK \ * || defined FILM \ * || defined FIRE32 || defined FIRE64 \ * || defined FLAT \ * || defined FLIP \ * || defined JENERIC \ * || defined JOHN32 || defined JOHN64 \ * || defined KING \ * || defined LAPA \ * || defined LAPD \ * || defined LAPL \ * || defined LAPN \ * || defined LAPS \ * || defined LAPO \ * || defined LOFT created but not yet installed to check \ * || defined MART \ * || defined MINI \ * || defined PARK \ * || defined RAIN \ * || defined SCAN \ * || defined SLIM \ * || defined SNOW \ * || defined SONY \ * || defined THIN \ * || defined TOWER created but not yet installed to check \ * || defined WIND \ * ) * #endif / * } * / */ #define NO_F00F_HACK_JHS 0 /* * Until 2007.12.11 all my hosts with * cpu I586_CPU * I included * options "NO_F00F_HACK" * Which was likely wrong. * All now replaced with * #if NO_F00F_HACK_JHS * options "NO_F00F_HACK" * #endif * So I can turn them all on or off with NO_F00F_HACK_JHS * 7-Stable GENERIC * config file does not have F00F, * dmesg reports on LAPN: * Intel Pentium detected, installing workaround for F00F bug */ #if /*{*/ 0 /* Extracts from /pri/FreeBSD/releases/7.0-RELEASE/src/ */ XX ===================== /sys/conf/options.i386 XX NO_F00F_HACK opt_cpu.h XX XX ===================== /sys/i386/conf/NOTES XX # NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY XX # Pentiums) from locking up when a LOCK CMPXCHG8B instruction is XX # executed. This option is only needed if I586_CPU is also defined, XX # and should be included for any non-Pentium CPU that defines it. XX XX ===================== /sys/i386/i386/identcpu.c XX #if defined(I586_CPU) && !defined(NO_F00F_HACK) XX int has_f00f_bug = 0; /* Initialized so that it can be patched. */ XX #endif XX ... XX #if defined(I586_CPU) && !defined(NO_F00F_HACK) XX /* XX * XXX - If/when Intel fixes the bug, this XX * should also check the version of the XX * CPU, not just that it's a Pentium. XX */ XX has_f00f_bug = 1; XX #endif XX XX ===================== /sys/i386/i386/machdep.c XX #if defined(I586_CPU) && !defined(NO_F00F_HACK) XX extern int has_f00f_bug; XX #endif XX ... XX #if defined(I586_CPU) && !defined(NO_F00F_HACK) XX static void f00f_hack(void *unused); XX SYSINIT(f00f_hack, SI_SUB_INTRINSIC, SI_ORDER_FIRST, f00f_hack, NULL) XX XX static void XX f00f_hack(void *unused) XX { XX struct gate_descriptor *new_idt; XX vm_offset_t tmp; XX XX if (!has_f00f_bug) XX return; XX XX GIANT_REQUIRED; XX XX printf("Intel Pentium detected, installing workaround for F00F bug\n"); XX XX tmp = kmem_alloc(kernel_map, PAGE_SIZE * 2); XX if (tmp == 0) XX panic("kmem_alloc returned 0"); XX XX /* Put the problematic entry (#6) at the end of the lower page. */ XX new_idt = (struct gate_descriptor*) XX (tmp + PAGE_SIZE - 7 * sizeof(struct gate_descriptor)); XX bcopy(idt, new_idt, sizeof(idt0)); XX r_idt.rd_base = (u_int)new_idt; XX lidt(&r_idt); XX idt = new_idt; XX if (vm_map_protect(kernel_map, tmp, tmp + PAGE_SIZE, XX VM_PROT_READ, FALSE) != KERN_SUCCESS) XX panic("vm_map_protect failed"); XX } XX #endif /* defined(I586_CPU) && !NO_F00F_HACK */ XX ===================== /sys/i386/i386/mp_machdep.c XX #if defined(I586_CPU) && !defined(NO_F00F_HACK) XX lidt(&r_idt); XX #endif XX ===================== /sys/i386/i386/trap.c XX #if defined(I586_CPU) && !defined(NO_F00F_HACK) XX extern int has_f00f_bug; XX #endif XX ... XX #if defined(I586_CPU) && !defined(NO_F00F_HACK) XX if (i == -2) { XX /* XX * The f00f hack workaround has triggered, so XX * treat the fault as an illegal instruction XX * (T_PRIVINFLT) instead of a page fault. XX */ XX type = frame->tf_trapno = T_PRIVINFLT; XX XX /* Proceed as in that case. */ XX ucode = ILL_PRVOPC; XX i = SIGILL; XX break; XX } XX #endif XX ... XX /* XX * Don't allow user-mode faults in kernel address space. XX * An exception: if the faulting address is the invalid XX * instruction entry in the IDT, then the Intel Pentium XX * F00F bug workaround was triggered, and we need to XX * treat it is as an illegal instruction, and not a page XX * fault. XX */ XX #if defined(I586_CPU) && !defined(NO_F00F_HACK) XX if ((eva == (unsigned int)&idt[6]) && has_f00f_bug) XX return -2; XX #endif XX ===================== #endif /* } End of F00F code extracts */ #ifndef /*{*/ JENERIC options INCLUDE_CONFIG_FILE /* Embeds file in kernel * Extract on Pre 7 with with * strings /boot/kernel/kernel | grep ^___ * strings -n 3 kernel | sed -n 's/^___//p' * On Some other Pre 7 * between * START CONFIG FILE PARK * END CONFIG FILE PARK * On 7.0-RELEASE look after: * ^options CONFIG_AUTOGENERATED * or use new flag: config -x /boot/kernel/kernel * Wording of man config on 8.0-RELEASE suggest might no longer be needed ? */ #endif /*}*/ #if /*{*/ ( __FreeBSD__ >= 7 ) /* These get added automatically: * options KSE * options GEOM_MBR * options GEOM_BSD * options ISAPNP */ /* 8.0-RELEASE adds these automatically: * options GEOM_PART_BSD * options GEOM_PART_EBR * options GEOM_PART_EBR_COMPAT * options GEOM_PART_MBR * options CONFIG_AUTOGENERATED */ #endif /*}*/ #if /*{*/ ( __FreeBSD__ < 7 ) #ifdef /*{*/ jhsarch_i386 machine i386 /* Used in i386/i386/machdep.c */ #else /*}{*/ machine amd64 // On 8.0-RELEASE gets added automatically: machine amd64 #endif /*}*/ #endif /*}*/ #ifdef /*{*/ JENERIC #ifdef /*{*/ jhsarch_i386 #if /*{*/ ( __FreeBSD__ <= 4 /* show by cpp -dM /dev/null */ ) cpu I386_CPU #endif /*}*/ cpu I486_CPU cpu I586_CPU cpu I686_CPU #else /*}{*/ cpu HAMMER #endif /*}*/ ident JHS_Generic #elif /*}{*/ DUAL /* =============== */ /* CPU: Pentium II/Pentium II Xeon/Celeron (334.09-MHz 686-class CPU) * Origin = "GenuineIntel" Id = 0x650 Stepping = 0 * Features=0x183fbff * 512M RAM, in 4 slots, all slots occupied. * http://www.asus.com/support/faq/faqmodel.aspx?ModelName=P2L97-DS * Slot 1 I think. * Mboard is Rev 1.03 * Does ASUS M/B support Intel Celeron and Mendocino CPUs? * Answer * ASUS LX, EX and BX M/Bs can support both Intel Celeron and Mendocino * CPUs with BIOS update. * P2L97 series M/B : BIOS rev. 1002.021 or later * P2E series M/B : BIOS rev. 1002.021 or later * P2B series M/B : BIOS rev. 1005.011 or later * You can download the BIOS from our web site or FTP site. * * ftp://ftp.asus.com/pub/asus/mb/slot1/440lx/p2l97-ds * paper label on board: * Asus P2L97-DS, 512KB Dual PE II 233-333MHz * 2 isa, 4 pci, 1 video, 1 scsi wide, 1 scsi narrow 50, * 4 ram slices, 2 ide sockets, 1 goes to DVD drive. * 1 floppy, 2 CPUs marked 333MHz 512 2.0V * No chassis fan. */ cpu "I686_CPU" ident JHS_Dual #elif /*}{*/ FILM /* =============== */ /* Current measured by jhs: 70 mA standby (plugged in, Off at front, No switch at back) 240 mA multi user idle. 600 ma with find / -type f -exec cp {} /dev/null \; */ /* CPU: AMD Athlon(tm) Processor (1096.30-MHz 686-class CPU) * Origin = "AuthenticAMD" Id = 0x642 Stepping = 2 * Features=0x183f9ff * AMD Features=0xc0440000 * real memory = 402587648 (383 MB) * npx0: [FAST] * npx0: on motherboard * npx0: INT 16 interface * acpi0: 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: on acpi0 * acpi_button0: on acpi0 * acpi_button1: on acpi0 * pcib0: port 0x6000-0x607f,0x5000-0x500f,\ * 0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0 * pci0: on pcib0 * pcib1: at device 1.0 on pci0 * pci1: on pcib1 * pci1: at device 0.0 (no driver attached) * isab0: at device 7.0 on pci0 * isa0: on isab0 * Timecounter "TSC" frequency 1096299247 Hz quality 800 * Timecounters tick every 10.000 msec * acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), * currently 100.0% */ cpu "I686_CPU" ident JHS_Film #elif /*}{*/ FIRE32 /* =============== */ /* * ACPI APIC Table: * Timecounter "i8254" frequency 1193182 Hz quality 0 * CPU: AMD Athlon(tm) 64 Processor 3000+ (2010.07-MHz K8-class CPU) * Origin = "AuthenticAMD" Id = 0xf48 Stepping = 8 * Features=0x78bfbff * AMD Features=0xe0500800 * real memory = 536805376 (511 MB) * Memory is 512M DDR40 < gj he bought by mistake. * cpu in bios starts at temp 40, drifts up to 43 if left in bios, * cpu fan shown by bios (& 1st value shown by mbmon) * floats around 2636 - 2678 RPM * Temps shown bt BIOS & mbmon agree (unlike host=flat) * System fan (2nd value shown by mbmon) 2136 rpm when cold. 2250 warm * Fan was Taken off an athlon type CPU heat sink. * Label: NB Ultra-Silent Fan Series, Noiseblocker, * two ball bearing fan, by Blacknoise Germany www.noiseblocker.de * Sometimes reports 3515 RPM, perhaps when hot, or random * from timing interval quantisation ? * Old Host=Fire that died (CPU & Board maybe a duff power supply ?) :- * Timecounter "i8254" frequency 1193182 Hz * CPU: AMD Athlon(tm) XP 1800+ (1535.21-MHz 686-class CPU) * Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 * Features=0x383f9ff * AMD Features=0xc0400000 * 512 K bytes */ cpu "I686_CPU" ident JHS_Fire32 #elif /*}{*/ FIRE64 /* =============== */ cpu HAMMER ident JHS_Fire64 #elif /*}{*/ LAPO /* =============== */ /* * CPU: AMD Athlon(tm) 64 Processor 3400+ (800.04-MHz K8-class CPU) * Origin = "AuthenticAMD" Id = 0xf4a Family = f * Model = 4 Stepping = 10 * Features=0x78bfbff * AMD Features=0xe0500800 */ cpu HAMMER ident JHS_Lapo64 #elif /*}{*/ BLAK /* =============== */ /* * CPU: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz * (2999.96-MHz K8-class CPU) * Origin = "GenuineIntel" Id = 0x6fb Family = 6 * Model = f Stepping = 11 * Features=0xbfebfbff * Features2=0xe3fd * AMD Features=0x20100800 * AMD Features2=0x1 * TSC: P-state invariant */ cpu HAMMER ident JHS_Blak #elif /*}{*/ FLAT /* =============== */ /* * CPU: AMD Athlon(tm) XP 1900+ (1592.19-MHz 686-class CPU) * Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 * Features=0x383fbff * AMD Features=0xc0480000 * 479 MB * CPU fan dead & removed 2005.01.10 & replaced by similar fan * shape on a different sink: * Old: Papst 612 F/2/H 12V 118mA 1.4W * New one is also a 3 wire to indicate RPM. * aprox 6cm x 6cm x 14mm * Something very strange happened around the time hosts moved * into back room: A fan that supposedly had been reporting * a suspiciously unvarying exact continuos 5625 stopped * reporting. On opening the box, the only 3 wire fan is on * the CPU. The chassi fan is a big 5" 2 wire 12V fan with input filter. * mbmon cron mail reported: * Wed Mar 21 12:00:01 CET 2007 * Temp.= 54.0, 201.0, 201.0; Rot.= 4115, 0, 5625 * Vcore = 1.74, 2.54; Volt. = 2.38, 3.47, 4.80, -3.45, -2.31 * * Thu Mar 22 12:00:00 CET 2007 * ioctl(smb0:open): No such file or directory * * Temp.= 47.0, 201.0, 201.0; Rot.= 4115, 0, 0 * Vcore = 1.73, 2.54; Volt. = 2.51, 3.44, 3.95, -3.28, -1.52 * ioctl(smb0:open): No such file or directory * * 2007.04.03 jhs@ noted * when BIOS reports 54 C, MBMON reports 44 C. * previously BIOS was set to * "PC Health: Auto shutdown on too hot: Off" * It has 3 other settings available: 60 C, 65 C, 70 C. * I set it to 70 C. */ cpu "I686_CPU" ident JHS_Flat #elif /*}{*/ FLIP /* =============== */ /* Motherboard ASUS P/I P55T2P4/100/PB512K */ cpu "I586_CPU" ident JHS_Flip /* Ident passed as -Dthing, arrives in upper case in /etc/motd. */ #elif /*}{*/ JOHN32 /* =============== */ cpu "I686_CPU" ident JHS_John32 #elif /*}{*/ JOHN64 /* =============== */ /* From Gary 2008 * Timecounter "i8254" frequency 1193182 Hz quality 0 * CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ \ * (2202.83-MHz K8-class CPU) * Origin = "AuthenticAMD" Id = 0x20fb1 Stepping = 1 * Features=0x178bfbff * Features2=0x1 * AMD Features=0xe2500800 * AMD Features2=0x3 * Cores per package: 2 * usable memory = 1060118528 (1011 MB) * avail memory = 1021386752 (974 MB) * ACPI APIC Table: * FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs * cpu0 (BSP): APIC ID: 0 * cpu1 (AP): APIC ID: 1 * MADT: Forcing active-low polarity and level trigger for SCI * ioapic0 irqs 0-23 on motherboard * kbd1 at kbdmux0 * ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) * acpi0: on motherboard * acpi0: [ITHREAD] * acpi0: Power Button (fixed) * acpi0: reservation of 0, a0000 (3) failed * acpi0: reservation of 100000, 3fef0000 (3) failed * Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 * acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 * pcib0: port 0xcf8-0xcff on acpi0 * pci0: on pcib0 * agp0: on hostb0 * pcib1: at device 1.0 on pci0 * pci1: on pcib1 * vgapci0: mem 0xfb000000-0xfbffffff,0xf4000000-0xf7ffffff,0xf9f00000-0xf9f7ffff irq 16 at device 0.0 on pci1 * atapci0: port 0xa800-0xa83f,0xa400-0xa40f,0xa000-0xa07f mem 0xfaa00000-0xfaa00fff,0xfa900000-0xfa91ffff irq 18 at device 8.0 on pci0 * atapci0: [ITHREAD] * atapci0: [ITHREAD] * ata2: on atapci0 * ata2: [ITHREAD] * ata3: on atapci0 * ata3: [ITHREAD] * ata4: on atapci0 * ata4: [ITHREAD] * atapci1: port 0xd000-0xd007,0xc800-0xc803,0xc400-0xc407,0xc000-0xc003,0xb800-0xb80f,0xb400-0xb4ff irq 20 at device 15.0 on pci0 * atapci1: [ITHREAD] * ata5: on atapci1 * ata5: [ITHREAD] * ata6: on atapci1 * ata6: [ITHREAD] * atapci2: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.1 on pci0 * ata0: on atapci2 * ata0: [ITHREAD] * ata1: on atapci2 * ata1: [ITHREAD] * isab0: at device 17.0 on pci0 * isa0: on isab0 * pci0: at device 17.5 (no driver attached) * acpi_button0: on acpi0 * acpi_button1: on acpi0 * fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 * fdc0: [FILTER] * fd0: <1440-KB 3.5" drive> on fdc0 drive 0 * ppc0: port 0x378-0x37f irq 7 on acpi0 * ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode * ppbus0: on ppc0 * ppbus0: [ITHREAD] * plip0: on ppbus0 * plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag * lpt0: on ppbus0 * lpt0: Interrupt-driven port * ppi0: on ppbus0 * ppc0: [GIANT-LOCKED] * ppc0: [ITHREAD] * cpu0: on acpi0 * powernow0: on cpu0 * device_attach: powernow0 attach returned 6 * cpu1: on acpi0 * powernow1: on cpu1 * device_attach: powernow1 attach returned 6 * atkbdc0: at port 0x60,0x64 on isa0 * atkbd0: irq 1 on atkbdc0 * kbd0 at atkbd0 * atkbd0: [GIANT-LOCKED] * atkbd0: [ITHREAD] * sc0: at flags 0x100 on isa0 * sc0: VGA <16 virtual consoles, flags=0x300> * vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 * Timecounters tick every 1.000 msec ======================================== */ cpu HAMMER ident JHS_John64 #elif /*}{*/ KING /* =============== */ /* Pentium II/Pentium II Xeon/Celeron 400.91-MHz 132M RAM * Origin = "GenuineIntel" Id = 0x652 Stepping = 2 * Features=0x183fbff */ cpu "I686_CPU" ident JHS_King #elif /*}{*/ LAPA /* =============== */ /* Sticky Label was at base of screen: "ACi Mirage". * Label inset underneath: (no mention of ACI Mirage) * Notebook Computer * HL-1 * Model 8700M XGA 24xCD * FCC ID L4PK8500MX15 Made In Taiwan 3872A749 * S/N (white eaily removable label): N8XG821700257 */ cpu "I686_CPU" /* CPU: Pentium II/Pentium II Xeon/Celeron (267.27-MHz 686-class CPU) * Origin = "GenuineIntel" Id = 0x650 Stepping = 0 * Features=0x183f9ff * real memory = 134217728 (131072K bytes) * Pentium Pro MTRR support enabled */ ident JHS_Lapa #elif /*}{*/ LAPC /* =============== */ /* Compaq Armada 7792 DMT * ENTRY Was Missing till 2007.01 Why ? Maybe * still running a generic kernel ? * In which case need to check rest of this file * for LAPC specifics. */ cpu "I586_CPU" #if /*{*/ NO_F00F_HACK_JHS options "NO_F00F_HACK" #endif /*}*/ ident JHS_Lapc #elif /*}{*/ LAPD /* =============== */ cpu "I586_CPU" #if /*{*/ NO_F00F_HACK_JHS options "NO_F00F_HACK" #endif /*}*/ /* Web Spec. says: * Integrated 16-bit stereo sound (Sound Blaster Pro-compatible) * Built-in stereo speakers and microphone 3D and wavetable * synthesis (with DIGITAL HiNote Ultra Multimedia Dock) * Enhanced parallel (ECP/EPP) * Infrared: 1 Fast IrDA-compliant transceiver (4Mbps) */ ident JHS_Lapd /* #define DEBUG_JHS 1 */ #elif /*}{*/ LAPL /* =============== */ /* Toshiba Libretto * http://www.berklix.com/~jhs/hardware/toshiba/libretto/ * Timecounter "i8254" frequency 1193182 Hz * CPU: Pentium/P55C (120.27-MHz 586-class CPU) * Origin = "GenuineIntel" Id = 0x543 Stepping = 3 * Features=0x8001bf * real memory = 33685504 (32896K bytes) */ cpu "I586_CPU" #if /*{*/ NO_F00F_HACK_JHS options "NO_F00F_HACK" #endif /*}*/ ident JHS_Lapl #elif /*}{*/ LAPN /* =============== */ /* Dell Dell Latitude XPi P133ST * http://berkli.com/~jhs/hardware/laptops/dell_latitude_xpi_p133st * CPU: Pentium/P54C (133.64-MHz 586-class CPU) * Origin = "GenuineIntel" Id = 0x52c Stepping = 12 * Features=0x1bf * real memory = 58720256 (56 MB) * avail memory = 43507712 (41 MB) */ cpu "I586_CPU" #if /*{*/ NO_F00F_HACK_JHS options "NO_F00F_HACK" #endif /*}*/ ident JHS_Lapn #elif /*}{*/ LAPS /* =============== */ cpu "I686_CPU" /* Toshiba Satelite S5100-603 * From labels underneath: * Model No PS511E-05328-EN * 5A DC15V * P4 1900/2X256/60G/15T/DCW/LM/B * Serial No See ~/tech/host/laps * Toshiba Europe GmbH * Bar Code See ~/tech/host/laps * Timecounter "i8254" frequency 1193182 Hz quality 0 * ---------------------------------- * CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.90GHz (1893.86-MHz * 686-class CPU) * Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 * Features=0x3febf9ff * real memory = 536674304 (511 MB) * Pentium Pro MTRR support enabled npx0: [FAST] * acpi0: on motherboard * pcibios: BIOS version 2.10 * acpi0: Power Button (fixed) * Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 * acpi_timer0: <24-bit timer at 3.579545MHz> * port 0xee08-0xee0b on acpi0 * acpi_cpu0: on acpi0 * acpi_tz0: on acpi0 * pcib0: port 0xcf8-0xcff on acpi0 * pci0: on pcib0 * pcib0: slot 29 INTA is routed to irq 11 * pcib0: slot 29 INTB is routed to irq 7 * pcib0: slot 31 INTA is routed to irq 6 * pcib1: at device 1.0 on pci0 * pci1: on pcib1 * pcib1: slot 0 INTA is routed to irq 5 * pcib2: at device 30.0 on pci0 * pci2: on pcib2 * pcib2: slot 8 INTA is routed to irq 4 * pci1: at device 0.0 (no driver attached) * acpi_lid0: on acpi0 * acpi_cmbat0: on acpi0 * acpi_acad0: on acpi0 */ ident JHS_Laps #elif /*}{*/ LOFT /* =============== */ /* It has a USB 2 card Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (334.09-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x660 Stepping = 0 Features=0x183f9ff real memory = 335544320 (320 MB) avail memory = 318889984 (304 MB) kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) cpu0 on motherboard pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 7.1 on pci0 */ cpu I686_CPU ident JHS_Loft #elif /*}{*/ MART /* =============== */ /* 120 MHz, 96 MB */ cpu "I586_CPU" #if /*{*/ NO_F00F_HACK_JHS options "NO_F00F_HACK" #endif /*}*/ ident JHS_Mart #elif /*}{*/ MINI /* =============== */ cpu "I386_CPU" ident JHS_Mini /* Current measured by jhs: 90 mA Transformer plugged in, switched off on computer 120 mA multi user idle. 160 mA with find / -type f -exec cp {} /dev/null \; */ /* 2009.09 Experiment to see if I can build a kernel for a 386. On host=laps minor hacks looking for I486_CPU, making mark jhs@berklix, on: /sys/conf/options.i386 /sys/crypto/blowfish/arch/i386/bf_enc.S /sys/i386/conf/GENERIC /sys/i386/conf/NOTES /sys/i386/i386/identcpu.c /sys/i386/i386/initcpu.c /sys/i386/i386/support.s /sys/i386/include/cpu.h */ #elif /*}{*/ PARK /* =============== */ /* move this text when I remember where to: * power supply failed 2010.06, replaced 2010.06.20 * was: * Manufacturer: Octek 009B * +5 V 20 A * +12 V 8 A * -5 V 0.5 A * -12 V 0.5 A * 200 Watts * now: * Manufacturer: Linkworld. * +5 V 5 A - 23 A * +12 V 2 A - 8.5 A * -5 V 0 A - 0.5 A * -12 V 0 A - 0.5 A * 230 Watts */ cpu "I586_CPU" #if /*{*/ NO_F00F_HACK_JHS options "NO_F00F_HACK" #endif /*}*/ ident JHS_Park #elif /*}{*/ RAIN /* =============== */ /* Timecounter "i8254" frequency 1193182 Hz * CPU: Pentium/P54C (99.47-MHz 586-class CPU) * Origin = "GenuineIntel" Id = 0x525 Stepping = 5 * Features=0x1bf * real memory = 33554432 (32768K bytes) */ cpu I586_CPU #if /*{*/ NO_F00F_HACK_JHS options "NO_F00F_HACK" #endif /*}*/ ident JHS_Rain #elif /*}{*/ SCAN /* HP ScanJet 5 =============== */ /* Current measured by jhs: 120 mA multi user idle. 190 ma with find / -type f -exec cp {} /dev/null \; */ #define NET_SCANJET5 1 cpu I486_CPU cpu I586_CPU /* allow debug test board or replacement main board */ #if /*{*/ NO_F00F_HACK_JHS options "NO_F00F_HACK" #endif /*}*/ ident JHS_Scan #elif /*}{*/ SLIM /* =============== */ /* Compaq Presario 2254, via Francis one of 2 he bought in Ireland. 40 cm Wide, 44 cm Deep, 13 cm High. Current measured by jhs: 120 mA multi user idle. 290 ma with find / -type f -exec cp {} /dev/null \; Very quiet 75 Watt power supply (no CPU fan, conduit from PSU) Power Supply Part Numbers: Compaq 319234-00 Mitac (actual manufacturer?) MPU75RFP Ratings: In 3A @ 100-240V Out: 75W +5V @ 11.5A, +12 @ 1.5A, -12V @ 0.22A, +5Vsb 0.2A. 60 Watts at boot. 33 W Running quiescent. 67 W after halt -p 10 Kg Weight. Green standby switch with crescent moon on front appears to do nothing while BIOS is set to no power saving. Board edge: 1st long white label: Compaq PCA P/N: 319198-101 REV Replace with spare 319208-001 2nd short skew label: 319166-511 AM 20/5/98 Memory: soldered on board: 16 x TI 12A, TMS6268120GE Reports as 32M 1 memory slot black, lettering painted on PCB, 168 pin DIMM 3.3V Unbuffered. slot occupied was with a 128K Ramos, but removed as no more than 64M is ever seen, & replaced with a 32M. 2 chips (mem control or cache ?) PCIset S82438VX 8811EA63 Intel 95 Chips, 1 of each: ----------- Intel PCIset SB82437VX 88090303 SU 116 Intel M.C. '95 ----------- Intel PCIset SB82371SB 88010215 SU 093 Intel M.C. '95 ----------- SMC FDC37C932QF P J9748-B5522 8H1284-6 American Megatrends C. 1994 ----------- S3 Virge/DX On Board Q5C4BB 86C375 9741 B7G51 Taiwan ----------- ESS Audio Driver ES1887F B098 TBWBF6041A 4,214,125 C. ----------- 1 long white slot central in board, in 2 parts. lettering painted on PCB: COAST 3.X CACHE Battery: CR2032 Lithium 3V Label on mboard "Sand Storm" 3 ISA slots, 1 overlapping a single PCI slot. PCI slot occupied with pci ether card using ed0: co-ax & utp sockets. 1 ISA card with 2 chips, 1 connecting to back (card removed) 1 3.5" floppy. Button on front seemed to be suspend, before I set BIOS to default. To get into BIOS: Esc then F10 ------- BIOS sound is conf'd as: Base:220-22F FM E380-38B MPU 330-331 IRQ 5 8 bit DMA 1 16 bit DMA 5 I've installed all sound modules. doesnt work though. ------- BIOS: P&Play: Yes Mem Cache Enable: Secure Setup: No Large Disc: DOS Local Bus IDE: Both --- Fixed Disk Boot Sector: Normal D... : Supervisor Virus Check: Disable Sys Backup Remind: Disable --- Power Saving: Disable --- Only seen on a repower up: UMB Upper Limit Seg Address EA50 64512M ------- CPU: AMD-K6tm w/ multimedia extensions (233.03-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x562 Stepping = 2 Features=0x8001bf AMD Features=0x400<> real memory = 58720256 (56 MB) avail memory = 43507712 (41 MB) ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) */ cpu "I586_CPU" #if /*{*/ NO_F00F_HACK_JHS options "NO_F00F_HACK" #endif /*}*/ ident JHS_Slim /* I have got to BIOS Via ESC (as opposed to Normal DEL), while * booting, then after ESC it says it says hit F10 for more. */ #elif /*}{*/ SNOW /* =============== old name: flat.berklix before it returned from BSN site */ /* Current measured by jhs: Switch on side. 210 mA multi user idle. 225 ma with find / -type f -exec cp {} /dev/null \; */ /* P/75/16M */ cpu "I586_CPU" /* reset line causes system to reset, but zaps screen which then needs a power off reset */ ident JHS_Bits #elif /*}{*/ THIN /* =============== */ /* Host Too Damn Slow To Be A Remote Server * I suspect on 7.0 popd eats memory & then crashes. * make world 7.1: 7 days 12 hours 15 mins. * cd /usr/src ; make all # 24 hours, or 18 mins if already made. * Takes Long time: genattrtab * /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/i386/i386.md * insn-conditions.md > insn-attrtab.c * reduced tty to save memory * killed named to save 13M * killed & disabled mail to save mem. * ------------------------- * 41 cm Wide, 43.5 cm deep, 11 cm high, * 2 Ram Slots. 1 in use. * 1 fan on end of a pentium 2. * BIOS: From F2 * P2 300M Processor * Dell Optiplex G1 300L B10A A01 Service Tag NN7PB * 32M * I find no cache enable/disable in Dell BIOS. * Only UTP Ethernet No coax * 2 USB Presumably USB-1 * Extender card with 2 ISA + 2 PCI (centre 2 overlapping as usual) * 3 blank metal card slots on back * No brackets for a 2nd disc. * CDROM can boot from CD-RW media. * Power switch front top large with green LED if On. * Small reset switch under. * No power rocker switch at back. * No screwdriver needed to flip top off. * 145 Watt power supply. * 2.5 Watts plugged in, not turned on. * 11 W for a second then * 60 - 73 W during boot, * 31 W running idle * 61 W after halt -p * 10 Kg Weight * ----------- * 2008.01.30 Power supply fan periodically sounds bad, * but on dismantling, spins OK by finger, so left in place as hard * to remove. * 2009.08 not noticed any noise last month or 2. * ----------- * Timecounter "i8254" frequency 1193182 Hz * Timecounter "i8254" frequency 1193182 Hz quality 0 * CPU: Pentium II/Pentium II Xeon/Celeron (298.54-MHz 686-class CPU) * Origin = "GenuineIntel" Id = 0x634 Stepping = 4 * Features=0x80f9ff * real memory = 33554432 (32 MB) * avail memory = 18964480 (18 MB) * kbd1 at kbdmux0 * ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, * RF2413, RF5413) * hptrr: HPT RocketRAID controller driver v1.1 (Jan 22 2008 03:14:32) * cpu0 on motherboard * pcib0: pcibus 0 on * motherboard * pir0: on motherboard * pci0: on pcib0 * pmtimer0 on isa0 * orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xcffff pnpid ORM0000 on isa0 * unknown: can''t assign resources (memory) * unknown: can''t assign resources (port) * unknown: can''t assign resources (port) * unknown: can''t assign resources (port) * unknown: can''t assign resources (port) * unknown: can''t assign resources (port) * Timecounter "TSC" frequency 298536181 Hz quality 800 * Timecounters tick every 1.000 msec * hptrr: no controller detected. */ cpu "I686_CPU" ident JHS_Thin #elif /*}{*/ TOWER /* =============== */ cpu "I686_CPU" ident JHS_TOWER /* * CPU: AMD Athlon(tm) Processor (807.19-MHz 686-class CPU) * Origin = "AuthenticAMD" Id = 0x631 Stepping = 1 * Features=0x183f9ff * AMD Features=0xc0440800,MMX+,3DNow+,3DNow> * pcib1: at device 1.0 on pci0 * pci1: on pcib1 * pci1: at device 0.0 (no driver attached) * isab0: at device 4.0 on pci0 * isa0: on isab0 * 128 + 128 RAM, * Rage XL Graphics AGP * Card is standard, slot & extender are long both ends. * Ether card: Warning from BIOS: * (after shuffling cards, so perhaps triggering a rescan) * PCI card in slot 2 shares IRQ with promise IDE controller. * Make sure the card supports IRQ sharing * I havent worked through all BIOS options checking what I want. */ #elif /*}{*/ WIND /* =============== */ /* CPU: Pentium III/Pentium III Xeon/Celeron (451.02-MHz 686-class CPU) * Features=0x387f9ff * 132M * 2005.Feb: * cdrom:CDU76S ID=2 Jumpers on: "Parity"; "Prevent/Allow" * Hi dens. scsi ribbon is long but just 3 sockets, 2 in use. * Lo dens scsi has about 5, 2 in use. * power is rated 250 W. */ cpu "I686_CPU" ident JHS_Wind #else /*}{*/ Error must specify a host. #endif /*}*/ #if /*{*/ ( defined JENERIC ) HASH makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols #endif /*}*/ #if /*{*/ ( defined DEBUG_JHS || ( __FreeBSD__ >= 6 ) ) makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols #endif /*}*/ #if /*{*/ ( LAPA || LAPC || LAPD || LAPL || LAPN || LAPS || LAPO ) #define JHS_LAPTOP 1 #endif /*}*/ #if /*{*/ ( LAPA || LAPD || LAPS || LAPO ) /* LAPC & LAPL & LAPN do not have USB */ #define USB_LAPTOP 1 #endif /*}*/ #if /*{*/ ( USB_LAPTOP \ || BLAK \ || DUAL \ || FILM \ || FIRE32 || FIRE64 \ /* FLAT keep off site kernel lean */ \ /* FLIP maybe */ \ || JOHN32 || JOHN64 \ || KING \ || LOFT \ /* MART maybe, but keep the firewall kernel lean. */ \ /* PARK maybe, but keep the firewall kernel lean. */ \ /* RAIN maybe */ \ /* SNOW maybe */ \ || SLIM /* now remote so could comment out to save space */ \ || TEST \ || THIN \ || TOWER \ || WIND \ ) #define USB_HOST 1 #endif /*}*/ #if /*{*/ ( FLAT || SLIM || TOWER ) #define JHS_REMOTE 1 #endif /*}*/ #if /*{*/ ( __FreeBSD__ <= 4 /* & maybe 5.0 but not 5.1 */ ) maxusers 0 #endif /*}*/ #if /*{*/ ( __FreeBSD__ >= 5 ) #if /*{*/ ( __FreeBSD__ < 7 ) /* SCHED_4BSD on [5-6].*, 7.0-RELEASE, SCHED_ULE shortly after 7.0 on Stable */ options SCHED_4BSD # 4BSD scheduler #else /*}{*/ #if /*{*/ ( defined OLD_JENERIC ) options SCHED_4BSD # 4BSD scheduler #else /*}{*/ options SCHED_ULE # FreeBSD-7-Stable after not in 7.0-RELEASE /* but in stable & 7.1-BETA amd64 */ #endif /*}*/ #endif /*}*/ #endif /*}*/ /* 2008.01.11 Roland Smith I'm not sure what compiling the kernel with HZ=1000 would accomplish, the default is HZ=100. */ #if /*{*/ ( __FreeBSD__ >= 6 ) options PREEMPTION #4BSD scheduler /* Ernst doesnt use this 2006.04 */ #endif /*}*/ #if /*{*/ ( defined JENERIC || MINI ) #if /*{*/ ( __FreeBSD__ <= 4 ) options MATH_EMULATE # Support for x87 emulation #endif /*}*/ #endif /*}*/ #if /*{*/ ( MART || PARK || SNOW ) #define JHS_ISDN 1 #endif /*}*/ options INET # InterNETworking #if /*{*/ ( defined JENERIC ) /* * Inclusion Does not cause operational problem on remote host * SLIM 7.0-BETA2 */ options INET6 # IPv6 communications protocols #endif /*}*/ /* For a while I tried enabling INET6 on all hosts, but: * - Enabling INET6 killed my pppctl, sockstat showed ppp * only listening on tcp6, till ppp was patched. * This problem now solved. * - I got odd reports from Phillip's 1&1 of name daemon for * berklix unaivalable, so I tuned off IPV6 on all remote * servers in case that was the cause. * - Gateways slow with ftp ftp.freebsd.org cos using IPV6 from named * Trying 2001:4f8:0:2::e... * ftp: connect to address 2001:4f8:0:2::e: No route to host * Trying 2001:6c8:6:4::7... * ftp: connect to address 2001:6c8:6:4::7: No route to host * Trying 62.243.72.50... */ #if /*{*/ ( ( __FreeBSD__ >= 7 ) && ( defined JENERIC ) ) options SCTP # Stream Control Transmission Protocol /* Needs INET6, If INET6 * not included in 7.0-BETA3. link errors: * uipc_syscalls.o(.text+0x3c1): * In function `sctp_generic_recvmsg': * ../../../kern/uipc_syscalls.c:2600: * undefined reference to `sctp_sorecvmsg' */ #endif /*}*/ options FFS # Berkeley Fast Filesystem #if /*{*/ ( __FreeBSD__ <= 4 ) options FFS_ROOT # FFS usable as root device [keep this!] #endif /*}*/ options SOFTUPDATES # Enable FFS soft updates support /* SOFTUPDATES gary wrote turn on with tunefs it''s faster than async */ #if /*{*/ ( __FreeBSD__ >= 5 ) #if /*{*/ ( /* !LAPS && */ !LAPD ) options UFS_ACL # Support for access control lists /* JJLATER Do I want this for internal hosts ? */ #endif /*}*/ #endif /*}*/ options UFS_DIRHASH # Improve performance on big directories #if /*{*/ ( __FreeBSD__ >= 7 ) #if /*{*/ ( /* !LAPS && */ !LAPD ) options UFS_GJOURNAL # Enable gjournal-based UFS journaling #endif /*}*/ #endif /*}*/ /* MFS Memory Filesystem - used not have it on (SNOW || FLIP ) */ #if /*{*/ ( __FreeBSD__ <= 4 ) #if /*{*/ ! ( defined SCAN ) options MFS # Memory Filesystem #endif /*}*/ #endif /*}*/ #if /*{*/ ! ( defined SCAN ) options MD_ROOT # MD is a potential root device /* In 4 Generic. I do not normally need it, * but maybe needed for the install kernel, & diskless boot systems */ #endif /*}*/ #if /*{*/ ( __FreeBSD__ >= 5 ) options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server #endif /*}*/ #if /*{*/ ( __FreeBSD__ >= 6 ) /* Not in 7.0-RELEASE GENERIC, but after in stable & 7.1-BETA2, in 6.4, not in 6.2 */ #if /*{*/ ( defined JENERIC || ( USB_HOST && !JHS_REMOTE ) ) /* JJLATER Maybe lack of this was why openoffice on 7.0-RELEASE couldnt open NFS remote docs */ options NFSLOCKD # Network Lock Manager #endif /*}*/ #endif /*}*/ #if /*{*/ ( __FreeBSD__ <= 4 ) options NFS # Network Filesystem #endif /*}*/ options NFS_ROOT # NFS usable as root device, "NFS" req''ed #if /*{*/ ( ( defined jhsarch_amd64) && \ ( __FreeBSD__ >= 5 ) && \ ( __FreeBSD__ <= 6 ) && \ /* || add 7.0 && 7.1 */ \ defined JENERIC ) /* I used to have || LAPS || LAPD, so I could * debug eg Joys disc, but removed after Luigi Rizzo wrote 19 Jan 2009 * kernel ntfs is .. readonly) and possibly not as well maintained as * ... ports/sysutils/fusefs-ntfs ". * c.kworr@gmail.com wrote: fuse-ntfs can't work with 4G files * 7.1-RELEASE amd64 has NTFS * 7.1-RELEASE i386 has no NTFS * 7.2-RELEASE amd64 has no NTFS * 7.2-RELEASE i386 has no NTFS */ options NTFS # NT File System #endif /*}*/ #ifndef /*{*/ JHS_ISDN /* 2000.10.25: off for paranoid firewalls just in case its fragile code */ #if /*{*/ ! ( defined SCAN ) && ! ( defined LAPN ) options MSDOSFS # MSDOS Filesystem #endif /*}*/ #endif /*}*/ #if /*{*/ ( defined JENERIC \ || BLAK \ || DUAL \ || FILM \ || FIRE32 || FIRE64 \ || FLAT \ || FLIP \ || JOHN32 || JOHN64 \ || KING \ || LAPA \ || LAPC /* external cdrom via pcmcia */ \ || LAPD /* cdrom may be in main laptop or multimedia layer */ \ || LAPL /* external cdrom via pcmcia */ \ || LAPN /* external cdrom via pcmcia */ \ || LAPS \ || LOFT \ || MART \ || PARK \ || RAIN \ || SLIM \ || SNOW \ || THIN \ || TOWER \ || WIND \ ) options CD9660 # ISO 9660 Filesystem, not necessary just for audio #if /*{*/ ( __FreeBSD__ <= 4 ) options CD9660_ROOT # CD-ROM usable as root. "CD9660" req''ed #endif /*}*/ #if /*{*/ (( __FreeBSD__ >= 5 ) && \ ( BLAK || FIRE32 || FIRE64 || JOHN32 || JOHN64 || LAPD || LAPO || LAPS ) ) options UDF /* Allows DVDs with files > 2 Gig, to avoid: * "ls: file_about_2.5gig.ts: * Value too large to be stored in data type" * ports/sysutils/k3b can use it to write eg 4G+ files. */ #endif /*}*/ #endif /*} */ #ifndef /*{*/ JHS_ISDN /* proc is a security hazard: Message-id: <20001218153619.071BE37B400@hub.freebsd.org> Is it still a hazard in 2008.06 ? */ options PROCFS # Process filesystem #endif /*} */ #if /*{*/ ( __FreeBSD__ >= 5 ) options PSEUDOFS # Pseudo-filesystem framework #endif /*}*/ #if /*{*/ ( __FreeBSD__ >= 7 ) options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] #endif /*}*/ #if /*{*/ ( LAPS || LAPD || FIRE32 || FIRE64 || JOHN32 || JOHN64 || LOFT || BLAK || LAPO ) #define CRYPT_HOST 1 #endif /*}*/ #if /*{*/ ( CRYPT_HOST ) #if /*{*/ ( __FreeBSD__ >= 7 ) /* Encrypting Disk Partitions http://www.freebsd.org/doc/en/books/handbook/disks-encrypting.html */ // gbde worked on 8.0-GENERIC without needing these, I guess from modules/. options GEOM_BDE # Encrypting Disk Partitions // I dont use ELI, it''s just in case for later. options GEOM_ELI # Encrypting Disk Partitions #endif /*}*/ #endif /*}*/ #if /*{*/ ( __FreeBSD__ == 6 ) /* but not 7-current-2007.10.01 */ options GEOM_GPT # GUID Partition Tables. #endif /*}*/ #if /*{*/ ( __FreeBSD__ < 7 ) options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] /* In theory, around "options COMPAT_43" I might use * #if ( !defined JHS_REMOTE ) * but I don''t because COMPAT_43 is needed * - For Linux system calls, & * - Perhaps to retain compatibility with BSD 4.3 (Symmetric) */ #endif /*}*/ #if /*{*/ ( __FreeBSD__ >= 5 ) #ifdef /*{*/ jhsarch_amd64 #if /*{*/ ( defined JENERIC || FIRE64 || JOHN64 || BLAK || LAPO ) #if /*{*/ ( __FreeBSD__ <= 7 ) options COMPAT_IA32 # Compatible with i386 binaries /* not in 8.1-RELEASE amd64 */ #endif /*}*/ /* FIRE64: linking kernel.debug ia32_sigtramp.o(.text+0x27): In function `freebsd4_ia32_sigcode': ../../../amd64/ia32/ia32_sigtramp.S:59: undefined reference to `IA32_SIGF_UC4' *** Error code 1 */ /* 8.0-RELEASE amd64, but not with i386, /sys/amd64/conf/GENERIC COMPAT_FREEBSD7 is a pre-requisite for COMPAT_IA32 (so those who enable COMPAT_IA32 for ports/emulators, but disable COMPAT_FREEBSD7 as they compile all binaries on upgrade, will trip up on this as I did). Currently I see: cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wred undant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointe r-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nos tdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEA DERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-g rowth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=k ernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dn ow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protecto r -Werror ../../../compat/freebsd32/freebsd32_misc.c cc1: warnings being treated as errors ../../../compat/freebsd32/freebsd32_misc.c: In function 'freebsd32_semsys': ../../../compat/freebsd32/freebsd32_misc.c:1420: warning: implicit declaration o f function 'freebsd7_freebsd32_semctl' ../../../compat/freebsd32/freebsd32_misc.c:1420: warning: nested extern declarat ion of 'freebsd7_freebsd32_semctl' ... ../../../compat/freebsd32/freebsd32_misc.c:1845: error: dereferencing pointer to incomplete type *** Error code 1 Dynamic binaries need relevant libraries placed in /usr/local/lib32/compat, or wherever else you run ldconfig -32 over them. You also need the cross-compiled 32-bit version of the system libraries. You should have installed them by sysinstall. See /usr/src/tools/lib32/README, */ #endif /*}*/ #endif /*}*/ #endif /*}*/ /* Generic supports all old OS version binaries, but I dont need to * do that, as only binary that might interest me is Applixware. */ #if /*{*/ ( \ FIRE32 \ || FIRE64 \ || JENERIC \ || JOHN32 \ || JOHN64 \ || BLAK \ || LAPA \ || LAPD \ || LAPS \ || LAPO \ ) #if /*{*/ ( __FreeBSD__ >= 8 ) #ifdef /*{*/ jhsarch_amd64 options COMPAT_FREEBSD32 # Compatible with i386 binaries /* 8.1-RELEASE amd64 has this */ #endif /*}*/ #endif /*}*/ #if /*{*/ ( __FreeBSD__ >= 5 ) options COMPAT_FREEBSD4 # Compatible with FreeBSD4 /* Conflicts with * options SMP * or * options COMPAT_IA32 * on 8.0-RELEASE. */ HASH # applixware wants libm.so.2. #endif /*}*/ #endif /*}*/ #if /*{*/ ( defined JENERIC || defined FIRE64 || \ BLAK /* JJLATER COMPAT_FREEBSD5 &/or COMPAT_FREEBSD6 &/or COMPAT_FREEBSD7 needed for some reason on 8.1-RELEASE */ || \ LAPO /* needed probably */ \ ) #if /*{*/ ( __FreeBSD__ >= 6 ) options COMPAT_FREEBSD5 # Compatible with FreeBSD5 /* Ernst doesnt use this 2006.04 */ #endif /*}*/ #if /*{*/ ( __FreeBSD__ >= 7 ) options COMPAT_FREEBSD6 # Compatible with FreeBSD6 #endif /*}*/ #if /*{*/ ( __FreeBSD__ >= 8 ) options COMPAT_FREEBSD7 # Compatible with FreeBSD7 HASH # Needed for COMPAT_IA32 #endif /*}*/ #endif /*}*/ #if /*{*/ (( __FreeBSD__ >= 5 ) && ( __FreeBSD__ < 7 )) /* not in 7.1-BETA2 */ #ifdef /*{*/ jhsarch_amd64 options COMPAT_LINUX32 # Compatible with i386 linux binaries #endif /*}*/ #endif /*}*/ #if /*{*/ ( FIRE32 || FIRE64 || JOHN32 || JOHN64 || LAPS || LAPD || LAPO || BLAK ) #ifdef /*{*/ jhsarch_i386 options COMPAT_LINUX # for opera browser /* 6.2-RELEASE amd64 config FIRE64.small: unknown option "COMPAT_LINUX" */ #endif /*}*/ /* Ex host=flat 2004 * device tdfx * options TDFX_LINUX */ #endif /*}*/ /* Many of next have SCSI added for USB Memory Sticks & cdrecord etc */ #if /*{*/ ( defined JENERIC \ || defined BLAK /* No real SCSI, but USB sticks */ \ || defined DUAL /* No real SCSI, but USB sticks */ \ || defined FILM /* No real SCSI, but USB sticks */ \ || defined FIRE32 \ || defined FIRE64 /* No real SCSI, but USB sticks */ \ || defined FLIP \ || defined JOHN32 \ || defined JOHN64 /* At least USB sticks */ \ || defined KING /* Real SCSI hardware */ \ || defined LAPA /* No real SCSI, but USB sticks */ \ || defined LAPD /* No real SCSI, but USB sticks */ \ || defined LAPN /* SCSI hardware in docking base, no USB*/ \ || defined LAPO /* No real SCSI, but USB sticks */ \ || defined LAPS /* No real SCSI, but USB sticks */ \ || defined LOFT /* No real SCSI, but USB sticks */ \ || defined RAIN /* Real SCSI hardware */ \ || defined SCAN /* Real SCSI hardware */ \ || defined SLIM /* No real SCSI, but USB sticks */ \ || defined SNOW \ || defined THIN /* No real SCSI, but USB sticks */ \ || defined TOWER /* No real SCSI, but USB sticks */ \ || defined WIND /* Real SCSI hardware */ \ ) #define JHS_SCSI 1 /* machine has a scsi controller */ #if /*{*/ ! ( defined SCAN ) #if /*{*/ (( __FreeBSD__ <= 4 ) || ( __FreeBSD__ == 5 )) options SCSI_DELAY=15000 # Delay (in ms) before probing SCSI #else /*}{ 4.10 & 5.4 use 15000, 6.0 uses 5000. */ options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI /* Ernst doesnt use this 2006.04 */ #endif /*}*/ /* I think for host that dont actually have physical * scsi hardware, there is no probe hang, so no need to change this. */ #else /* }{ David S. Madole uses just 3 seconds for embedded scanner */ options SCSI_DELAY=3000 #Delay (in ms) before probing SCSI #endif /*}*/ #endif /*}*/ #if /*{*/ ( SNOW ) /* might be Snow doesnt need this */ #define JHS_BOUNCE_16 #endif /*}*/ #ifndef /*{*/ JHS_ISDN #if /*{*/ ( __FreeBSD__ <= 4 ) options UCONSOLE # Allow users to grab the console #if /*{*/ ! ( defined SCAN ) /* David S. Madole didnt have UCONSOLE in his kernel, * but I add it for remote operations/ debugging */ #endif /*}*/ /* Allow users to grab the console, for X. * guido@_ERASE_gvr.win.tue.nl: * When i looked into my xterm -C/xconsole problem I discovered * that a simple non-suid program would redirect the console * to my current tty. (just open /dev/tty and ioctl TIOCCONS). * I thought youd need root privs for that. It turns out that * indeed you need root privs *except* when UCONSOLE is defined * ....Why is that? * I dont see any reasons to "give" your console away to * J. Random Cracker. * I discovered why my xconsole wont work: * (from xconsole, function OpenConsole): * / * must be owner and have read/write permission * / * if (!stat("/dev/console", &sbuf) && (sbuf.st_uid - getuid()) && * !access("/dev/console", R_OK|W_OK)) * Thus indeed setting xconsole suid root *can* *never* work * when you dont own the console. * I expect xterm -C to use the same scenario (I didnt check). * A solution would be to chown /dev/console to whoever logs * on to /dev/ttyv0, */ #else /*}{*/ /* No UCONSOLE in __FreeBSD__ >= 5 /sys Ive also explored this with no success: sysctl -a | grep -i consol kern.log_console_output: 1 kern.always_console_output: 0 kern.console: consolectl,/consolectl, dev.sc.0.%desc: System console sysctl -d kern.log_console_output kern.log_console_output: Duplicate console output to the syslog. sysctl kern.log_console_output kern.log_console_output: 1 sysctl -d kern.always_console_output kern.always_console_output: Always output to console despite TIOCCONS. sysctl kern.always_console_output kern.always_console_output: 0 sysctl -d kern.console Console device control sysctl kern.console kern.console: consolectl,/consolectl, */ #endif /*}*/ #endif /*}*/ #if /*{*/ ( JHS_ISDN ) options SC_DISABLE_REBOOT # disable reboot key sequence #endif /*}*/ #if /*{*/ ( __FreeBSD__ <= 4 ) options USERCONFIG # boot -c editor /* FreeBSD-4: man kernel.conf */ #endif /*}*/ #if /*{*/ ( __FreeBSD__ <= 4 ) options VISUAL_USERCONFIG # visual boot -c editor #endif /*}*/ #if /*{*/ ( \ JENERIC || \ /* BLAK || */ \ DUAL || \ FIRE32 || FIRE64 || \ JOHN32 || JOHN64 || \ LAPD || \ /* LAPO || */ \ LAPS || \ WIND \ ) options KTRACE # ktrace(1) syscall trace support /* Adds 4 KB bloat to your kernel, and slightly increases * the costs of each syscall. * Does not cause a problem on SLIM 7.0-BETA2, but best without. */ #endif /*}*/ #if /*{*/ ( __FreeBSD__ >= 7 ) /* Not in 7.0-RELEASE, but after in stable */ options STACK # stack(9) support #endif /*}*/ #if /*{*/ ( ( __FreeBSD__ <= 4 ) && ( defined DEBUG_JHS ) ) options DDB # kernel debugger #endif /*}*/ #if /*{*/ ! ( defined SCAN ) options SYSVSHM # SYSV-style shared memory /*for X11R6 */ options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores #endif /*}*/ #if /*{*/ ( __FreeBSD__ >= 8 ) options P1003_1B_SEMAPHORES # POSIX-style semaphores /* From: Garrett Cooper Date: Mon, 30 Aug 2010 07:26:41 -0700 (16:26 CEST) To: Andriy Gapon Cc: freebsd-hackers@@@freebsd.org Subject: Re: System freezes unexpectly make sure that you have POSIX semaphores (the sem module, or `options P1003_1B_SEMAPHORES' in your kernel config) enabled on the system. Some functionality in Firefox depends on functioning POSIX semaphores. */ #endif /*}*/ /* options sem # POSIX semaphores - man 4 sem * or /boot/loader.conf: sem_load="YES" * to avoid dump when running www/firefox35 * after the install firefox FF3.5 welcome site * has an html5 video, which will crash. */ #if /*{*/ (!defined JENERIC && !defined JHS_REMOTE ) /* options "TCP_COMPAT_42" * Used up to to 4.3, not supported by FreeBSD 4.4-RELEASE. * Probably needed only when connected to EG * Julian''s ethernet, when Symmetic S/375 running BSD4.2 * is active. * Not in 3.1 & 4.0 GENERIC, but in 3.1 & 4.1 LINT * By 4.9 the only string is in * /usr/src/usr.sbin/config/SMM.doc/e.t: * This option forces the system to limit its initial * TCP sequence numbers to positive numbers. Without * this option, 4.4BSD systems may have problems with * TCP connections to 4.2BSD systems that connect but * never transfer data. The problem is a bug in the * 4.2BSD TCP. * Mike Silbersack wrote re my Symmetric: * TCP_COMPAT_42 just tweaked how we generated TCP * initial sequence numbers. The lack of it should * not be impacting your ability to connect to * machines of any vintage. */ #endif /*}*/ #if /*{*/ ( __FreeBSD__ <= 4 ) #if /*{*/ ! ( defined SCAN ) options P1003_1B # Posix P1003_1B real-time extentions #endif /*}*/ #endif /*}*/ #if /*{*/ ! ( defined SCAN ) options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions #endif /*}*/ /**/ HASH handbook says Star Office uses the above. #if /*{*/ ( ( __FreeBSD__ >= 8 ) || JOHN64 || JOHN32 ) /* Byte count For multicore to stop messages garbling */ options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. #endif /*}*/ #if /*{*/ ( RAIN_OLD ) /* ports/sysutils/cdrecord/work/cdrecord-1.9/README.FreeBSD reccomends all of * options "P1003_1B" * options "_KPOSIX_PRIORITY_SCHEDULING" * options "_KPOSIX_VERSION=199309L" * The first 2 are in Generic, but on 4.2-Release, * options _KPOSIX_VERSION=199309L * Causes compiler failure */ #endif /*}*/ #if /*{*/ ( __FreeBSD__ <= 4 ) #if /*{*/ ! ( defined SCAN ) options ICMP_BANDLIM #Rate limit bad replies #endif /*}*/ #endif /*}*/ #if /*{*/ ! ( defined SCAN ) options KBD_INSTALL_CDEV # install a CDEV entry in /dev #endif /*}*/ #if /*{*/ ( __FreeBSD__ >= 8 ) options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) #endif /*}*/ #if /*{*/ ( __FreeBSD__ <= 4 ) #if /*{*/ ! ( defined SCAN || defined MINI ) options AHC_REG_PRETTY_PRINT # Print register bitfields in debug /**/ HASH output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug /**/ HASH output. Adds ~215k to driver. #endif /*}*/ #endif /*}*/ #if /*{*/ ! ( defined SCAN || defined MINI ) #if /*{*/ (( __FreeBSD__ >= 5 ) && ( __FreeBSD__ < 8 )) /* 5.1 doesnt have it, 5.5 does */ options ADAPTIVE_GIANT # Giant mutex is adaptive. #endif /*}*/ #endif /*}*/ #if /*{*/ ( __FreeBSD__ == 7 ) options STOP_NMI # Stop CPUS using NMI instead of IPI #endif /*}*/ #if /*{*/ ( __FreeBSD__ >= 7 ) #if /*{*/ ( defined JENERIC || 1 /* JJLATER maybe turn off ? */ ) options AUDIT # Security event auditing #endif /*}*/ #endif /*}*/ #if /*{*/ ( __FreeBSD__ >= 8 ) options MAC # TrustedBSD MAC Framework options FLOWTABLE # per-cpu routing cache #endif /*}*/ #ifdef /*{*/ jhsarch_amd64 /**/ HASH Workarounds for some known-to-be-broken chipsets (nVidia nForce3-Pro150) #if /*{*/ ( __FreeBSD__ < 7 ) /* Gone before 7.1-BETA2 */ device atpic # 8259A compatability #endif /*}*/ HASH options NO_MIXED_MODE # Don''t penalize working chipsets #if /*{*/ ( __FreeBSD__ < 7 ) /* Gone before 7.1-BETA2 */ HASH Linux 32-bit ABI support options LINPROCFS # Cannot be a module yet. #endif /*}*/ #endif /*}*/ #if /*{*/ ( __FreeBSD__ >= 5 ) HASH Debugging HASH options DDB # Enable the kernel debugger /* options BREAK_TO_DEBUGGER */ HASH options INVARIANTS # Enable calls of extra sanity checking #ifdef /*{*/ DEBUG_JHS options DDB # Enable the kernel debugger #if /*{*/ (( __FreeBSD__ == 6 ) || ( __FreeBSD__ >= 7 ) ) /* 5.1 doesnt have it */ options KDB /* Needed for 7-current 2007.10.01 */ options GDB #endif /*}*/ HASH /sys/conf/NOTES /* #error KDB must be enabled in order for DDB to work! */ HASH options INVARIANTS # Enable calls of extra sanity checking /* Kris Kennaway: INVARIANTS causes about a 10% penalty on wall clock time on 5.x and above Ivan Voras: Huge. See http://wikitest.freebsd.org/WitnessPerformance */ HASH options INVARIANT_SUPPORT #endif /*}*/ HASH options WITNESS # Enable checks to detect deadlocks and cycles #ifdef /*{*/ DEBUG_JHS /* Dan Nelson : WITNESS is like walking in mud */ HASH options WITNESS_SKIPSPIN #endif /*}*/ HASH options WITNESS_SKIPSPIN # Dont run witness on spinlocks for speed #if /*{*/ ( ( __FreeBSD__ >= 7 ) && ( \ ( defined JENERIC ) \ || ( 0 /* defined DUAL crashes so commented out */ ) \ || ( defined JOHN32 ) || ( defined JOHN64 ) \ || ( defined BLAK ) \ /* || ( defined FIRE32 ) || ( defined FIRE64 ) No diff with 8.0 */ \ ) ) options SMP # Symmetric MultiProcessor Kernel /* JOHN64 7.1 dmesg: SMP: AP CPU #1 Launched! */ /* FIRE64 8.0 dmesg | grep SMP # nothing */ #endif /*}*/ #ifdef /*{*/ jhsarch_i386 #if /*{*/ (\ ( __FreeBSD__ >= 6 ) && ( defined JENERIC ) \ || ( 0 /* defined DUAL crashes with SMP so commented out */ ) \ ) device apic # I/O APIC /* for interrupt delivery, can be used in both UP and SMP */ #endif /*}*/ #endif /*}*/ #if /*{*/ ( CRYPT_HOST ) #if /*{*/ ( __FreeBSD__ >= 7 ) /* Encrypting Disk Partitions http://www.freebsd.org/doc/en/books/handbook/disks-encrypting.html */ device crypto # For GEOM_ELI #endif /*}*/ #endif /*}*/ #if /*{*/ ( __FreeBSD__ >= 7 ) HASH CPU frequency control #if /*{*/ !LAPN /*experimental */ device cpufreq /* /usr/src/usr.sbin/powerd/powerd.c: 497 * if (sysctlnametomib("dev.cpu.0.freq", freq_mib, &len)) * err(1, "lookup freq"); */ /* The cpufreq(4) driver provides support for non-ACPI */ #endif /*}*/ #endif /*}*/ #if /*{*/ ( defined LAPS || defined LAPD ) /* for WINdum use with qemu */ HASH option PFIL_HOOKS options NETGRAPH options NETGRAPH_ETHER options NETGRAPH_SOCKET options NETGRAPH_BRIDGE device tap #endif /*}*/ #if /*{*/ ( USB_HOST ) HASH options USB_DEBUG /* ref: /sys/conf/options */ /* Plugging in the Cruzer into a 5.2.1 LAPD running a generic kernel causes an immediate silent hang. Plugging same Cruzer into host=king does not crash it. */ #endif /*}*/ #endif /*}*/ #if /*{*/ ( __FreeBSD__ <= 4 ) /* I havent checked if 5 generic has similar, but below is from 4.8 */ HASH To support HyperThreading, HTT is needed in addition to SMP and APIC_IO HASH options HTT # HyperThreading Technology #endif /*}*/ #ifdef /*{*/ JHS_ISDN #if /*{*/ ( SNOW || MART || PARK ) #define JHS_ISDN_16 /* real 16 bit cards */ #else /*}{*/ This line will cause a syntax error until you define your card. (some cards are 8 bit). #endif /*}*/ #endif /*}*/ #if /*{*/ ( JHS_ISDN || LAPS || LAPD || LAPO ) /* Was if defined JHS_LAPTOP but 2008.01.14 Im fightting LAPD & LAPN *to get better music performance, & LAPN to recognise card ethernet. */ /* Later maybe add "|| (defined JHS_REMOTE )" to allow selective reject of hostile hosts, but not until I have proved my hosts boot OK & I can login, & first debug for bsn.de where reboot key */ options IPFIREWALL options IPFIREWALL_VERBOSE options IPDIVERT /* for ports/net/tcpmssd for DSL tun0 mtu 1492 */ #endif /*}*/ /* options COM_MULTIPORT Multiport serial in sys/isa/sio.c Not in 3.1/GENERIC, but in 3.1/LINT */ #ifdef /*{*/ JHS_BOUNCE_16M /* options "MAXMEM=16384" * 16384 for 16M gj doesnt use @_ERASE_ 96.11 * If I dont assert this, & use all 32M my system runs at * 1/3 speed, as my Gigabyte motherboards do not cache high 16M. * Not in 3.1/GENERIC, but in 3.1/LINT */ options "MAXMEM=16384" #endif /*}*/ /* * options USER_LDT # On for Wine & mplayer, * # Off for security on firewalls. * Not in 3.3/GENERIC, but in 3.3/LINT */ #if /*{*/ ( FLIP || SNOW || WIND || defined JHS_LAPTOP ) #if /*{*/ ( __FreeBSD__ <= 4 ) options USER_LDT #endif /*}*/ #endif /*}*/ #if /*{*/ ( __FreeBSD__ < 6 ) /* in automatically with 7, shown by config -x /boot/kernel/kernel */ device isa // isa is in automatically with 8.0 #endif /*}*/ /* LAPS: isa0: on isab0 */ #if /*{*/ ( ( __FreeBSD__ <= 4 ) && ( LAPA || LAPL ) ) /* I dont seem to need to add SCAN for the ep ethernet cards */ options PNPBIOS /* 4.10 LINT: Note that motherboard sound devices may require * options PNPBIOS * Used in: /sys/i386/ conf/LINT i386/bios.c. */ #endif /*}*/ #if /*{*/ ( __FreeBSD__ <= 7 ) #ifdef /*{*/ JENERIC HASH Bus support #ifdef /*{*/ jhsarch_i386 device eisa #endif /*}*/ #endif /*}*/ #endif /*}*/ #if /*{*/ ( ( !defined jhsarch_i386) /* amd64 */ || ( __FreeBSD__ >= 8 ) ) device acpi /* I think it is essential to have this for FIRE64 * if the BIOS is configured to first try to boot * off 2nd SATA drive, but we want fdisk to timeout, * flip to F5 = 2nd drivem default to F1 & boot off * ad4s1a. Before I added acpi the boot hung, * couldnt find root [FS] I think. */ #endif /*}*/ #if /*{*/ ( __FreeBSD__ >= 8 ) #ifdef /*{*/ JENERIC HASH Bus support #ifdef /*{*/ jhsarch_i386 device eisa #endif /*}*/ #endif /*}*/ #endif /*}*/ device pci /* Was Mandatory, even for boards with no PCI */ /* MINI has no pci hardware. * LAPS: * pci0: at device 31.5 (no driver attached) * pci0: at device 31.6 (no driver attached) * FILM: * pci0: at device 7.4 (no driver attached) * pci0: at device 7.5 (no driver attached) * pci0: at device 15.0 (no driver attached) * pci0: