FreeBSD 5.4 Abstürze mit startx

piotr

Well-Known Member
FreeBSD hängt sich total auf

Hallo

Wenn ich bei meinem freeBSD 5.4 die grafische Oberfläche starten will,
dann stürzt das System ganz böse ab.
Ich kann nichts machen, ausser "Power" Knopf zu drücken.
Gibt's da eine Möglichkeit diese Konfiguration zu testen,
ohne das System abstürzt ?

Piotr
 
Last edited:
Meist stürzt nur der xserver ab und blockiert evtl. Maus und Tastatur.
In dem Fall kannst du dich aber meistens noch per ssh auf der Kiste einloggen und sie gesittet runterfahren.

Ähh, falls du einen zweiten Rechner hast...

CU

Martin
 
piotr said:
Hallo

Wenn ich bei meinem freeBSD 5.4 das Bildschirm ersetze
oder die Datei /usr/X11R6/lib/X11/xorg.conf editiere,
dann stürzt das System nach dem "startx" manchmal ganz böse ab.
Ich kann nichts machen, ausser "Power" Knopf zu drücken.
Gibt's da eine Möglichkeit diese Konfiguration zu testen,
ohne das System abstürzt ?

Piotr
Vielliecht mit:
startx & sleep 30 && killall -9 X
testen? Dann sollte X und nach 30 Sekunden getötet werden.
 
Falls du eine sehr starke GeForce 5xxx oder 6xxx dein eigen nennst, kann es sich verbunden mit einem Netzteil von unter 400Watt Leistung, um einen Spannungsabriss handeln, der zum Freeze des Systems führt. Aber das halte ich eher für unwahrscheinlich.

Ja, sollst du.

Wenn das nichts hilft, gucke mal ob im BIOS die Option "Assign IRQ to VGA" aktiviert ist. Wenn nicht, mache das mal.
 
welchen grafiktreiber benutzt du denn? wie sieht deine xorg.conf aus (die eigentlich in /etc/X11/xorg.conf leigen sollte)? hängt sich der x auch auf wenn du nur einen vesa-treiber benutzt? stimmt die auflösung? also:
mehr details zu hardware und konfiguration bitte :)
 
