/boot/loader.conf
hint.p4tcc.0.disabled=1
int.acpi_throttle.0.disabled=1
hw.pci.do_power_nodriver=3
hint.ahcich.0.pm_level=5
#hw.acpi.reset_video=1
/etc/rc.conf
# -- sysinstall generated deltas -- # Fri Sep 2 00:15:43 2011
# Created: Fri Sep 2 00:15:43 2011
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname="opn"
keymap="us.pc-ctrl"
keyrate="fast"
moused_enable="YES"
ifconfig_msk0="SYNCDHCP"
route_YYY="-net 152.XXX.XXX.0 -netmask 255.255.255.0 -interface msk0"
static_routes="YYY"
#wlans_wlan0="iwn0"
#wlan0="WPA SYNDHCP"
firewall_enable="YES"
firewall_script="/etc/rc.firewall"
firewall_type="workstation"
firewall_quiet="NO"
firewall_logdeny="YES"
firewall_logging="YES"
firewall_trusted=""
privoxy_enable="YES"
sshd_enable="YES"
# -- sysinstall generated deltas -- # Fri Sep 2 23:39:07 2011
moused_enable="YES"
apmd_enable="YES"
powerd_enable="YES"
performance_cx_lowest="C2"
economy_cx_lowest="C2"
/etc/rc.local
/sbin/camcontrol idle ada0 -t 30
/etc/devd/hp.conf
notify 0 {
match "system" "ACPI";
match "system" "HP";
match "notify" "0xc0";
action "ifconfig msk0 up";
};
notify 0 {
match "system" "ACPI";
match "system" "HP";
match "notify" "0xc1";
action "ifconfig msk0 down";
};
~user/.Xmodmap
keycode 140 XF86AudioMute
keycode 174 XF86AudioLowerVolume
keycode 164 XF86AudioRaiseVolume
~user/.xbindkeysrc
"mixer vol -5; mixer | osd_cat -p top -o 55 -l 20 -c yellow -d 2 -s 1 "
m:0x0 + c:174
"mixer vol +5; mixer | osd_cat -p top -o 55 -l 20 -c yellow -d 2 -s 1 "
m:0x0 + c:176
"mixer pcm | grep 0:0 && mixer pcm 75 || mixer pcm 0; mixer | osd_cat -p top -o 55 -l 20 -c yellow -d 2 -s 1 "
m:0x0 + c:140
kernel.config
#
# GENERIC -- Generic kernel configuration file for FreeBSD/amd64
#
# For more information on this file, please read the config(5) manual page,
# and/or the handbook section on Kernel Configuration Files:
#
# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD$
cpu HAMMER
ident STABLE-NP
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
options SCHED_ULE # ULE scheduler
options INET # InterNETworking
options INET6 # IPv6 communications protocols
options SCTP # Stream Control Transmission Protocol
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 UFS_GJOURNAL # Enable gjournal-based UFS journaling
options MD_ROOT # MD is a potential root device
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options GEOM_PART_GPT # GUID Partition Tables.
options GEOM_LABEL # Provides labelization
options COMPAT_FREEBSD32 # Compatible with i386 binaries
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options COMPAT_FREEBSD6 # Compatible with FreeBSD6
options COMPAT_FREEBSD7 # Compatible with FreeBSD7
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE # ktrace(1) support
options STACK # stack(9) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
options AUDIT # Security event auditing
options MAC # TrustedBSD MAC Framework
#options KDTRACE_FRAME # Ensure frames are compiled in
#options KDTRACE_HOOKS # Kernel DTrace hooks
options INCLUDE_CONFIG_FILE # Include this file in kernel
# Debugging for use in -current
options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
# Make an SMP-capable kernel by default
options SMP # Symmetric MultiProcessor Kernel
# CPU frequency control
device cpufreq
# Bus support.
device acpi
device pci
# Floppy drives
# ATA controllers
device ahci # AHCI-compatible SATA controllers
device ata # Legacy ATA/SATA controllers
options ATA_CAM # Handle legacy controllers with CAM
options ATA_STATIC_ID # Static device numbering
# ATA/SCSI peripherals
device scbus # SCSI bus (required for ATA/SCSI)
device da # Direct Access (disks)
device pass # Passthrough device (direct ATA/SCSI access)
device ses # SCSI Environmental Services (and SAF-TE)
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm
device kbdmux # keyboard multiplexer
device vga # VGA video card driver
device splash # Splash screen and screen saver support
# syscons is the default console driver, resembling an SCO console
device sc
options SC_PIXEL_MODE # add support for the raster text mode
device agp # support several AGP chipsets
# 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 mii # MII bus support
device e1000phy
device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet
# Wireless NIC cards
device wlan # 802.11 support
options IEEE80211_DEBUG # enable debug msgs
options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
options IEEE80211_SUPPORT_MESH # enable 802.11s draft support
device wlan_wep # 802.11 WEP support
device wlan_ccmp # 802.11 CCMP support
device wlan_tkip # 802.11 TKIP support
device wlan_amrr # AMRR transmit rate control algorithm
device iwn # Intel 4965/1000/5000/6000 wireless NICs.
# Pseudo devices.
device loop # Network loopback
device random # Entropy device
device ether # Ethernet support
device vlan # 802.1Q VLAN support
device tun # Packet tunnel.
device pty # BSD-style compatibility pseudo ttys
device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
device faith # IPv6-to-IPv4 relaying (translation)
device firmware # firmware assist module
# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device bpf # Berkeley packet filter
# USB support
options USB_DEBUG # enable debug msgs
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device ehci # EHCI PCI->USB interface (USB 2.0)
device usb # USB Bus (required)
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
# Sound support
device sound # Generic sound driver (required)
device snd_hda # Intel High Definition Audio
device coretemp
#options SC_DISABLE_REBOOT # Ctrl-Alt-Del
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=10
options DUMMYNET
options IPSTEALTH
device cpuctl
options MAC
options MAC_BSDEXTENDED
device smb
device smbus
device ichsmb
device crypto
options GEOM_ELI
device acpi_hp
device acpi_wmi
device iwn1000fw
device acpi_video
device speaker
FreeBSD 8-STABLE-hoz, W7 melle telepiteshez kell ez a patch, ami 9-CURRENT-ben mar benne van:
commit d63df49391ecc73a8ba10a98559bbd18e087214a
Author: ae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Date: Mon Jun 27 10:42:06 2011 +0000
MS Windows NT+ uses 4 bytes at offset 0x1b8 in the MBR to identify
disk drive. The boot0cfg(8) utility preserves these 4 bytes when is
writing bootcode to keep a multiboot ability.
Change gpart's bootcode method to keep DSN if it is not zero. Also
do not allow writing bootcode with size not equal to MBRSIZE.
PR: kern/157819
Tested by: Eir Nym
MFC after: 1 month
git-svn-id: svn://svn.freebsd.org/base/head@223587 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
diff --git a/sys/geom/part/g_part_mbr.c b/sys/geom/part/g_part_mbr.c
index 825a109..bebdfee 100644
--- a/sys/geom/part/g_part_mbr.c
+++ b/sys/geom/part/g_part_mbr.c
@@ -237,14 +237,16 @@ static int
g_part_mbr_bootcode(struct g_part_table *basetable, struct g_part_parms *gpp)
{
struct g_part_mbr_table *table;
- size_t codesz;
+ uint32_t dsn;
+
+ if (gpp->gpp_codesize != MBRSIZE)
+ return (ENODEV);
- codesz = DOSPARTOFF;
table = (struct g_part_mbr_table *)basetable;
- bzero(table->mbr, codesz);
- codesz = MIN(codesz, gpp->gpp_codesize);
- if (codesz > 0)
- bcopy(gpp->gpp_codeptr, table->mbr, codesz);
+ dsn = *(uint32_t *)(table->mbr + DOSDSNOFF);
+ bcopy(gpp->gpp_codeptr, table->mbr, DOSPARTOFF);
+ if (dsn != 0)
+ *(uint32_t *)(table->mbr + DOSDSNOFF) = dsn;
return (0);
}
pciconf -lv | grep device
device = 'Mobile 4 Series Chipset Memory Controller Hub'
device = 'Mobile 4 Series Chipset Integrated Graphics Controller'
device = 'Mobile 4 Series Chipset Integrated Graphics Controller'
device = '82801I (ICH9 Family) USB UHCI Controller'
device = '82801I (ICH9 Family) USB UHCI Controller'
device = '82801I (ICH9 Family) USB UHCI Controller'
device = '82801I (ICH9 Family) USB2 EHCI Controller'
device = '82801I (ICH9 Family) HD Audio Controller'
device = '82801I (ICH9 Family) PCI Express Port 1'
device = '82801I (ICH9 Family) PCI Express Port 2'
device = '82801I (ICH9 Family) PCI Express Port 6'
device = '82801I (ICH9 Family) USB UHCI Controller'
device = '82801I (ICH9 Family) USB UHCI Controller'
device = '82801I (ICH9 Family) USB UHCI Controller'
device = '82801I (ICH9 Family) USB2 EHCI Controller'
device = '82801 Mobile PCI Bridge'
device = 'ICH9M-E LPC Interface Controller'
device = 'ICH9M/M-E SATA AHCI Controller'
device = 'Centrino Wireless-N 1000'
device = '88E8072 PCI-E Gigabit Ethernet Controller'
suspend : lesz meg vele szivas - lemegy, van hogy feljon, de a kep nincs, azonban a gep hasznalhato
hibarnate : lesz meg vele szivas - lemegy, nem jon vissza
backlight : lesz meg vele szivas - driver iras / dirver modositas / acpi magia
kamera : nem izgat
bt : nem izgat
hang : ok
3d : ok
wireless : ok
wired : ok / kisebb hiba - bugreport ment
backlight:
bootolaskor beallitot fenyero megmarad... :)
note:
FreeBSD 9-CURRENT + kde 3.5
.xbindkeyrc
"mixer vol -5; mixer | osd_cat -p top -o 55 -l 20 -c yellow -d 2 -s 1 "
m:0x0 + c:174
"mixer vol +5; mixer | osd_cat -p top -o 55 -l 20 -c yellow -d 2 -s 1 "
m:0x0 + c:176
"mixer pcm | grep 0:0 && mixer pcm 75 || mixer pcm 0; mixer | osd_cat -p top -o 55 -l 20 -c yellow -d 2 -s 1 "
m:0x0 + c:140
"xbacklight -inc 10 -time 0 -steps 1 && xbacklight -get | osd_cat -p top -o 55 -l 20 -c yellow -d 2 -s 1 "
m:0x0 + c:120
"xbacklight -dec 10 -time 0 -steps 1 && xbacklight -get | osd_cat -p top -o 55 -l 20 -c yellow -d 2 -s 1 "
m:0x0 + c:178
A suspend megy!!!! Egy veletlen felrenyomas kovetkezteben ALT+PAUSE-t sikerult nyomnom, es gyanusan suspend jellegu allapotba ment le, a power gomb hatasara visszajott; a folyamat megismetelheto es mukodik. A kernel forrasban utananezve valoban suspend. :)
FreeBSD opn 9.0-RC1 FreeBSD 9.0-RC1 #16 r227018+793e830: Thu Nov 3 23:41:33 CET 2011 root@opn:/usr/obj/usr/src/sys/stable amd64
ami meg eszembe jut, azt majd ide irom
- pinyo_villany blogja
- A hozzászóláshoz be kell jelentkezni
- 1575 megtekintés
Hozzászólások
Mikor jött ki a B2?
Az ftp szerverről eltűnt az ISO-IMAGES/9.0 könyvtár. Most kreálják a B2 image-eket?
- A hozzászóláshoz be kell jelentkezni
commit 1f41755b58e84242a2c8fa0df25aea675ad8e178
Author: kensmith <kensmith@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Date: Sun Aug 28 19:38:04 2011 +0000
Ready for 9.0-BETA2.
Approved by: re (implicit)
___
info
- A hozzászóláshoz be kell jelentkezni
Most akkor iwi (loader.conf) vagy iwn (rc.conf, és KERNCONF) van benne? (Látatlanban iwn-re tippelnék, de a fentiek alapján nem egyértelmű.)
Amúgy mondjuk van olyasmi is a te kerneledben, amit nem lehet megoldani loader.conf-ból? - Azt látom, hogy sok mindent kidobtál.
- A hozzászóláshoz be kell jelentkezni
A kerdes jogos, az iwi-s load.conf sor nem kell, mivel iwn van a gepben.
Valoszinuleg nincs, de nem szeretem a modulokat, igy altalaban minden benne van a kernelben.
___
info
- A hozzászóláshoz be kell jelentkezni
sub
- A hozzászóláshoz be kell jelentkezni