Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2002 20:46:37 -0700
From:      "Jamie Hermans" <freebsd@hermans.ca>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        <freebsd-mobile@FreeBSD.ORG>
Subject:   Re: AcerNote 370P (373)
Message-ID:  <003401c289fe$1aa7fab0$641ea8c0@otidan>
References:  <00ed01c28769$46a7c0b0$3d07000a@jhermansxp> <20021109.220005.44519003.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> : I have an AcerNote 370P (373 version) that does not want to play
> : nice with PCMCIA cards.  It locks up the screen and keyboard about
> : 3 seconds after inserting a card (right after the beep).  Once I
> : eject the card, everything plays catch-up on screen.
> 
> OK.  Sounds like we're getting stuck asserting an interrupt during
> the card's configuration.  Sounds like it is pretty generic.  What
> version?

Xircom CE-10/A
USR Sportster 28.8/FAX
3COM EtherLink III 3C589D-TP

Doesn't seem to matter what I put in the slot - or which of the two
slots I put the card in.

> : I've tried leaving only a single IRQ in pccard.conf, reboot, lockup
> : again, try the next IRQ ... rinse, repeat.  No luck.
> : 
> : Anything to try next?
> 
> Are you trying PCI interrupts or ISA interrupts?  hw.pcic.intr_path=1
> is for pci interrupts, =2 for ISA interrupts.  You might try both of
> these.

# sysctl hw.pcic.intr_path
hw.pcic.intr_path: 2

Changed it to 1 in /boot/loader.conf, no difference.

> What kind of PCIC bridge do you have in your machine?

pcic0: <Cirrus logic 6722> at port 0x3e0 iomem 0xd0000 on isa0
pcic0: Polling mode
pccard0: <PC Card bus (classic)> on pcic0
pccard1: <PC Card bus (classic)> on pcic0

123456789012345678901234567890123456789012345678901234567890123456789

Here's my verbose `dmesg` (I was determined and hooked up a serial
cable to capture this) ... at the end, you'll see the messages during
insert/remove of the (any) pccard.

-- Jamie

Hit [Enter] to boot immediately, or any other key for command prompt.

Type '?' for a list of commands, 'help' for more detailed help.
ok boot -v
SMAP type=01 base=00000000 00000000 len=00000000 0009fc00
SMAP type=02 base=00000000 0009fc00 len=00000000 00000400
SMAP type=02 base=00000000 000e0000 len=00000000 00020000
SMAP type=01 base=00000000 00100000 len=00000000 03f00000
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
FreeBSD 4.6.2-RELEASE #0: Wed Aug 14 21:23:26 GMT 2002
    murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC
