Re: Silo, Lilo, Grub and a new kernel
Le mercredi 16 août 2006 10:27, Daniel Liikamaa a écrit : > You can't run lilo on a sparc, silo is the sparc alternative, so to > speak. > And as for your question; you just relink vmlinuz to your new kernel and > reboot. Silo works a little bit like grub, you don't have to reinstall > the boot sector every time you upgrade your kernel. Just to mention it, I've started a sparc64-ieee1275 grub 2 port. It's not usable yet, sadly, and I haven't worked on it for some time. For now I can just boot grub using netboot (it lacks a disk install system), "use" grub 2 (module loading, command line, ...) and cannot boot any OS (err... bootloader ? Ah, nevermind :) ). If anyone want to contribute, you're welcome on #grub irc channel on freenode (I'm sometimes there...). -- Vincent Pelletier pgpBwzxAgWBxA.pgp Description: PGP signature
Re: grub
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frans Pop wrote: > Because Sparc uses the SUN disklabel for boot disks and not the msdos > disklabel and grub does not support the SUN disklabel. Not only... I added support for SUN disklabel in grub2 (still in development) and I have been working on making it boot on my usparc IIi, but with little success. All I've been able to was getting the OF vector from registers, but I haven't been able to call any function that need args or return value, so all I was able to was to call "exit", which falls back to the OF prompt (everyone : wow, useful). I haven't worked on it for a few months because I wasn't able to find a doc that was correct & complete : the few I found were either explaining how to use OF prompt, or telling me the function vector was in a register that contained 0 on my box... If anyone knows how to make that work, with as few ASM as possible, I would be happy to again put my hands inside that code. Vincent Pelletier -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCnww3FEQoKRQyjtURAhQIAJ9JMQMpDVObGW+64MrZnibBoweRQACeL+qi B/oRM+Yz5GzmPeJA1NtSKIg= =WtrW -END PGP SIGNATURE- _ Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vidéos ! Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Bug #251149: gcc wrapper for sparc is chronically broken
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: > About this topic, how can I check a kernel to see whether I built it in > 64-bit or 32-bit mode? Use "file" on a module (/lib/modules/`uname -r`/[...]/*.ko if installed, or somewhere in /usr/src/linux if not). Vincent Pelletier -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCmXfmFEQoKRQyjtURAmayAJ9dA6uEhc22qRx1hW69I73bd8GrLACZAaeo d8m/E0khloB75CQgrHjES90= =fvI4 -END PGP SIGNATURE- _ Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vidéos ! Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Lots of kernel problems with U30 (fwd)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jurij Smakov wrote: > Here's some relevant information by Vincent, who probably forgot to > CC: debian-sparc :-). Oops, I did it again (again, again, ...) :$. I never think of the "reply to all" thing :(. Vincent Pelletier -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCZ2NWFEQoKRQyjtURAt0XAJ9fzn0+d36tSXbu5tzHHRcxqjc8HACggRfq 8S8AXlyfYgMFTEBZAts67hk= =hrTy -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: weird-o-rama: Type5 keyboard suddenly becomes PC104 keyboard...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: | /dev/input/mice | protocol ImPS/2 | | --- "Daniel E. Jonsen" <[EMAIL PROTECTED]> wrote: |>If anybody out there with a Sun serial mouse working under XFree86 |>4.0 and |>a 2.6 kernel could send me their mouse section (as above), or if |>anyone |>could tell me what device a Sun serial mouse maps to under X, I'd be |>grateful. Actually, maybe the "Protocol" section might be wrong also I have to unplug and replug the mouse once before getting it to work, but I only notice that on my home-built kernels... I find it really slow when it works. Vincent Pelletier -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCOXCPFEQoKRQyjtURAjxTAJ0f7yt+et0nJuC9LGqDdOBKQTK5YACZAXHL tra98TdTXyjBUwzEAI/9IkU= =eD68 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: weird-o-rama: Type5 keyboard suddenly becomes PC104 keyboard...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel E. Jonsen wrote: | So you're saying I should use the "us" (PC104) keyboard mapping even | with the Sun type 5 keyboard on a 2.6 kernel? Let me give it a shot... Afaik, there is no other way... But I'm interested in how to be able to use the sun keys, because some are detected as - for example - KP_ENTER. I'm not sure, but even some are detected as 2 different keys (they display 2 successive keycodes in xev, plus the release events). Any X keymap available ? Vincent Pelletier (PS: /me slaps thunderbird for always answering to the sender instead of the list. Sorry Daniel Jonsen...) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCOW+oFEQoKRQyjtURAiIjAKCh6tbV3vT7KJVMvTEBZoDYwBzaUQCgi5Hq Z3zTA8YA+YFi+evHQ96d0Ps= =Tcar -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Type6 keyboard problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 rover linux adm wrote: | syntax error: line 103 of sun/us | The XKEYBOARD keymap compiler (xkbcomp) reports: | |>Error:Error interpreting include file "sun/us" |> Exiting |> Abandoning symbols file "default" The /etc/X1/xkbd/symbols/sun/us file has a problem. I had the same problem, and still have problems with my type5c keyboard. I suggest comment out your "Kbd*" options in XF86Config-4, it will then default to ~ x86 qwerty layout which will work, though without the sun special keys. I'm trying to create a whomle new keyboard for xkb, but I am stuck. It seems that kernel 2.6 doesn't handle sun keyboards well, or at least differently of 2.4 (I have to switch to kernel default keymap in console-data to have a working console). I have tested with 2.6.8 debian kernel, 2.6.10 (debian source ? I don't remember if there is one) and 2.6.11-rc2 from kernel.org. Here is how I proceed : I log on my sparc with ssh, edit the config files, and run : XFree86 & xev then I move the mouse on xev window, press keys on the sun keyboard and watch the results. The problem is that keys react differently sometimes. Once "help" returns one keystroke (221 iirc, 2 events for press & release), other time it will output 3 keystrokes (2 events for each). Sometimes "esc" will return 6, sometimes 5. "open" returns 335 iirc, which is obviously wrong. As I'm not used either to sun hardware nor to xkb, I'm affraid I can't help much more... Vincent Pelletier -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCA6WAFEQoKRQyjtURAvhQAJ9G65tVgCB1fJHPHMwno/WdSUauqQCdG5f0 vOUmzwUTtgdfx7BFPt1WhYQ= =Zf6H -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [debian-sparc] Testing 2.6.10 on sparc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erwann ABALEA wrote: | The only problem I have | is that I still don't have any sound. Everything related to sound is | compiled as module, and I don't load them automatically. When I do a | 'modprobe snd-sun-cs4231', here what I get in the logs: No sound too on an Ultra10 (1*usparc IIi with cs4231 card on SBUS) I have tested a Debian-Sid with kernels 2.6.10 & 2.6.11-rc2 and each time I can't have alsa to work. But the errors I get are different, they talk about ioctl32 errors. IIRC, ffb module (DRI support for Creator/Creator3D/...) is broken in 2.6.10 and still is in 2.6.11-rc2. I experienced some freezes when I toyed with fbset while X was running, but I don't know if they are related to that module. Vincent Pelletier -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCA6ImFEQoKRQyjtURAhyBAKCvQnfE3iegWaP+66TEeAS2jLDwFACfWBw9 wmh93NtYMlOHzjpCP+LMxOY= =rqot -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: sarge sparc type5 keyboard not working
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I just realised I sent this mail directly to the author and not to the mailing list - sorry Frank - so I post it again. [EMAIL PROTECTED] wrote: | Here is my XF86Config-4 entry : | | Section "InputDevice" | Identifier "Keyboard0" | Driver "keyboard" | Option "CoreKeyboard" | Option "XkbRules" "sun" | Option "XkbModel" "type5" | Option "XkbLayout" "us" Try without the Xkb[...] options. The keyboard should surprisingly work, without the sun special keys though ("help", the left key block, the top right block with "power"). That may be worth a bugreport, but I don't know xkb enough to tell what is wrong. (there is an error in X86 log when using sun keymaps and xf86cfg refuses to select those maps - and moreover hangs on sun framebuffers X drivers, for me). I would be interested in any valid keymap for that kind of keyboard. Vincent Pelletier -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB9jbEFEQoKRQyjtURAppwAKCkyEnO2SkuCx/s8+qEPYQ/msYEYQCgtq0d Wx84cH2Df9UpbGnPU+DYUDw= =LQUV -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: OpenBoot callback function
Ben Collins wrote : I believe things are passed in an array. I think the reason it is in mostly asm is because silo is a 32-bit program, and the openboot commands are expected to be sent in a 64-bit array. So normal C calling conventions don't mix. Grub2 can be built as 64bits I think. And the less I use asm, the more easily it could be ported to other OpenFirmware (maybe OpenBot) platforms. Just copy the p1275 command stuff from silo. It's a simple and clean interface. Grub2 is a GNU project, so I can't copy-paste code - or, afaik, the original author would have to sign some kind of copyright assignment. That's why I would highly prefer a doc over source code. Vincent Pelletier -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
OpenBoot callback function
Hi. I'm working on grub2 port on ultrasparc, and I'm searching for docs describing how args are passed to the callback function, and how to read the result. I saw silo and kernel uses lots of asm to do that, and I would like to avoid it as much as possible. Thanks, Vincent Pelletier -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]