[ltp] thinkpad i1400 hibernation

lorenzo martignoni linux-thinkpad@www.bm-soft.com
Sat, 13 Jan 2001 13:46:35 +0100

Shigeo Tanai wrote:
> Maybe you're having DMA problem with your harddisk.
> What does 'hdparm -v -i /dev/hda' say?
> Try turning on/off DMA transfer by 'hdparm -d0 /dev/hda' or
> 'hdparm -d1 /dev/hda'.  Also you may need to turn on multiple
> sector I/O.
> Check your current setting with 'hdparm -v /dev/hda'.
> If 'multcount = 0 (off)', do 'hdparm -i /dev/hda' to find out
> your 'MaxMultSect'.  Use that value to set multcount for
> your drive by 'hdparm -mX /dev/hda' where X = MaxMultSect.
> I hope above helps.

thank you for your support.

This is the output of hdparm -v -i /dev/hda:

  multcount    = 16 (on)
  I/O support  =  1 (32-bit)
  unmaskirq    =  0 (off)
  using_dma    =  0 (off)
  keepsettings =  0 (off)
  nowerr       =  0 (off)
  readonly     =  0 (off)
  readahead    =  8 (on)
  geometry     = 592/255/63, sectors = 9514260, start = 0

  Model=IBM-DBCA-204860, FwRev=BC3OA87F, SerialNo=HQ0RQ105383
  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
  RawCHS=10068/15/63, TrkSize=0, SectSize=0, ECCbytes=4
  BuffType=3(DualPortCache), BuffSize=420kB, MaxMultSect=16, MultSect=16
  DblWordIO=no, OldPIO=2, DMA=yes, OldDMA=2
  CurCHS=10068/15/63, CurSects=9514260, LBA=yes, LBAsects=9514260
  tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 mword0 mword1 mword2 
  IORDY=on/off, tPIO={min:240,w/IORDY:120}, PIO modes: mode3 mode4 
  UDMA modes: mode0 mode1 *mode2 
after the execution of (following your instructions):
- hdparm -m16 /dev/hda
- hdparm -c 1 /dev/hda

I've tried to turn on dma with hdparm -d1 /dev/hda but I gave this error:
  setting using_dma to 1 (on)
  HDIO_SET_DMA failed: Operation not permitted
  using_dma    =  0 (off)

After this I try the supposed hibernation sequence Fn+F12, works, but my
machine dosen't suspen to disk, I think that goes in the same state of
Fn+F4 (under windows the moon led dosen't turn on and I've got a message
telling that the system is writing to disk the current machine state).

Now my question is: is possible to suspen to disk my laptop?? If it's
possible what is the correct hibernation sequence??

Thank you very much!


Lorenzo Martignoni       <lorenzo.martignoni@technologist.com>

Just because you are paranoid, it doesn't mean that people are
not out to get you.
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at: