Subject: Re: problem s usb
To: None <regional-cs@netbsd.org>
From: Jiri B. <jiri.b@sendmail.cz>
List: regional-cs
Date: 12/28/2004 13:30:28
Lubomir Sedlacik napsal(a):

> skuste skompilovat jadro s "options PCIBIOS_INTR_FIXUP".  usb1
> kontroleru nebolo pridelene ziadne prerusenie, funguje vam len usb2
> cast.

samotna volba nic nevyresila, ale byla navodem k prozkoumani
GENERIC.LAPTOP, kde se vyskytla i s dalsimi. To vedlo k uspesnemu
vyreseni problemu.

Diky

j.

NetBSD 2.99.11 (LAPTOP) #0: Tue Dec 28 13:42:50 CET 2004
	root@:/usr/src/sys/arch/i386/compile/LAPTOP
total memory = 239 MB
avail memory = 228 MB
BIOS32 rev. 0 found at 0xe9810
PCI BIOS rev. 2.1 found at 0xe9824
pcibios: config mechanism [1][x], special cycles [x][x], last bus 1
PCI IRQ Routing Table rev. 1.0 found at 0xfe890, size 160 bytes (8 entries)
PCI Interrupt Router at 000:31:0 (Intel 82801AA LPC Interface Bridge 
compatible)
------------------------------------------
   device vendor product pin PIRQ IRQ stage
------------------------------------------
000:02:0 0x8086 0x3582   A  0x00  11  0    already assigned
000:29:0 0x8086 0x24c2   A  0x00  11  0    fixed up
000:29:1 0x8086 0x24c4   B  0x03   5  2    fixed up
000:29:2 0x8086 0x24c7   C  0x02   5  2    fixed up
000:29:7 0x8086 0x24cd   D  0x07  10  0    already assigned
000:31:1 0x8086 0x24ca   A  0x02   5  2    fixed up
000:31:3 0x8086 0x24c3   B  0x01   5  0    fixed up
000:31:5 0x8086 0x24c5   B  0x01   5  0    already assigned
000:31:6 0x8086 0x24c6   B  0x01   5  0    already assigned
001:00:0 0x1106 0x3044   A  0x04  11  0    already assigned
001:01:0 0x10ec 0x8139   A  0x05  11  0    already assigned
001:02:0 0x8086 0x1043   A  0x06  11  0    already assigned
001:04:0 0x1524 0x1410   A  0x00  11  0    fixed up
------------------------------------------
PCI fixup examining 8086:3580
PCI fixup examining 8086:3584
PCI fixup examining 8086:3585
PCI fixup examining 8086:3582
PCI fixup examining 8086:3582
PCI fixup examining 8086:24c2
PCI fixup examining 8086:24c4
PCI fixup examining 8086:24c7
PCI fixup examining 8086:24cd
PCI fixup examining 8086:2448
PCI fixup examining 1106:3044
PCI fixup examining 10ec:8139
PCI fixup examining 8086:1043
PCI fixup examining 1524:1410
PCI bridge 1: primary 1, secondary 2, subordinate 2
PCI bridge 0: primary 0, secondary 1, subordinate 2
PCI fixup examining 8086:24cc
PCI fixup examining 8086:24ca
PCI fixup examining 8086:24c3
PCI fixup examining 8086:24c5
PCI fixup examining 8086:24c6
PCI bus #2 is the last bus
[System BIOS Setting]-----------------------
   device vendor product
   register space address    size
--------------------------------------------
000:00:0 0x8086 0x3580
		[OK]
000:00:1 0x8086 0x3584
		[OK]
000:00:3 0x8086 0x3585
		[OK]
000:02:0 0x8086 0x3582
	10h mem  0xb0000000 0x08000000
	14h mem  0xf0000000 0x00080000
	18h port 0x0000e000 0x00000008
		[OK]
000:02:1 0x8086 0x3582
	10h mem  0x00000000 0x08000000
	14h mem  0x00000000 0x00080000
		[NG]
000:29:0 0x8086 0x24c2
	20h port 0x00001200 0x00000020
		[OK]
000:29:1 0x8086 0x24c4
	20h port 0x00001600 0x00000020
		[OK]
