# /host/lapd/boot/loader.conf # CAUTION: Any syntax error will prevent rest of file being used. # Keep format aligned with /host/lapn/boot/loader.conf. # Occasionally manually run: # cp /boot/loader.conf ~jhs/public_html/hardware/digital/loader.conf # # By jhs@@berklix.com # apm_load="YES" # suggested by Ian Smith boot_verbose="yes" # Collect more info to later tune ata debug.bootverbose=1 # debug.acpi.disabled=all hint.acpi.0.disabled=1 # Turn off whole of acpi NEW # ACPI spec 2003, this laptop Much older # Not Needed to boot, came from sysinstall. # hint.apic.0.disabled="1" # Not Needed to boot. # hint.apm.0.disabled="1" # Not Needed to boot. # hint.cbb.0.disabled="1" # pccard0 Top layer, lower slot. hint.cbb.1.disabled="1" # pccard1 Top layer, top slot. hint.cbb.2.disabled="1" # pccard2 Lower layer, lower slot. hint.cbb.3.disabled="1" # pccard3 Lower layer, top slot. hint.cbb.4.disabled="1" # pccard4 Maybe modem bay on right ? # It would be nice to disable slots to save IRQs as they eat irq 7 needed # for parallel ppc. But hint.cbb.*.disabled= does not disable them. # CardBus # Common to top layer only or both layers with 7.0BETA3 Generic: # cbb0: irq 9 at device 7.0 on pci0 # cardbus0: on cbb0 # pccard0: <16-bit PCCard bus> on cbb0 # cbb0: [ITHREAD] # cbb1: irq 10 at device 7.1 on pci0 # cardbus1: on cbb1 # pccard1: <16-bit PCCard bus> on cbb1 # cbb1: [ITHREAD] # If Top layer only 7.0BETA3 Generic: # cbb2: at port 0x3e0-0x3e1 irq 5 pnpid PNP0e01 on isa0 # device_attach: cbb2 attach returned 12 # If Both layers 7.0BETA3 Generic: # cbb2: irq 9 at device 14.0 on pci0 # cardbus2: on cbb2 # pccard2: <16-bit PCCard bus> on cbb2 # cbb2: [ITHREAD] # cbb3: irq 10 at device 14.1 on pci0 # cardbus3: on cbb3 # pccard3: <16-bit PCCard bus> on cbb3 # cbb3: [ITHREAD] # cbb4: at port 0x3e0-0x3e1 irq 7 pnpid PNP0e01 on isa0 # device_attach: cbb4 attach returned 12 # hint.pcm.0.irq="5" # Not needed, found in man 4 sound # hint.sbc.0.at="isa" # Not needed (if no machdep.bios.pnp="disable"). # hint.sbc.0.drq="1" # Not needed (if no machdep.bios.pnp="disable"). # hint.sbc.0.flags="0x15" # Not needed (if no machdep.bios.pnp="disable"). # hint.sbc.0.irq="5" # Not needed (if no machdep.bios.pnp="disable"). # hint.sbc.0.port="0x220" # Not needed (if no machdep.bios.pnp="disable"). # hint.pcm.0.at="isa" # Not needed, found in man 4 sound # hint.pcm.0.drq="1" # Not needed, found in man 4 sound # hint.pcm.0.flags="0x0" # Not needed, found in man 4 sound hint.pcm.0.vol="100" # Sound Volume hint.sio.1.disabled="1" # Uncomment if BIOS Infra Red != COM2 # Before adding hint.sio.1.disabled="1", # & with a BIOS in which Infra Red had been turned off, # 7.0BETA3 Generic dmesg reported: # sio1: configured irq 3 not in bitmap of probed irqs 0x40 # sio1: port may not be enabled # After adding this line, no reference at all to sio1, just sio0. # hw.acpi.disable_on_reboot=1 # Not Needed to boot. # filler hw.acpi.verbose=1 # hw.ata.ata_dma="0" # Essential else disk access fails. # Can I use these to tune ATA ? Generic boot dmesg reports: # atapci0: port 0x1f0-0x1f7,0x3f6,0xfe00-0xfe0f # irq 14 at device 8.0 on pci0 # ata0: on atapci0 # ata0: [ITHREAD] # ata1: on atapci0 # ata1: [ITHREAD] # atapci1: at device 15.0 on pci0 # atapci1: unable to map interrupt # device_attach: atapci1 attach returned 6 # ad0: 4769MB at ata0-master PIO4 # xs pciconf -lv > /tmp/t # hostb0@pci0:0:0:0: class=0x060000 card=0x00000000 chip=0x00011066 rev=0x05 hdr=0x00 # vendor = 'Picopower Technology (A division of National)' # device = 'PT86C521 Vesuvius V1-LS System Controller' # class = bridge # subclass = HOST-PCI # none0@pci0:0:5:0: class=0x068000 card=0x00000000 chip=0x00021066 rev=0x00 hdr=0x00 # vendor = 'Picopower Technology (A division of National)' # device = 'PT86C523 Vesuvius V3-LS PCI to ISA Bridge' # class = bridge # vgapci0@pci0:0:6:0: class=0x030000 card=0x00000000 chip=0x00e4102c rev=0xc2 hdr=0x00 # vendor = 'Asiliant (Chips And Technologies)' # device = '65554 Flat Panel/LCD CRT GUI Accelerator' # class = display # subclass = VGA # cbb0@pci0:0:7:0: class=0x060700 card=0x00000000 chip=0xac15104c rev=0x01 hdr=0x02 # vendor = 'Texas Instruments (TI)' # device = 'PCI1131 PC Card CardBus Controller' # class = bridge # subclass = PCI-CardBus # cbb1@pci0:0:7:1: class=0x060700 card=0x00000000 chip=0xac15104c rev=0x01 hdr=0x02 # vendor = 'Texas Instruments (TI)' # device = 'PCI1131 PC Card CardBus Controller' # class = bridge # subclass = PCI-CardBus # atapci0@pci0:0:8:0: class=0x01018e card=0x00000000 chip=0x06431095 rev=0x00 hdr=0x00 # vendor = 'Silicon Image Inc (Was: CMD Technology Inc)' # device = 'PCI0643 PCI EIDE controller' # class = mass storage # subclass = ATA # none1@pci0:0:13:0: class=0x068000 card=0x00000000 chip=0x00021066 rev=0x00 hdr=0x00 # vendor = 'Picopower Technology (A division of National)' # device = 'PT86C523 Vesuvius V3-LS PCI to ISA Bridge' # class = bridge # cbb2@pci0:0:14:0: class=0x060700 card=0x00000000 chip=0xac15104c rev=0x01 hdr=0x02 # vendor = 'Texas Instruments (TI)' # device = 'PCI1131 PC Card CardBus Controller' # class = bridge # subclass = PCI-CardBus # cbb3@pci0:0:14:1: class=0x060700 card=0x00000000 chip=0xac15104c rev=0x01 hdr=0x02 # vendor = 'Texas Instruments (TI)' # device = 'PCI1131 PC Card CardBus Controller' # class = bridge # subclass = PCI-CardBus # atapci1@pci0:0:15:0: class=0x01018f card=0x00000000 chip=0x06461095 rev=0x01 hdr=0x00 # vendor = 'Silicon Image Inc (Was: CMD Technology Inc)' # device = 'PCI-0646 EIDE Adapter (Single FIFO)' # class = mass storage # subclass = ATA # ohci0@pci0:0:16:0: class=0x0c0310 card=0x06701095 chip=0x06701095 rev=0x04 hdr=0x00 # vendor = 'Silicon Image Inc (Was: CMD Technology Inc)' # device = 'USB0670 USB Controller' # class = serial bus # subclass = USB # hw.ata.atapi_dma=0 # Not Needed to boot. # hw.ata.wc=0 # Not Needed to boot. # hw.cardbus.cis_debug=1 # JJLATER for a better understanding. # hw.cardbus.debug=1 # JJLATER for a better understanding. # hw.cbb.debug=1 # JJLATER for a better understanding. # hw.pccard.cis_debug=1 # JJLATER for a better understanding. hw.pccard.debug="1" # JJLATER for a better understanding. # hw.pci.enable_io_modes=0 # Not Needed to boot. # hw.pcic.ignore_pci=1 # Not Needed to boot. # hw.pcic.intr_path="1" # Not needed for pcmcia ep0 # hw.pcic.irq="0" # Not needed for pcmcia ep0 # hw.pcic.pd6729_intr_path # hw.snd.latency=10 # 5 default, max 10, jhs hacked to max 40. # hw.snd.latency_profile=1 # 1 by default, doesnt accept 2, so prob binary hw.snd.feeder_buffersize=131072 # default 16384, read only after boot. # dev/sound/pcm/feeder.h:#define FEEDBUFSZ_MAX 131072 hw.snd.verbose=2 # Suggested by Ian Smith # if_ed_load="YES" # Ethernet card currently in host=lapl kern.hz="100" # sysctl -a | grep kern.clockrate # read only # Rate and period of kernel clocks # Default: { hz = 1000, tick = 1000, profhz = 1024, stathz = 128 } # From Ian Smith # I figured, on a few wet-finger-in-the-wind trials a year or so ago, # that 1000Hz slicing was too busy for my 300MHz machine; I recall it # adding about 10% to idle load. It works fine at 200Hz. 1000Hz is of # course fine for modern machines that run 10-20 times faster than your # 133MHz, so I'd suggest trying maybe kern.hz="100" in loader.conf? # See also `man cpufreq` & kernel options cpufreq. # loader.acpi_disabled_by_user=1# Not Needed to boot. machdep.bios.pci="disable" # Needed else pcmcia ep0 times out. # filler # machdep.bios.pnp="disable" # Not needed for pcmcia ep0 # machdep.pccard.pcic_irq="0" # Not needed for pcmcia ep0 # sound_load="YES" # Now in my custom kernel # snd_ess_load="YES" # Now in my custom kernel # snd_ess was discovered by: kldload snd_driver ; cat /dev/sndstat # pcm1: at io 0x220 irq 5 drq 1:5 bufsz # 4096 kld snd_ess [GIANT] (1p:1v/1r:1v channels default) # .mp3 sound is horribly distorted, break up gaps, # http://www.berklix.com/~jhs/hardware/digital/#sound # Kernel linking failed without 'device "snd_sbc"', with: # ../../../dev/sound/isa/ess.c:141: undefined reference to `sbc_lock' # so maybe sbc needs to be, or is automatically loaded ? # http://freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html # snd_sbc_load="YES" # Now in my custom kernel # filler verbose_loading="yes" # ============================================================================= # ETHERNET CARD & SLOTS # ep in low slot of top layer: Top layer only 7.0BETA3 Generic: # ep0: <3Com OfficeConnect 572B> at port 0x100-0x11f irq 9 \ # function 0 config 1 on pccard0 # ep in top slot of top layer: Top layer only 7.0BETA3 Generic: # ep0: <3Com OfficeConnect 572B> at port 0x100-0x11f irq 10 \ # function 0 config 1 on pccard1 # ep in low slot of lower layer # ep0: <3Com OfficeConnect 572B> at port 0x100-0x11f irq 9 \ # function 0 config 1 on pccard2 # ep in top slot of lower layer # ep0: <3Com OfficeConnect 572B> at port 0x100-0x11f irq 10 \ # function 0 config 1 on pccard3 # The right hand hidden PCMCIA # inbuilt modem slot: # Used to house a WinLose modem, routing to back of laptop, # long removed. The slot dint recognise any of 3 different # ethernet cards. # PARALLEL PORT # Common to top layer only or both layers with 7.0BETA3 Generic: # ppc0: cannot reserve I/O port range # Background numbers for searching why ppc is not allocated: # park: ppc0: at port 0x378-0x37f irq 7 on isa0 # pciconf -lv shows: # vendor = 'Silicon Image Inc (Was: CMD Technology Inc)' # device = 'USB0670 USB Controller'