[ltp] APMD and Standby on the TP-T21

D. Sen linux-thinkpad@www.bm-soft.com
Mon, 05 Mar 2001 09:14:31 -0500


This is interesting. Comparing your hda parameters to mine, I have 32 bit I/O
support and unmasq IRQ set to 1.

Here are some questions:
Do you see *any* hda messages in the syslog.....during suspend/standby/resume?
Do you use hdparm in your apmd_proxy (or /etc/sysconfig/apmd) to change your hd
settings before and after a suspend/standby/resume cycle?
Is the apmd_proxy script called by apmd for standby?
What are your apmd related options, when you compile the kernel?
Which version of the kernel are you using?

Sorry for the barrage of questions.....just want to isolate the difference
here.

Thanks.

Markus Alt wrote:

> "D. Sen" wrote:
> >
> > This would be fine......except that Fn+F3 causes a "hda: lost interrupt"
> > message on the syslog.
> >
> > (I too use it at work with the lid closed......and use apm -s before I
> > remove
> > it from the port replicator). But at home, I sometimes would like the
> > standby
> > option.....where I dont have to disable the network....and stop my
> > rsh/telnet
> > connections. And whether its by closing the lid or Fn+F3, I dont have that
> > option (unless I ignore syslog errors).
>
> Hmm, this is really strange. Right now, I use my machine in the office,
> docked in the port replicator with an IBM Token Ring PCMCIA card and
> active network connection. Closing the lid (and working with external
> screen/mouse/keyboard) or pressing <Fn><F3> works without problems, i.e.
> I see no such messages.
>
> FWIW, here are my HD's settings (output of "hdparm -vi /dev/hda"):
>
> /dev/hda:
>  multcount    = 16 (on)
>  I/O support  =  0 (default 16-bit)
>  unmaskirq    =  0 (off)
>  using_dma    =  1 (on)
>  keepsettings =  1 (on)
>  nowerr       =  0 (off)
>  readonly     =  0 (off)
>  readahead    =  8 (on)
>  geometry     = 4134/240/63, sectors = 62506080, start = 0
>
>  Model=IBM-DJSA-232, FwRev=JS8IAD1A, SerialNo=481BWL69914
>  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
>  RawCHS=16383/15/63, TrkSize=0, SectSize=0, ECCbytes=4
>  BuffType=DualPortCache, BuffSize=1874kB, MaxMultSect=16, MultSect=16
>  CurCHS=16383/15/63, CurSects=15481935, LBA=yes, LBAsects=62506080
>  IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
>  PIO modes: pio0 pio1 pio2 pio3 pio4
>  DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4
>  Drive Supports : Reserved : ATA-2 ATA-3 ATA-4 ATA-5
>  Kernel Drive Geometry LogicalCHS=4134/240/63 PhysicalCHS=66144/15/63
>
> Markus
>
> ----- The Linux ThinkPad mailing list -----
> The linux-thinkpad mailing list home page is at:
> http://www.bm-soft.com/~bm/tp_mailing.html

--
D. Sen, Room E167
AT&T Labs-Research
Shannon Laboratory
180 Park Ave.
Florham Park NJ 07932-0971
Ph: 973-360-8546
http://www.research.att.com/~dsen



----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html