Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 2004 19:44:40 +0200
From:      Alban Hertroys <dalroi@solfertje.student.utwente.nl>
To:        freebsd-current@freebsd.org
Subject:   Re: BETA5 of yesterday reboots when I turn off my monitor (w/builtin USB hub)
Message-ID:  <414F1708.50808@solfertje.student.utwente.nl>
In-Reply-To: <414EFA07.4070902@veldy.net>
References:  <414E8DB5.5070307@solfertje.student.utwente.nl> <414EFA07.4070902@veldy.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------040501090005070204070203
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Thomas T. Veldhouse wrote:
> Alban Hertroys wrote:
> 
>> I think this looks like a message on this list that seemed aimed at 
>> 6-CURRENT, but I have this problem with BETA5.
>>
>> What happens is this:
>> I turn off my monitor (and thus the builtin USB hub), and within a 
>> minute or so I hear my floppy drive rattle and the system turns out to 
>> be booting up.

I did a little testing just now; here are the results (w/o XFree86 4.3 
running):

- unplug USB mouse; the only device on the troublemaking USB hub

Nothing happens but the usual; messages about (dis-)connecting a mouse 
and moused not finding /dev/ums0 anymore.

- unplug USB hub (the square connector end of the cable coming from the PC):

Fatal trap 12: etc...
I attached a file with the exact message as I typed it over from the 
display. I don't think there're any typos in it, but I could be wrong.

I also attached todays dmesg. The monitor make isn't mentioned in it, 
but it's a Sony G420 model from january 2002.

Looks like I was right, and the hub is the culprit. I can't make much of 
the trace myself, but I'm sure someone here can. Good luck ;)

-- 

Alban Hertroys                      http://solfertje.student.utwente.nl
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AD&D:           You fall from the cliff.
                 The ground attacks you.
                 It missed.

--------------040501090005070204070203
Content-Type: text/plain;
 name="fatal_trap.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="fatal_trap.txt"

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x19
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc04b855a
stack pointer		= 0x10:0xd543abec
frame pointer		= 0x10:0xd543abf8
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 35 (usb0)
[thread 100041]
Stopped at	device_delete_child+0xa:	movl	0x18(%ebx),%eax
db> trace
device_delete_child(c2065300,1,c2065280,d543ac30,c0787979) at device_delete_child+0xa
device_delete_child(0,c2065300,c1a810e0,c1a810e0,0) at device_delete_child+0x1d
usb_disconnect_port(c1a84c30,c1a45700,d543ac54,c1a810d0,c1a45700) at usb_disconnect+0xc9
uhub_detach(c1a45700,c19ed878,c0660ac4,c1a45700,0) at uhub_detach+0x71
device_detach(c1a45700,c2065300,c1a45680,d543acac,c0787979) at device_detach+0x6a
device_delete_child(c1a45280,c1a45700,c1a812c0,c1a812c0,3) at device_delete_child+0x30
usb_disconnect_port(c1a45440,c1a45280,10,c04a906c,c1a7e210) at usb_disconnect_port+0xc9
uhub_explore(c1a41280,c1a6eb00,d543ad14,c0784b08,c1a6eb00) at uhub_explore+0x19e
usb_discover(c1a6eb00,0,5c,c079a1e7,1770) at usb_discover+0x35
usb_event_thread(c1a6eb00,d543ad48,0,0,0) at usb_event_thread+0x68
fork_exit(c0784aa0,c1a6eb00,d543ad48) at fork_exit+0x80
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xd543ad7c, ebp = 0 ---
db>

--------------040501090005070204070203
Content-Type: text/plain;
 name="dmesg"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="dmesg"

Copyright (c) 1992-2004 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 5.3-BETA5 #1: Sun Sep 19 14:32:44 CEST 2004
    dalroi@failways.internal:/usr/obj/usr/src/sys/EYMALHIR
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: AMD Athlon(TM) XP 2000+ (1666.73-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 536788992 (511 MB)
avail memory = 515616768 (491 MB)
acpi0: <ASUS A7M266> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <AMD 761 host to AGP bridge> port 0xe000-0xe003 mem 0xef800000-0xef800fff,0xf0000000-0xf7ffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 5.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686B UDMA100 controller> port 0xb800-0xb80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 4.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xb400-0xb41f irq 10 at device 4.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
uhub1: Kawatsu Semiconductor MiniHub 4000P, class 9/0, rev 1.10/1.00, addr 2
uhub1: 4 ports with 4 removable, self powered
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/13.00, addr 3, iclass 3/1
ums0: 4 buttons and Z dir.
uhci1: <VIA 83C572 USB controller> port 0xb000-0xb01f irq 10 at device 4.3 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <old, non-VGA display device> at device 4.4 (no driver attached)
csa0: <CS4280/CS4614/CS4622/CS4624/CS4630> mem 0xde000000-0xde0fffff,0xde800000-0xde800fff at device 9.0 on pci0
csa: card is Unknown/invalid SSID (CS4614)
csa0: [GIANT-LOCKED]
pcm0: <CS461x PCM Audio> on csa0
pcm0: <Cirrus Logic CS4294 AC97 Codec>
pcm0: [GIANT-LOCKED]
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x9400-0x947f mem 0xdd800000-0xdd80007f at device 13.0 on pci0
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:04:76:0f:59:c2
xl0: [GIANT-LOCKED]
fdc0: <floppy drive controller> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 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
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <ISA Option ROM> at iomem 0xc0000-0xcbfff on isa0
pmtimer0 on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1666733720 Hz quality 800
Timecounters tick every 10.000 msec
IPsec: Initialized Security Association Processing.
acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0%
ad0: 190782MB <ST3200822A/3.01> [387621/16/63] at ata0-master UDMA100
ad1: 190782MB <ST3200822A/3.01> [387621/16/63] at ata0-slave UDMA100
ATAPI_RESET time = 220us
ATAPI_RESET time = 40us
acd0: DVDROM <Pioneer DVD-ROM ATAPIModel DVD-116 0122/E1.22> at ata1-master UDMA66
acd1: CDRW <PLEXTOR CD-R PX-W2410A/1.01> at ata1-slave UDMA33
GEOM_VINUM: subdisk var.p0.s0 is up
GEOM_VINUM: subdisk tmp.p0.s0 is up
GEOM_VINUM: subdisk home.p0.s0 is up
GEOM_VINUM: subdisk usr.p0.s0 is up
GEOM_VINUM: subdisk media.p0.s0 is up
GEOM_VINUM: subdisk var.p1.s0 is up
GEOM_VINUM: subdisk tmp.p0.s1 is up
GEOM_VINUM: subdisk home.p1.s0 is up
GEOM_VINUM: subdisk usr.p1.s0 is up
GEOM_VINUM: subdisk media.p1.s0 is up
Mounting root from ufs:/dev/ad0s2a
WARNING: / was not properly dismounted
drm0: <ATI Radeon QL R200 8500 LE> port 0xd800-0xd8ff mem 0xdf000000-0xdf00ffff,0xe0000000-0xe7ffffff irq 11 at device 5.0 on pci1
info: [drm] AGP at 0xf0000000 128MB
info: [drm] Initialized radeon 1.11.0 20020828 on minor 0
info: [drm] Loading R200 Microcode

--------------040501090005070204070203--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?414F1708.50808>