000:29:2 0x8086 0x24c7
	20h port 0x00001700 0x00000020
		[OK]
000:29:7 0x8086 0x24cd
	10h mem  0xf0080000 0x00000400
		[OK]
000:30:0 0x8086 0x2448
		[OK]
000:31:0 0x8086 0x24cc
		[OK]
000:31:1 0x8086 0x24ca
	10h port 0x00000000 0x00000008
	14h port 0x00000000 0x00000004
	18h port 0x00000000 0x00000008
	1ch port 0x00000000 0x00000004
	20h port 0x00001100 0x00000010
	24h mem  0x00000000 0x00000400
		[NG]
000:31:3 0x8086 0x24c3
	20h port 0x00001400 0x00000020
		[OK]
000:31:5 0x8086 0x24c5
	10h port 0x0000e100 0x00000100
	14h port 0x0000e200 0x00000040
	18h mem  0xf0080400 0x00000200
	1ch mem  0xf0080600 0x00000100
		[OK]
000:31:6 0x8086 0x24c6
	10h port 0x0000e300 0x00000100
	14h port 0x0000e400 0x00000080
		[OK]
001:00:0 0x1106 0x3044
	10h mem  0xe0001800 0x00000800
	14h port 0x0000c100 0x00000080
		[OK]
001:01:0 0x10ec 0x8139
	10h port 0x0000c000 0x00000100
	14h mem  0xe0001000 0x00000100
		[OK]
001:02:0 0x8086 0x1043
	10h mem  0xe0000000 0x00001000
		[OK]
001:04:0 0x1524 0x1410
	10h mem  0x00000000 0x00001000
		[NG]
--------------------------[  3 devices bogus]
  Physical memory end: 0x0efec000
  PCI memory mapped I/O space start: 0x0f000000
[PCIBIOS fixup stage]-----------------------
   device vendor product
   register space address    size
--------------------------------------------
000:00:0 0x8086 0x3580
		[OK]
000:00:1 0x8086 0x3584
		[OK]
000:00:3 0x8086 0x3585
		[OK]
000:02:0 0x8086 0x3582
	10h mem  0xb0000000 0x08000000
	14h mem  0xf0000000 0x00080000
	18h port 0x0000e000 0x00000008
		[OK]
000:02:1 0x8086 0x3582
	10h mem  0x10000000 0x08000000
	14h mem  0x0f000000 0x00080000
		[OK]
000:29:0 0x8086 0x24c2
	20h port 0x00001200 0x00000020
		[OK]
000:29:1 0x8086 0x24c4
	20h port 0x00001600 0x00000020
		[OK]
000:29:2 0x8086 0x24c7
	20h port 0x00001700 0x00000020
		[OK]
000:29:7 0x8086 0x24cd
	10h mem  0xf0080000 0x00000400
		[OK]
000:30:0 0x8086 0x2448
		[OK]
000:31:0 0x8086 0x24cc
		[OK]
000:31:1 0x8086 0x24ca
	10h port 0x00005800 0x00000008
	14h port 0x00005808 0x00000004
	18h port 0x00005810 0x00000008
	1ch port 0x0000580c 0x00000004
	20h port 0x00001100 0x00000010
	24h mem  0x0f080000 0x00000400
		[OK]
000:31:3 0x8086 0x24c3
	20h port 0x00001400 0x00000020
		[OK]
000:31:5 0x8086 0x24c5
	10h port 0x0000e100 0x00000100
	14h port 0x0000e200 0x00000040
	18h mem  0xf0080400 0x00000200
	1ch mem  0xf0080600 0x00000100
		[OK]
000:31:6 0x8086 0x24c6
	10h port 0x0000e300 0x00000100
	14h port 0x0000e400 0x00000080
		[OK]
001:00:0 0x1106 0x3044
	10h mem  0xe0001800 0x00000800
	14h port 0x0000c100 0x00000080
		[OK]
001:01:0 0x10ec 0x8139
	10h port 0x0000c000 0x00000100
	14h mem  0xe0001000 0x00000100
		[OK]
001:02:0 0x8086 0x1043
	10h mem  0xe0000000 0x00001000
		[OK]
