Subject: Re: kern/31003
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Igor Sobrado <igor@string1.ciencias.uniovi.es>
List: netbsd-bugs
Date: 12/29/2005 17:55:02
The following reply was made to PR kern/31003; it has been noted by GNATS.

From: Igor Sobrado <igor@string1.ciencias.uniovi.es>
To: gnats-bugs@netbsd.org
Cc: Carl Brewer <carl@bl.echidna.id.au>
Subject: Re: kern/31003
Date: Thu, 29 Dec 2005 18:54:02 +0100

 Hi Carl.
 
 Thanks a lot for the feedback about your USB/PATA hard disk drive.
 Indeed, perhaps both problems are related.
 
 NetBSD 3 has a different behaviour and, perhaps, this fact will help
 looking for a fix.  I have attached the Plextor portable hard disk drive
 to my laptop:
 
 Dec 29 18:27:46 localhost /netbsd: umass0 at uhub0 port 1 configuration 1 interface 0
 Dec 29 18:27:46 localhost /netbsd: 
 Dec 29 18:27:46 localhost /netbsd: umass0: Plextor S.A./N.V. PLEXTOR PX-PH, rev 2.00/3.02, addr 2
 Dec 29 18:27:46 localhost /netbsd: umass0: using SCSI over Bulk-Only
 Dec 29 18:27:46 localhost /netbsd: scsibus0 at umass0: 2 targets, 1 lun per target
 Dec 29 18:27:46 localhost /netbsd: sd0 at scsibus0 target 0 lun 0: <PLEXTOR, PX-PH, 3.02> disk fixed
 Dec 29 18:27:46 localhost /netbsd: sd0: 76351 MB, 155127 cyl, 16 head, 63 sec, 512 bytes/sect x 156368016 sectors
 
 ...and changed the laptop state to suspend mode (Fn+Suspend) again.
 Now the sequence of events that follows once the computer returns
 from the suspend state:
 
 Dec 29 18:28:58 localhost /netbsd: atabus0: resuming...
 Dec 29 18:28:58 localhost /netbsd: atabus1: resuming...
 Dec 29 18:28:59 localhost /netbsd: pms0: pms_synaptics_resume: reset on resume 0 0xaa 0x00
 Dec 29 18:28:59 localhost /netbsd: cbb1: wait took 0.009072s
 Dec 29 18:28:59 localhost /netbsd: umass0: at uhub0 port 1 (addr 2) disconnected
 Dec 29 18:28:59 localhost /netbsd: sd0(umass0:0:0:0): generic HBA error
 Dec 29 18:28:59 localhost /netbsd: sd0: cache synchronization failed
 Dec 29 18:28:59 localhost /netbsd: sd0 detached
 Dec 29 18:28:59 localhost /netbsd: scsibus0 detached
 Dec 29 18:28:59 localhost /netbsd: umass0 detached
 Dec 29 18:28:58 localhost /netbsd: umass0 at uhub0 port 1 configuration 1 interface 0
 Dec 29 18:28:58 localhost /netbsd: 
 Dec 29 18:28:58 localhost /netbsd: umass0: Plextor S.A./N.V. PLEXTOR PX-PH, rev 2.00/3.02, addr 2
 Dec 29 18:28:58 localhost /netbsd: umass0: using SCSI over Bulk-Only
 Dec 29 18:28:58 localhost /netbsd: scsibus0 at umass0: 2 targets, 1 lun per target
 Dec 29 18:28:58 localhost /netbsd: sd0 at scsibus0 target 0 lun 0: <PLEXTOR, PX-PH, 3.02> disk fixed
 Dec 29 18:28:58 localhost /netbsd: sd0: 76351 MB, 155127 cyl, 16 head, 63 sec, 512 bytes/sect x 156368016 sectors
 Dec 29 18:30:27 localhost syslogd: restart
 Dec 29 18:30:27 localhost /netbsd: uvm_fault(0xcbd71708, 0, 0, 1) -> 0xe
 Dec 29 18:30:27 localhost /netbsd: syncing disks... done
 Dec 29 18:30:27 localhost /netbsd: unmounting file systems...unmount of /dev failed with error 16
 Dec 29 18:30:27 localhost /netbsd: done
 Dec 29 18:30:27 localhost /netbsd: WARNING: some file systems would not unmount
 Dec 29 18:30:27 localhost /netbsd: rebooting...
 
 Ok, this time at least I was able to reboot the computer, but the
 screen was turned off.  There is an *unrelated* problem with APM
 in NetBSD: sometimes the screen does not turn on again once the
 machine returns from a power management state.  Will this problem
 be fixed?  It is a bit annoying if someone does not type "xset s off"
 before starting a talk and the computer does not turn on again!!!
 (no... it did not happen to me... yet!).
 
 The key here is that the laptop can be rebooted and only the portable
 hard disk drive requires a consistency check now (in any case, I do not
 want to try this experiement a lot of times!)
 
 Cheers,
 Igor.