Re: PM fault: NEC versa LX, suspend, IDE DMA timeout/KB+MS loss

Serge Robyns (serge.robyns@advalvas.be)
Fri, 26 Nov 1999 11:40:11 +0100


> From: David Ford <david@kalifornia.com>
> Date: Fri, 26 Nov 1999 00:47:08 -0800
> Subject: APM fault: NEC versa LX, suspend, IDE DMA timeout/KB+MS loss
>
> somewhere in the recent 2.3 kernels, something related to apm broke.
> When resuming from standby, the system responds for a few seconds then
> locks up. if i let the laptop sit, it will eventually return to
> standby/suspend state from which i can tap a key and get the screen
> back. however, the OS is broken.
>
> the pcmcia card, a linksys nic/modem remains in unpowered or inactive
> state i assume because the LEDs remain off. the LEDs for the keyboard
> status do not update with scroll/caps. the hardware does appear to
> respond to function keys such as power level, contrast, etc.
>
> with 2.3.26 iirc, after resuming, i could type for about four-five
> seconds then i would get an err msg similar to "hda: DMA timed out" then
> lockup. with more recent, i don't get that message, it simply locks up.
>
> going back to 2.2 and resume works fine. i haven't found anything
> immediately evident in apm code. if anyone has any quick ideas, toss
> 'em out.
>
> here's how i normally run it. pcmcia is compiled in, i've used a few
> updated versions. i've tried full blown with all options, i've tried
> stripped down kernels.
>
> - -d
>
> - --
> David Ford, Talon Technology