und wie fine ich grafik treiber heraus ?
meinst du mit kldstat ?
Code:
# kldstat -v
Id Refs Address    Size     Name
 1    8 0xc0400000 5dde24   kernel
	Contains modules:
		Id Name
		 3 xpt
		 4 probe
		 5 cam
		 6 cd
		 7 ch
		 8 da
		 9 scsi_low
		10 pass
		11 sa
		12 ses
		13 aac/aacd
		14 pci/aac
		15 pci/aacch
		16 aac/aacp
		17 eisa/adv
		18 pci/adv
		19 pci/adw
		20 isa/aha
		21 eisa/ahb
		22 pccard/aic
		23 eisa/ahc_eisa
		24 isa/ahc_isa
		25 pci/ahc_pci
		26 cardbus/ahc_pci
		27 ahc
		28 pci/ahd
		29 cardbus/ahd
		30 ahd
		31 pci/amd
		32 amr/amrd
		33 pci/amr
		34 isa/an
		35 pccard/an
		36 pci/an
		37 pci/asr
		38 isa/ata
		39 pccard/ata
		40 pci/atapci
		41 atapci/ata
		42 acd
		43 pccard/awi
		44 pci/bfe
		45 bfe/miibus
		46 pci/bge
		47 bge/miibus
		48 eisa/bt
		49 isa/bt
		50 pci/bt
		51 cbb/cardbus
		52 pci/ciss
		53 isa/cs
		54 pccard/cs
		55 eisa/dpt
		56 pci/dpt
		57 pccard/ed
		58 ed/miibus
		59 pci/ed
		60 eisa/mainboard
		61 eisab/eisa
		62 legacy/eisa
		63 pci/em
		64 eisa/ep
		65 isa/ep
		66 pccard/ep
		67 isa/ex
		68 exca
		69 pccard/fe
		70 fwohci/firewire
		71 pci/fwohci
		72 cardbus/fwohci
		73 firewire/fwe
		74 firewire/sbp
		75 pci/fxp
		76 cardbus/fxp
		77 fxp/miibus
		78 ida/idad
		79 eisa/ida
		80 pci/ida
		81 isa/ie_3C507
		82 isa/ie_EE16
		83 isa/ie_SL
		84 pci/iir
		85 pci/ips
		86 ips/ipsd
		87 pci/isp
		88 pci/if_ixgb
		89 pci/lge
		90 lge/miibus
		91 pci/lnc
		92 pccard/ncv
		93 pccard/nsp
		94 g_md
		95 mem
		96 miibus/amphy
		97 miibus/bmtphy
		98 miibus/brgphy
		99 miibus/ciphy
		100 miibus/dcphy
		101 miibus/e1000phy
		102 miibus/xlphy
		103 miibus/inphy
		104 miibus/mlphy
		105 miibus/nsphy
		106 miibus/nsgphy
		107 miibus/pnphy
		108 miibus/pnaphy
		109 miibus/rgephy
		110 miibus/rlphy
		111 miibus/ruephy
		112 miibus/tdkphy
		113 miibus/tlphy
		114 miibus/ukphy
		115 miibus/xmphy
		116 miibus/lxtphy
		117 miibus/qsphy
		118 miibus/acphy
		119 mlx/mlxd
		120 pci/mlx
		121 pci/mly
		122 pci/mpt
		123 pci/nge
		124 nge/miibus
		125 null
		126 pcic/pccard
		127 cbb/pccard
		128 isa/cbb
		129 pci/cbb
		130 pci/eisab
		131 pci/fixup_pci
		132 pci/ignore_pci
		133 pci/isab
		134 pcib/pci
		135 pci/pcib
		136 ppbus/plip
		137 ppbus/lpt
		138 ppc/ppbus
		139 ppbus/ppi
		140 pci/pstpci
		141 pstpci/pst
		142 random
		143 pci/re
		144 cardbus/re
		145 re/miibus
		146 pccard/sio
		147 pci/sio
		148 cardbus/sio
		149 isa/sn
		150 pccard/sn
		151 pccard/stg
		152 pci/stg
		153 isa/stg
		154 pci/sym
		155 pci/trm
		156 pci/twa
		157 pci/twe
		158 twe/twed
		159 pci/tx
		160 tx/miibus
		161 pci/txp
		162 uhub/aue
		163 aue/miibus
		164 uhub/axe
		165 axe/miibus
		166 uhub/cdce
		167 uhub/cue
		168 uhub/kue
		169 uhub/rue
		170 rue/miibus
		171 pci/ohci
		172 cardbus/ohci
		173 uhub/ugen
		174 pci/uhci
		175 cardbus/uhci
		176 uhub/uhid
		177 usb/uhub
		178 uhub/uhub
		179 uhub/ukbd
		180 uhub/ulpt
		181 uhub/umass
		182 uhub/ums
		183 uhub/urio
		184 uhub/uscanner
		185 ohci/usb
		186 uhci/usb
		187 ehci/usb
		188 pci/vge
		189 cardbus/vge
		190 vge/miibus
		191 eisa/vx
		192 pci/vx
		193 watchdog
		194 pccard/wi
		195 pci/wi
		196 pccard/xe
		197 devfs
		198 msdosfs
		199 procfs
		200 pseudofs
		201 g_dev
		202 g_disk
		203 g_gpt
		204 isab/isa
		205 eisab/isa
		206 legacy/isa
		207 isa/isahint
		208 isa/orm
		209 isa/pnp
		210 cd9660
		211 elf32
		212 shell
		213 cpu/cpufreq
		214 rootbus
		215 msgsys
		216 msgctl
		217 msgget
		218 msgsnd
		219 msgrcv
		220 sysvmsg
		221 semsys
		222 __semctl
		223 semget
		224 semop
		225 sysvsem
		226 shmsys
		227 shmat
		228 shmctl
		229 shmdt
		230 shmget
		231 sysvshm
		232 ether
		233 if_faith
		234 if_gif
		235 loop
		236 if_ppp
		237 if_sl
		238 if_tun
		239 wlan
		240 rc4
		241 nfs
		242 nfs4
		243 nfsserver
		244 cardbus/dc
		245 pci/dc
		246 dc/miibus
		247 pci/de
		248 pci/pcn
		249 pcn/miibus
		250 pci/rl
		251 cardbus/rl
		252 rl/miibus
		253 pci/sf
		254 sf/miibus
		255 pci/sis
		256 sis/miibus
		257 pci/sk
		258 skc/sk
		259 sk/miibus
		260 pci/ste
		261 ste/miibus
		262 pci/ti
		263 pci/tl
		264 tl/miibus
		265 pci/vr
		266 vr/miibus
		267 pci/wb
		268 wb/miibus
		269 cardbus/xl
		270 pci/xl
		271 xl/miibus
		272 ufs
		273 g_class
		274 pci/PROC_DIR_NAME
		275 isa/adv
		276 isa/aic
		277 pci/arcmsr
		278 isa/ed
		279 g_fd
		280 fdc/fd
		281 acpi/fdc
		282 isa/fdc
		283 pccard/fdc
		284 isa/fe
		285 isa/lnc
		286 io
		287 isa/ppc
		288 acpi/ppc
		289 isa/sio
		290 acpi/sio
		291 scterm-sc
		292 scrndr-vga
		293 g_bsd
		294 g_mbr
		295 g_mbrext
		296 isa/pnpbios
		297 nexus/legacy
		298 legacy/cpu
		299 legacy/mptable_pcib
		300 pci/mptable_pcib
		301 root/nexus
		302 isa/sysresource
		303 isa/atpic
		304 acpi/atpic
		305 isa/attimer
		306 acpi/attimer
		307 elink
		308 isa/atdma
		309 acpi/atdma
		310 nexus/npx
		311 isa/npxisa
		312 acpi/npxisa
		313 isa/pmtimer
		314 legacy/pcib
		315 pci/hostb
		316 isa/pcibus_pnp
		317 pci/pcibios_pcib
		318 legacy/pir
		319 atkbdc/atkbd
		320 isa/atkbdc
		321 acpi/atkbdc
		322 atkbdc/psm
		323 isa/psmcpnp
		324 acpi/psmcpnp
		325 isa/sc
		326 isa/vga
		327 pci/agp_ali
		328 pci/agp_amd
		329 pci/agp_amd64
		330 pci/agp_i810
		331 pci/agp_intel
		332 pci/agp_nvidia
		333 pci/agp_sis
		334 pci/agp_via
 2    2 0xc09de000 1bd8c    linux.ko
	Contains modules:
		Id Name
		 1 linuxelf
		 2 linuxaout
 3    1 0xc1c6f000 6000     linprocfs.ko
	Contains modules:
		Id Name
