Subject: Re: [2.0-RC1] shutdown is not clean
To: None <port-sparc64@netbsd.org>
From: Michael Gerhards <HM-Gerhards@uni.de>
List: port-sparc64
Date: 11/01/2004 01:14:21
Michael Gerhards <HM-Gerhards@uni.de> wrote:
> 
>> You can also try the attached patch instead of the old one, to see if the
>> ata revision reported by your drive is the problem.
> 
> I am compiling a new kernel with this patch and will test it this
> evening.

Okay, I tried it now. The first thing I noticed was very astonishing to
me - there was no filecheck necessary on startup!

I got these messages on startup:

wd0 at atabus0 drive 0: <SAMSUNG SP0802N>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 76351 MB, 155127 cyl, 16 head, 63 sec, 512 bytes/sect x 156368016
sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(cmdide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-ST DVDRAM GSA-4082B, K2743VM1959, A201>
cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(cmdide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wd0: ata_vers 2, trying flushcache anyway
flush cache command completed
root on wd0a dumps on wd0b
wd0: ata_vers 2, trying flushcache anyway
flush cache command completed
wd0: ata_vers 2, trying flushcache anyway
flush cache command completed
wd0: ata_vers 2, trying flushcache anyway
flush cache command completed
wd0: ata_vers 2, trying flushcache anyway
flush cache command completed
root file system type: ffs
Sun Oct 31 03:54:23 GMT 2004
swapctl: adding /dev/wd0b as swap device at priority 0
Checking for botched superblock upgrades: done.
Starting file system checks:
/dev/rwd0a: file system is clean; not checking
/dev/rwd0d: file system is clean; not checking
/dev/rwd0e: file system is clean; not checking
/dev/rwd0f: file system is clean; not checking
/dev/rwd0g: file system is clean; not checking


And when I pressed the power button, I got these messages:
login: Oct 31 04:57:34 ultra10 shutdown: halt by root: power button
pressed
Oct 31 04:57:35 ultra10 shutdown: halt by root: power button pressed
Oct 31 04:57:43 ultra10 syslogd: Exiting on signal 15
syncing disks... done
wd0: ata_vers 2, trying flushcache anyway
flush cache command completed


So what does this tell us about the problem? At the moment, there is no
problem, is it?

Michael