Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2001 08:37:04 +1000 (EST)
From:      Tony Maher <tonym@biolateral.com.au>
To:        mobile@freebsd.org
Subject:   slight pccard problem
Message-ID:  <200108152237.f7FMb4j26196@dt.home>

next in thread | raw e-mail | index | archive | help
Hello

It looks like the pccard changes may have bit me ;-)

I cvsupped about 12 hours ago and did:

make buildworld
make kernel
reboot

#everything seemed ok (even if pccardd was out of sync with kernel)

make installworld
mergemaster
reboot


Now booting hangs when it sees the second card. Removing the second card 
and booting continues normally.  Insert the second card and the system hangs
- removing and everything works fine again.
It appears to be just this particular card (Psion Dacom 56k+Fax Gold Card).
Inserting an Adaptec 1460D in the second slot works fine.
Inserting the modem card into first slot by itself - same hanging behaviour.
THe ethernet card works fine as well.


-----------------------------------------------------------------------------
pcic1: Event mask 0xa
pcic1: Event mask 0x2
pcic1: Event mask 0x6
pcic1: debounced state is 0x30000510
pccard: card inserted, slot 1
pcic1: Event mask 0x9
Aug 16 08:18:11 dt pccardd[1289]: Card "Psion Dacom"("Gold Card Global 56K+Fax") [56K+Fax] [V8.25] matched "Psion Dacom" ("Gold Card Global 56K+Fax") [(null)] [(null)] 

### after a couple of seconds it freezes
### ejecting the card and it continues with

sio4 at port 0x2f8-0x2ff irq 11 slot 1 on pccard1
sio4: typepcic1: Event mask 0x6
 16550A
Aug 16 08:18:23 dt pccardd[1289]: sio4: Psion Dacom (Gold Card Global 56K+Fax) inserted.
pcic1: debounced state is 0x30000116
sio4: unloaded
sio4: detached
pccard: card removed, slot 1
Aug 16 08:18:23 dt pccardd[1289]: sio4: Psion Dacom (Gold Card Global 56K+Fax) removed.
-----------------------------------------------------------------------------

The last thing it does is print (on console in bold) is the 'sio4: ' line
The typepcic1 come after ejecting.

One other thing that looks odd (but I havent looked at vmstat -i output
for a while)

-----------------------------------------------------------------------------
 vmstat -i
interrupt                   total       rate
mux irq11                 5843544       3826
ata0 irq14                   3351          2
ata1 irq15                      4          0
uhci0 irq10                 29907         19
fdc0 irq6                       2          0
atkbd0 irq1                  4348          2
clk irq0                   152632         99
Total                     6033788       3951
-----------------------------------------------------------------------------


Machine is Dell Inspiron 3500
pccard runs with default config
(pccardd -z -f /etc/defaults/pccard.conf)

-----------------------------------------------------------------------------
Copyright (c) 1992-2001 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.4-PRERELEASE #4: Wed Aug 15 22:07:01 EST 2001
    root@dt.home:/usr/obj/usr/src/sys/DT
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (397.05-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,PA
T,PSE36,MMX,FXSR>
real memory  = 134152192 (131008K bytes)
avail memory = 125784064 (122836K bytes)
Preloaded elf kernel "kernel" at 0xc045c000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 4 entries at 0xc00fdf80
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NeoMagic MagicMedia 256AV SVGA controller> at 0.0
chip1: <NeoMagic MagicMedia 256AX Audio controller> mem 0xfe700000-0xfe7fffff,0x
fe000000-0xfe3fffff irq 11 at device 0.1 on pci1
pcib0: intreq
pci_cfgintr_unique: hard-routed to irq 11
pci_cfgintr: 0:4 INTA routed to irq 11
pcic0: <TI PCI-1220 PCI-CardBus Bridge> irq 11 at device 4.0 on pci0
pcic0: PCI Memory allocated: 0x44000000
pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][pci only]
pccard0: <PC Card bus (classic)> on pcic0
pcib0: intreq
pci_cfgintr_unique: hard-routed to irq 11
pci_cfgintr: 0:4 INTA routed to irq 11
pcic1: <TI PCI-1220 PCI-CardBus Bridge> irq 11 at device 4.1 on pci0
pcic1: PCI Memory allocated: 0x44001000
pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][pci only]
pccard1: <PC Card bus (classic)> on pcic1
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfcd0-0xfcdf at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfce0-0xfcff irq 10 at de
vice 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 2
uhub1: 4 ports with 4 removable, self powered
ums0: Logitech USB-PS/2 Mouse M-BA47, rev 1.00/1.20, addr 3, iclass 3/1
ums0: 4 buttons and Z dir.
chip2: <Intel 82371AB Power management controller> port 0x2180-0x218f at device 
7.3 on pci0
orm0: <Option ROM> at iomem 0xc0000-0xcbfff 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
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
ppc0: parallel port not found.
pcm0: <CS4231> at port 0x530-0x537,0x538-0x539,0xf8c-0xf94,0xe0e irq 7 drq 0 fla
gs 0xa111 on isa0
pcic0: Event mask 0xf
pcic1: Event mask 0xf
IPv6 packet filtering initialized, default to accept, logging limited to 100 pac
kets/entry
DUMMYNET initialized (010124)
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, 
default to accept, logging limited to 100 packets/entry by default
BRIDGE 010131, have 5 interfaces
IPsec: Initialized Security Association Processing.
pccard: card inserted, slot 0
pccard: card inserted, slot 1
pcic0: debounced state is 0x30000419
pcic1: debounced state is 0x30000419
pccard: card inserted, slot 0
pccard: card inserted, slot 1
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: identify failed
ad0: 9590MB <FUJITSU MHG2102AT> [19485/16/63] at ata0-master UDMA33
acd0: DVD-ROM <TOSHIBA DVD-ROM SD-C2202> at ata1-master using PIO4
Mounting root from ufs:/dev/ad0s1a
ed1 at port 0x240-0x25f irq 11 slot 0 on pccard0
ed1: address 00:80:c8:8f:29:aa, type NE2000 (16 bit) 
sio4 at port 0x2f8-0x2ff irq 11 slot 1 on pccard1
sio4: typepcic1: Event mask 0x6       <<<<<<< Card removed here **********
 16550A
pcic1: Event mask 0x4
pcic1: Event mask 0x4
pcic1: debounced state is 0x30000186
sio4: unloaded
sio4: detached
pccard: card removed, slot 1
pcic1: Event mask 0x8
-----------------------------------------------------------------------------


thanks
tonym

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?200108152237.f7FMb4j26196>