Subject: Re: kern/37279: usb and cdrom don't work after resume on PM branch
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: netbsd-bugs
Date: 11/04/2007 23:20:02
The following reply was made to PR kern/37279; it has been noted by GNATS.

From: "Steven M. Bellovin" <smb@cs.columbia.edu>
To: gnats-bugs@NetBSD.org
Cc: jmcneill@invisible.ca, kern-bug-people@NetBSD.org,
	gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: kern/37279: usb and cdrom don't work after resume on PM branch
Date: Sun, 4 Nov 2007 22:35:46 +0000

 Here's a diff of the boot-time dmesg and one after a resume.  The shell
 is just saying "I/O error" any time I try any commands that aren't in
 the buffer cache.
 
 367a368,401
 > acpi0: entering state 3
 > Flushing disk caches: 2 done
 > Suspending devices: wd0 isapnp0 uhub6 uhub5 uhub4 uhub3 wpi0 uhub2 uhub1 uhub0
  wsmouse0 wskbd0 audio0 isa0 atabus1 atabus0 pci6 usb6 usb5 usb4 usb3 pci5 pci4 
 pci3 pci2 pci1 usb2 usb1 usb0 wsdisplay0 pms0 pckbd0 ahcisata0 piixide0 pcib0 pp
 b5 ehci1 uhci4 uhci3 uhci2 ppb4 ppb3 ppb2 ppb1 ppb0 azalia0 ehci0 uhci1 uhci0 wm
 0 vga1 pchb0 apm0 acpitz1 acpitz0 acpiacad0 acpibat0 acpiec0 pckbc2 pckbc1 npx1 
 pcppi1 hpet0 attimer1 acpibut0 acpilid0 acpiecdt0 pci0 acpi0 ioapic0 cpu1 cpu0 m
 ainbus0.
 > ioapic0 reenabling
 > Resuming devices: mainbus0 cpu0 cpu1 ioapic0 acpi0 acpiecdt0 acpilid0 acpibut0
  attimer1 hpet0 pcppi1 npx1 pckbc1 pckbd0 wskbd0 pms0pms0: pms_synaptics_resume:
  reset on resume 0 0xaa 0x00
 >  wsmouse0 pckbc2 acpiec0 acpibat0 acpiacad0 acpitz0 acpitz1 apm0 pci0 pchb0 vg
 a1 wsdisplay0 wm0 uhci0 usb0 uhub0 uhci1 usb1 uhub1 ehci0ehci0: BIOS has given u
 p ownership
 >  usb2 uhub2 azalia0uhci3: host controller halted
 > azalia0: RIRB time out
 > azalia0: RIRB time out
 >  audio0azalia0: RIRB time out
 > azalia0: RIRB time out
 >  ppb0 pci1 ppb1 pci2 wpi0 ppb2 pci3 ppb3 pci4 ppb4 pci5 uhci2 usb3 uhub3 uhci3
  usb4 uhub4 uhci4 usb5 uhub5 ehci1ehci1: BIOS has given up ownership
 >  usb6 uhub6 ppb5 pci6 pcib0 isa0 isapnp0 piixide0 atabus0ugen0: at uhub0 port 
 2 (addr 2) disconnected
 > ugen0 detached
 >  ahcisata0ahcisata0 port 0: device present, speed: 1.5Gb/s
 >  atabus1ahcisata0 port 0: device present, speed: 1.5Gb/s
 >  wd0.
 > ugen0 at uhub0 port 2
 > ugen0: STMicroelectronics Biometric Coprocessor, rev 1.00/0.01, addr 2
 > ugen0: WARNING: power management not supported
 > wpi0: could not lock memory
 > wpi0: could not lock memory
 > wpi0: could not lock memory
 > wpi0: could not lock memory
 > wpi0: could not lock memory
 > wpi0: could not lock memory
 > wpi0: could not lock memory
 > wpi0: could not lock memory
 > wpi0: timeout waiting for master
 > cd0(piixide0:0:0):  Check Condition on CDB: 0x28 00 00 00 43 99 00 00 02 00
 >     SENSE KEY:  Unit Attention
 >  COMMAND INFO:  144 (0x90)
 >      ASC/ASCQ:  Not Ready To Ready Transition (Medium May Have Changed)
 >