2003-06-12 20:26:10

by Hanno Böck

[permalink] [raw]
Subject: 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 (http://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 (http://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 (http://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 (http://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 (http://www.sf.net/projects/acpi4asus)
Adds support for special acpi-events on asus-laptops.

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

Patch: SiS framebuffer update (http://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.)


Attachments:
(No filename) (189.00 B)

2003-06-12 21:03:30

by Kevin Fenzi

[permalink] [raw]
Subject: Re: 2.4.21-rc8-laptop1 released

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

2003-06-12 22:13:49

by Disconnect

[permalink] [raw]
Subject: Re: 2.4.21-rc8-laptop1 released

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

On Thu, 2003-06-12 at 16:39, Hanno B?ck wrote:
> 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 (http://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 (http://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 (http://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 (http://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 (http://www.sf.net/projects/acpi4asus)
> Adds support for special acpi-events on asus-laptops.
>
> Patch: laptop_mode (http://www.sf.net/projects/swsusp)
> Adds laptop_mode, which can save battery power.
>
> Patch: SiS framebuffer update (http://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.)
--
Disconnect <[email protected]>


Attachments:
config.gz (6.55 kB)

2003-06-13 00:59:29

by Brad Chapman

[permalink] [raw]
Subject: Re: 2.4.21-rc8-laptop1 released

If you could backport 2.5 cpufreq and add it to this patchset
I would start using it too. My biggest grab is the updated DRM,
but cpufreq would be a huge help as well.

Brad

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

2003-06-13 11:29:41

by Zsolt Babak

[permalink] [raw]
Subject: Re: 2.4.21-rc8-laptop1 released

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.

On Thu, Jun 12, 2003 at 03:17:02PM -0600, Kevin Fenzi wrote:
> -----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>

2003-06-13 15:51:31

by Kevin Fenzi

[permalink] [raw]
Subject: Re: 2.4.21-rc8-laptop1 released

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

>>>>> "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-----

2003-06-13 21:45:03

by Dave Jones

[permalink] [raw]
Subject: Re: 2.4.21-rc8-laptop1 released

On Thu, Jun 12, 2003 at 06:13:15PM -0700, Brad Chapman wrote:
> If you could backport 2.5 cpufreq and add it to this patchset
> I would start using it too. My biggest grab is the updated DRM,
> but cpufreq would be a huge help as well.

Dominik did a speedy backport to current 2.4.
You can find them at http://www.codemonkey.org.uk/cpufreq/

There's patches there for mainline and -ac, so should apply
to whatever other patchset you choose to use, at worse there'll
be trivial-to-fix-up rejects.

This backport also contains Jeremy's Centrino-speedstep driver.

Dave