Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo-sources-2.6.16 Any problems ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Fri Apr 28, 2006 11:41 pm    Post subject: gentoo-sources-2.6.16 Any problems ? Reply with quote

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 6:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10286
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Apr 29, 2006 2:56 am    Post subject: Reply with quote

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
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Apr 29, 2006 3:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Cenrim
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2004
Posts: 142
Location: Germany

PostPosted: Mon May 01, 2006 6:13 am    Post subject: Reply with quote

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 :roll:
_________________
[/garbage]
Back to top
View user's profile Send private message
jaspal kallar
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 194
Location: Sweden

PostPosted: Tue May 02, 2006 8:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue May 02, 2006 9:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
hawaiian717
n00b
n00b


Joined: 13 May 2004
Posts: 71

PostPosted: Tue May 02, 2006 10:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue May 02, 2006 11:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Wed May 03, 2006 1:24 am    Post subject: Reply with quote

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
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Wed May 03, 2006 2:12 am    Post subject: Reply with quote

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
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Wed May 03, 2006 2:17 am    Post subject: Reply with quote

CONFIG_PREEMPT_NONE=y
is quite safe.
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Wed May 03, 2006 2:28 am    Post subject: Reply with quote

davidgurvich wrote:
CONFIG_PREEMPT_NONE=y
is quite safe.

I bet it is :wink: ,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
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed May 03, 2006 2:39 am    Post subject: Reply with quote

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
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Wed May 03, 2006 4:05 am    Post subject: Reply with quote

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
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Wed May 03, 2006 9:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed May 03, 2006 9:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Wed May 03, 2006 10:12 pm    Post subject: Reply with quote

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 :oops:
Hopefully that will get me through this time.
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Wed May 03, 2006 11:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed May 03, 2006 11:59 pm    Post subject: Reply with quote

Glad to hear you got it working. :)
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Fri May 05, 2006 2:09 am    Post subject: Reply with quote

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
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Fri May 05, 2006 5:40 pm    Post subject: I2C issues with 2.6.16 Reply with quote

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
View user's profile Send private message
mungkee
n00b
n00b


Joined: 27 Jan 2006
Posts: 8

PostPosted: Sun Jun 11, 2006 2:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum