Subject: Re: kern/37279: usb and cdrom don't work after resume on PM branch
To: None <gnats-bugs@NetBSD.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: netbsd-bugs
Date: 11/04/2007 22:56:15
On Sun, 4 Nov 2007 22:45:02 +0000 (UTC)
"Jared D. McNeill" <jmcneill@invisible.ca> wrote:
> The following reply was made to PR kern/37279; it has been noted by
> GNATS.
>
> From: "Jared D. McNeill" <jmcneill@invisible.ca>
> To: "Steven M. Bellovin" <smb@cs.columbia.edu>
> Cc: gnats-bugs@NetBSD.org, 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 17:40:03 -0500 (EST)
>
> On Sun, 4 Nov 2007, Steven M. Bellovin wrote:
> > 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.
>
> Can you enable AHCI SATA in the BIOS and try again (so the kernel
> will use ahcisata(4) instead of piixide(4))?
>
It is. Rather, the only option I see (and I'll go look again) is set
to SATA, and the disk is using it, but not the CD:
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801HBM IDE Controller (ICH8M) (rev. 0x03)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
atabus0: using generic power management <D0,D1,D3>
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel ignored (disabled)
piixide0: using generic power management <D0,D3>
ahcisata0 at pci0 dev 31 function 2: Intel 82801HBM SATA Controller
ahcisata0: interrupting at irq 10
ahcisata0: AHCI revision 1.1, 3 ports, 32 command slots, features 0xe710e080
atabus1 at ahcisata0 channel 0
atabus1: using generic power management <D0,D1,D3>
ahcisata0: using generic power management <D0,D3>
...
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-ST DVDRAM GSA-U10N, KZ27AG42356, 1.05> cdrom re
movable
cd0: WARNING: power management not supported
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
atapibus0: WARNING: power management not supported
cd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
ahcisata0 port 0: device present, speed: 1.5Gb/s
wd0 at atabus1 drive 0ugen0 at uhub0 port 2