NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/40531: 5.0_BETA/i386 doesn't power off on Dell Latitude X1 withCF card plugged in



The following reply was made to PR kern/40531; it has been noted by GNATS.

From: Matthias Drochner <M.Drochner%fz-juelich.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
        netbsd-bugs%NetBSD.org@localhost
Subject: Re: kern/40531: 5.0_BETA/i386 doesn't power off on Dell Latitude X1
         withCF card plugged in
Date: Wed, 04 Feb 2009 13:11:23 +0100

 This is a multipart MIME message.
 
 --==_Exmh_3044667170070
 Content-Type: text/plain; charset=us-ascii
 
 
 denbrok%uni-bonn.de@localhost said:
 > wdc2 at pcmcia0 function 0: <TRANSCEND, TS1GCF80, >
 > wdc2: i/o mapped mode
 > atabus1 at wdc2 channel 0 
 > [...]
 > wd1 at atabus1 drive 0: <TRANSCEND>
 > wd1: drive supports 1-sector PIO transfers, LBA addressing
 > wd1: 991 MB, 2014 cyl, 16 head, 63 sec, 512 bytes/sect x 2030112 sectors
 > wd1: drive supports PIO mode 4
 
 Can you try the appended patch?
 (just to narrow down the problem)
 The CF card might not support power management.
 
 best regards
 Matthias
 
 
 
 
 -------------------------------------------------------------------
 -------------------------------------------------------------------
 Forschungszentrum Juelich GmbH
 52425 Juelich
 
 Sitz der Gesellschaft: Juelich
 Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
 Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
 Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
 Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
 Dr. Sebastian M. Schmidt
 -------------------------------------------------------------------
 -------------------------------------------------------------------
 
 --==_Exmh_3044667170070
 Content-Type: text/plain ; name="wd.txt"; charset=us-ascii
 Content-Description: wd.txt
 Content-Disposition: attachment; filename="wd.txt"
 
 #
 # old_revision [884ce8c5452fc4dfbe943834a593e6de60e97b28]
 #
 # patch "sys/dev/ata/wd.c"
 #  from [e3585309ef6464d47751fccb6e89f2bc201e0d9c]
 #    to [1d5cdddc1b26d2b566dc6200b75e4a4e6e73cbd6]
 #
 ============================================================
 --- sys/dev/ata/wd.c   e3585309ef6464d47751fccb6e89f2bc201e0d9c
 +++ sys/dev/ata/wd.c   1d5cdddc1b26d2b566dc6200b75e4a4e6e73cbd6
 @@ -1948,8 +1948,10 @@ wd_shutdown(device_t dev, int how)
  
        struct wd_softc *wd = device_private(dev);
        wd_flushcache(wd, AT_POLL);
 +#if 0
        if ((how & RB_POWERDOWN) == RB_POWERDOWN)
                wd_standby(wd, AT_POLL);
 +#endif
        return true;
  }
  
 
 --==_Exmh_3044667170070--
 


Home | Main Index | Thread Index | Old Index