Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2001 17:42:15 -0700
From:      Ted Faber <faber@ISI.EDU>
To:        Warner Losh <imp@harmony.village.org>
Cc:        John Hay <jhay@icomtek.csir.co.za>, mobile@FreeBSD.ORG
Subject:   Re: HEADS UP: pcic pci attachments merged from current
Message-ID:  <20010816174215.H30807@ted.isi.edu>
In-Reply-To: <200108170017.f7H0HVW36412@harmony.village.org>; from imp@harmony.village.org on Thu, Aug 16, 2001 at 06:17:31PM -0600
References:  <20010816171237.G30807@ted.isi.edu> <20010816153437.E30807@ted.isi.edu> <200108150433.f7F4X1W20487@harmony.village.org> <200108161636.f7GGabV27366@zibbi.icomtek.csir.co.za> <20010816153437.E30807@ted.isi.edu> <200108170009.f7H09NW36246@harmony.village.org> <20010816171237.G30807@ted.isi.edu> <200108170017.f7H0HVW36412@harmony.village.org>

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

--KjSGHOmKKB2VUiQn
Content-Type: multipart/mixed; boundary="apbmkPN6Hu/1dI3g"
Content-Disposition: inline


--apbmkPN6Hu/1dI3g
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, Aug 16, 2001 at 06:17:31PM -0600, Warner Losh wrote:
> In message <20010816171237.G30807@ted.isi.edu> Ted Faber writes:
> : I should have been explicit.  When irq 9 is assigned, the laptop locks
> : up completely.  Ejecting the card sometimes restores the system,
> : sometimes not.
> 
> Ah.  OK.
> 
> It shouldn't do that.

Yeah, I kinda thought not. :-)

>                                                                 When
> IRQ 9 is used, do you find that it locks up
> 	a) if the card is in the machine on boot?

The boot sequence goes fine until the pccardd recognizes the card,
loads the driver and things lock up.  I was able to do this and
restart the system by ejecting the card, so a dmesg from that is
attached.

> 	b) The moment the card is inserted?

No.
> 	c) A few seconds later during the probe of the card (but
> 	   before the probe message prints)

Nope, probe message is printed, and dhcp starts.

> 	d) After the probe/attach sequence on the card's first
> 	   interrupt?

I think this is where things go awry.

> And is this card in slot 0 or slot 1?  And do pcic0 and pcic1 have the
> same interrupt or a different interrupt?

pcic0 and pcic1 report the same parameters (irq 9) with the exception
of the device 19.0 and 19.1 respectively.  The card is in slot 1
(messages come from pcic1). You can see this on the dmesgs.   One is
from a boot with the card in, the other inserted after boot.  They look
the same to me, but maybe you see something I don't.

(Hey, strange fact - I just rebooted after getting the second dmesg
(to a 4.3 kernel from a couple weeks ago) and the usb controller was
in a pretty strange state - stopped or some such.  Maybe nothing.)

In any case, let me know if you need more info.


--apbmkPN6Hu/1dI3g
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg.boot"

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-RC #7: Thu Aug 16 13:47:36 PDT 2001
    root@arvon.lunabase.org:/usr/obj/usr/src/sys/ARVON
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (398.20-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  = 67022848 (65452K bytes)
avail memory = 61886464 (60436K bytes)
Preloaded elf kernel "kernel" at 0xc035d000.
Preloaded elf module "vesa.ko" at 0xc035d09c.
Preloaded elf module "snd_ds1.ko" at 0xc035d138.
Preloaded elf module "snd_pcm.ko" at 0xc035d1d8.
Preloaded elf module "usb.ko" at 0xc035d278.
Preloaded elf module "ugen.ko" at 0xc035d314.
module_register_init: MOD_LOAD (vesa, c0312d04, 0) error 6
Pentium Pro MTRR support enabled
Using $PIR table, 6 entries at 0xc00fdf60
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: <ATI Mobility-1 graphics accelerator> at 0.0 irq 9
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf090-0xf09f 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 0xf0a0-0xf0bf irq 9 at device 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
chip1: <Intel 82371AB Power management controller> port 0xff80-0xff8f at device 7.3 on pci0
pcm0: <Yamaha DS-1E (YMF744)> port 0xf08c-0xf08f,0xf0c0-0xf0ff mem 0xfedf8000-0xfedfffff irq 9 at device 13.0 on pci0
pci0: <unknown card> (vendor=0x11c1, dev=0x044a) at 16.0 irq 9
pcic0: <TI PCI-1225 PCI-CardBus Bridge> irq 9 at device 19.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
pcic1: <TI PCI-1225 PCI-CardBus Bridge> irq 9 at device 19.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
orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
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> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
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
sio0 at port 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pps0: <Pulse per second Timing Interface> on ppbus0
pcic1: Event mask 0xf
IPsec: Initialized Security Association Processing.
pccard: card inserted, slot 1
pcic1: debounced state is 0x30000519
pccard: card inserted, slot 1
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: identify failed
ad0: 6194MB <FUJITSU MHE2064AT> [13424/15/63] at ata0-master UDMA33
acd0: CDROM <NEC CD-ROM DRIVE:282> at ata1-master using PIO4
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
ed0 at port 0x300-0x31f irq 9 slot 1 on pccard1
ed0: address 00:e0:98:7c:fb:21, type Linksys (16 bit) 
lxtphy0: <LXT970 10/100 media interface> on miibus0
lxtphy0:  100baseFX, 100baseFX-FDX, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcic1: Event mask 0x6
IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging disabled
pcic1: debounced state is 0x30000116
lxtphy0: detached
miibus0: detached
ed0: detached
pccard: card removed, slot 1
pcic1: Event mask 0x8

--apbmkPN6Hu/1dI3g
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg.swap"

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-RC #7: Thu Aug 16 13:47:36 PDT 2001
    root@arvon.lunabase.org:/usr/obj/usr/src/sys/ARVON
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (398.20-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  = 67022848 (65452K bytes)
avail memory = 61886464 (60436K bytes)
Preloaded elf kernel "kernel" at 0xc035d000.
Preloaded elf module "vesa.ko" at 0xc035d09c.
Preloaded elf module "snd_ds1.ko" at 0xc035d138.
Preloaded elf module "snd_pcm.ko" at 0xc035d1d8.
Preloaded elf module "usb.ko" at 0xc035d278.
Preloaded elf module "ugen.ko" at 0xc035d314.
module_register_init: MOD_LOAD (vesa, c0312d04, 0) error 6
Pentium Pro MTRR support enabled
Using $PIR table, 6 entries at 0xc00fdf60
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: <ATI Mobility-1 graphics accelerator> at 0.0 irq 9
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf090-0xf09f 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 0xf0a0-0xf0bf irq 9 at device 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
chip1: <Intel 82371AB Power management controller> port 0xff80-0xff8f at device 7.3 on pci0
pcm0: <Yamaha DS-1E (YMF744)> port 0xf08c-0xf08f,0xf0c0-0xf0ff mem 0xfedf8000-0xfedfffff irq 9 at device 13.0 on pci0
pci0: <unknown card> (vendor=0x11c1, dev=0x044a) at 16.0 irq 9
pcic0: <TI PCI-1225 PCI-CardBus Bridge> irq 9 at device 19.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
pcic1: <TI PCI-1225 PCI-CardBus Bridge> irq 9 at device 19.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
orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
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> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
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
sio0 at port 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pps0: <Pulse per second Timing Interface> on ppbus0
IPsec: Initialized Security Association Processing.
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: identify failed
ad0: 6194MB <FUJITSU MHE2064AT> [13424/15/63] at ata0-master UDMA33
acd0: CDROM <NEC CD-ROM DRIVE:282> at ata1-master using PIO4
Mounting root from ufs:/dev/ad0s1a
pcic1: Event mask 0x4
pcic1: Event mask 0x4
pcic1: Event mask 0x6
pcic1: debounced state is 0x30000510
pcic1: Event mask 0x9
pccard: card inserted, slot 1
ed0 at port 0x300-0x31f irq 9 slot 1 on pccard1
ed0: address 00:e0:98:7c:fb:21, type Linksys (16 bit) 
lxtphy0: <LXT970 10/100 media interface> on miibus0
lxtphy0:  100baseFX, 100baseFX-FDX, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging disabled
pcic1: Event mask 0x6
pcic1: Event mask 0x8
pcic1: debounced state is 0x30000116
lxtphy0: detached
miibus0: detached
ed0: detached
pccard: card removed, slot 1

--apbmkPN6Hu/1dI3g--

--KjSGHOmKKB2VUiQn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7fGhmaUz3f+Zf+XsRAhabAKDI/kbUWmAfGLdy1tmQZElIMY0ulgCfVxhp
0LZnEVW1ut1aiLD0bYWpJ9Q=
=9ywS
-----END PGP SIGNATURE-----

--KjSGHOmKKB2VUiQn--

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?20010816174215.H30807>