| View previous topic :: View next topic |
| Author |
Message |
davidgurvich Veteran


Joined: 23 Apr 2004 Posts: 1037
|
Posted: Fri Apr 28, 2006 6:41 pm Post subject: gentoo-sources-2.6.16 Any problems ? |
|
|
So far the only difficulty with gentoo-sources-2.6.16-r3 is the changed format from previous kernel versions. I haven't noticed any other difficulty on my windtunnel g4.
Has anyone tried with problems?
Last edited by davidgurvich on Thu May 04, 2006 1:24 pm; edited 1 time in total |
|
| Back to top |
|
 |
john_r_graham Veteran


Joined: 08 Mar 2005 Posts: 1167 Location: Somewhere over Atlanta, Georgia, USA
|
Posted: Fri Apr 28, 2006 9:56 pm Post subject: |
|
|
Clean compile here. For what it's worth, the Reiser4 patches apply cleanly as well. Been running that for about a week without issue.
- John |
|
| Back to top |
|
 |
JoseJX Developer

Joined: 28 Apr 2002 Posts: 2562
|
Posted: Fri Apr 28, 2006 10:49 pm Post subject: |
|
|
The biggest issue keeping me from recommending 2.6.16 for use right now is the ARCH change. I'm not sure we've caught all of the issues yet with headers etc. For instance, the sheep driver in MOL was broken due to broken kernel headers until 2.6.17_rc3. :p There are a few other minor issues with 2.6.16, but 2.6.17 looks like it's shaping up very nicely. You might want to give that a try over 2.6.16. :) _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
| Back to top |
|
 |
Cenrim Tux's lil' helper


Joined: 04 Dec 2004 Posts: 142 Location: Germany
|
Posted: Mon May 01, 2006 1:13 am Post subject: |
|
|
I had problems with 2.6.16-gentoo-r3 and bcm43xx/ieee80211softmac (couldn't load the modules), but with -r4 those vanished
| Code: | $ uname -a; uptime
Linux i-do 2.6.16-gentoo-r4 #1 Thu Apr 27 00:42:52 CEST 2006 ppc 7447A, altivec supported GNU/Linux
08:08:27 up 1 day, 12:10, 6 users, load average: 3.01, 1.70, 1.06
$ lsmod
Module Size Used by
radeon 125288 1
drm 90044 2 radeon
bcm43xx 471892 0
ieee80211softmac 31296 1 bcm43xx
uninorth_agp 11112 1
ieee80211 37896 2 bcm43xx,ieee80211softmac
ieee80211_crypt 7104 1 ieee80211
agpgart 38164 2 drm,uninorth_agp
|
makes less problems than panther.. I managed to make an unbootable installation of OS X 10.3.4.. just wanted to have it on HFSX with case sensitivity  _________________ [/garbage] |
|
| Back to top |
|
 |
jaspal kallar Apprentice

Joined: 25 Feb 2004 Posts: 194 Location: Sweden
|
Posted: Tue May 02, 2006 3:31 pm Post subject: |
|
|
| Quote: | | The biggest issue keeping me from recommending 2.6.16 for use right now is the ARCH change. |
Can someone say briefly what this involves (I have a dual G5 64 bit kernel/32bit userland) ? |
|
| Back to top |
|
 |
JoseJX Developer

Joined: 28 Apr 2002 Posts: 2562
|
Posted: Tue May 02, 2006 4:06 pm Post subject: |
|
|
You should have moved to ARCH="powerpc" for 2.6.15. (64 bit kernel) For users who haven't made the switch, I recommend a make pmac32_defconfig and then make menuconfig to tweak for your system. On G5s, you can use make g5_defconfig. I'd recommend against a make old_config if you're upgrading from a non-ARCH="powerpc" kernel.
Hope that helps. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
| Back to top |
|
 |
hawaiian717 n00b

Joined: 13 May 2004 Posts: 71
|
Posted: Tue May 02, 2006 5:19 pm Post subject: |
|
|
| JoseJX wrote: | | You should have moved to ARCH="powerpc" for 2.6.15. (64 bit kernel) For users who haven't made the switch, I recommend a make pmac32_defconfig and then make menuconfig to tweak for your system. On G5s, you can use make g5_defconfig. I'd recommend against a make old_config if you're upgrading from a non-ARCH="powerpc" kernel. |
Whoa... did I miss something? I don't recall doing anything like that and my PPC 603ev has been running 2.6.15-gentoo-r1 (I run ppc, not ~ppc) without issues since February. |
|
| Back to top |
|
 |
JoseJX Developer

Joined: 28 Apr 2002 Posts: 2562
|
Posted: Tue May 02, 2006 6:35 pm Post subject: |
|
|
Yes, you missed something. :) The ARCH switchover for ppc32 happened with the 2.6.16 release. The ARCH switchover for ppc64 happened with the 2.6.15. A 603e is a ppc32 processor. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
| Back to top |
|
 |
davidgurvich Veteran


Joined: 23 Apr 2004 Posts: 1037
|
Posted: Tue May 02, 2006 8:24 pm Post subject: |
|
|
Can you post more about the ARCH switch? This is the first I've heard any specifics. Prior to manually editing the .config for 2.6.16-r3 with xconfig after using 'make oldconfig', I was using a 2.6.14 kernel. I haven't had any difficulty with the new kernel yet.
What would the suggested technique for updating a kernel be now? |
|
| Back to top |
|
 |
fb Guru


Joined: 07 Dec 2003 Posts: 570 Location: New Zealand
|
Posted: Tue May 02, 2006 9:12 pm Post subject: |
|
|
| davidgurvich wrote: | Can you post more about the ARCH switch? This is the first I've heard any specifics. Prior to manually editing the .config for 2.6.16-r3 with xconfig after using 'make oldconfig', I was using a 2.6.14 kernel. I haven't had any difficulty with the new kernel yet.
What would the suggested technique for updating a kernel be now? |
I second that.
I am updating from 2.6.14 as well and I made a new config from scratch (you
sort of get the hang of it after a while) but so far it doesn't boot.
I probably do something stupid that I haven't spotted yet. If anyone has any
clue to give me I have an iMac G4 (7450) and I get the following message: | Code: | Elf32 kernel loaded
OF stdout device is: /pci@f0000000/NVDA,NVMAC@10
comand line:
memory layout at init:
memory_limit : 00000000 (16MB aligned)
alloc_bottom : 016af000
alloc_top : 20000000
alloc_top_hi :20000000
rmo_top :20000000
ram_top :20000000
looking for displays
found display: /pci@f0000000/NVDA,NVMAC@10, opening...done
Copying OF device tree
Building dt strings....
Building st structure....
Device tree strings 0x018b0000->0x018b0c64
Device tree struct 0x018b1000->0x018b8000
Calling quiesce....
returning from prom_init
|
And then it stop. As a side question we are now offered various preemption model
which ones are safe? |
|
| Back to top |
|
 |
davidgurvich Veteran


Joined: 23 Apr 2004 Posts: 1037
|
Posted: Tue May 02, 2006 9:17 pm Post subject: |
|
|
CONFIG_PREEMPT_NONE=y
is quite safe. |
|
| Back to top |
|
 |
fb Guru


Joined: 07 Dec 2003 Posts: 570 Location: New Zealand
|
Posted: Tue May 02, 2006 9:28 pm Post subject: |
|
|
| davidgurvich wrote: | CONFIG_PREEMPT_NONE=y
is quite safe. |
I bet it is ,it worked well so far. I don't think my problem is related to that.
I just want to point out that we now have various choice in menuconfig:
No forced preemption (server)
Voluntary preemption (Desktop)
Preemptible kernel (low-latency desktop)
The first one is probably the one you mention, the last is probably the one that caused
various problems on ppc. I am wondering if the middle one is safe on ppc (without smp). |
|
| Back to top |
|
 |
JoseJX Developer

Joined: 28 Apr 2002 Posts: 2562
|
Posted: Tue May 02, 2006 9:39 pm Post subject: |
|
|
Upstream developers decided that there weren't enough differences between ppc and ppc64 to require two different ARCH targets for them. Because there were two different ARCH targets, but many things were similar, there was a lot of duplicated work between the two. To solve this problem and make it easier for kernel developers to work on the PPC kernel, starting with 2.6.14, the kernel headers started to be merged into one generic "powerpc" architecture. This process was completed for ppc64 machines in 2.6.15 and was completed for ppc32 machines in 2.6.16. There are still some issues with the merged headers, but it's settling down and we've fixed most of the issues. 2.6.17 should be even better in this regard.
The reason why I suggest not using oldconfig is that the ppc architecture target is still present in the kernel for embedded ppc boards that haven't been converted to the new powerpc architecture target. Because of this, some people ended up with broken configs when using oldconfig. If you didn't great! Also, a there were some big changes to the i2c powermac driver, including a rename from i2c keywest to i2c powermac. This screwed up a bunch of people because they didn't include support for it when building 2.6.16.
You can continue to use make oldconfig for kernels 2.6.16 and greater just like you were using before, it's just not guaranteed to work over an architecture change. (Consider running oldconfig on an x86 kernel config on a ppc machine. It's easier to just use a default config and start over.)
As for preempt, both NONE and VOLUNTARY should be safe, FULL still occasionally causes issues.
fb:
Which kenrel is that? If it's a 2.6.17_rc1 kernel, that's a known issue, upgrade. Otherwise, it's a framebuffer issue, try ofonly instead of nvidiafb or nvidiafb instead of ofonly. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
| Back to top |
|
 |
fb Guru


