From nobody@FreeBSD.org  Thu Aug 11 20:49:46 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 29CE716A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 11 Aug 2005 20:49:46 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D4BAE43D45
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 11 Aug 2005 20:49:45 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j7BKnjXC024525
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 11 Aug 2005 20:49:45 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j7BKnjxA024524;
	Thu, 11 Aug 2005 20:49:45 GMT
	(envelope-from nobody)
Message-Id: <200508112049.j7BKnjxA024524@www.freebsd.org>
Date: Thu, 11 Aug 2005 20:49:45 GMT
From: Kyryll A Mirnenko <mirya@matrix.ua>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Xorg server fails to start w/ GENERIC & hangs up the system
X-Send-Pr-Version: www-2.3

>Number:         84820
>Category:       ports
>Synopsis:       x11-servers/xorg-server fails to start w/ GENERIC & hangs up the system
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-x11
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 11 20:50:12 GMT 2005
>Closed-Date:    Fri Nov 25 12:35:47 GMT 2005
>Last-Modified:  Fri Nov 25 12:35:47 GMT 2005
>Originator:     Kyryll A Mirnenko
>Release:        6.0-BETA2
>Organization:
>Environment:
FreeBSD localhost 6.0-BETA2 FreeBSD 6.0-BETA2 #1: Thu Aug 11 21:45:20 EEST 2005     root@localhost:/usr/src/sys/i386/compile/MY  i386
>Description:
      X.org fails to start w/ GENERIC kernel hanging up the system. But works with custom kernel config below:

machine i386
device apic

cpuI686_CPU

options NO_F00F_HACK
options PERFMON

options DEVICE_POLLING

devicespeaker
deviceapm_saver

deviceisa
options AUTO_EOI_1
#options AUTO_EOI_2

deviceeisa
devicemca
devicepci

devicenpx

deviceapm
devicepmtimer# Adjust system timer at wakeup time

options PMAP_SHPGPERPROC=300

options COMPAT_AOUT

optionsCOMPAT_LINUX
options LINPROCFS

options FB_INSTALL_CDEV

# =============== ARCH-SPECIFIC ==============

ident MY

maxusers 15

options MAXDSIZ=(1024UL*1024*1024)
options MAXSSIZ=(128UL*1024*1024)
options DFLDSIZ=(512UL*1024*1024)

options GEOM_BDE# Disk encryption.
options GEOM_BSD# BSD disklabels
options GEOM_MBR# DOS/MBR partitioning
options GEOM_VOL# Volume names from UFS superblock

options SCHED_4BSD
#optionsSCHED_ULE

options COMPAT_43
options COMPAT_FREEBSD4
options SYSVSHM
options SYSVSEM
options SYSVMSG

options INET#Internet communications protocols
options INET6#IPv6 communications protocols

options         IPSEC
options         IPSEC_ESP

options NETSMB#SMB/CIFS requester
options NETSMBCRYPTO#encrypted password support for SMB

options         LIBMCHAIN

options NETGRAPH#netgraph(4) system
options NETGRAPH_ASYNC
options NETGRAPH_BPF
options NETGRAPH_ECHO
options NETGRAPH_GIF
options NETGRAPH_GIF_DEMUX
options NETGRAPH_HOLE
options NETGRAPH_IFACE
options NETGRAPH_IP_INPUT
options NETGRAPH_KSOCKET
options NETGRAPH_L2TP
options NETGRAPH_LMI
options NETGRAPH_MPPC_ENCRYPTION
options NETGRAPH_ONE2MANY
options NETGRAPH_PPP
options NETGRAPH_PPTPGRE
options NETGRAPH_RFC1490
options NETGRAPH_SOCKET
options NETGRAPH_SPLIT
options NETGRAPH_TEE
options NETGRAPH_TTY
options NETGRAPH_UI
options NETGRAPH_VJC

deviceether#Generic Ethernet
deviceloop#Network loopback device
devicebpf#Berkeley packet filter
devicetun#Tunnel driver (ppp(8), nos-tun(8))
devicesl#Serial Line IP
devicegre#IP over IP tunneling
deviceppp#Point-to-point protocol
options PPP_BSDCOMP#PPP BSD-compress support
options PPP_DEFLATE#PPP zlib/deflate/gzip support
options PPP_FILTER#enable bpf filtering (needs bpf)