335 linprocfs
Code:
# sysctl hw
hw.machine: i386
hw.model: Pentium II/Pentium II Xeon/Celeron
hw.ncpu: 1
hw.byteorder: 1234
hw.physmem: 527929344
hw.usermem: 455958528
hw.pagesize: 4096
hw.floatingpoint: 1
hw.machine_arch: i386
hw.realmem: 536870912
hw.aac.iosize_max: 65536
hw.an.an_dump: off
hw.an.an_cache_mode: dbm
hw.an.an_cache_mcastonly: 0
hw.an.an_cache_iponly: 1
hw.ata.ata_dma: 1
hw.ata.wc: 1
hw.ata.atapi_dma: 0
hw.cardbus.debug: 0
hw.cardbus.cis_debug: 0
hw.cs.debug: 0
hw.cs.ignore_checksum_failure: 0
hw.cs.recv_delay: 570
hw.firewire.try_bmr: 1
hw.firewire.hold_count: 3
hw.firewire.fwmem.eui64_hi: 0
hw.firewire.fwmem.eui64_lo: 0
hw.firewire.fwmem.speed: 2
hw.firewire.fwe.stream_ch: 1
hw.firewire.fwe.tx_speed: 2
hw.firewire.fwe.rx_queue_len: 128
hw.firewire.sbp.auto_login: 1
hw.firewire.sbp.max_speed: -1
hw.firewire.sbp.exclusive_login: 1
hw.firewire.sbp.login_delay: 1000
hw.firewire.sbp.scan_delay: 500
hw.firewire.sbp.use_doorbell: 0
hw.firewire.sbp.tags: 0
hw.pccard.debug: 0
hw.pccard.cis_debug: 0
hw.cbb.start_memory: 2281701376
hw.cbb.start_16_io: 256
hw.cbb.start_32_io: 4096
hw.cbb.debug: 0
hw.pcic.intr_mask: 57016
hw.pci.enable_io_modes: 1
hw.pci.do_powerstate: 0
hw.pci.host_mem_start: 2147483648
hw.pci.irq_override_mask: 57080
hw.wi.txerate: 0
hw.wi.debug: 0
hw.xe.debug: 0
hw.intr_storm_threshold: 500
hw.availpages: 128889
hw.bus.devctl_disable: 0
hw.dc_quick: 1
hw.ste.rxsyncs: 0
hw.kbd.keymap_restrict_change: 0
hw.syscons.saver.keybonly: 1
hw.syscons.bell: 1
hw.syscons.sc_no_suspend_vtswitch: 0
hw.busdma.total_bpages: 33
hw.busdma.zone0.total_bpages: 1
hw.busdma.zone0.free_bpages: 1
hw.busdma.zone0.reserved_bpages: 0
hw.busdma.zone0.active_bpages: 0
hw.busdma.zone0.total_bounced: 0
hw.busdma.zone0.total_deferred: 0
hw.busdma.zone0.lowaddr: 0xffffffff
hw.busdma.zone0.alignment: 4096
hw.busdma.zone0.boundary: 0
hw.busdma.zone1.total_bpages: 32
hw.busdma.zone1.free_bpages: 32
hw.busdma.zone1.reserved_bpages: 0
hw.busdma.zone1.active_bpages: 0
hw.busdma.zone1.total_bounced: 0
hw.busdma.zone1.total_deferred: 0
hw.busdma.zone1.lowaddr: 0xffffffff
hw.busdma.zone1.alignment: 2
hw.busdma.zone1.boundary: 65536
hw.clockrate: 399
hw.instruction_sse: 0
hw.em0.debug_info: -1
hw.em0.stats: -1
hw.em0.rx_int_delay: 0
hw.em0.tx_int_delay: 66
hw.em0.rx_abs_int_delay: 66
hw.em0.tx_abs_int_delay: 66
/etc/X11 ist bei mir leer
mein xorg.conf von /usr/X11R6/lib/X11
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
	Load  "dbe"
	Load  "dri"
	Load  "extmod"
	Load  "glx"
	Load  "record"
	Load  "xtrap"
	Load  "freetype"
	Load  "type1"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/sysmouse"
