Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2002 18:00:27 -0700
From:      Brad Karp <bkarp@icsi.berkeley.edu>
To:        mobile@freebsd.org
Cc:        jerry@thehutt.org, imp@bsdimp.com, bkarp@icsi.berkeley.edu
Subject:   Sony SRX87: pcics and wi0 watchdog timeouts
Message-ID:  <200207180100.g6I10Rf35934@carp.icir.org>

next in thread | raw e-mail | index | archive | help
This is a multipart MIME message.

--==_Exmh_11071398260
Content-Type: text/plain; charset=us-ascii

> set hw.pcic.irq=0
> set hw.pcic.intr_path=1

Thanks very much, Jerry--those two actually did the trick, and let the install 
from CD-ROM complete!

4.6-RELEASE is usable on the Sony SRX87 now. But there are remaining 
difficulties.

The console hangs on boot just after mounting root, even without the Sony CD51 
PCMCIA ATA CDROM, unless I use hw.pcic.intr_path=1. During boot, intr_path=2 
complains of not being able to route PCI interrupts for INTA for the machine's 
two pcics.

What's odd here (intr_path=2) is that the machine seems to boot fully--the 
disk activity suggests as much, and if I Ctrl-Alt-Del after the console has 
ceased responding, about 50% of the time the display suddenly changes all at 
once to show the (previously generated) messages in accordance with a 
successful boot, followed by a few of the shutdown messages.

The built-in WaveLAN probes perfectly, but no matter which IRQ I use (have 
tried every single one), the device gives "wi0: watchdog timeout"s. ifconfig 
reveals that the card is binding successfully to my AP, but I can't transmit 
anything successfully without a watchdog timeout, nor can I receive anything 
with tcpdump on the wi0 interface.

I enclose a verbose dmesg from a boot with hw.pcic.intr_path=1 below. Any ideas on how I might get my built-in WaveLAN to work, anyone?

Warner: would it be helpful for me to manually type out a copy of a verbose dmesg (with boot -p -v) for what I see when hw.pcic.intr_path=2, before the console stops responding?

Also, if I use the recent changes to /sys/pccard in -STABLE, things get a bit worse: with -STABLE as of this morning, even when booting with hw.pcic.intr_path=1, pccardd sees null device ID strings in the built-in wi device's CIS tuples.

I wonder if getting the second pcic (a TI part) to work with PCI interrupts, rather than ISA, may be the key to making the built-in WaveLAN (which sits behind it) to work. Under WinXP, the TI part is IRQ 9, and so is the WaveLAN card. (...along with other PCI devices also on IRQ 9...)

Any suggestions most appreciated!

-Brad, bkarp@icsi.berkeley.edu


--==_Exmh_11071398260
Content-Type: text/plain ; name="katje.dmesg"; charset=us-ascii
Content-Description: katje.dmesg
Content-Disposition: attachment; filename="katje.dmesg"

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-RELEASE #1: Wed Jul 17 17:06:56 PDT 2002
    root@katje.icir.org:/usr/src/sys/compile/LEIBNIZ
Calibrating clock(s) ... TSC clock: 844609332 Hz, i8254 clock: 1193187 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 III/Pentium III Xeon/Celeron (844.61-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6b1  Stepping = 1
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 266862592 (260608K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009dfff, 643072 bytes (157 pages)
0x0041e000 - 0x0fceffff, 260907008 bytes (63698 pages)
0x0fd00000 - 0x0fe77fff, 1540096 bytes (376 pages)
avail memory = 255557632 (249568K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00f6cd0
bios32: Entry = 0xfd878 (c00fd878)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0x150
pnpbios: Found PnP BIOS data at 0xc00f6d00
pnpbios: Entry = f0000:8aec  Rev = 1.0
Other BIOS signatures found:
ACPI: 000f6c70
Preloaded elf kernel "kernel" at 0xc03f7000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Creating DISK md0
pci_open(1):	mode 1 addr port (0x0cf8) is 0x8000fac0
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=11308086)
Using $PIR table, 9 entries at 0xc00fdf30
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: <Host to PCI bridge> on motherboard
found->	vendor=0x8086, dev=0x1130, revid=0x11
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
found->	vendor=0x8086, dev=0x1132, revid=0x11
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=9
	map[10]: type 1, range 32, base f8000000, size 26
	map[14]: type 1, range 32, base f4000000, size 19
found->	vendor=0x8086, dev=0x2448, revid=0x03
	class=06-04-00, hdrtype=0x01, mfdev=0
	subordinatebus=1 	secondarybus=1
found->	vendor=0x8086, dev=0x244c, revid=0x03
	class=06-01-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x8086, dev=0x244a, revid=0x03
	class=01-01-80, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[20]: type 1, range 32, base 00001800, size  4
found->	vendor=0x8086, dev=0x2442, revid=0x03
	class=0c-03-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=d, irq=9
	map[20]: type 1, range 32, base 00001820, size  5
found->	vendor=0x8086, dev=0x2443, revid=0x03
	class=0c-05-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=b, irq=9
	map[20]: type 1, range 32, base 00001810, size  4
found->	vendor=0x8086, dev=0x2444, revid=0x03
	class=0c-03-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=c, irq=9
	map[20]: type 1, range 32, base 00002400, size  5
found->	vendor=0x8086, dev=0x2445, revid=0x03
	class=04-01-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=b, irq=9
	map[10]: type 1, range 32, base 00001c00, size  8
	map[14]: type 1, range 32, base 00001840, size  6
found->	vendor=0x8086, dev=0x2446, revid=0x03
	class=07-03-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=b, irq=9
	map[10]: type 1, range 32, base 00002000, size  8
	map[14]: type 1, range 32, base 00001880, size  7
pci0: <PCI bus> on pcib0
agp0: <Intel 82815 (i815 GMCH) SVGA controller> mem 0xf4000000-0xf407ffff,0xf8000000-0xfbffffff irq 9 at device 2.0 on pci0
agp0: allocating GATT for aperture of size 64M
pcib1: <PCI to PCI bridge (vendor=8086 device=2448)> at device 30.0 on pci0
found->	vendor=0x104c, dev=0x8023, revid=0x00
	class=0c-00-10, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=9
	map[10]: type 1, range 32, base f4101000, size 11
	map[14]: type 1, range 32, base f4104000, size 14
found->	vendor=0x1180, dev=0x0475, revid=0x80
	class=06-07-00, hdrtype=0x02, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=0
found->	vendor=0x104c, dev=0xac50, revid=0x01
	class=06-07-00, hdrtype=0x02, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=255
found->	vendor=0x8086, dev=0x2449, revid=0x03
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=9
	map[10]: type 1, range 32, base f4100000, size 12
	map[14]: type 1, range 32, base 00003000, size  6
pci1: <PCI bus> on pcib1
pci1: <unknown card> (vendor=0x104c, dev=0x8023) at 0.0 irq 9
pcic0: <Ricoh RL5C475 PCI-CardBus Bridge> irq 0 at device 2.0 on pci1
pcic0: PCI Memory allocated: 0x44000000
pcic0: Polling mode
pcic0: PCI Configuration space:
  0x00: 0x04751180 0x02100007 0x06070080 0x00020000 
  0x10: 0x44000000 0x020000dc 0x00000000 0x00000000 
  0x20: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x30: 0x00000000 0x00000000 0x00000000 0x07a00100 
  0x40: 0x80f2104d 0x00000001 0x00000000 0x00000000 
  0x50: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x60: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x70: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x80: 0x04a20001 0x00000000 0x04630463 0x30000000 
  0x90: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xa0: 0x00000010 0x00000000 0x000f0000 0x00000000 
  0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xc0: 0x80f2104d 0x00000000 0x00000000 0x00000000 
  0xd0: 0x00000000 0x00000000 0x00000000 0xfe0a0001 
  0xe0: 0x24c04000 0x00000000 0x00000000 0x00000000 
  0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 
pccard0: <PC Card bus (classic)> on pcic0
pcic1: <TI PCI-1410 PCI-CardBus Bridge> at device 5.0 on pci1
pcic1: PCI Memory allocated: 0x44001000
pcic1: Polling mode
pcic1: TI12XX PCI Config Reg: [pwr save][pci only]
pcic1: PCI Configuration space:
  0x00: 0xac50104c 0x02100003 0x06070001 0x00020000 
  0x10: 0x44001000 0x020000a0 0x00000000 0x00000000 
  0x20: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x30: 0x00000000 0x00000000 0x00000000 0x07e001ff 
  0x40: 0xab0112a3 0x00000001 0x00000000 0x00000000 
  0x50: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x60: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x70: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x80: 0x00449060 0x00000000 0x00000000 0x01000002 
  0x90: 0x616000c0 0x00000000 0x00000000 0x00000000 
  0xa0: 0xfe110001 0x00c00000 0x0000000e 0x0000001b 
  0xb0: 0x08000000 0x00000000 0x00000000 0x00000000 
  0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 
pccard1: <PC Card bus (classic)> on pcic1
fxp0: <Intel Pro/100 Ethernet> port 0x3000-0x303f mem 0xf4100000-0xf4100fff irq 9 at device 8.0 on pci1
fxp0: using memory space register mapping
fxp0: Ethernet address 08:00:46:54:26:d6
fxp0: PCI IDs: 8086 2449 104d 8111 0003
fxp0: Dynamic Standby mode is disabled
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: fxp0 attached
isab0: <PCI to ISA bridge (vendor=8086 device=244c)> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 ATA100 controller> port 0x1800-0x180f at device 31.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x1800
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=0x1808
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0x1820-0x183f irq 9 at device 31.2 on pci0
	using shared irq9.
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> 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
pci0: <unknown card> (vendor=0x8086, dev=0x2443) at 31.3 irq 9
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0x2400-0x241f irq 9 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ugen0: Sony USB Memory Stick Slot, rev 1.10/1.09, addr 2
pcm0: <Intel 82801BA (ICH2)> port 0x1840-0x187f,0x1c00-0x1cff irq 9 at device 31.5 on pci0
pcm0: ac97 codec id 0x594d4803
pcm0: ac97 codec features 18 bit DAC, 5 bit master volume, no 3D Stereo Enhancement
pcm0: ac97 primary codec extended features reserved 1, AMAP, reserved 4
pcm0: sndbuf_setmap 5000, 4000; 0xd0352000 -> 5000
pcm0: sndbuf_setmap 9000, 4000; 0xd0356000 -> 9000
pcm0: measured ac97 link rate at 47994 Hz, will use 48000 Hz
pci0: <unknown card> (vendor=0x8086, dev=0x2446) at 31.6 irq 9
ex_isa_identify()
ata-: ata0 exists, using next available unit number
ata-: ata1 exists, using next available unit number
pcic-: pcic0 exists, using next available unit number
pcic-: pcic1 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 ROMs> at iomem 0xc0000-0xcbfff,0xd8000-0xdbfff,0xdc000-0xdffff on isa0
ata2 failed to probe at port 0x1f0 irq 14 on isa0
ata3 failed to probe at port 0x170 irq 15 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 0047
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0047
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0-00, 2 buttons
psm0: config:00006000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
spic0: device model type = 2
spic0: <Sony Programmable I/O Controller> at port 0x10a0-0x10a4 on isa0
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 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 07 80 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 
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 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 
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
pcic2 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
pcic3 failed to probe at port 0x3e2 iomem 0xd4000 on isa0
ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0
fe0 failed to probe at port 0x300-0x31f on isa0
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: lo0 attached
bpf: faith0 attached
ad0: success setting UDMA5 on Intel chip
Creating DISK ad0
ar: FreeBSD check1 failed
ad0: <HITACHI_DK23DA-20/00J2A0D1> ATA-5 disk at ata0-master
ad0: 19077MB (39070080 sectors), 38760 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA100
ad0: piomode=4 dmamode=2 udmamode=5 cblid=1
Mounting root from ufs:/dev/ad0s2a
ad0s1: type 0x7, start 63, end = 14329979, size 14329917 : OK
ad0s2: type 0xa5, start 14329980, end = 39070079, size 24740100 : OK
WARNING: / was not properly dismounted
start_init: trying /sbin/init
pcic1: Autodetected 3.3V card
pccard: card inserted, slot 1
pcic1: reset 1 int is 0 stat is 4f
pcic1: reset 2 int is 60 stat is 4f
pcic1: reset 3 int is 60 stat is 6f
splash: image decoder found: blank_saver
Linux ELF exec handler installed
pccard1: Assigning wi0: io 0x240-0x27f irq 3 mem 0x0-0xffffffff
pcic: I/O win 0 flags 15 240-27f
pcic: I/O win 0 flags 5 240-27f
wi0 at port 0x240-0x27f irq 3 slot 1 on pccard1
pcic: I/O win 0 flags 15 240-27f
wi0: 802.11 address: 00:02:2d:5c:fc:05
wi0: using Lucent Embedded WaveLAN/IEEE
wi0: Lucent Firmware: Station 6.16.01
wi0: wi_has_wep = 1
bpf: wi0 attached
wi0: watchdog timeout

--==_Exmh_11071398260--



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?200207180100.g6I10Rf35934>