devicegif#IPv6 and IPv4 tunneling
options XBONEHACK
devicefaith#for IPv6 and IPv4 translation
devicestf#6to4 IPv6 over IPv4 encapsulation

options IPFIREWALL#firewall
options IPFIREWALL_VERBOSE#enable logging to syslogd(8)
options IPFIREWALL_VERBOSE_LIMIT=100#limit verbosity
options IPFIREWALL_DEFAULT_TO_ACCEPT#allow everything by default
options         IPFIREWALL_FORWARD
options         IPFIREWALL_FORWARD_EXTENDED
options IPV6FIREWALL#firewall for IPv6
options IPV6FIREWALL_VERBOSE
options IPV6FIREWALL_VERBOSE_LIMIT=100
options IPV6FIREWALL_DEFAULT_TO_ACCEPT
options IPDIVERT#divert sockets

options DUMMYNET

options ZERO_COPY_SOCKETS

options FFS#Fast filesystem
options NFSCLIENT#Network File System

options CD9660#ISO 9660 filesystem
options FDESCFS#File descriptor filesystem
options MSDOSFS#MS DOS File System (FAT, FAT32)
options NFSSERVER#Network File System
options NTFS#NT File System
options PROCFS#Process filesystem (requires PSEUDOFS)
options PSEUDOFS#Pseudo-filesystem framework
options SMBFS#SMB/CIFS filesystem
options UNIONFS#Union filesystem

options SOFTUPDATES

options UFS_DIRHASH

options QUOTA#enable disk quotas

options EXT2FS

options VFS_AIO

devicerandom

options CD9660_ICONV
options MSDOSFS_ICONV
options NTFS_ICONV

options _KPOSIX_PRIORITY_SCHEDULING

options HZ=100

devicepty#Pseudo ttys
devicemd#Memory/malloc disk
devicesnp#Snoop device - to look at pty/vty/etc..

options LIBICONV

deviceatkbdc
deviceatkbd

options KBD_INSTALL_CDEV# install a CDEV entry in /dev

devicevga

devicesplash# Splash screen and screen saver support

deviceblank_saver

devicesc

options MAXCONS=5# number of virtual consoles
options SC_ALT_MOUSE_IMAGE# simplified mouse cursor in text mode
options SC_HISTORY_SIZE=500# number of history buffer lines
options SC_MOUSE_CHAR=0x3# char code for text mode mouse cursor

options SC_CUT_SPACES2TABS# convert leading spaces into tabs

options SC_TWOBUTTON_MOUSE

deviceata
deviceatadisk# ATA disk drives
deviceatapicd# ATAPI CDROM drives

options ATA_STATIC_ID

devicefdc

devicesio

devicepuc
options PUC_FASTINTR

devicesmbus# Bus support, required for smb below.

deviceiicbus
deviceiicbb

deviceviapm
devicesmb

options PPC_PROBE_CHIPSET # Enable chipset specific detection

deviceppc
deviceppbus
devicelpt
deviceppi

deviceusb
deviceugen
#deviceuhid
#deviceukbd

devicescbus
deviceda

deviceumass
deviceums
deviceuscanner
deviceucom

options SEMMAP=45
options SEMMNI=15
options SEMMNS=90
options SEMMNU=45
options SEMMSL=90
options SEMOPM=150
options SEMUME=15
options SHMALL=1536

options SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)
options SHMMAXPGS=1536

options SHMMIN=2

options SHMMNI=48

options SHMSEG=12

options PANIC_REBOOT_WAIT_TIME=-1

options DIRECTIO

#options MSGMNB=3072# Max number of chars in queue
#options MSGMNI=60# Max number of message queue identifiers
#options MSGSEG=3072# Max number of message segments
#options MSGSSZ=24# Size of a message segment
#options MSGTQL=60# Max number of messages in system

options SHOW_BUSYBUFS