001:04:0 0x1524 0x1410
	10h mem  0x0f081000 0x00001000
		[OK]
--------------------------[  0 devices bogus]
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium M (Banias) (686-class), 1298.96 MHz, id 0x695
cpu0: features a7e9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR>
cpu0: features a7e9f9bf<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu0: features a7e9f9bf<FXSR,SSE,SSE2,TM,SBF>
cpu0: features2 180<EST,TM2>
cpu0: "Intel(R) Pentium(R) M processor 1300MHz"
cpu0: using thermal monitor 2
cpu0: Enhanced SpeedStep running at 1300 MHz (1388 mV)
cpu0: Enhanced SpeedStep frequencies available (MHz): 1300 1200 1000 800 600
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82855GM Host-Hub Controller (rev. 0x02)
agp0 at pchb0: detected 16252k stolen memory
agp0: aperture at 0xb0000000, size 0x8000000
Intel 82855GM GMCH Memory Controller (miscellaneous system, revision 
0x02) at pci0 dev 0 function 1 not configured
Intel 82855GM GMCH Configuration Process (miscellaneous system, revision 
0x02) at pci0 dev 0 function 3 not configured
vga1 at pci0 dev 2 function 0: Intel 82855GM GMCH Integrated Graphics 
Device (rev. 0x02)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
Intel 82855GM GMCH Integrated Graphics Device (miscellaneous display, 
revision 0x02) at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0: Intel 82801DB USB UHCI Controller (rev. 
0x03)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801DB USB UHCI Controller (rev. 
0x03)
uhci1: interrupting at irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801DB USB UHCI Controller (rev. 
0x03)
uhci2: interrupting at irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: Intel 82801DB USB EHCI Controller (rev. 
0x03)
ehci0: interrupting at irq 10
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: single transaction translator
uhub3: 6 ports with 6 removable, self powered
ppb0 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI Bridge (rev. 0x83)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
VIA Technologies VT6306 IEEE 1394 Host Controller (Firewire serial bus, 
interface 0x10, revision 0x80) at pci1 dev 0 function 0 not configured
rtk0 at pci1 dev 1 function 0: Realtek 8139 10/100BaseTX
rtk0: interrupting at irq 11
rtk0: Ethernet address 00:02:3f:bc:64:29
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ipw0 at pci1 dev 2 function 0: Intel PRO/Wireless LAN 2100 3B Mini-PCI 
Adapter (rev. 0x04)
ipw0: interrupting at irq 11
ipw0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
cbb0 at pci1 dev 4 function 0: ENE Technology CB1410 CardBus Controller 
(rev. 0x01)
cbb0: interrupting at irq 11
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801DB ISA Bridge (rev. 0x03)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801DBM IDE Controller (ICH4-M) (rev. 0x03)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
Intel 82801DB SMBus Controller (SMBus serial bus, revision 0x03) at pci0 
dev 31 function 3 not configured
auich0 at pci0 dev 31 function 5: i82801DB/DBM (ICH4/ICH4M) AC-97 Audio
auich0: interrupting at irq 5
auich0: ac97: Avance Logic ALC202 codec; headphone, 20 bit DAC, 18 bit 
ADC, Realtek 3D
auich0: ac97: ext id 607<AC97_22,AMAP,SPDIF,DRA,VRA>
Intel 82801DB AC97 Modem Controller (modem communications, revision 
0x03) at pci0 dev 31 function 6 not configured
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
isapnp0: no ISA Plug 'n Play devices found
auich0: measured ac97 link rate at 48001 Hz, will use 48000 Hz
audio0 at auich0: full duplex, mmap, independent
Kernelized RAIDframe activated
wd0 at atabus0 drive 0: <TOSHIBA MK3021GAS>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 28615 MB, 58140 cyl, 16 head, 63 sec, 512 bytes/sect x 58605120 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <Slimtype COMBO LSC-24082K, , JCK1> cdrom 
removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)


-- 
mail: jiri.b@sendmail.cz | jabber: jiri.b@njs.netlab.cz
IRCnet/EFnet/SILCnet: jirib | ICQ: 261273235
GPGfingerprint: 21A1 8E02 CDF0 DCAA B385  A253 EF0C F1CE B618 8EAB