Subject: Re: uslattach_timeout acpi shutdown hang.
To: None <vugdeox@freeshell.org>
From: Nate Hill <vugdeox@freeshell.org>
List: current-users
Date: 06/17/2003 14:34:18
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday June 17 2003 13:52, Nate Hill wrote:
> 	I've recently built a new kernel with my shiny new -current system that
> uses the new acpi code.  Two things: I have a small low-priority bug in t=
he
> current feature-set and, I have some nice hardware here with (I think) a
> relatively sane acpi implementation (Asus P4B_LX).  I'm willing to test
> code for any acpi developers that need more farm-boxen. Anyways my problem
> occurs when I press the front power button. I get the usual: "acpi0: power
> button pressed, shutting down! <LF> syncing 20 10 done" and then about 15
> seconds later I get two kernel messages: "uslattach_timeout".  At this
> point, the box is in a useless state: I can switch between vt's but nothi=
ng
> is running and I get no echo.  I'm forced to perform a cold reboot and
> apparently my fs's weren't marked clean so I have to fsck.

	Okay, sorry about that bad message, I forgot to include dmesg output and=20
there is a new development:

	Recently, I had a problem where I couldn't switch out of X.  Every=20
Ctrl-Alt-Fn keypress just switched immedeately back to the X display.  When=
 I=20
logged out it worked fine but I noticed some similar kernel messages on the=
=20
console:

usldetach_timeout
usldetachack: not detaching.

This was repeated 8 times, approximately how many times I tried to switch=20
terminals.

Any ideas? Also, could someone knowledgeable look at my acpi boot messages?=
=20
I'm wondering what all those 'not configured's mean...

dmesg output:

NetBSD 1.6U (DORK2) #0: Mon Jun 16 21:47:46 CDT 2003
        vugdeox@dork:/sys/arch/i386/compile/DORK2
total memory =3D 255 MB
avail memory =3D 234 MB
using 3297 buffers containing 13188 KB of memory
BIOS32 rev. 0 found at 0xf1200
PCI BIOS rev. 2.1 found at 0xf1400
PCI IRQ Routing Table rev. 1.0 found at 0xf1970, size 144 bytes (7 entries)
PCI Interrupt Router at 000:31:0 (Intel 82371FB PCI-to-ISA Bridge (PIIX))
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Pentium 4 (686-class), 1494.57 MHz, id 0xf12
cpu0: features 3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 3febfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features 3febfbff<FXSR,SSE,SSE2,SS,HTT,TM>
cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64b/line 4-way
cpu0: L2 cache 256 KB 64b/line 8-way
cpu0: ITLB 4K/4M: 64 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: calibrating local timer
cpu0: apic clock running at 99 MHz
cpu0: 8 page colors
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0
acpi0: X/RSDT: OemId <ASUS  ,P4B_LX  ,42302e31>, AslId <MSFT,31313031>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
PNP0C01 [System Board] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0A03 [PCI Bus] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configu=
red
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configu=
red
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configu=
red
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
PNP0100 [AT Timer] at acpi0 not configured
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
PNP0800 [AT-style speaker sound] at acpi0 not configured
npx1 at acpi0 (PNP0C04)
npx1: io 0xf0-0xff irq 13
npx1: using exception 16
fdc1 at acpi0 (PNP0700)
fdc1: io 0x3f2-0x3f5,0x3f7 irq 6 drq 2
lpt3 at acpi0 (PNP0400)
lpt3: io 0x278-0x27f irq 5
com3 at acpi0 (PNP0501-1)
com3: io 0x3f8-0x3ff irq 4
com3: ns16550a, working fifo
pckbc1 at acpi0 (PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configu=
red
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
configuring bus 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82845 Host (rev. 0x03)
agp0 at pchb0: aperture at 0xf8000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Intel 82845 AGP (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Nvidia Corporation RIVA TNT2 Model 64 (rev.=
=20
0x15)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
ppb1 at pci0 dev 30 function 0: Intel 82801BA Hub-to-PCI Bridge (rev. 0x12)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
rtk0 at pci2 dev 13 function 0: RealTek 8139 10/100BaseTX
rtk0: interrupting at apic 2 int 21 (irq 9)
rtk0: Ethernet address 00:e0:18:50:8a:76
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Texas Instruments TSB12LV26 OHCI IEEE 1394 Host Controller (Firewire serial=
=20
bus, interface 0x10) at pci2 dev 14 function 0 not configured
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801BA LPC Interface Bridge (rev. 0x12)
pciide0 at pci0 dev 31 function 1: Intel 82801BA IDE Controller (ICH2) (rev=
=2E=20
0x12)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <Maxtor 4D060H3>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 58627 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 120069936 secto=
rs
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1 at pciide0 channel 0 drive 1: <IBM-DTTA-350640>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 6197 MB, 12592 cyl, 16 head, 63 sec, 512 bytes/sect x 12692736 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA=
=20
data transfers)
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA=
=20
data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <SONY    CD-RW  CRX175E, , 1.1a> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd1 at atapibus0 drive 1: <Pioneer DVD-ROM ATAPIModel DVD-117  010, , E1.04=
>=20
cdrom removable
cd1: 32-bit data port
cd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA=
=20
data transfers)
uhci0 at pci0 dev 31 function 2: Intel 82801BA USB Controller (rev. 0x12)
uhci0: interrupting at apic 2 int 19 (irq 7)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 31 function 4: Intel 82801BA USB Controller (rev. 0x12)
uhci1: interrupting at apic 2 int 23 (irq 9)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
auich0 at pci0 dev 31 function 5: i82801BA (ICH2) AC-97 Audio
auich0: interrupting at apic 2 int 17 (irq 10)
auich0: Analog Devices AD1881A codec; headphone, Analog Devices Phat Stereo
auich0: variable rate audio
audio0 at auich0: full duplex, mmap, independent
isa0 at pcib0
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: no ISA Plug 'n Play devices found
ioapic0: enabling
auich0: measured ac97 link rate at 52488 Hz
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: A4Tech USB Optical Mouse, rev 2.00/1.00, addr 2, iclass 3/1
ums0 at uhidev0: 7 buttons and Z dir.
wsmouse0 at ums0 mux 0
wd1: no disk label
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wd1: no disk label
IP Filter: v3.4.29 initialized.  Default =3D pass all, Logging =3D enabled
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wd1: no disk label
usl_detachtimeout
usl_detachack: not detaching
usl_detachtimeout
usl_detachack: not detaching
usl_detachtimeout
usl_detachack: not detaching
usl_detachtimeout
usl_detachack: not detaching
usl_detachtimeout
usl_detachack: not detaching
usl_detachtimeout
usl_detachack: not detaching
usl_detachtimeout
usl_detachack: not detaching

=2D --=20
Nate Hill <vugdeox@freeshell.org>
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (NetBSD)

iD8DBQE+721F69yeq3Xq/RARAuF/AKCRN+Oek8ySDZNqFeQPsQP4S9+6sgCeNXOM
ffJkv1mVxGLF9VkUpkhN77A=3D
=3DB1Le
=2D----END PGP SIGNATURE-----