Joined: 07 Dec 2003 Posts: 570 Location: New Zealand
|
Posted: Tue May 02, 2006 11:05 pm Post subject: |
|
|
| JoseJX wrote: | fb:
Which kenrel is that? If it's a 2.6.17_rc1 kernel, that's a known issue, upgrade. Otherwise, it's a framebuffer issue, try ofonly instead of nvidiafb or nvidiafb instead of ofonly. |
I am working on getting 2.6.16-r5 (and briefly -r3 yesterday) to boot. Tried
append = "video=ofonly" and append = "video=rivafb" in yaboot.conf with no success.
I am looking to see if I have done something very stupid now. |
|
| Back to top |
|
 |
fb Guru


Joined: 07 Dec 2003 Posts: 570 Location: New Zealand
|
Posted: Wed May 03, 2006 4:24 pm Post subject: |
|
|
Well it seems I have a lot of difficulties with that one .
So after inspect my kernel config I added a few things to the magic mix and
now I go past the "prom_init" only to fail in a kernel panic ....
| Code: | VFS: cannot open root device "hda8" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic |
My root on hda8 is reiserfs (v3.x) and I compiled the driver in kernel as usual with
the same settings I use in the previous kernels - and I did not compile it as
a module, so it is not the problem.
Where did I go wrong this time? |
|
| Back to top |
|
 |
JoseJX Developer

Joined: 28 Apr 2002 Posts: 2562
|
Posted: Wed May 03, 2006 4:42 pm Post subject: |
|
|
It really sounds like you didn't start from a defconfig as I suggested above. You're probably missing one of: PowerMac IDE, ATA Disk or Apple Partition Maps. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
| Back to top |
|
 |
fb Guru


Joined: 07 Dec 2003 Posts: 570 Location: New Zealand
|
Posted: Wed May 03, 2006 5:12 pm Post subject: |
|
|
| JoseJX wrote: | | It really sounds like you didn't start from a defconfig as I suggested above. You're probably missing one of: PowerMac IDE, ATA Disk or Apple Partition Maps. |
After inspection of the config I should consider the benefits of caffeine
Hopefully that will get me through this time. |
|
| Back to top |
|
 |
fb Guru


Joined: 07 Dec 2003 Posts: 570 Location: New Zealand
|
Posted: Wed May 03, 2006 6:38 pm Post subject: |
|
|
I ended up starting from make pmac32_defconfig and tweaking from there. I had compiling
breakage with my home-made config. I am typing this from a system booted with kernel
2.6.16-r5.
Thanks to JoseJX and also davidgurvich for helping me with that. |
|
| Back to top |
|
 |
JoseJX Developer

Joined: 28 Apr 2002 Posts: 2562
|
|
| Back to top |
|
 |
davidgurvich Veteran


Joined: 23 Apr 2004 Posts: 1037
|
Posted: Thu May 04, 2006 9:09 pm Post subject: |
|
|
Well, I've just finished installing gentoo-sources-2.6.16-r5, as it seems to have been changed to ppc. I tried the new method of | Quote: | | make pmac32_defconfig | and there are some hurdles.
I have 2 CPUs so need the SMP settings, and am not really interested in tweaking all sorts of kernel options.
There is a new configuration for USB devices, one of the options chosen requires that you also choose
| Code: | | CONFIG_USB_LIBUSUAL=y | or you will not be able to use devices like flash keys.
Other than those two and certain differences in what I had compiled into the kernel vs. what I had as modules, everything seemed to work well. |
|
| Back to top |
|
 |
timotheus25 Apprentice

Joined: 26 Dec 2005 Posts: 160 Location: *upstate* New York, USA
|
Posted: Fri May 05, 2006 12:40 pm Post subject: I2C issues with 2.6.16 |
|
|
One thing to note with the 2.6.16.x kernel is a partial failure of the new low-level keywest I2C driver.
See the kernel bug: http://bugzilla.kernel.org/show_bug.cgi?id=6385 .
It is as-of-yet unresolved in the Vanilla kernel. The bug posting has a patch by Benjamin Herrenschmidt. You can also find the patch at my website: http://tstotts.net/linux/gentoopb.html#d3e234a1900 .
To my knowledge, this only affects the keyboard backlight and ambient light sensors of Apple Powerbook G4 15''/17'' models. Those particular devices are rendered inoperable with 2.6.16.x . The motherboard I2C channels for video, sound, thermal, and appear to still work correctly. |
|
| Back to top |
|
 |
mungkee n00b


Joined: 27 Jan 2006 Posts: 8
|
Posted: Sun Jun 11, 2006 9:39 am Post subject: |
|
|
sorry, if i´m late, but i wanted to test it some more.
I´m running that kernel on a rs6000 43p-150 with a ibm firegl1 and i got the problems, that i´m not able to start with any frambuffer, the only way is with video=ofonly.Tested it with a another card(s3 trio) but same thing here, always hangin at prom_init.and when i´m get it started, its not able to acces the hardware-clock.
For anything else, the kernel is running fine. |
|
| Back to top |
|
 |
|