How do I set hardware parameters?

Erik Nørgaard norgaard at locolomo.org
Sun Jul 30 12:22:42 UTC 2006


Hi:

I have a lot of problems with my new laptop (VAIO FJ3S/FJ1S) that seem
to relate to conflicting hardware, it's been years since I've last had
this kind of problems.

The wireless nic doesn't work, it's on irq 10 but the first ifconfig
causes an irq storm on irq 5. The USB doesn't work, it doesn't register
new devices when attached, and even if I attach a usb mouse before boot,
I doesn't work. The cardbus doesn't work either, I could live with a
malfunctioning wireless nic if I could then use my pcmcia card from my
old laptop.

Everything is on a ICH6 bus:

lspci -tv
-[0000:00]-+-00.0  Intel Corporation Mobile 915GM/PM/GMS/910GML Express
           |       Processor to DRAM Controller
           +-02.0  Intel Corporation Mobile 915GM/GMS/910GML Express
           |       Graphics Controller
           +-02.1  Intel Corporation Mobile 915GM/GMS/910GML Express
           |       Graphics Controller
           +-1b.0  Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
           |       High Definition Audio Controller
           +-1d.0  Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
           |       USB UHCI #1
           +-1d.1  Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
           |       USB UHCI #2
           +-1d.7  Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
           |       USB2 EHCI Controller
           +-1e.0-[0000:06-07]--+-08.0  Realtek Semiconductor Co., Ltd.
           |                    |       RTL-8139/8139C/8139C+
           |                    +-09.0  Texas Instruments PCI7420
           |                    |       CardBus Controller
           |                    +-09.2  Texas Instruments PCI7x20
           |                    |       1394a-2000 OHCI Two-Port
           |                    |        PHY/Link-Layer Controller
           |                    +-09.3  Texas Instruments
           |                    |       PCI7420/PCI7620 Dual Socket
           |                    |       CardBus and Smart Card Cont. w/
           |                    |       1394a-2000 OHCI Two-Port
           |                    |       PHY/Link-Layer Cont. and
           |                    |       SD/MS-Pro Sockets
           |                    \-0a.0  Intel Corporation PRO/Wireless
           |                            2200BG
           +-1f.0  Intel Corporation 82801FBM (ICH6M) LPC Interface
           |       Bridge
           +-1f.2  Intel Corporation 82801FBM (ICH6M) SATA Controller
           \-1f.3  Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
                   SMBus Controller

How do I manually configure the hardware device parameters? I suppose
that setting these in loader.conf will override device.hints?

Is there any way to tweak hardware configuration after boot? (so I can
try and retry without endless rebooting)

How do I figure out which parameters that can be set? Are there any
tools for figuring out the right values?

Is there a way I can elimiate problematic devices so they don't interfere?

dmesg and pciconf -bv follows below.

Thanks! Erik

FreeBSD 6.1-STABLE #2: Sat Jul 29 15:17:47 CEST 2006
    norgaard at photon:/usr/obj/usr/src/sys/VAIO
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1.73GHz (1729.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6d8  Stepping = 8

Features=0xafe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
  Features2=0x180<EST,TM2>
  AMD Features=0x100000<NX>
real memory  = 1063845888 (1014 MB)
avail memory = 1036279808 (988 MB)
kbd1 at kbdmux0
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82915GM (915GM GMCH) SVGA controller> port 0x1800-0x1807
mem 0xb0080000-0xb00fffff,0xc0000000-0xcfffffff,0xb0040000-0xb007ffff
irq 10 at device 2.0 on pci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
drmsub0: <Intel i915GM>: (child of agp_i810.c) on agp0
info: [drm] AGP at 0xb0080000 0MB
info: [drm] Initialized i915 1.4.0 20060119
pci0: <display> at device 2.1 (no driver attached)
pci0: <multimedia> at device 27.0 (no driver attached)
uhci0: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A> port
0x1820-0x183f irq 5 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801FB/FR/FW/FRW (ICH6) 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
uhci1: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B> port
0x1840-0x185f irq 10 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801FB/FR/FW/FRW (ICH6) 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
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib1: <PCI-PCI bridge> at device 30.0 on pci0
pci6: <PCI bus> on pcib1
rl0: <RealTek 8139 10/100BaseTX> port 0x2000-0x20ff mem
0xb0104000-0xb01040ff irq 10 at device 8.0 on pci6
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:13:a9:44:44:a8
cbb0: <PCI-CardBus Bridge> mem 0xb0105000-0xb0105fff irq 10 at device
9.0 on pci6
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pci6: <serial bus, FireWire> at device 9.2 (no driver attached)
pci6: <mass storage> at device 9.3 (no driver attached)
pci6: <network> at device 10.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH6 SATA150 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1870-0x187f at device 31.2 on pci0
atapci0: failed to enable memory mapping!
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
ichsmb0: <SMBus controller> port 0x18a0-0x18bf irq 10 at device 31.3 on pci0
ichsmb0: [GIANT-LOCKED]
smbus0: <System Management Bus> on ichsmb0
smb0: <SMBus generic I/O> on smbus0
orm0: <ISA Option ROMs> at iomem
0xc0000-0xcffff,0xd0000-0xd0fff,0xdb800-0xdbfff,0xdc000-0xdffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model GlidePoint, device ID 0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
speaker0: <PC speaker> at port 0x61 on isa0
unknown: <PNP0c02> can't assign resources (memory)
unknown: <INT0800> can't assign resources (memory)
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0f13> can't assign resources (irq)
Timecounter "TSC" frequency 1729014114 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 95396MB <TOSHIBA MK1032GSX AS021G> at ata0-master SATA150
acd0: DVDR <MATSHITADVD-RAM UJ-850S/1.00> at ata1-master UDMA33

lspci -bv
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML
Express Processor to DRAM Controller (rev 03)
        Subsystem: Sony Corporation Unknown device 81f1
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information

00:02.0 VGA compatible controller: Intel Corporation Mobile
915GM/GMS/910GML Express Graphics Controller (rev 03) (prog-if 00 [VGA])
        Subsystem: Sony Corporation Unknown device 81f1
        Flags: bus master, fast devsel, latency 0, IRQ 10
        Memory at b0080000 (32-bit, non-prefetchable)
        I/O ports at 1800
        Memory at c0000000 (32-bit, prefetchable)
        Memory at b0040000 (32-bit, non-prefetchable)
        Capabilities: [d0] Power Management version 2

00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML
Express Graphics Controller (rev 03)
        Subsystem: Sony Corporation Unknown device 81f1
        Flags: fast devsel
        Memory at fff80000 (32-bit, non-prefetchable) [disabled]
        Capabilities: [d0] Power Management version 2

00:1b.0 Class 0403: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) High Definition Audio Controller (rev 03)
        Subsystem: Sony Corporation Unknown device 81f1
        Flags: bus master, fast devsel, latency 0, IRQ 10
        Memory at 00000000b0000000 (64-bit, non-prefetchable)
        Capabilities: [50] Power Management version 2
        Capabilities: [60] Message Signalled Interrupts: 64bit+
Queue=0/0 Enable-
        Capabilities: [70] Express Unknown type IRQ 0

00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #1 (rev 03) (prog-if 00 [UHCI])
        Subsystem: Sony Corporation Unknown device 81f1
        Flags: bus master, medium devsel, latency 0, IRQ 5
        I/O ports at 1820

00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #2 (rev 03) (prog-if 00 [UHCI])
        Subsystem: Sony Corporation Unknown device 81f1
        Flags: bus master, medium devsel, latency 0, IRQ 10
        I/O ports at 1840

00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI])
        Subsystem: Sony Corporation Unknown device 81f1
        Flags: bus master, medium devsel, latency 0, IRQ 5
        Memory at b0004000 (32-bit, non-prefetchable)
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
(prog-if 01 [Subtractive decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=06, subordinate=07, sec-latency=216
        I/O behind bridge: 00002000-00002fff
        Memory behind bridge: b0100000-b01fffff
        Capabilities: [50] #0d [0000]

00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface
Bridge (rev 03)
        Subsystem: Sony Corporation Unknown device 81f1
        Flags: bus master, medium devsel, latency 0

00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA
Controller (rev 03) (prog-if 80 [Master])
        Subsystem: Sony Corporation Unknown device 81f1
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 255
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at 1870
        Capabilities: [70] Power Management version 2

00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
SMBus Controller (rev 03)
        Subsystem: Sony Corporation Unknown device 81f1
        Flags: medium devsel, IRQ 10
        I/O ports at 18a0

06:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Sony Corporation Unknown device 81f1
        Flags: bus master, medium devsel, latency 32, IRQ 10
        I/O ports at 2000
        Memory at b0104000 (32-bit, non-prefetchable)
        Capabilities: [50] Power Management version 2

06:09.0 CardBus bridge: Texas Instruments PCI7420 CardBus Controller
        Subsystem: Sony Corporation Unknown device 81f1
        Flags: bus master, medium devsel, latency 64, IRQ 10
        Memory at b0105000 (32-bit, non-prefetchable)
        Bus: primary=06, secondary=04, subordinate=04, sec-latency=32
        16-bit legacy interface ports at 0001

06:09.2 FireWire (IEEE 1394): Texas Instruments PCI7x20 1394a-2000 OHCI
Two-Port PHY/Link-Layer Controller (prog-if 10 [OHCI])
        Subsystem: Sony Corporation Unknown device 81f1
        Flags: bus master, medium devsel, latency 32, IRQ 7
        Memory at b0104800 (32-bit, non-prefetchable)
        Memory at b0100000 (32-bit, non-prefetchable)
        Capabilities: [44] Power Management version 2

06:09.3 Mass storage controller: <pci_lookup_name: buffer too small>
        Subsystem: Sony Corporation Unknown device 81f1
        Flags: bus master, medium devsel, latency 57, IRQ 10
        Memory at b0106000 (32-bit, non-prefetchable)
        Capabilities: [44] Power Management version 2

06:0a.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)
        Subsystem: Intel Corporation Unknown device 2753
        Flags: medium devsel, IRQ 10
        Memory at b0107000 (32-bit, non-prefetchable)
        Capabilities: [dc] Power Management version 2

-- 
Ph: +34.666334818                      web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4128 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060730/3f695c22/smime.bin


More information about the freebsd-questions mailing list