O. Hartmann
2005-Dec-21 09:22 UTC
FreeBSD6.0-STABLE got wicked up since today's cvsupdate (Xorg/X11, USB)
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 -------------- next part -------------- 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 root@edda.physik.uni-mainz.de:/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=0xbfebfbff<FPU,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=0x4400<CNTX-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 0xe8000000-0xefffffff,0xfeb80000-0xfebfffff 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 0xfeae0000-0xfeafffff 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-0xfeb7ffff irq 18 at device 31.1 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 atapci1: <Intel ICH5 SATA150 controller> port 0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfea0-0xfeaf irq 18 at device 31.2 on pci0 atapci1: failed to enable memory mapping! ata2: <ATA channel 0> on atapci1 ata3: <ATA channel 1> on atapci1 ichsmb0: <Intel 82801EB (ICH5) SMBus controller> port 0xeda0-0xedbf irq 17 at device 31.3 on pci0 ichsmb0: [GIANT-LOCKED] smbus0: <System Management Bus> on ichsmb0 smb0: <SMBus generic I/O> on smbus0 pcm0: <Intel ICH5 (82801EB)> port 0xee00-0xeeff,0xedc0-0xedff mem 0xfeb7fa00-0xfeb7fbff,0xfeb7f900-0xfeb7f9ff irq 17 at device 31.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: <Analog Devices AD1981B AC97 Codec> fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77f irq 7 drq 1 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: <Parallel port bus> on ppc0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xca7ff,0xca800-0xcbfff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <8 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0 at vga0 ums0: Logitech Optical USB Mouse, rev 2.00/3.40, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. ukbd0: Gemplus Dell USB Smartcard Keyboard, rev 1.10/1.00, addr 2, iclass 3/1 kbd1 at ukbd0 Timecounters tick every 1.200 msec ad0: 38166MB <WDC WD400EB-75CPF0 06.04G06> at ata0-master UDMA100 acd0: CDRW <HL-DT-ST CD-RW/DVD-ROM GCC-4480B/C104> at ata1-master UDMA33 SMP: AP CPU #1 Launched! cd0 at ata1 bus 0 target 0 lun 0 cd0: <HL-DT-ST RW/DVD GCC-4480B C104> Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad0s1a
Doug Barton
2005-Dec-21 13:41 UTC
FreeBSD6.0-STABLE got wicked up since today's cvsupdate (Xorg/X11, USB)
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 -------------- next part -------------- --- 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 ''