linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: RevD iMac USB errors (was Problems compiling ppc kernels)
  1999-10-27  3:00 Problems compiling ppc kernels bob
@ 1999-10-27  3:43 ` hollis
  1999-10-27  5:57   ` Neil Russell
  0 siblings, 1 reply; 6+ messages in thread
From: hollis @ 1999-10-27  3:43 UTC (permalink / raw)
  To: bob; +Cc: linuxppc-dev


bob@kunk.jriver.com wrote:
> 
> Neil Russel Wrote:
> 
> On Tue, Oct 26, 1999 at 01:47:28PM -0400, Mike Panetta wrote:
> > I have been having some real weird problems with compiling
> > kernels for my iMAC. ....
> 
> I had basically the same problems compiling a kernel for iMac, and
> fixed them by turning off config for the offending items.  I did not
> get any of those kernels to boot on the iMac.  I ended up using 2.2.6
> (the one shipped on the LinuxPPC CD).  The 226 kernel works, except for
> the keyboard/mouse ("version 1.16 USB, only understand 1.0 problem").
> I ended up hacking a small change into the ethernet code to snarf
> specially formatted UDP packets and shove them into the console queue.
> This works fine, but is rather ugly.

I have no idea what you're saying... you hacked your iMac to make it
think custom-made packets coming at it are from the keyboard?

> Does anyone else have any insight into this?  Can anyone point me to
> a kernel binary that works on the iMac?  How about the config file for
> the said kernel?
> 
> I have a rev.D iMac, purchased about a month ago (just before the new
> iMac came out).

The kernels on rshaw's pages (http://www.linuxppc.org/blueg3) should
work fine. The trick is just to comment out the USB version-checking
code. I think he has the patch there as well.

-Hollis

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RevD iMac USB errors (was Problems compiling ppc kernels)
  1999-10-27  3:43 ` RevD iMac USB errors (was Problems compiling ppc kernels) hollis
@ 1999-10-27  5:57   ` Neil Russell
  1999-10-27  6:10     ` hollis
  0 siblings, 1 reply; 6+ messages in thread
From: Neil Russell @ 1999-10-27  5:57 UTC (permalink / raw)
  To: hollis; +Cc: linuxppc-dev


On Tue, Oct 26, 1999 at 11:43:17PM -0400, hollis@andrew.cmu.edu wrote:
> > I ended up hacking a small change into the ethernet code to snarf
> > specially formatted UDP packets and shove them into the console queue.
> > This works fine, but is rather ugly.
> 
> I have no idea what you're saying... you hacked your iMac to make it
> think custom-made packets coming at it are from the keyboard?

That's it exactly.  I used this hacked kernel to allow me to type on the
console to get linux installed.  I never intended to use the console for
real work.  I just run X11 to a remote X server for that.

> > Does anyone else have any insight into this?  Can anyone point me to
> > a kernel binary that works on the iMac?  How about the config file for
> > the said kernel?
> > 
> > I have a rev.D iMac, purchased about a month ago (just before the new
> > iMac came out).
> 
> The kernels on rshaw's pages (http://www.linuxppc.org/blueg3) should
> work fine. The trick is just to comment out the USB version-checking
> code. I think he has the patch there as well.

I tried several of those kernels and they would not even boot.  I also
built a kernel with the version checking commented out and those kernels
would not even find the keyboard.


-- 
Neil Russell <caret@c-side.com>

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RevD iMac USB errors (was Problems compiling ppc kernels)
  1999-10-27  5:57   ` Neil Russell
@ 1999-10-27  6:10     ` hollis
  1999-10-27 18:35       ` Dan Malek
  1999-11-01  5:11       ` Dan Malek
  0 siblings, 2 replies; 6+ messages in thread
From: hollis @ 1999-10-27  6:10 UTC (permalink / raw)
  To: Neil Russell; +Cc: linuxppc-dev


Neil Russell wrote:
> 
> On Tue, Oct 26, 1999 at 11:43:17PM -0400, hollis@andrew.cmu.edu wrote:
> > > Does anyone else have any insight into this?  Can anyone point me to
> > > a kernel binary that works on the iMac?  How about the config file for
> > > the said kernel?
> > >
> > > I have a rev.D iMac, purchased about a month ago (just before the new
> > > iMac came out).
> >
> > The kernels on rshaw's pages (http://www.linuxppc.org/blueg3) should
> > work fine. The trick is just to comment out the USB version-checking
> > code. I think he has the patch there as well.
> 
> I tried several of those kernels and they would not even boot.  I also
> built a kernel with the version checking commented out and those kernels
> would not even find the keyboard.

Those kernels should definately boot... are you downloading them from
the Mac OS side? Linux apparently has some issues copying to HFS that
can render kernels unbootable (this is from personal experience).

If those still don't work, try the kernel at
ftp://ftp.linuxppc.org/kernels/BlueG3/v2.2.6/vmlinux-2.2.6-rev1.gz

-Hollis

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RevD iMac USB errors (was Problems compiling ppc kernels)
  1999-10-27  6:10     ` hollis
@ 1999-10-27 18:35       ` Dan Malek
  1999-11-01  5:11       ` Dan Malek
  1 sibling, 0 replies; 6+ messages in thread
From: Dan Malek @ 1999-10-27 18:35 UTC (permalink / raw)
  To: hollis; +Cc: Neil Russell, linuxppc-dev


hollis@andrew.cmu.edu wrote:


> Those kernels should definately boot... are you downloading them from
> the Mac OS side? Linux apparently has some issues copying to HFS that
> can render kernels unbootable (this is from personal experience).
> 
> If those still don't work, try the kernel at
> ftp://ftp.linuxppc.org/kernels/BlueG3/v2.2.6/vmlinux-2.2.6-rev1.gz

Thanks for all of the information, but I still haven't found anything
that will boot on my iMac.  I am trying to catch the messages as they
scroll by :-).  The first one that seems suspicious is something
about "hub 0 timeout" trying to attach or initialize.  After that I
get continuous "USB-HUBM Cannot attach to port 0 of hub....." and
"USBD: Transaction....endpoint 0, timed out".

Hacking code now.......I have the 2.2.5 kernel patched up to 2.2.6
with the other keyboard and usb patches as described on johnb's
imaclinux.net pages, as my starting point.  Should I be using something
else?


	-- Dan

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RevD iMac USB errors (was Problems compiling ppc kernels)
@ 1999-10-28  1:31 Dan Malek
  0 siblings, 0 replies; 6+ messages in thread
From: Dan Malek @ 1999-10-28  1:31 UTC (permalink / raw)
  To: linuxppc-dev


Just an update......

My iMac has the Lucent USS-302 OHCI host controller.  I discovered
that in ohci_host_init(), just before the "clear interrupt routing
and reset", it is in the suspended state.

If I change the control register to operational at this point, then
go through the reset and initialization that follows, all of my
timeout messages disappear.

After the first device attachment message, I get several "Ran out of
hub queuing slots" messages.  I later get the "....protocol 1.16" message
that I have patched out, and finally detect the hub on port 0.  I
don't get any messages about devices connected to the hub.

This same kernel boots just find on my "old" iMac, so I want to assume
the trouble is with the host controller.  Swapping keyboards (which is
weird because of different colors :-), results in the old "old" iMac
still working, while the "new" old iMac still failing.....further
pointing to the host controller.

That's all from me tonight....time to go and watch South Park :-).


	-- Dan

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RevD iMac USB errors (was Problems compiling ppc kernels)
  1999-10-27  6:10     ` hollis
  1999-10-27 18:35       ` Dan Malek
@ 1999-11-01  5:11       ` Dan Malek
  1 sibling, 0 replies; 6+ messages in thread
From: Dan Malek @ 1999-11-01  5:11 UTC (permalink / raw)
  To: linuxppc-dev


Just to keep everyone up to date.......

Someone wrote:

> > > The kernels on rshaw's pages (http://www.linuxppc.org/blueg3) should
> > > work fine. The trick is just to comment out the USB version-checking
> > > code. I think he has the patch there as well.

I tried again today, and the vmlinux-2.2.10-rev1.gz booted on my RevD iMac.
The 2.2.6 wouldn't, and the anything prior to the recent Oct. 30 build
wouldn't either.  I used 2.2.10 to install Linux/PPC, you just don't have
any backspace/delete/kill keys, so be careful typing :-).

Thank you very much!  Now, if I could just get the video driver to
leave the monitor enabled, it would be great.  FYI, video=fbonly (check
the No Video box) works, but any other video option turns off the monitor.


	-- Dan

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-11-01  5:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-28  1:31 RevD iMac USB errors (was Problems compiling ppc kernels) Dan Malek
  -- strict thread matches above, loose matches on Subject: below --
1999-10-27  3:00 Problems compiling ppc kernels bob
1999-10-27  3:43 ` RevD iMac USB errors (was Problems compiling ppc kernels) hollis
1999-10-27  5:57   ` Neil Russell
1999-10-27  6:10     ` hollis
1999-10-27 18:35       ` Dan Malek
1999-11-01  5:11       ` Dan Malek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).