EndSection

Section "Monitor"

	#DisplaySize	  310   230	# mm
 ### Uncomment if you don't want to default to DDC:
	HorizSync    31.5 - 35.5
	VertRefresh  50.0 - 90.0
	Identifier   "Monitor0"
	VendorName   "CPQ"
	ModelName    " V70"
 ### Uncomment if you don't want to default to DDC:
#	HorizSync    31.5 - 57.0
#	VertRefresh  50.0 - 70.0
	Option	    "DPMS"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "PciRetry"           	# [<bool>]
        #Option     "SyncOnGreen"        	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "Overlay"            	# [<str>]
        #Option     "MGASDRAM"           	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "SetMclk"            	# <freq>
        #Option     "OverclockMem"       	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "Rotate"             	# [<str>]
        #Option     "TexturedVideo"      	# [<bool>]
        #Option     "Crtc2Half"          	# [<bool>]
        #Option     "Crtc2Ram"           	# <i>
        #Option     "Int10"              	# [<bool>]
        #Option     "AGPMode"            	# <i>
        #Option     "AGPSize"            	# <i>
        #Option     "DigitalScreen1"     	# [<bool>]
        #Option     "DigitalScreen2"     	# [<bool>]
        #Option     "TV"                 	# [<bool>]
        #Option     "TVStandard"         	# [<str>]
        #Option     "CableType"          	# [<str>]
        #Option     "NoHal"              	# [<bool>]
        #Option     "SwappedHead"        	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "MergedFB"           	# [<bool>]
        #Option     "Monitor2HSync"      	# [<str>]
        #Option     "Monitor2VRefresh"   	# [<str>]
        #Option     "Monitor2Position"   	# [<str>]
        #Option     "MetaModes"          	# [<str>]
	Identifier  "Card0"
	Driver      "mga"
	VendorName  "Matrox Graphics, Inc."
	BoardName   "MGA G100 [Productiva] AGP"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
 
Back
Top