Skip to contentSkip to conversation

sparc32 - keyboard is dead with v3.4-rc1

DISCUSSION Sam Ravnborg 3 participants 7 messages Apr 3, 2012 – Apr 4, 2012

lore
Share & tools
lore
#0 lore raw

Hi all.

I have just tried out v3.4-rc1 on my sparc32 box - and keyboard is not working. I type my username - but nothing happens.

I see nothing unusual during booting the kernel.
With the same configuration it works with v3.3.

As I have no prime suspects I have started to bisect it - but wanted to let you know that there is an issue.

bisect will take some time as my build-machine is not exactly quick - so I expect no result until sometime tomorrow. But the good thing is that it is easy to test :-)

Sam

#1 lore raw

From: Sam Ravnborg <[email protected]>
Date: Tue, 3 Apr 2012 22:44:56 +0200

Quoted 6 lines

I have just tried out v3.4-rc1 on my sparc32 box - and keyboard is not working. I type my username - but nothing happens.

I see nothing unusual during booting the kernel.
With the same configuration it works with v3.3.

Quoted 6 lines

As I have no prime suspects I have started to bisect it - but wanted to let you know that there is an issue.

bisect will take some time as my build-machine is not exactly quick - so I expect no result until sometime tomorrow. But the good thing is that it is easy to test :-)

Since sparc is one of the few platforms with a serial based keyboard I think serial/tty/input layers would be the places to investigate.

Unfortunately I can't help with this since all the machines I have access to have USB keyboards and there'd be a loud mob if those broke :)

#2 lore raw
In reply to Sam Ravnborg
Quoted 16 lines · David Miller

From: Sam Ravnborg <[email protected]>
Date: Tue, 3 Apr 2012 22:44:56 +0200

Quoted 6 lines

I have just tried out v3.4-rc1 on my sparc32 box - and keyboard is not working. I type my username - but nothing happens.

I see nothing unusual during booting the kernel.
With the same configuration it works with v3.3.

Quoted 6 lines

As I have no prime suspects I have started to bisect it - but wanted to let you know that there is an issue.

bisect will take some time as my build-machine is not exactly quick - so I expect no result until sometime tomorrow. But the good thing is that it is easy to test :-)

Quoted 6 lines

Since sparc is one of the few platforms with a serial based keyboard I think serial/tty/input layers would be the places to investigate.

Unfortunately I can't help with this since all the machines I have access to have USB keyboards and there'd be a loud mob if those broke :)

sunzilog was the culprint - so right you were...

I managed to complete the bisect today (getting late here).

It said:

d4e33fac2408d37f7b52e80ca2a89f9fb482914f is first bad commit commit d4e33fac2408d37f7b52e80ca2a89f9fb482914f

Author: Alan Cox <[email protected]>
Date:   Thu Jan 26 17:44:09 2012 +0000

serial: Kill off NO_IRQ

We transform the offenders into a test of irq <= 0 which will be ok while the ARM people get their platform sorted. Once that is done (or in a while if they don't do it anyway) then we will change them all to !irq checks.

For arch specific drivers that are already using NO_IRQ = 0 we just test against zero so we don't need to re-review them later.

:040000 040000 e9f4b547c07e96339c1ea04b68c64b10ac576bb5 aa27d6cda463cfacc254cd74a787f68fb4c2f678 M drivers

This was also my prime suspect when I looked at tty/serial.

I assume we have some inconsistency in the interpretation of irq = 0 somewhere.

In my first post I said that nothing unusual showed up in the boot log.
But the following line is missing when it does not work:

input: Sun Type 5 keyboard as /devices/root/ffd31a40/ffd31cf0/serio0/input/input0

I will take a look at this tomorrow.

Sam

#3 lore raw
In reply to Sam Ravnborg

From: Sam Ravnborg <[email protected]>
Date: Wed, 4 Apr 2012 00:35:57 +0200

Quoted 1 line

serial: Kill off NO_IRQ

...

Quoted 5 lines

This was also my prime suspect when I looked at tty/serial.

I assume we have some inconsistency in the interpretation of irq = 0 somewhere.

Quoted 8 lines

In my first post I said that nothing unusual showed up in the boot log.
But the following line is missing when it does not work:

input: Sun Type 5 keyboard as /devices/root/ffd31a40/ffd31cf0/serio0/input/input0

I will take a look at this tomorrow.

Great work Sam.

#4 lore raw
In reply to Sam Ravnborg

Hi Sam,

Quoted 5 lines · Sam Ravnborg

Hi all.

bisect will take some time as my build-machine is not exactly quick - so I expect no result until sometime tomorrow. But the good thing is that it is easy to test :-)

I'm investigating distcc as a solution for this as part of my latest attempt to get Gentoo Linux onto my SS10. I've read some success stories, however they're on my other computer, if you're interested, I'll send you a link to the "official" Gentoo sparc/distcc guide.

Thanks,

Signature · 5 lines
Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/
#5 lore raw
In reply to Sam Ravnborg
Quoted 5 lines · Julian Calaby

Hi Sam,

Quoted 2 lines · Sam Ravnborg

Hi all.

Quoted 8 lines
Quoted 3 lines

bisect will take some time as my build-machine is not exactly quick - so I expect no result until sometime tomorrow. But the good thing is that it is easy to test :-)

I'm investigating distcc as a solution for this as part of my latest attempt to get Gentoo Linux onto my SS10. I've read some success stories, however they're on my other computer, if you're interested, I'll send you a link to the "official" Gentoo sparc/distcc guide.

distcc require spare computers - for now I do most of my linux stuff on one Intel dual-core Atom based box. I have a quad-core box - but it is seldom powered on.

The Atom based box is always ready - which matches my typical working pattern well (less than an hour typically and only few days a week).

The quad-core would be fine for bisect etc. but then I have to install a lot....
In practice I am much slower than the computer, so it actualy hurts less than one may think.

Sam

#6 lore raw
In reply to Sam Ravnborg

Hi Sam,

Quoted 10 lines · Sam Ravnborg
Quoted 9 lines · Julian Calaby

Hi Sam,

Quoted 5 lines · Sam Ravnborg

Hi all.

bisect will take some time as my build-machine is not exactly quick - so I expect no result until sometime tomorrow. But the good thing is that it is easy to test :-)

Quoted 8 lines
Quoted 4 lines

I'm investigating distcc as a solution for this as part of my latest attempt to get Gentoo Linux onto my SS10. I've read some success stories, however they're on my other computer, if you're interested, I'll send you a link to the "official" Gentoo sparc/distcc guide.

distcc require spare computers - for now I do most of my linux stuff on one Intel dual-core Atom based box. I have a quad-core box - but it is seldom powered on.

Ok, fair enough, my work environment means that I have at least two other computers on when working with my Sparc equipment, one of which is a fairly powerful x86 box. Distcc makes sense for my use case as I will be doing a lot of compiling.

Quoted 4 lines

The quad-core would be fine for bisect etc. but then I have to install a lot....
In practice I am much slower than the computer, so it actualy hurts less than one may think.

Makes sense =)

Thanks,

Signature · 5 lines
Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/