options PREEMPTION

options NETGRAPH_BLUETOOTH
optionsNETGRAPH_DEVICE
optionsNETGRAPH_IPFW
optionsNETGRAPH_NAT

devicepf#PF OpenBSD packet-filter firewall
devicepflog#logging support interface for PF
devicepfsync#synchronization interface for PF

device mem

device sound
device snd_sbc
device snd_sb16
device io

options TCP_DROP_SYNFIN

# USB
device ohci
device uhci
device ehci
device pass

option LIBALIAS
option REISERFS
option NSWBUF_MIN=120

Xorg 6.8.2 since late 5.3

dmesg (for kernel above):
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-BETA2 #1: Thu Aug 11 21:45:20 EEST 2005
    root@localhost:/usr/src/sys/i386/compile/MY
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 268369920 (255 MB)
avail memory = 253390848 (241 MB)
netsmb_dev: loaded
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 5 Entries> on motherboard
pci0: <PCI bus> on pcib0
$PIR: No matching entry for 0.7.INTD
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
$PIR: ROUTE_INTERRUPT failed.
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C586B UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 7.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 10 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
iicbb0: <I2C bit-banging driver> on viapm0
iicbus0: <Philips I2C bus> on iicbb0 master-only
pci0: <simple comms> at device 19.0 (no driver attached)
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc8000-0xc9fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <5 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0 at vga0
unknown: <PNP0303> can't assign resources (port)
speaker0: <PC speaker> at port 0x61 on isa0
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0a03> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
sbc0: <Avance Logic ALS120> at port 0x220-0x22f irq 5 drq 1,0 on isa0
sbc0: [GIANT-LOCKED]
pcm0: <SB16 DSP 4.153 (ViBRA16X)> on sbc0
pcm0: [GIANT-LOCKED]
Timecounters tick every 10.000 msec
WARNING: apm_saver module requires apm enabled
IPv6 packet filtering initialized, default to accept, logging limited to 100 packets/entry
IPsec: Initialized Security Association Processing.
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default
ad0: 117246MB <Maxtor 6Y120P0 YAR41BW0> at ata0-master UDMA33
acd0: CDRW <HL-DT-ST GCE-8526B/1.04> at ata1-slave UDMA33
Trying to mount root from ufs:/dev/ad0s2a

>How-To-Repeat:
      startx in 6.0-BETA2 GENERIC box
>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-x11 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Aug 11 21:01:55 GMT 2005 
Responsible-Changed-Why:  
Although possibly a kernel problem, over to the X11 team to see if they 
have any ideas on where to look next. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84820 

From: Eric Anholt <eta@lclark.edu>
To: gnats <freebsd-gnats-submit@FreeBSD.ORG>
Cc:  
Subject: Re: ports/84820
Date: Sun, 16 Oct 2005 02:15:56 -0700

 --=-NmYhs6a/IhsOa0TuOjLW
 Content-Type: text/plain
 Content-Transfer-Encoding: quoted-printable
 
 If we're going to figure out what's wrong, we need to know what video
 card you have, and likely what AGP chipset since that's (notably)
 removed in your kernel that works.  /var/log/Xorg.0.log from a working X
 startup would be important, and possibly the log from a kernel that you
 get the hang on.
 
 --=20
 Eric Anholt                                     eta@lclark.edu
 http://people.freebsd.org/~anholt/              anholt@FreeBSD.org
 
 --=-NmYhs6a/IhsOa0TuOjLW
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Description: This is a digitally signed message part
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.1 (FreeBSD)
 
 iD8DBQBDUhpMHUdvYGzw6vcRAtgYAJ9NkzHtLOFMwSPwv7T0J9QYAYMeQgCfckAy
 nDaFZgp7MdLMl1OZ5cERU8c=
 =itn/
 -----END PGP SIGNATURE-----
 
 --=-NmYhs6a/IhsOa0TuOjLW--
State-Changed-From-To: open->closed 
State-Changed-By: lesi 
State-Changed-When: Fri Nov 25 12:35:23 GMT 2005 
State-Changed-Why:  
Feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84820 
>Unformatted:
