Skip to contentSkip to conversation

2.4.21-rc8-laptop1 released

DISCUSSION Hanno Böck 4 participants 5 messages Jun 12, 2003 – Jun 13, 2003

lore
Share & tools
lore
#0 lore raw

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.)

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hanno> The second release of laptopkernel is out. Get it at Hanno> https://savannah.nongnu.org/projects/laptopkernel/
Hanno> 2.4.21-rc8-laptop1

Humm... doesn't seem to compile here...

am I missing something?

make[5]: Entering directory `/usr/src/redhat/BUILD/kernel-2.4.21rc8laptop1/drivers/char/agp'
gcc -D__KERNEL__ -I/usr/src/redhat/BUILD/kernel-2.4.21rc8laptop1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium4 -g -nostdinc -iwithprefix include -DKBUILD_BASENAME=agpgart_fe -c -o agpgart_fe.o agpgart_fe.c gcc -D__KERNEL__ -I/usr/src/redhat/BUILD/kernel-2.4.21rc8laptop1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium4 -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:5113: initializer element is not constant
agpgart_be.c:5113: (near initialization for `agp_bridge_info[55]')
agpgart_be.c:5119: initializer element is not constant
agpgart_be.c:5119: (near initialization for `agp_bridge_info[56]')
agpgart_be.c:5125: initializer element is not constant
agpgart_be.c:5125: (near initialization for `agp_bridge_info[57]')
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')
agpgart_be.c:5131: initializer element is not constant
agpgart_be.c:5131: (near initialization for `agp_bridge_info[58]')
agpgart_be.c:5137: initializer element is not constant
agpgart_be.c:5137: (near initialization for `agp_bridge_info[59]')
agpgart_be.c:5170: initializer element is not constant
agpgart_be.c:5170: (near initialization for `agp_bridge_info[60]')
make[5]: *** [agpgart_be.o] Error 1
make[5]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.21rc8laptop1/drivers/char/agp'
make[4]: *** [first_rule] Error 2
make[4]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.21rc8laptop1/drivers/char/agp'
make[3]: *** [_subdir_agp] Error 2
make[3]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.21rc8laptop1/drivers/char'
make[2]: *** [_subdir_char] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.21rc8laptop1/drivers'
make[1]: *** [_dir_drivers] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.21rc8laptop1'
error: Bad exit status from /var/tmp/rpm-tmp.44930 (%build)

kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQE+6O3S3imCezTjY0ERAnOAAJ90W5wzb1ihU3ZUL1Cmgrb/m8sX8QCcDgOT 3Dl21YiuuOeFKI5gdsEIdgc=
=KLrM
-----END PGP SIGNATURE-----

#2 lore raw

Hi!

This has nothing to do with the laptop patch, these defines are really missing from include/linux/pci_ids.h.

In -rc5 I just removed the line from the .c file that referenced the missing ID, and it works very well...

Maybe this is a bug ;)

Zod.

Quoted 14 lines · Kevin Fenzi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hanno> The second release of laptopkernel is out. Get it at Hanno> https://savannah.nongnu.org/projects/laptopkernel/
Hanno> 2.4.21-rc8-laptop1

Humm... doesn't seem to compile here...

am I missing something?

make[5]: Entering directory `/usr/src/redhat/BUILD/kernel-2.4.21rc8laptop1/drivers/char/agp'
gcc -D__KERNEL__ -I/usr/src/redhat/BUILD/kernel-2.4.21rc8laptop1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium4 -g -nostdinc -iwithprefix include -DKBUILD_BASENAME=agpgart_fe -c -o agpgart_fe.o agpgart_fe.c

<snip>

#3 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Zsolt" == Zsolt Babak <[email protected]> writes:

Zsolt> Hi! This has nothing to do with the laptop patch, these Zsolt> defines are really missing from include/linux/pci_ids.h.

ah... so I see.

Zsolt> In -rc5 I just removed the line from the .c file that Zsolt> referenced the missing ID, and it works very well...

Zsolt> Maybe this is a bug ;)

Yeah, looks like, or something that wasn't entirely merged. Commenting those out gets me further, but then it fails in:

ld -m elf_i386 -r -o cpqphp.o cpqphp_core.o cpqphp_ctrl.o cpqphp_proc.o cpqphp_pci.o
gcc -D__KERNEL__ -I/usr/src/redhat/BUILD/kernel-2.4.21rc8laptop1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium4 -DMODULE -DMODVERSIONS -include /usr/src/redhat/BUILD/kernel-2.4.21rc8laptop1/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=acpiphp_core -c -o acpiphp_core.o acpiphp_core.c gcc -D__KERNEL__ -I/usr/src/redhat/BUILD/kernel-2.4.21rc8laptop1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium4 -DMODULE -DMODVERSIONS -include /usr/src/redhat/BUILD/kernel-2.4.21rc8laptop1/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'
make[3]: *** [acpiphp_glue.o] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.21rc8laptop1/drivers/hotplug'
make[2]: *** [_modsubdir_hotplug] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.21rc8laptop1/drivers'
make[1]: *** [_mod_drivers] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.21rc8laptop1'
error: Bad exit status from /var/tmp/rpm-tmp.58636 (%build)

Something related to the i830 stuff someone else reported problems with?

Zsolt> Zod.

kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQE+6fX43imCezTjY0ERAnJlAJ9mcRMTcbkzn/ZehaGJFzh7wp4o3wCfaIJX BwSw91MAR7gzaNaqyGlvSEA=
=uMbl
-----END PGP SIGNATURE-----

#4 lore raw
In reply to Hanno Böck

Build breakage:

Lots of:

drm_os_linux.h:16:2: warning: #warning the author of this code needs to read up on list_entry
radeon_drv.h:846:2: warning: #warning PCI posting bug
In file included from radeon_irq.c:38:
drm_os_linux.h:16:2: warning: #warning the author of this code needs to read up on list_entry

..and some breakage:
gcc -D__KERNEL__ -I/usr/src/LinuxPatches/tmp/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium4 -DMODULE -DMODVERSIONS -include /usr/src/LinuxPatches/tmp/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=i810_dma -c -o i810_dma.o i810_dma.c
In file included from drmP.h:75,

                 from i810_dma.c:35:

drm_os_linux.h:16:2: warning: #warning the author of this code needs to read up on list_entry
i810_dma.c: In function `i810_unmap_buffer':
i810_dma.c:223: error: too many arguments to function `do_munmap_Ra9e5c04d'
make[3]: *** [i810_dma.o] Error 1

Config attached

Quoted 51 lines · Hanno Böck

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.)

Signature · 1 line
Disconnect <[email protected]>