Search the web
Sign In
New User? Sign Up
linux-mac68k · Linux for 68k Macintosh
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
linux-2.6.14-m68k on performa 575   Message List  
Reply | Forward Message #7299 of 7317 |
Re: [linux-mac68k] linux-2.6.14-m68k on performa 575



On Sun, 20 Nov 2005, Bob Brose wrote:

>
> > > Also another odd thing, from adb. I was holding down the up arrow
> > > key to go through the history under bash and the computer though at
> > > some point that I never released the key. I couldn't do anything to
> > > get it to stop by repushing the down key or any other key for that
> > > matter.
> >
> > Do any other ADB events register? If no other keys do anything at all,
> > it's possible that the driver lost communication with the bus, and
> > isn't seeing anything to end the key repeat. Most likely this would
> > just be a bug in the driver.
>
> It seems like the adb gets hung. When it gets stuck, last time was on
> the "n" key, no other key makes it change, it keeps hammering out n's.
> When this happens, I can still access the machine via the ethernet. When
> I try a reboot (which appears to rely upon adb) the machine is unable to
> restart, it hangs at the point at which it's supposedly going to do a HW
> reboot.

A while ago I had the same "stuck" key problem (on very similar hardware).

http://marc.theaimsgroup.com/?l=linux-mac68k&m=112006052810878&w=2

> Now I tried a bunch of combinations of kernels and devices and made the
> following observations:
>
> With the b and c patches mentioned previously installed, if adb is
> DISABLED esp and sonic work ok. sg_verify suceeds on the whole disc.

OK, this means there isn't really any regression. CUDA ADB has been flakey
for as long as I've been using 2.6 kernels. (Small comfort, I know.)

-f
_______________________________________________
linux-mac68k mailing list
linux-mac68k@...
http://lists.purplehat.net/listinfo/linux-mac68k



Mon Nov 21, 2005 3:53 am

fthain@...
Send Email Send Email

Forward
Message #7299 of 7317 |
Expand Messages Author Sort by Date

Thanks for the OSX compile help! I'm now running 2.6.14-m68k on a Performa 575 w/ 68040 (not LC). The ADB seems to work fine now with light testing, the...
bob
bob_b@...
Send Email
Nov 10, 2005
2:15 pm

... Great! ... Please try this patch, http://www.telegraphics.com.au/~fthain/patches/sent/patch_b-mac68k_cvs_via_cleanup_and_fix2.diff It was needed to get...
Finn Thain
fthain@...
Send Email
Nov 11, 2005
12:41 am

Oh DARN! I see something similar to that on my old source directory: patch_a-sonic-overhaul-and-update-new.diff patch_b-mac68k_cvs_via_cleanup.diff ...
Bob
bob_b@...
Send Email
Nov 11, 2005
2:13 am

... Hmm.. I guess this can't be a hardware problem if 2.6.10 doesn't print these diagnostics... ... You need a patch like this. I haven't actually tested...
Finn Thain
fthain@...
Send Email
Nov 11, 2005
4:10 am

... It is certainly worth a try. The original patch_b and patch_c can be used together, but neither one can be used with...
Finn Thain
fthain@...
Send Email
Nov 11, 2005
12:09 pm

I haven't tried the patch_c yet. I did look at the source for the mac esp in the 2.6.10 with the 2.6.8 patches a,b, and c and compared it to the source for the...
Bob
bob_b@...
Send Email
Nov 11, 2005
8:10 pm

... You could try sg_verify from the sg3-utils package ... I'd probably run that in single user mode, but only because I don't know what happens when a disk...
Finn Thain
fthain@...
Send Email
Nov 12, 2005
12:00 am

... Tried with the patched 2.6.10 and it went through the whole disk without a problem. ... I tried it with your newest b and c patches above in 2.6.14 and it...
bob_b@...
Send Email
Nov 12, 2005
4:22 pm

... Hmm. I hate regressions. ... Thanks for trying. I would try to reproduce this myself, but my macs are stored about 500 km from my present location. I do...
Finn Thain
fthain@...
Send Email
Nov 13, 2005
1:09 am

... Same result unfortunately. I tried it with and without the via_alt_mapping code. I'm wondering if perhaps it isn't the interrupts in the case of the esp...
bob_b@...
Send Email
Nov 13, 2005
7:16 am

... I wonder if the esp driver is sensitive to dma_supported() or some other change? Maybe it would be worth trying it without the 42_dma patch (and without...
Finn Thain
fthain@...
Send Email
Nov 13, 2005
2:10 pm

... Tried the patchc #3, no change... I finally got rid of the error by disabling ADB in the 2.6.14 kernel. It appears there is some conflict between that and...
bob_b@...
Send Email
Nov 14, 2005
2:45 am

... To answer that question I would have to eliminate the dma variable emprically. ADB shares VIA1 with the timer interrupt, and so I think that dma isn't the...
Finn Thain
fthain@...
Send Email
Nov 14, 2005
4:19 am

... The CUDA ADB driver is very cavalier about poking bits in the VIA. It's possible that it's conflicting with one of the VIA driver changes in one of those...
Brad Boyer
flar@...
Send Email
Nov 14, 2005
6:03 am

... patch_b is confined to VIA2... Adding patch_c didn't make any difference. I didn't think ADB was related to VIA2? -f ... ...
Finn Thain
fthain@...
Send Email
Nov 14, 2005
12:40 pm

... That's true. There shouldn't be anything touching VIA2 in the ADB code. I have to admit that I haven't looked at your patches very closely. In any case,...
Brad Boyer
flar@...
Send Email
Nov 14, 2005
9:33 pm

Hi All, Maybe the esp problem is timing related. I got an interesting result when I moved the kernel from compiling on an OSX machine to directly on the...
Bob Brose
bob_b@...
Send Email
Nov 20, 2005
8:06 pm

... That seems odd. Could you send me both kernels (in a private email) so I can take a look at them? It's possible one compiler or the other has a bug in the...
Brad Boyer
flar@...
Send Email
Nov 20, 2005
8:53 pm

Brad Boyer: . . ... Done. Also, I compared a bunch of different kernel compiles and interrupt configurations and made notes below... ... It seems like the adb...
Bob Brose
bob_b@...
Send Email
Nov 20, 2005
11:23 pm

... Yes, that's a full ADB hang. All but the oldest models do reboot and shutdown using commands to the ADB controller. The driver probably got into a bad...
Brad Boyer
flar@...
Send Email
Nov 21, 2005
3:34 am

... With VIA 1 on interrupt level 6, ADB generally gets lower latency, which kind of explains the improvement in ADB but not the additional deterioration of...
Finn Thain
fthain@...
Send Email
Nov 21, 2005
5:48 am

... Well, many of the mac device drivers take a very stupid approach to locking and reentrancy. Most of them try things like disabling all interrupts to...
Brad Boyer
flar@...
Send Email
Nov 21, 2005
7:43 am

... A while ago I had the same "stuck" key problem (on very similar hardware). http://marc.theaimsgroup.com/?l=linux-mac68k&m=112006052810878&w=2 ... OK, this...
Finn Thain
fthain@...
Send Email
Nov 21, 2005
3:53 am

... You should also have gcc 3.3 and 3.4 for OS X. When following the instructions on the mac 68k site, just use a different $PATH. That is, any one of, ...
Finn Thain
fthain@...
Send Email
Nov 21, 2005
12:33 am

Hi Kars, Looks like it wasn't esp directly anyway. I disabled the adb driver in the 2.6.14 kernel and it works now.. Bob ... -- /~\ The ASCII | Robert E....
bob_b@...
Send Email
Nov 14, 2005
2:42 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help