Hi!
I've just upgraded today to 2006.1 profile and 2.6.17.7 vanilla-sources. Everything went fine and my system boots perfectly but I have a big problem though: My keyboard is no longer detected....
The keyboard is a sun type 6 keyboard (it's written on the back of it) and was perfectly detected as sun type 5 on 2.4.32-sparc-r6 kernel with the following kernel options:

Code:

CONFIG_SUN_KEYBOARD=y
# CONFIG_INPUT_KEYBDEV is not set

and:

Code:

# dmesg | grep key
Sun TYPE 5 keyboard detected without keyclick

I'm using these options for 2.6 kernel and it won't work:

Code:

CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ATKBD is not set
CONFIG_KEYBOARD_SUNKBD=y
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYS is not set

Is there something I'm missing in the kernel options? Or may this be a bug?

Last edited by Adrien on Wed Aug 23, 2006 10:03 pm; edited 1 time in total

I would be interested to see what you did to migrate, as I am considering it? The 2.4 - 2.6 migration guide seems a bit over the top for sparc users, and I would appreciate a simple minimum list of things you must do...

Hi! Thanks for your answer!
It has nothing to do with keymappings, no keyboard is being detected at all, I mean nothing appears on the screen when I type on the keys, so I can't even login.

marky9074 wrote:

I would be interested to see what you did to migrate, as I am considering it? The 2.4 - 2.6 migration guide seems a bit over the top for sparc users, and I would appreciate a simple minimum list of things you must do...

Cheers,

Mark

The guide is ok, but you'll have to adapt it a little bit. You should definitely have a look at this too.
For a start I guess this should be ok (I assume you have a sparc64 system and you want to switch to 2006.1 profile):

Not sure the 2006.1 profile is secure yet btw but haven't had any warnings from portage.

Code:

# emerge --sync
# emerge -au world

It may also be a good idea to switch to udev with:

Code:

# emerge -av udev

and of course the new kernel:

Code:

# emerge -av vanilla-sources

You can now compile your new kernel, but I heard it's not recommended to "make oldconfig" from a 2.4 .config file.
If you want to autoload modules, you'll obviously prefer the /etc/modules.autoload.d/kernel-2.6 file instead of 2.4.

So, don't forget I'm very new to sparc and therefore, I may be wrong about some points.
From know I'm not sure about what to do. glibc should be reinstalled against the new kernel headers but the thing is it refuses to compile for me as the kernel is too old, so it may be a better idea to reboot first....
Then an emerge -e world is required, and you should also remove devfs...
Have fun! Hope this helps.

Then, with KEYMAP="us" in /etc/conf.d/keymaps, everything works as expected. I do not recall just how much USB stuff I needed to turn on in the kernel to get the keyboard detected, but there was at a minimum what I just mentioned.

Then, with KEYMAP="us" in /etc/conf.d/keymaps, everything works as expected. I do not recall just how much USB stuff I needed to turn on in the kernel to get the keyboard detected, but there was at a minimum what I just mentioned.

Well, thanks a lot for this, will give it a try, but is your keyboard USB? Cause mine is PS/2, so do you still think it would change anything??

Good news! and glad it worked for you!
To answer you, the machine is a Sun Ultra 2 station.
Unfortunately the thing is I got desperate and therefore, tried a Solaris 10 installation, which failed for some reasons I couldn't fix.
I'm tryin' to reinstall gentoo at the moment...

So far as I know, U2+type6+latest gentoo-sources should work as in the handbook. However, be aware that unfortunately for many of us, no 2.6 kernel is completely stable on U2. For many (perhaps most) U2 sustems, kernel-2.6.latest is fine, but for some os (for me included), it is not at all fine. But since this is a new installation, if you run into the instabilities, all you lose is some time. If you are successful with 2.6, please let us all know. (And if you install it but find it to be unstable, let us know that, too. The instability is dramatic (completely dead system), so if you experience it, you will know.)

Ok my reinstallation is now over and I'll try again to switch to 2.6 using gust4voz's kernel configs from his experimental livecd, as I noticed the livecd detected my keyboard.
The thing is there's something weird with the default .config after I emerged gentoo-sources: It seems like a lot of options are missing and fully disabled in it, for example:

Code:

sp4rcbl4ze linux-2.6.17-gentoo-r5 # grep USB .config
# USB support
# CONFIG_USB_ARCH_HAS_HCD is not set
# CONFIG_USB_ARCH_HAS_OHCI is not set
# CONFIG_USB_ARCH_HAS_EHCI is not set
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
# USB Gadget Support
# CONFIG_USB_GADGET is not set

There should be much more options for USB in it, and if I look at gust4voz's config:

Code:

sp4rcbl4ze ~ # grep USB kernel-config-sparc64-2.6.17-gentoo-r4
# CONFIG_USB_DABUSB is not set
# USB support
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set
# Miscellaneous USB options
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_OTG is not set
# USB Host Controller Drivers
CONFIG_USB_EHCI_HCD=m
# CONFIG_USB_EHCI_SPLIT_ISO is not set
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
# CONFIG_USB_ISP116X_HCD is not set
CONFIG_USB_OHCI_HCD=m
# CONFIG_USB_OHCI_BIG_ENDIAN is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=m
# CONFIG_USB_SL811_HCD is not set
# USB Device Class drivers
CONFIG_USB_ACM=m
# CONFIG_USB_PRINTER is not set
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
# may also be needed; see USB_STORAGE Help for more information
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_DPCM=y
CONFIG_USB_STORAGE_USBAT=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
CONFIG_USB_STORAGE_ALAUDA=y
CONFIG_USB_STORAGE_ONETOUCH=y
CONFIG_USB_LIBUSUAL=y
# USB Input Devices
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
# CONFIG_USB_HIDINPUT_POWERBOOK is not set
CONFIG_USB_HIDDEV=y
# USB HID Boot Protocol drivers
CONFIG_USB_KBD=m
CONFIG_USB_MOUSE=m
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_ACECAD is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_TOUCHSCREEN is not set
# CONFIG_USB_YEALINK is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set
# CONFIG_USB_ATI_REMOTE2 is not set
# CONFIG_USB_KEYSPAN_REMOTE is not set
# CONFIG_USB_APPLETOUCH is not set
# USB Imaging devices
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# USB Network Adapters
CONFIG_USB_CATC=m
CONFIG_USB_KAWETH=m
CONFIG_USB_PEGASUS=m
CONFIG_USB_RTL8150=m
CONFIG_USB_USBNET=m
CONFIG_USB_NET_AX8817X=m
CONFIG_USB_NET_CDCETHER=m
CONFIG_USB_NET_GL620A=m
CONFIG_USB_NET_NET1080=m
CONFIG_USB_NET_PLUSB=m
CONFIG_USB_NET_RNDIS_HOST=m
CONFIG_USB_NET_CDC_SUBSET=m
CONFIG_USB_ALI_M5632=y
CONFIG_USB_AN2720=y
CONFIG_USB_BELKIN=y
CONFIG_USB_ARMLINUX=y
CONFIG_USB_EPSON2888=y
CONFIG_USB_NET_ZAURUS=m
# CONFIG_USB_MON is not set
# USB port drivers
# USB Serial Converter support
# CONFIG_USB_SERIAL is not set
# USB Miscellaneous drivers
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGETKIT is not set
# CONFIG_USB_PHIDGETSERVO is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TEST is not set
# USB DSL modem support
CONFIG_USB_ATM=m
CONFIG_USB_SPEEDTOUCH=m
CONFIG_USB_CXACRU=m
CONFIG_USB_UEAGLEATM=m
CONFIG_USB_XUSBATM=m
# USB Gadget Support
# CONFIG_USB_GADGET is not set

Sorry for the huge amount of code but I'm curious about how such a thing is possible....
EDIT:Ok well, the question is quite stupid....nevermind

Ok good news here, it works now, for whatever reasons I couldn't find. I used gust4voz's config for gentoo-sources-2.6.17-r5 without changing it first, it worked fine and keyboard was detected. After that I striped the .config as much as I could (according to my needs of course) in order to try to find out which option I missed before or which one shouldn't have been enabled but without success. Anyway, everything's just fine for my ultra 2

For the moment everything seems to be really stable, just a little display bug when the kernel starts (harmless though) and the problem with the hme driver which is not caused by 2.6.

Here are some extra informations, hope it helps, I can also send my kernel .config on demand: