Re: IBM T30 problems with fxp0, sound and acpi/mouse.

From: Kevin Oberman <oberman_at_es.net>
Date: Tue, 06 May 2003 14:48:58 -0700
> Date: Tue, 6 May 2003 23:20:10 +0200
> From: hans_at_lambermont.dyndns.org (Hans Lambermont)
> Sender: owner-freebsd-current_at_freebsd.org
> 
> 
> --ew6BAiZeqk4r7MaW
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> 
> IBM T30 problems with fxp0, sound and acpi/mouse.
> I upgraded to 5.0 from -stable and am now trying to upgrade to -head.
> I'm testing with the GENERIC kernel and stumble into the following
> problems:
> 
> Using fxp0 causes timeouts on -head (works fine on 5.0-RELEASE-p7).
> 
>     fxp0: <Intel 82801CAM (ICH3) Pro/100 VE Ethernet> port 0x8000-0x803f mem 0xd0200000-0xd0200fff irq 11 at device 8.0 on pci2
>     fxp0: Ethernet address 00:09:6b:30:a2:45
>     miibus0: <MII bus> on fxp0
>     ...
>     fxp0: device timeout
> 
> These device timeouts render fxp0 useless. On 5.0-RELEASE-p7 fxp0 works
> fine, but there are some complaints in dmesg :
> 
>     module_register: module pci/if_fxp already exists!
>     Module pci/if_fxp failed to register: 17
>     module_register: module cardbus/if_fxp already exists!
>     Module cardbus/if_fxp failed to register: 17
>     module_register: module fxp/miibus already exists!
>     Module fxp/miibus failed to register: 17
>     can't re-use a leaf (fxp_rnr)!

There has been a lot of work on the fxp driver over the past couple of
weeks. It's working for my with a kernel built from sources I cvsuped
yesterday morning. This is a problem lots of people have
reported. Hopefully fixed.

> Sound is not working anymore on both 5.0-RELEASE-p7 and -head (worked
> fine on 4.7-STABLE)
> 
>     Preloaded elf module "/boot/kernel/snd_maestro3.ko" at 0xc06c00a8.
>     Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc06c015c.
>     ...
>     pci0: <multimedia, audio> at device 31.5 (no driver attached)

My T30 is not a maestro3. It's an ICH/AD1881A. You need devices ichsmb,
smbus, smb, and pcm. I have never tried loading them. I build them into
my kernel, but they should work OK if loaded.

> Enabling ACPI disables the mouse. Without ACPI the mouse works fine:
> 
>     psm0: <PS/2 Mouse> irq 12 on atkbdc0
>     psm0: model Generic PS/2 mouse, device ID 0
> 
> dmesg of 5.0-RELEASE-p7, -head as of now and 4.7-STABLE are attached.
> 
> Any hints or suggestions are welcome.

Use apm. It works quite well, although you will need ps2 (available as a
floppy image from the IBM web site) to configure it. The IBM ACPI is
broken at this time. I have seen a claim that IBM will have an update to
fix it soon, but I cannot confirm this.

Finally, remove "device eisa" from your kernel. It can cause weird
behavior on the T30.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman_at_es.net			Phone: +1 510 486-8634
Received on Tue May 06 2003 - 12:49:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:06 UTC