Re: Calling Andy Grimberg ... ;-) Re: New kernel 2.4.20-18.9 - looking better for Vaios?
Andy Grimberg <[email protected]>
| Newsgroups | gmane.linux.hardware.sony |
|---|---|
| Message-ID | <[email protected]> |
Heh, all the changes that I made are available in http://www.bardicgrove.org/~tykeal/distributables/linux/rh9-acpi-changes.tar.gz that tarball. There are some basic instructions inside it as well (READMEs are your friend *grin*) Essentially these are the steps I followed: 1) Get RH's kernel*.src.rpm 2) Install that into my personal RPM build tree 3) Grab acpi-20021212-2.4.20.diff from http://acpi.sourceforge.net 4) Bang my head repeatedly trying to figure out where I needed to stick the durn patch in RH's kernel.spec 5) Realize that it wasn't as bad as with RH7.3 (the last version I stuck on my Vaio) 6) Stick the straight acpi patch with a minor modifacation into build set 7) Force it to build 8) Find out that I needed to turn ACPI on as RH has turned it off completely 9) Turn it on in the architecture specific RH config files 10) Find out that I needed to turn on a whole host of other gadgets 11) Fiddle with other gadgets until it will compile cleanly. 12) Rebuild the now fun and not so furry rpm for all you folks :) Isn't it grand *lol* I was considering using RH's latest kernel but decided I should install it on my workstation first (a custom built dual proc box) and found that they had broken USB horribly. As in the moment the box got to the USB system it actually shut it down and wouldn't load. I've decided I'm going to wait until they spin another one before I take another crack at creating a new Vaio kernel. The few things that are wrong with the current one that are supposed to be fixed in the 2.4.20-18.9 kernel are privs escalation problems. As I'm the only one that uses the laptop it isn't a problem... at least to me ;) As for why I used the acpi diff. That's because the only fully current acpi code is in 2.5, everything in 2.4 is a backport and the release kernels are as up to date as what is available from the acpi project page. -Andy- On Thu, 2003-06-05 at 16:43, George Fong wrote: > Andy, you may well go down as one of the legends of the Vaio ether. > > I have spent the last week insuccessfully trying to build a new kernel using > 2.4.20-18.9 but I believe i am close. Just a quick question ... did you patch > the kernel using acpi-20021212-2.4.20.diff before you compiled the now famous > ajg4 kernel? If so, this is one place where I may have been going wrong as I > am assuming that the new kernels have acpi modules in the code. > > IamnotgoingbacktoWindowsIamnotgoingbacktoWindowsIamnotgoingbacktoWindowsIamnotgoingbacktoWindowsIamnotgoingbacktoWindowsIamnotgoingbacktoWindowsIamnotgoingbacktoWindowsIamnotgoingbacktoWindows > > Cheers > G. > > > On Thu, 5 Jun 2003 04:08 pm, George Fong wrote: > > Running a Sony Vaio PCG FR700 (AMD Chip) with Redhat 9 and Andy Grimberg's > > special Kernel. > > > > I upgraded the kernel via up2date and predictably, it wasn't configured for > > ACPI. However, even though it wasn't working, when I booted into this later > > kernel, I noticed that a few ther things started working. Significantly I > > could use the Fn buttons to move between the laptop screen and the plugged > > in monitor, whereas currently, I need to switch at boot up and then I am > > stuck with the choice that I make now. > > > > I need to upgrade the kernel in order to get the AC97 drivers for the modem > > going as they currently won't install, so I have no modem. > > > > I decided to have a go at recompiling the new kernel. Switched into > > /usr/src/linux-2.4.20-18.9 and ran make xconfig. > > > > Created a configuration (that included acpi etc) . > > > > Now, when I tried to recompile the kernel, I got as far as make dep > > bzImage. That appeared to go OK. I tried to make modules and it complained > > about grubby and made reference to /dev/hda (/boot on my system is on > > /dev/hda1) > > > > I have tried several times, but I get the same problem. > > > > I think that the new kernel holds out a great deal of hope that it can iron > > out a lot of the bugs found in Vaio setups. Could anyone give me a hint as > > to what i might be doing wrong? Hwappy t provide .config files etc once I > > get past this little glitch. > > > > Cheers > > G.