Re: G3 imac, networking, 2.6.12 kernel

2006-02-16 Thread Hans Ekbrand
On Wed, Feb 15, 2006 at 10:30:14AM -0500, Rich Johnson wrote:
[...]
 And the answer is  bmac.  This problem has been around since at  
 least 2.6.7.
 
 FWIW, the installation still fails with linux-image-2.6-15-1-powerpc  
 as neither hotplug nor udev can probe this particular machine.
 I plan on filing a bug against  linux-image-2.6.15-1-powerpc, along  
 with the script below for consideration as part of the postinst  
 process.  Is that the ''correct'' package to post against?

Why not linux-image-powerpc, since the problem is not specific to 2.6.15?

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: G3 imac, networking, 2.6.12 kernel

2006-02-16 Thread Sven Luther
On Thu, Feb 16, 2006 at 09:44:26AM +0100, Hans Ekbrand wrote:
 On Wed, Feb 15, 2006 at 10:30:14AM -0500, Rich Johnson wrote:
 [...]
  And the answer is  bmac.  This problem has been around since at  
  least 2.6.7.
  
  FWIW, the installation still fails with linux-image-2.6-15-1-powerpc  
  as neither hotplug nor udev can probe this particular machine.
  I plan on filing a bug against  linux-image-2.6.15-1-powerpc, along  
  with the script below for consideration as part of the postinst  
  process.  Is that the ''correct'' package to post against?
 
 Why not linux-image-powerpc, since the problem is not specific to 2.6.15?

The correct package to file bug against is linux-2.6, adding [powerpc] in the
subject.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G3 imac, networking, 2.6.12 kernel

2006-02-16 Thread Rich Johnson


On Feb 16, 2006, at 3:44 AM, Hans Ekbrand wrote:


On Wed, Feb 15, 2006 at 10:30:14AM -0500, Rich Johnson wrote:
[...]

And the answer is  bmac.  This problem has been around since at
least 2.6.7.

FWIW, the installation still fails with linux-image-2.6-15-1-powerpc
as neither hotplug nor udev can probe this particular machine.
I plan on filing a bug against  linux-image-2.6.15-1-powerpc, along
with the script below for consideration as part of the postinst
process.  Is that the ''correct'' package to post against?


Why not linux-image-powerpc, since the problem is not specific to  
2.6.15?




Fine by me.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G3 imac, networking, 2.6.12 kernel

2006-02-15 Thread Rich Johnson



I hate to keep pestering you folks with these, but...
I hit another glitch installing modern linux on archaic macs. (hey,  
this one's _only_ 6 years old)


I just tried installing the stock 2.6.12 kernel on a G3 Imac (rev.  
D, Paddington).  The problem is:
a.  the stock kernel doesn't have a driver for the network chip  
compiled in.

b.  the install procedures don't  insmod the appropriate driver module
c.  hotplug (testing/etch) package doesn't traverse the paddington  
devices (macio bus).

d.  It's not all that obvious which driver should be aliased to eth0.

I've poked around a bit and it seems that this is a common problem  
with G3 macs where the devices are not visible to the pci bus.


And the answer is  bmac.  This problem has been around since at  
least 2.6.7.


FWIW, the installation still fails with linux-image-2.6-15-1-powerpc  
as neither hotplug nor udev can probe this particular machine.
I plan on filing a bug against  linux-image-2.6.15-1-powerpc, along  
with the script below for consideration as part of the postinst  
process.  Is that the ''correct'' package to post against?


I figure that this would be useful for OldWorld installations as well.
Are there other required modules that I missed?

Other comments?


#!/bin/bash
# Work around early NewWorld device probe limitations and explicitly  
load modules

# required for certain well known configurations.
#
# 1.  determine the required module(s):
case ` awk '/machine/{print $3}' /proc/cpuinfo` in
  ( iMac,1 ) modules=bmac;;  # -- First generation iMacs.
  ( PowerBook,1 ) modules=bmac;; # --Lombard powerbook
  ( PowerMac,1 ) modules=bmac;;  # --BW G3
  #...and others as necessary.
esac;

# 2.  direct the kernel to load the module(s)
for mod in $modules; do
  if ( ! grep $mod /etc/modules  /dev/null ); then
echo $mod   /etc/modules;
echo module $module added to /etc/modules;
  fi;
done;

# 3.  other notification of config changes as appropriate (e.g. email  
to root)




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G3 imac, networking, 2.6.12 kernel

2006-02-15 Thread Brad Boyer
On Wed, Feb 15, 2006 at 10:30:14AM -0500, Rich Johnson wrote:
 I've poked around a bit and it seems that this is a common problem  
 with G3 macs where the devices are not visible to the pci bus.
 
 And the answer is  bmac.  This problem has been around since at  
 least 2.6.7.
 
 FWIW, the installation still fails with linux-image-2.6-15-1-powerpc  
 as neither hotplug nor udev can probe this particular machine.
 I plan on filing a bug against  linux-image-2.6.15-1-powerpc, along  
 with the script below for consideration as part of the postinst  
 process.  Is that the ''correct'' package to post against?

I would think the correct fix would be to update hotplug and friends
to know about macio. There was a patch floating around to do just that.

Brad Boyer
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G3 imac, networking, 2.6.12 kernel

2006-02-15 Thread Rich Johnson


On Feb 15, 2006, at 3:00 PM, Brad Boyer wrote:


On Wed, Feb 15, 2006 at 10:30:14AM -0500, Rich Johnson wrote:

I've poked around a bit and it seems that this is a common problem
with G3 macs where the devices are not visible to the pci bus.


And the answer is  bmac.  This problem has been around since at
least 2.6.7.

FWIW, the installation still fails with linux-image-2.6-15-1-powerpc
as neither hotplug nor udev can probe this particular machine.
I plan on filing a bug against  linux-image-2.6.15-1-powerpc, along
with the script below for consideration as part of the postinst
process.  Is that the ''correct'' package to post against?


I would think the correct fix would be to update hotplug and friends
to know about macio. There was a patch floating around to do just  
that.


 I agree and wish it would happen.  But that patch has been floating  
around for 6-8 months.  How much longer should folks wait?


Given that hotplug/udev is _new_ functionality with 2.6; whereas   
2.4's _existing_  network functionality is _broken_ by upgrading the  
kernel; it  seems to me that a workaround is in order until the h/w  
probe is patched (if ever).  Whatever workaround is untilmately  
''accepted'' by the maintainer doesn't need to modify /etc/modules  
directly.  At the very least it should inform the (potentially naive)  
installer of known fixes to known problems so they can get up and  
running pronto.


I also get the sense that since the affected machines are at least 5  
years old, that as time passes, there'll be less and less incentive  
to propagate the patch.





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



G3 imac, networking, 2.6.12 kernel

2006-02-02 Thread Rich Johnson

I hate to keep pestering you folks with these, but...
I hit another glitch installing modern linux on archaic macs. (hey,  
this one's _only_ 6 years old)


I just tried installing the stock 2.6.12 kernel on a G3 Imac (rev. D,  
Paddington).  The problem is:
a.  the stock kernel doesn't have a driver for the network chip  
compiled in.

b.  the install procedures don't  insmod the appropriate driver module
c.  hotplug (testing/etch) package doesn't traverse the paddington  
devices (macio bus).

d.  It's not all that obvious which driver should be aliased to eth0.

I've poked around a bit and it seems that this is a common problem  
with G3 macs where the devices are not visible to the pci bus.


So, what's the ''naive'' user to do
 - is there a powerpc package with the macio.rc patches for  
hotplug?  (see http://www.ussg.iu.edu/hypermail/linux/kernel/ 
0503.0/0192.html)  N.B. I'm assuming the kernel patches are in  
2.6.12.  The network device does show up in /sys. so please  
correct me if I'm wrong.)
 - if not, is there a recipe for loading the drivers for the divers  
macio devices.
 - should a bug be filed against linux-kernel-2.6.12-powerpc?  I ask  
because  2.4.18 installed just fine.


Thnx,
--rich


FWIW,

$ cat /proc/cpuinfo
cpu : 740/750
temperature : 23-25 C (uncalibrated)
clock   : 333MHz
revision: 130.2 (pvr 0008 8202)
bogomips: 665.19
machine : iMac,1
motherboard : iMac MacRISC Power Macintosh
L2 cache: 512K unified
memory  : 64MB
pmac-generation : NewWorld

$ lspci
:00:00.0 Host bridge: Motorola MPC106 [Grackle] (rev 40)
:00:10.0 ff00: Apple Computer Inc. Paddington Mac I/O
:00:12.0 VGA compatible controller: ATI Technologies Inc 3D Rage  
Pro 215GP (rev 5c)

:00:14.0 USB Controller: Agere Systems USB (rev 12)





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]