Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Sep 1999 18:25:24 +0200 (CEST)
From:      Robert Eckardt <roberte@rhein-main.netsurf.de>
To:        freebsd-mobile@freebsd.org
Subject:   ThinkPad390E: {APM,Xircom Ethernet card} hangs machine
Message-ID:  <199909191625.SAA05885@rhein-main.netsurf.de>

next in thread | raw e-mail | index | archive | help
Hi everybody,

a few weeks ago I got a ThinkPad 390 E (Type 2626-E0G) laptop with a
Xircom PCMCIA 10/100MBit ethernet card (model CE3B-100BTX) and an
AVM Fritz!Card (PCMCIA ISDN card -- more on that in another mail).
It has an 330MHz Celeron processor and a 6GB IDE-HDD, floppy, CDROM.

I started with 3.2-RELEASE, tried 3.2-STABLE around 10.Sep., 3.3-RC
and now 3.3-STABLE (all cvsup'd).

The problems, however, persist:
Closing the LCD cover will shut down the display but the disk
continues to run (that was different in 3.2-R, where it would
suspend too). Upon opening the cover everything works fine again.

When I use `zzz' to go to suspend-mode, the computer will wake up
on re-opening the cover but hang thereafter. I enabled APM_DEBUG and
got the following output:
12:12 gfbadmin13: /root 0#% Received APM Event: PMEV_SUSPENDREQ
Execute APM hook "VLSI 82C146."
Execute APM hook "VLSI 82C146."
Execute APM hook "default suspend."
Received APM Event: PMEV_NORMRESUME
Execute APM hook "default resume."
Execute APM hook "system keyboard."
Execute APM hook "PS/2 mouse."
Execute APM hook "VLSI 82C146."
Execute APM hook "VLSI 82C146."
 <==---  here the cursor stops blinking, the machine no longer honors
CapsLock f.e. and the disk i/o LED stays on. Here I have to power off/on. 
It is interesting to note that I can still enter characters, which are
echoed, until the last line is printed.

The same result shows up after using hibernation mode. The memory and
screen get restored, several APM hooks are executed -- and it is dead.

`apm' shows:
APM version: 1.2
APM management: Enabled
AC Line status: on-line
Battery status: high
Remaining battery life: 100%
Remaining battery time: unknown
Number of batteries: unknown
Resume timer: disabled
Resume on ring indicator: enabled
APM capabilities:
	unknown

I hope someone can give me a hint on some BIOS option or a kernel
configuration to fix this behaviour.


The other problem is with the ethernet card. After finding the xe-driver
by Scott Mitchell I was happy to see that the card is recognized and I
can contact the network (10 and 100MBit).
However, after some time (5 to 30 min.) the machine simply hangs.
This is independent of the network speed, traffic, transferred data, or
my activity on the keyboard/mouse.


For completeness my dmesg output:

Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.3-STABLE #0: Sun Sep 19 11:52:17 CEST 1999
    root@gfbadmin13:/usr/src/sys/compile/TACHYON1
Timecounter "i8254"  frequency 1193182 Hz
CPU: Celeron (331.71-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 67108864 (65536K bytes)
avail memory = 61042688 (59612K bytes)
vinum: loaded
Pentium Pro MTRR support enabled
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge> rev 0x03 on pci0.0.0
chip1: <Intel 82443BX host to AGP bridge> rev 0x03 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.2.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.2.1
chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.2.3
pcic0: <TI PCI-1251 PCI-CardBus Bridge> rev 0x01 int a irq 11 on pci0.3.0
pcic1: <TI PCI-1251 PCI-CardBus Bridge> rev 0x01 int a irq 11 on pci0.3.1
Probing for devices on PCI bus 1:
vga0: <NeoMagic model 0005 VGA-compatible display device> rev 0x12 int a irq 11 on pci1.0.0
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 flags 0x6 on isa
sc0: VGA color <8 virtual consoles, flags=0x6>
Add hook "system keyboard"
ed0 not found at 0x280
fe0 not found at 0x300
rdp0 not found at 0x378
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
Add hook "PS/2 mouse"
psm0: model Generic PS/2 mouse, device ID 0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 8250
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1 not found at 0x2f8
pca0 on motherboard
pca0: PC speaker audio driver
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <IBM-DBCA-206480>
wd0: 6194MB (12685680 sectors), 13424 cyls, 15 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <SANYO CRD-S372BVA/1.24AVB>, removable, dma, iordis
acd0: drive speed 1377 - 4125KB/sec, 256KB cache
acd0: supported read types: CD-R, CD-RW, CD-DA, packet track
acd0: Audio: play, 256 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: CD-ROM 120mm data disc loaded, unlocked
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
arc0 not found at 0x300
cs0 not found at 0x300
cx0 not found at 0x240
xe0: probe
xe0 not found
el0 not found at 0x300
ep0 not found at 0x300
ex0 not found
ie0: unknown board_id: f000
ie0 not found at 0x300
le0 not found at 0x300
lnc0 not found at 0x280
isic0 not found at 0x140
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
apm0 flags 0x11 on isa
apm: APM BIOS version 0102
apm: Code32 0xc00f0000, Code16 0xc00f0000, Data 0xc0000400
apm: Code entry 0x0000627f, Idling CPU disabled, Management enabled
apm: CS32_limit=0xffff, CS16_limit=0xffff, DS_limit=0xffff
apm: Engaged control enabled
apm: found APM BIOS version 1.2
apm: Slow Idling CPU disabled
Add hook "default suspend"
Add hook "default resume"
joy0 at 0x201 on isa
joy0: joystick
PC-Card VLSI 82C146 (5 mem & 2 I/O windows)
Add hook "VLSI 82C146"
Add hook "VLSI 82C146"
pcic: controller irq 3
Add hook "VLSI 82C146"
Add hook "VLSI 82C146"
Initializing PC-card drivers: ed ep fe xe sio isic
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, logging limited to 100 packets/entry by default
i4b: ISDN call control device attached
i4bisppp: 4 ISDN SyncPPP device(s) attached
i4bctl: ISDN system control port attached
i4bipr: 4 IP over raw HDLC ISDN device(s) attached (VJ header compression)
i4btel: 2 ISDN telephony interface device(s) attached
i4brbch: 4 raw B channel access device(s) attached
i4btrc: 4 ISDN trace device(s) attached
ccd0-3: Concatenated disk drivers
changing root device to wd0s3a
WARNING: / was not properly dismounted
APM ioctl: cmd = 0x20005005
called apm_event_enable()
Card inserted, slot 0
xe: Probing for unit 0
xe0: attach

xe0: Xircom CE3, bonding version 0x45, 100Mbps capable
xe0: DingoID = 0, RevisionID = 0, VendorID = 0
xe0: Ethernet address 00:80:c7:96:4f:da
Add hook "xe_suspend"
Add hook "xe_resume"



Greetings,
Robert

-- 
    Dr. Robert Eckardt          Robert.Eckardt@Rhein-Main.netsurf.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909191625.SAA05885>