2.4.21-rc8-laptop1 problems

2.4.21-rc8-laptop1 problems

Post by Florian-Daniel Ote » Sat, 14 Jun 2003 21:50:08



[Sorry if this should go to other list, e.g. "laptopkernel", "acpi" or
whatever, I've lost touch w/ kernel devel years ago. Thanks for
understanding and for any redirects to a better resource, if needed]

Hello there,

Kernel:

2.4.21-rc8 (presently 2.4.21) w/  ..-laptop1 "patch" (*cough*)

Intended use:  

Fujitsu LifeBook P2120, which doesn't get USB to
bootstrap OK (I got to do a "First boot to WinXP with attached USB
kbd/mouse  then warm boot to Linux then it works" voodoo magic in order to
get USB kbd/mouse to be found, even if the modules load OK
otherwise. Apparently my black magic ball says is the ACPI initializ. to blame.
I would happily appreciate any pointers/ideas/second oppinions. Detailed
"p2120 kernel: PCI: No IRQ known for interrupt pin A of device
00:09.0" messages avail. on request :)).

In addition to that, I want swsusp to work as wonderfully as it does
now (2.4.20 + alim15x3 DMA patch + swsusp-beta17 patch+script).

And world peace, thank you ;)

Problems when compiling 2.4.21-pre8-laptop1:

Problem 1)  AGP / agpgart:

If, in my .config:

[....]
CONFIG_AGP=y
CONFIG_AGP_INTEL=y
CONFIG_AGP_I810=y
CONFIG_AGP_VIA=y
CONFIG_AGP_AMD=y
# CONFIG_AGP_AMD_8151 is not set
CONFIG_AGP_SIS=y
CONFIG_AGP_ALI=y
# CONFIG_AGP_SWORKS is not set
CONFIG_DRM=y
# CONFIG_DRM_OLD is not set
[...]

the compilation breaks with:

gcc -D__KERNEL__ -I/nfs/__No_NFS/playground/linux-2.4.21-pre8-laptop1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=0 -malign-jumps=0 -malign-loops=0 -g  -nostdinc -iwithprefix include -DKBUILD_BASENAME=agpgart_fe  -c -o agpgart_fe.o agpgart_fe.c
gcc -D__KERNEL__ -I/nfs/__No_NFS/playground/linux-2.4.21-pre8-laptop1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=0 -malign-jumps=0 -malign-loops=0 -g  -nostdinc -iwithprefix include -DKBUILD_BASENAME=agpgart_be  -DEXPORT_SYMTAB -c agpgart_be.c
agpgart_be.c:5108: `PCI_DEVICE_ID_VIA_8375' undeclared here (not in a function)
agpgart_be.c:5108: initializer element is not constant
agpgart_be.c:5108: (near initialization for `agp_bridge_info[55].device_id')
agpgart_be.c:5126: `PCI_DEVICE_ID_VIA_P4M266' undeclared here (not in a function)
agpgart_be.c:5126: initializer element is not constant
agpgart_be.c:5126: (near initialization for `agp_bridge_info[58].device_id')
gmake[4]: *** [agpgart_be.o] Error 1
gmake[4]: Leaving directory `/nfs/__No_NFS/playground/linux-2.4.21-pre8-laptop1/drivers/char/agp'
gmake[3]: *** [first_rule] Error 2
gmake[3]: Leaving directory `/nfs/__No_NFS/playground/linux-2.4.21-pre8-laptop1/drivers/char/agp'
gmake[2]: *** [_subdir_agp] Error 2
gmake[2]: Leaving directory `/nfs/__No_NFS/playground/linux-2.4.21-pre8-laptop1/drivers/char'
gmake[1]: *** [_subdir_char] Error 2
gmake[1]: Leaving directory `/nfs/__No_NFS/playground/linux-2.4.21-pre8-laptop1/drivers'
gmake: *** [_dir_drivers] Error 2

Well, I can get around this by saying "N" to
"CONFIG_AGP_[INTEL,I810,VIA,AMD,SiS]"  since it's only AGP_ALI I'm
intrested in. Or shouldn't I be ?

Problem 2 and much more serious)  ACPI (!!!!)

gcc -D__KERNEL__ -I/nfs/__No_NFS/playground/linux-2.4.21-pre8-laptop1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=0 -malign-jumps=0 -malign-loops=0 -DMODULE -DMODVERSIONS -include /nfs/__No_NFS/playground/linux-2.4.21-pre8-laptop1/include/linux/modversions.h  -nostdinc -iwithprefix include -DKBUILD_BASENAME=acpiphp_glue  -c -o acpiphp_glue.o acpiphp_glue.c
acpiphp_glue.c: In function `find_host_bridge':
acpiphp_glue.c:815: warning: passing arg 2 of `acpi_get_object_info_R4d2dc830' from incompatible pointer type
acpiphp_glue.c:821: subscripted value is neither array nor pointer
acpiphp_glue.c:826: incompatible type for argument 1 of `strcmp'
gmake[2]: *** [acpiphp_glue.o] Error 1
gmake[2]: Leaving directory `/nfs/__No_NFS/playground/linux-2.4.21-pre8-laptop1/drivers/hotplug'
gmake[1]: *** [_modsubdir_hotplug] Error 2
gmake[1]: Leaving directory `/nfs/__No_NFS/playground/linux-2.4.21-pre8-laptop1/drivers'
gmake: *** [_mod_drivers] Error 2

The relevant (?) parts from the .config:

[...]

CONFIG_HOTPLUG=y

#
# PCMCIA/CardBus support
#
CONFIG_PCMCIA=y
CONFIG_CARDBUS=y
# CONFIG_TCIC is not set
CONFIG_I82092=y
CONFIG_I82365=y

#
# PCI Hotplug Support
#
CONFIG_HOTPLUG_PCI=m
# CONFIG_HOTPLUG_PCI_COMPAQ is not set
# CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM is not set
CONFIG_HOTPLUG_PCI_ACPI=m

[....]

The compilation was done on a P4/Knoppix v3.2 (Debian unstable and egcs-2.95):

gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)

Any ideas ? How far behind is the acpi in 2.4.21 w.r.t. latest acpi patch ?

TIA,

Florian

P.S. Pls Cc: me on the replies, I'm not on this list.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. 2.4.21-rc8-laptop1 released

The second release of laptopkernel is out.
Get it at
https://savannah.nongnu.org/projects/laptopkernel/

2.4.21-rc8-laptop1

Updated patches: swsusp, supermount, agpgart, drm, broadcom
New patches: acpi4asus, laptop_mode, sis-fb

Patch:  acpi-20030523 (www.sf.net/projects/acpi)
The ACPI in current kernels is very outdated. Most laptops won't have
any Powermanagement without the ACPI-Patch and some even won't boot.

Patch: swsusp-1.0_pre7 (www.sf.net/projects/swsusp)
Software Suspend makes hibernation possible in linux, which is a very
important feature for laptops.

Patch:  supermount-1.2.7 (http://supermount-ng.sf.net)
Supermount is a useful feature for desktop-pcs.

Patch:  agpgart from 2.4.21-rc7-ac1 (www.kernel.org)
Laptops with the Centrino chipset need this for working agpgart, which
is needed for hardware graphics acceleration (dri).

Patch:  drm modules from 2.4.21-rc7-ac1 (www.kernel.org)
This update is needed for proper working dri in XFree 4.3.

Patch:  radeonfb from Benjamin Herrenschmidt (rsync -avz
rsync.penguinppc.org::benh-devel/) Radeon 9000 won't work with radeonfb
found in the current kernel.

Patch:  bcm4400-2.0.2 + bcm5700-6.0.2 driver (from broadcom-ftp)
Needed for Broadcom Network cards found in many laptops.

Patch:  vivicam usb mass storage support (from Lycoris-Kernel)
Needed for Vivicam 355 (working as USB mass storage).

Patch:  acpi4asus-0.23 (www.sf.net/projects/acpi4asus)
Adds support for special acpi-events on asus-laptops.

Patch:  laptop_mode (www.sf.net/projects/swsusp)
Adds laptop_mode, which can save battery power.

Patch:  SiS framebuffer update (www.winischhofer.net)
Needed for some SiS-Cards.

Patch:  Optimization for pentium3/4 (trivial)
Makes gcc3-optimizations for pentium3/4 possible.
(Note: pentium4-optimizations should only be used with gcc 3.2.3 and
above. If you have an older gcc, please use pentium3.)

  application_pgp-signature_part
< 1K Download

2. rpc.ttdbserverd[678]: rendezvous_request : no suitable transport

3. via-rhine strange behavior 2.4.21-rc8

4. Slackware 2.0.0 - where can I get it?

5. Linux 2.4.21-rc8

6. keystroke

7. 2.4.21-rc8-ac1

8. Debian Questions

9. 2.4.21-rc8-acpi-20030522 reiserfs crash

10. Marcelo Tosatti: Linux 2.4.21-rc8

11. 2.4.21-rc8 vesafb memory remapping...

12. unresolve external 'noautodma' in siimage 2.4.21-rc8

13. Oops in firewire (2.4.21-pre5 with 2.4.21-pre4 firewire driver)