FreeBSD6.0-STABLE got wicked up since today's cvsupdate (Xorg/X11, USB)

2005-12-21 Thread O. Hartmann
Hello.
I did today (21st December) the last cvsupdate (did yesterday cvsupdate
before) with a lot of new entries in /etc/rc.d.
Since then I ran into massif problems with X11. I use the lastes Xorg
stuff from the ports, only for your information.

Problem: After kernel came up, booting into multiuser mode, starting X11
I lost USB keyboard and mouse. Changing USB keyboard against PS/2 one
results also in a completely stuck keyboard.
Booting machine in singleuser mode with PS/2 keyboard, disabling xdm and
Xserver and starting machine then without this stuff with console
results in a working system. Enabling then xdm and the approriate entry
in Xservers also results in a working, as usual, environment.

maybe something got wicked up with the last cvsupdate?

Attached you'll find the last dmesg.

Bos is a DELL Optiplex 270, operating system is FreeBSD 6.0-STABLE.
moused is enabled, also devd (as you can see). Box worked with the same
config since the last cvsupdate today.

I deleted all /etc/rc.d entries and replaced them via mergemaster -i
with the newest stuff! What else could cause this problem?

Thanks in advance,
Oliver
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-STABLE #18: Wed Dec 21 16:35:52 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/EDDA
ACPI APIC Table: DELL   GX270  
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (2593.52-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x4400CNTX-ID,b14
  Hyperthreading: 2 logical CPUs
real memory  = 527892480 (503 MB)
avail memory = 506970112 (483 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 Version 2.0 irqs 0-23 on motherboard
netsmb_dev: loaded
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: DELL GX270   on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU on acpi0
p4tcc0: CPU Frequency Thermal Control on cpu0
cpu1: ACPI CPU on acpi0
p4tcc1: CPU Frequency Thermal Control on cpu1
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
drmsub0: Intel i865G GMCH port 0xed98-0xed9f mem 
0xe800-0xefff,0xfeb8-0xfebf irq 16 at device 2.0 on pci0
error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize AGP.
device_attach: drmsub0 attach returned 12
uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0xff80-0xff9f irq 16 at 
device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82801EB (ICH5) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0xff60-0xff7f irq 19 at 
device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: Intel 82801EB (ICH5) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801EB (ICH5) USB controller USB-C port 0xff40-0xff5f irq 18 at 
device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: Intel 82801EB (ICH5) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: Intel 82801EB (ICH5) USB controller USB-D port 0xff20-0xff3f irq 16 at 
device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: Intel 82801EB (ICH5) USB controller USB-D on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: EHCI (generic) USB 2.0 controller mem 0xffa80800-0xffa80bff irq 23 at 
device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: EHCI (generic) USB 2.0 controller on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib1: ACPI PCI-PCI bridge at device 30.0 on pci0
pci1: ACPI PCI bus on pcib1
em0: Intel(R) PRO/1000 Network Connection Version - 3.2.18 port 0xdf40-0xdf7f 
mem 0xfeae-0xfeaf irq 18 at device 12.0 on pci1
em0: Ethernet address: 00:0b:db:7e:96:43
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH5 UDMA100 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf mem 0xfeb7fc00-0xfeb7 irq 
18 at device 31.1 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 

Re: FreeBSD6.0-STABLE got wicked up since today's cvsupdate (Xorg/X11, USB)

2005-12-21 Thread Doug Barton

O. Hartmann wrote:

Hello.
I did today (21st December) the last cvsupdate (did yesterday cvsupdate
before) with a lot of new entries in /etc/rc.d.
Since then I ran into massif problems with X11. I use the lastes Xorg
stuff from the ports, only for your information.


I'm sorry that you're having these problems. It's not very likely that the 
rc changes caused this problem, but it's worth exploring. I need you to do 
two things. First, copy /etc/rc to a convenient directory, and then apply 
the attached patch. DON'T patch /etc/rc, or your system won't boot. :) Then 
run '/bin/sh rc'. This should generate 3 files, rc.early[12] and rc.late. If 
the rc.early files are different (they should not be) then please send them 
both. Otherwise, please send one of the rc.early files and the rc.late file. 
Second, please enable console logging in /etc/syslog.conf, if you have not 
already. You should have a line in there that looks like this, without the 
comment at the front:


console.info /var/log/console.log

Then do 'touch /var/log/console.log', reboot, and send that log together 
with the files created by the patched rc above.



Thanks,

Doug

--

This .signature sanitized for your protection

--- r6/src/etc/rc   Tue Dec 20 23:11:33 2005
+++ rc  Wed Dec 21 11:18:34 2005
@@ -81,7 +43,8 @@
 files=`rcorder ${skip} /etc/rc.d/* 2/dev/null`
 
 for _rc_elem in ${files}; do
-   run_rc_script ${_rc_elem} ${_boot}
+   #run_rc_script ${_rc_elem} ${_boot}
+   echo $_rc_elem  rc.early1
 
case $_rc_elem in
*/${early_late_divider})break ;;
@@ -102,14 +65,18 @@
 _skip_early=1
 for _rc_elem in ${files}; do
case $_skip_early in
-   1)  case $_rc_elem in
+   1)  
+   echo $_rc_elem  rc.early2
+
+   case $_rc_elem in
*/${early_late_divider})_skip_early=0 ;;
esac
continue
;;
esac
 
-   run_rc_script ${_rc_elem} ${_boot}
+   echo $_rc_elem  rc.late
+   #run_rc_script ${_rc_elem} ${_boot}
 done
 
 echo ''
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]