I've also problems with my VERSA LX and PCMICA
I've encountered the problem with .28 also.
With .29 I unplugged the 3c575 pcmica card and back and the box hangs
dead. The only thing I could do is to power off and back on the system.
I also noticed that once the NIC has been used and I reboot without
powering down the system, it hangs while initialising the PCMICA cards
(or PCMICA driver itself).
I also noticed that when doing a halt command the system doesn't power down
as it used to be with 2.2 kernels (I checked all APM options and activated
them plus the the APIC code.

Attached I include a the log from the boot.

Nov 25 11:31:11 srobyns-eu syslogd 1.3-3: restart.
Nov 25 11:31:11 srobyns-eu syslog: syslogd startup succeeded
Nov 25 11:31:11 srobyns-eu syslog: klogd startup succeeded
Nov 25 11:31:11 srobyns-eu kernel: klogd 1.3-3, log source = /proc/kmsg started.
Nov 25 11:31:11 srobyns-eu kernel: Inspecting /boot/System.map
Nov 25 11:31:11 srobyns-eu kernel: Loaded 10549 symbols from /boot/System.map.
Nov 25 11:31:11 srobyns-eu kernel: Symbols match kernel version 2.3.29.
Nov 25 11:31:11 srobyns-eu kernel: Loaded 13 symbols from 2 modules.
Nov 25 11:31:11 srobyns-eu kernel: Linux version 2.3.29 (root@srobyns-eu) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Thu Nov 25 11:03:45 CET 1999
Nov 25 11:31:11 srobyns-eu kernel: e820: 0009fc00 @ 00000000 (usable)
Nov 25 11:31:11 srobyns-eu kernel: e820: 00000400 @ 0009fc00 (reserved)
Nov 25 11:31:11 srobyns-eu kernel: e820: 00020000 @ 000e0000 (reserved)
Nov 25 11:31:11 srobyns-eu kernel: e820: 07ef0000 @ 00100000 (usable)
Nov 25 11:31:11 srobyns-eu kernel: e820: 00008000 @ 07ff0000 (ACPI data)
Nov 25 11:31:11 srobyns-eu kernel: e820: 00008000 @ 07ff8000 (ACPI NVS)
Nov 25 11:31:11 srobyns-eu kernel: e820: 00001000 @ fec00000 (reserved)
Nov 25 11:31:11 srobyns-eu kernel: e820: 00001000 @ fee00000 (reserved)
Nov 25 11:31:11 srobyns-eu kernel: e820: 00020000 @ fffe0000 (reserved)
Nov 25 11:31:11 srobyns-eu kernel: totalpages: 00008000
Nov 25 11:31:11 srobyns-eu kernel: zone(0): 4096 pages.
Nov 25 11:31:11 srobyns-eu kernel: zone(1): 28672 pages.
Nov 25 11:31:11 srobyns-eu kernel: zone(2): 0 pages.
Nov 25 11:31:11 srobyns-eu kernel: Initializing CPU#0
Nov 25 11:31:11 srobyns-eu kernel: Detected 299755524 Hz processor.
Nov 25 11:31:11 srobyns-eu kernel: Console: colour VGA+ 80x25
Nov 25 11:31:11 srobyns-eu kernel: Calibrating delay loop... 299.01 BogoMIPS
Nov 25 11:31:11 srobyns-eu kernel: Memory: 126972k/131072k available (900k kernel code, 3712k reserved, 80k data, 144k init, 0k highmem)
Nov 25 11:31:11 srobyns-eu kernel: Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Nov 25 11:31:11 srobyns-eu kernel: Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
Nov 25 11:31:11 srobyns-eu kernel: VFS: Diskquotas version dquot_6.4.0 initialized
Nov 25 11:31:11 srobyns-eu kernel: CPU: Intel Mobile Pentium II stepping 0a
Nov 25 11:31:11 srobyns-eu kernel: Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Nov 25 11:31:11 srobyns-eu kernel: Checking 'hlt' instruction... OK.
Nov 25 11:31:11 srobyns-eu kernel: POSIX conformance testing by UNIFIX
Nov 25 11:31:11 srobyns-eu kernel: mtrr: v1.35 (19990512) Richard Gooch (rgooch@atnf.csiro.au)
Nov 25 11:31:11 srobyns-eu kernel: PCI: PCI BIOS revision 2.10 entry at 0xfdba1
Nov 25 11:31:11 srobyns-eu kernel: PCI: Using configuration type 1
Nov 25 11:31:11 srobyns-eu kernel: PCI: Probing PCI hardware
Nov 25 11:31:11 srobyns-eu kernel: PCI: Interrupt Routing Table found at 0xc00f5ac0 [router type 8086/1234]
Nov 25 11:31:11 srobyns-eu kernel: PCI: Assigned addresses 10000000-10000fff to region 00:03.0/0
Nov 25 11:31:11 srobyns-eu kernel: PCI: Assigned addresses 10001000-10001fff to region 00:03.1/0
Nov 25 11:31:11 srobyns-eu kernel: Limiting direct PCI/PCI transfers.
Nov 25 11:31:11 srobyns-eu kernel: isapnp: Scanning for Pnp cards...
Nov 25 11:31:11 srobyns-eu kernel: isapnp: No Plug & Play device found
Nov 25 11:31:11 srobyns-eu kernel: Linux NET4.0 for Linux 2.3
Nov 25 11:31:11 srobyns-eu kernel: Based upon Swansea University Computer Society NET3.039
Nov 25 11:31:11 srobyns-eu kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Nov 25 11:31:11 srobyns-eu kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Nov 25 11:31:11 srobyns-eu kernel: IP Protocols: ICMP, UDP, TCP, IGMP
Nov 25 11:31:11 srobyns-eu kernel: TCP: Hash tables configured (established 8192 bind 16384)
Nov 25 11:31:11 srobyns-eu kernel: Initializing RT netlink socket
Nov 25 11:31:11 srobyns-eu kernel: apm: BIOS version 1.2 Flags 0x03 (Driver version 1.10)
Nov 25 11:31:11 srobyns-eu kernel: Starting kswapd v1.6
Nov 25 11:31:11 srobyns-eu kernel: 0x378: FIFO is 16 bytes
Nov 25 11:31:11 srobyns-eu kernel: 0x378: writeIntrThreshold is 8
Nov 25 11:31:11 srobyns-eu kernel: 0x378: readIntrThreshold is 8
Nov 25 11:31:11 srobyns-eu kernel: parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,ECP]
Nov 25 11:31:11 srobyns-eu kernel: parport0: irq 7 detected
Nov 25 11:31:11 srobyns-eu kernel: Detected PS/2 Mouse Port.
Nov 25 11:31:11 srobyns-eu kernel: Serial driver version 4.91 (1999-11-17) with MANY_PORTS SHARE_IRQ SERIAL_PCI PCI_IOMEM enabled
Nov 25 11:31:11 srobyns-eu kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
Nov 25 11:31:11 srobyns-eu kernel: ttyS03 at 0x02e8 (irq = 3) is a 16550A
Nov 25 11:31:11 srobyns-eu kernel: pty: 256 Unix98 ptys configured
Nov 25 11:31:11 srobyns-eu kernel: Uniform Multi-Platform E-IDE driver Revision: 6.21
Nov 25 11:31:11 srobyns-eu kernel: PIIX4: IDE controller on PCI bus 00 dev 39
Nov 25 11:31:11 srobyns-eu kernel: PIIX4: not 100% native mode: will probe irqs later
Nov 25 11:31:11 srobyns-eu kernel: ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
Nov 25 11:31:11 srobyns-eu kernel: ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
Nov 25 11:31:11 srobyns-eu kernel: hda: HITACHI_DK239A-65, ATA DISK drive
Nov 25 11:31:11 srobyns-eu kernel: hdb: LS-120 SLIM 00 UHD Floppy, ATAPI FLOPPY drive
Nov 25 11:31:11 srobyns-eu kernel: hdc: MATSHITA CR-175, ATAPI CDROM drive
Nov 25 11:31:11 srobyns-eu kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Nov 25 11:31:11 srobyns-eu kernel: ide1 at 0x170-0x177,0x376 on irq 15
Nov 25 11:31:11 srobyns-eu kernel: hda: HITACHI_DK239A-65, 6194MB w/512kB Cache, CHS=789/255/63, UDMA(33)
Nov 25 11:31:11 srobyns-eu kernel: Partition check:
Nov 25 11:31:11 srobyns-eu kernel: hda: hda1 hda2 < hda5 hda6 hda7 >
Nov 25 11:31:11 srobyns-eu kernel: Real Time Clock Driver v1.09b
Nov 25 11:31:11 srobyns-eu kernel: ACPI: "NEC" found at 0x000f9f60
Nov 25 11:31:11 srobyns-eu kernel: VFS: Mounted root (ext2 filesystem) readonly.
Nov 25 11:31:11 srobyns-eu kernel: Freeing unused kernel memory: 144k freed
Nov 25 11:31:11 srobyns-eu kernel: Adding Swap: 40124k swap-space (priority -1)
Nov 25 11:31:11 srobyns-eu kernel: maestro: version 0.10 time 11:11:58 Nov 25 1999
Nov 25 11:31:11 srobyns-eu kernel: maestro: Configuring ESS Maestro 2E found at IO 0xEC00 IRQ 5
Nov 25 11:31:11 srobyns-eu kernel: maestro: subvendor id: 0x80581033
Nov 25 11:31:11 srobyns-eu kernel: maestro: AC97 Codec detected: v: 0x54524106 caps: 0x3800 pwr: 0xf
Nov 25 11:31:11 srobyns-eu kernel: maestro: 1 channels configured.
Nov 25 11:31:11 srobyns-eu atd: atd startup succeeded
Nov 25 11:31:12 srobyns-eu crond: crond startup succeeded
Nov 25 11:31:12 srobyns-eu pcmcia: Starting PCMCIA services:
Nov 25 11:31:12 srobyns-eu pcmcia: modules
Nov 25 11:31:12 srobyns-eu kernel: Linux PCMCIA Card Services 3.1.4
Nov 25 11:31:12 srobyns-eu kernel: kernel build: 2.3.29 #1 Thu Nov 25 11:03:45 CET 1999
Nov 25 11:31:12 srobyns-eu kernel: options: [pci] [cardbus] [apm]
Nov 25 11:31:12 srobyns-eu kernel: Intel PCIC probe:
Nov 25 11:31:12 srobyns-eu kernel: Ricoh RL5C478 PCI-to-CardBus at bus 0 slot 3, mem 0x10000000, 2 sockets
Nov 25 11:31:12 srobyns-eu kernel: host opts [0]: [serial irq] [io 3/6/1] [mem 3/6/1] [no pci irq] [lat 168/176] [bus 32/34]
Nov 25 11:31:12 srobyns-eu kernel: host opts [1]: [serial irq] [io 3/6/1] [mem 3/6/1] [no pci irq] [lat 168/176] [bus 35/37]
Nov 25 11:31:12 srobyns-eu kernel: ISA irqs (default) = 3,4,7,11,12 polling interval = 1000 ms
Nov 25 11:31:12 srobyns-eu pcmcia: cardmgr.
Nov 25 11:31:12 srobyns-eu rc: Starting pcmcia succeeded
Nov 25 11:31:12 srobyns-eu cardmgr[366]: starting, version is 3.1.1
Nov 25 11:31:12 srobyns-eu cardmgr[366]: watching 2 sockets
Nov 25 11:31:12 srobyns-eu cardmgr[366]: Card Services release does not match!
Nov 25 11:31:12 srobyns-eu kernel: cs: IO port probe 0x1000-0x17ff: clean.
Nov 25 11:31:12 srobyns-eu kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x398-0x39f 0x3c0-0x3df 0x410-0x44f 0x4d0-0x4d7
Nov 25 11:31:12 srobyns-eu kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Nov 25 11:31:12 srobyns-eu inet: inetd startup succeeded
Nov 25 11:31:13 srobyns-eu lpd: lpd startup succeeded
Nov 25 11:31:13 srobyns-eu keytable: Loading keymap:
Nov 25 11:31:13 srobyns-eu keytable: Loading /usr/lib/kbd/keymaps/i386/azerty/fr-latin1.kmap.gz
Nov 25 11:31:13 srobyns-eu keytable: Loading system font:
Nov 25 11:31:13 srobyns-eu rc: Starting keytable succeeded
Nov 25 11:31:14 srobyns-eu sendmail: sendmail startup succeeded
Nov 25 11:31:15 srobyns-eu gpm: gpm startup succeeded
Nov 25 11:31:15 srobyns-eu squid: Starting squid: squid
Nov 25 11:31:15 srobyns-eu rc: Starting squid succeeded
Nov 25 11:31:15 srobyns-eu xfs: xfs startup succeeded
Nov 25 11:31:16 srobyns-eu linuxconf: Linuxconf final setup
Nov 25 11:31:16 srobyns-eu rc: Starting linuxconf succeeded
Nov 25 11:31:16 srobyns-eu rc: Starting local succeeded
Nov 25 11:33:55 srobyns-eu PAM_pwdb[515]: (login) session opened for user root by (uid=0)
Nov 25 11:35:22 srobyns-eu cardmgr[366]: initializing socket 0
Nov 25 11:35:22 srobyns-eu cardmgr[366]: socket 0: 3Com 3CCFE575B/3CXFE575B Fast EtherLink XL
Nov 25 11:35:22 srobyns-eu kernel: cs: cb_alloc(bus 32): vendor 0x10b7, device 0x5157
Nov 25 11:35:22 srobyns-eu cardmgr[366]: executing: 'insmod /lib/modules/2.3.29/pcmcia/cb_enabler.o'
Nov 25 11:35:22 srobyns-eu cardmgr[366]: executing: 'insmod /lib/modules/2.3.29/pcmcia/3c575_cb.o'
Nov 25 11:35:22 srobyns-eu kernel: 3c59x.c:v0.99L 5/28/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
Nov 25 11:35:22 srobyns-eu kernel: cs: cb_config(bus 32)
Nov 25 11:35:22 srobyns-eu kernel: fn 0 bar 1: io 0x200-0x27f
Nov 25 11:35:22 srobyns-eu kernel: fn 0 bar 2: mem 0xa0021000-0xa002107f
Nov 25 11:35:22 srobyns-eu kernel: fn 0 bar 3: mem 0xa0020000-0xa002007f
Nov 25 11:35:22 srobyns-eu kernel: fn 0 rom: mem 0xa0000000-0xa001ffff
Nov 25 11:35:22 srobyns-eu kernel: vortex_attach(bus 32, function 0, device 5157)
Nov 25 11:35:22 srobyns-eu kernel: eth0: 3Com 3CCFE575 Cyclone CardBus at 0x200, 00:10:4b:f6:16:70, IRQ 3
Nov 25 11:35:22 srobyns-eu kernel: eth0: CardBus functions mapped a0020000->c8833000
Nov 25 11:35:22 srobyns-eu kernel: 8K byte-wide RAM 5:3 Rx:Tx split, MII interface.
Nov 25 11:35:22 srobyns-eu kernel: MII transceiver found at address 0, status 7809.
Nov 25 11:35:22 srobyns-eu kernel: Enabling bus-master transmits and whole-frame receives.
Nov 25 11:35:22 srobyns-eu cardmgr[366]: executing: './network start eth0'
Nov 25 11:35:22 srobyns-eu pumpd[586]: starting at Thu Nov 25 11:35:22 1999
Nov 25 11:35:25 srobyns-eu kernel: eth0: Setting full-duplex based on MII #0 link partner capability of 45e1.
Nov 25 11:35:26 srobyns-eu pumpd[586]: configured interface eth0
Nov 25 11:35:26 srobyns-eu cardmgr[366]: + Determining IP information for eth0... done.
Nov 25 11:35:26 srobyns-eu modprobe: can't locate module eth0:0
..... some more like that
Nov 25 11:35:27 srobyns-eu modprobe: can't locate module eth0:49
Nov 25 11:37:14 srobyns-eu kernel: maestro: version 0.13 time 11:23:18 Nov 25 1999
Nov 25 11:37:14 srobyns-eu kernel: maestro: Configuring ESS Maestro 2E found at IO 0xEC00 IRQ 5
Nov 25 11:37:14 srobyns-eu kernel: maestro: subvendor id: 0x80581033
Nov 25 11:37:14 srobyns-eu kernel: maestro: AC97 Codec detected: v: 0x54524106 caps: 0x3800 pwr: 0xf
Nov 25 11:37:14 srobyns-eu kernel: maestro: 1 channels configured.
Nov 25 11:41:38 srobyns-eu kernel: spurious 8259A interrupt: IRQ7.

Serge Robyns

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/