Calibrating clock(s) ... TSC clock: 132633341 Hz, i8254 clock: 1193198 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: Pentium/P54C (132.63-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 67108864 (65536K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x004f7000 - 0x03ff7fff, 61870080 bytes (15105 pages)
avail memory = 60440576 (59024K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00f0280
bios32: Entry = 0xf0210 (c00f0210)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0x0
pnpbios: Found PnP BIOS data at 0xc00f5460
pnpbios: Entry = f2400:0  Rev = 1.0
Other BIOS signatures found:
ACPI: 00000000
Preloaded elf kernel "kernel" at 0xc04d0000.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
Creating DISK md0
Math emulator present
pci_open(1): mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a): mode1res=0x80000000 (0x80000000)
pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=152110b9)
pcibios: No call entry point
npx0: <math processor> on motherboard
npx0: INT 16 interface
i586_bzero() bandwidth = 125928724 bytes/sec
bzero() bandwidth = 190730497 bytes/sec
pcib0: <Host to PCI bridge> on motherboard
found-> vendor=0x10b9, dev=0x1521, revid=0x1c
 class=06-00-00, hdrtype=0x00, mfdev=0
 subordinatebus=0  secondarybus=0
found-> vendor=0x10b9, dev=0x1523, revid=0x07
 class=06-01-00, hdrtype=0x00, mfdev=1
 subordinatebus=0  secondarybus=0
found-> vendor=0x10b9, dev=0x5219, revid=0x20
 class=01-01-fa, hdrtype=0x00, mfdev=1
 subordinatebus=0  secondarybus=0
 intpin=a, irq=0
 map[20]: type 1, range 32, base 0000f000, size  4
found-> vendor=0x102c, dev=0x00e0, revid=0x45
 class=03-00-00, hdrtype=0x00, mfdev=0
 subordinatebus=0  secondarybus=0
 map[10]: type 1, range 32, base ff000000, size 24
pci0: <PCI bus> on pcib0
isab0: <PCI to ISA bridge (vendor=10b9 device=1523)> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Generic PCI ATA controller> port 0xf000-0xf00f irq 0 at device 2.1 on pci0
atapci0: Busmastering DMA not supported
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x0000
ata0: mask=03 ostat0=50 ostat2=00
ata0-master: ATAPI 00 00
ata0-slave: ATAPI 00 00
ata0: mask=03 stat0=50 stat1=00
ata0-master: ATA 01 a5
ata0: devices=01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000
ata1: mask=01 ostat0=51 ostat2=ff
ata1-master: ATAPI 14 eb
ata1: mask=01 stat0=00 stat1=00
ata1: devices=04
ata1: at 0x170 irq 15 on atapci0
pci0: <Chips & Technologies 65550 SVGA controller> (vendor=0x102c, dev=0x00e0) at 6.0
ex_isa_identify()
ata-: ata0 exists, using next available unit number
ata-: ata1 exists, using next available unit number
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROM> at iomem 0xc0000-0xcafff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata2 failed to probe at port 0x1f0 irq 14 on isa0
ata3 failed to probe at port 0x170 irq 15 on isa0
adv0 failed to probe on isa0
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x330
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x334
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x230
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x234
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x130
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x134
bt0 failed to probe at port 0x134-0x137 on isa0
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0 failed to probe at port 0x134-0x137 on isa0
aic0 failed to probe at port 0x140-0x15f on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0045
atkbd: keyboard ID 0x54ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x1d0000
psm0: current command byte:0045
kbdc: TEST_AUX_PORT status:0000
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:0000
psm: status 00 02 64
psm: status 00 00 64
psm: status 00 03 64
psm: status 00 03 64
psm: data 08 00 00
psm: status 10 00 64
psm: status 00 02 64
psm: data 08 00 00
psm: status 00 02 64
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 01 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 03 20 9c 0e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 00 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 00 01 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 03 20 9c 0e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 00 00 00 00 00 00 10 0e 00 ff 
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
pcic0: <Cirrus logic 6722> at port 0x3e0 iomem 0xd0000 on isa0
pcic0: Polling mode
pccard0: <PC Card bus (classic)> on pcic0
pccard1: <PC Card bus (classic)> on pcic0
pcic1: not probed (disabled)
sio0: irq maps: 0x41 0x51 0x41 0x41
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: irq maps: 0x41 0x41 0x41 0x41
sio1: probe failed test(s): 0 1 2 4 6 7 9
sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0
sio2: not probed (disabled)
sio3: not probed (disabled)
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: EPP SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
bpf: lp0 attached
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0
fe0 failed to probe at port 0x300-0x31f on isa0
ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0
lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0
cs0 failed to probe at port 0x300-0x31f on isa0
sn0 failed to probe at port 0x300-0x30f irq 10 on isa0
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:028c3f3f 0..652=653 cylinders, 0..63=64 heads, 1..63=63 sectors
 1:03feff00 0..1022=1023 cylinders, 0..255=256 heads, 1..0=0 sectors
 4:01eef511 0..494=495 cylinders, 0..245=246 heads, 1..17=17 sectors
 5:016e7511 0..366=367 cylinders, 0..117=118 heads, 1..17=17 sectors
 6:03feff00 0..1022=1023 cylinders, 0..255=256 heads, 1..0=0 sectors
 7:03feff00 0..1022=1023 cylinders, 0..255=256 heads, 1..0=0 sectors
 0 accounted for
Device configuration finished.
bpf: lo0 attached
bpf: ppp0 attached
new masks: bio 68c040, tty 631092, net 671092
bpf: sl0 attached
bpf: faith0 attached
Creating DISK ad0
ar: FreeBSD check1 failed
ad0: <ST91350AG/06.06.02> ATA-3 disk at ata0-master
ad0: 1287MB (2636928 sectors), 2616 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, BIOSPIO
ad0: piomode=4 dmamode=2 udmamode=-1 cblid=0
ata1-master: piomode=3 dmamode=-1 udmamode=-1 dmaflag=0
acd0: <UJDCD8730/1.14> CDROM drive at ata1 as master
acd0: read 1377KB/s (32754KB/s), 128KB buffer, BIOSPIO
acd0: Reads: CD-DA
acd0: Writes:
acd0: Audio: play, 16 volume levels
acd0: Mechanism: tray
acd0: Medium: no/blank disc
Mounting root from ufs:/dev/ad0s1a
ad0s1: type 0xa5, start 0, end = 2636927, size 2636928 
ad0s1: C/H/S end 164/35/63 (374219) != end 2636927: invalid
start_init: trying /sbin/init
swapon: adding /dev/ad0s1b as swap device
Automatic boot in progress...
/dev/ad0s1a: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1a: clean, 47809 free (497 frags, 5914 blocks, 0.8% fragmentation)
/dev/ad0s1e: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1e: clean, 372955 free (8323 frags, 45579 blocks, 1.6% fragmentation)
Setup PC-CARD: memory beep pccardd.
Doing initial network setup:
 hostname.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
 inet6 ::1 prefixlen 128 
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
 inet 127.0.0.1 netmask 0xff000000 
Additional routing options: TCP keepalive=YES.
Routing daemons:.
Additional daemons: syslogd.
Doing additional network setup:.
Starting final network daemons:.
ELF ldconfig path: /usr/lib /usr/lib/compat
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
Starting standard daemons: inetd cron sshd sendmail sendmail-clientmqueue.
Initial rc.i386 initialization:.
Configuring syscons: blanktime.
Additional ABI support:.
Local package initialization:.
Additional TCP options:.

Mon Nov 11 20:22:12 MST 2002

FreeBSD/i386 (Amnesiac) (ttyd0)

login: root

Last login: Mon Nov 11 20:20:47 on ttyd0
Nov 11 20:22:21  login: ROOT LOGIN (root) ON ttyd0

Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.

FreeBSD 4.6.2-RELEASE (GENERIC) #0: Wed Aug 14 21:23:26 GMT 2002

Welcome to FreeBSD!

# pcic0: Autodetected 3.3V card
pccard: card inserted, slot 0
pcic0: reset 1 int is 0 stat is cc
pcic0: reset 2 int is 60 stat is cc
pcic0: reset 3 int is 60 stat is cc
Nov 11 20:22:32  pccardd[44]: No card in database for "(null)"("(null)")
pccard: card removed, slot 0

# tail -8 /var/log/messages 
Nov 11 20:22:21  login: ROOT LOGIN (root) ON ttyd0
Nov 11 20:22:26  /kernel: pcic0: Autodetected 3.3V card
Nov 11 20:22:26  /kernel: pccard: card inserted, slot 0
Nov 11 20:22:26  /kernel: pcic0: reset 1 int is 0 stat is cc
Nov 11 20:22:27  /kernel: pcic0: reset 2 int is 60 stat is cc
Nov 11 20:22:27  /kernel: pcic0: reset 3 int is 60 stat is cc
Nov 11 20:22:32  pccardd[44]: No card in database for "(null)"("(null)")
Nov 11 20:22:32  /kernel: pccard: card removed, slot 0
# exit


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?003401c289fe$1aa7fab0$641ea8c0>