framebuffer console problems
I finally got a sun keyboard so I wouldn't have to use a serial console anymore, and immediately ran into a problem with out of sync video: [EMAIL PROTECTED]:~# eeprom output-device output-device=screen:r1024x768x60 [EMAIL PROTECTED]:~# fbset -i mode 1024x768-127 --- what? # D: 100.000 MHz, H: 97.656 kHz, V: 127.157 Hz geometry 1024 768 1024 768 8 timings 1 0 0 0 0 0 0 accel true rgba 8/0,8/0,8/0,0/0 endmode Frame buffer device information: Name: CGsix [TGX+] Address : 0 Size: 3145728 Type: PACKED PIXELS Visual : PSEUDOCOLOR XPanStep: 0 YPanStep: 0 YWrapStep : 0 LineLength : 1024 Accelerator : Sun cg6 now this isn't with a sun monitor, but xrandr tells me: SZ:Pixels Physical Refresh *0 1024 x 768( 347mm x 260mm ) *84 75 70 60 87 and I can put it into 1024x768x60 just fine when it's not connected to the sun.. so the question: Is it supposed to say 1024x768-127 and not 1024x768-60 ? I've been trying to figure out where the problem is: A) the sun B) the monitor C) the 13w3 adapter I don't think it is B because I know it can do 1024x768x60. I don't think it is C because I have an indigo2 that boots up into 1280x1024 on B just fine. So what could the problem be? -- -Justin
Re: Upgraded to testing, now xserver freezes
On Tue, May 25, 2004 at 04:40:35PM -0700, Joubin Moshrefzadeh wrote: Ok, I successfully had stable running on my Ultra 5 with no problems for a few months. But I was a bit disappointed with the age of some of the apps, so deciding between backports and going to testing, I chose the latter route. So following the instructions at http://www.debian.org/doc/manuals/reference/ch-woody.en.html I proceeded, having to (re)issue apt-get -f install several times when the upgrade would stop with some error, and then (re)issue apt-get -t testing dist-upgrade... etc. Anyway, after some time and several cycles through this process, I the upgrade ended with no reported errors... great!! This process is usually easier if you don't install anything beforehand.. :-) However, now.. after startx, I get the gray thatch screen and I can see my mouse (which responds to mouse movements) but thats it... the window manager never comes up (before the KDE window showing whats being loaded would come up at this point, but no more). if I ssh in, i see the following processes: what processes? If your mouse is moving, then this sounds like a KDE problem, and not an X problem. Check your ~/.xsession-errors, and try installing some other windowmanager(apt-cache showpkg x-window-manger) and see how that works. -- -Justin
Re: Arnos firewall script
On Fri, 2004-04-30 at 15:08, Joubin Moshrefzadeh wrote: Anyone tried using this script? I'm trying to use it on an Ultra5 running Woody but keep getting errors like: iptables v1.2.6a: can't initialize iptables table 'nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. it wants iptables_nat.o... -- Justin A [EMAIL PROTECTED]
Re: ultra 10 started booting read only? corruption? rebuild?
On Thu, 2004-04-08 at 00:40, asera fini wrote: Hello, My ultra 10 started booting read only, http://lists.debian.org/debian-sparc/2004/debian-sparc-200403/msg00297.html :-) -- -Justin
Re: libgimp2.0 fails to install
On Tue, Apr 06, 2004 at 08:07:54AM +0100, Euan Maxwell wrote: debconf: unable to initialize frontend: Kde debconf: (Can't locate Qt.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.3 /usr/local/share/perl/5.8.3 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Kde/Wizard.pm line 7, line 1.) debconf: falling back to frontend: Dialog you probably want to dpkg-reconfigure debconf (Reading database ... 107343 files and directories currently installed.) Unpacking libgimp2.0 (from .../libgimp2.0_2.0.0-4_sparc.deb) ... dpkg: error processing /var/cache/apt/archives/libgimp2.0_2.0.0-4_sparc.deb (--unpack): trying to overwrite `/usr/share/locale/ca/LC_MESSAGES/gimp20-libgimp.mo', which is also in package gimp-data dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/libgimp2.0_2.0.0-4_sparc.deb E: Sub-process /usr/bin/dpkg returned an error code (1) apt-get install gimp-data should fix that. -- -Justin
Re: Help needed with failed build (#220928)
On Tue, Apr 06, 2004 at 08:22:24PM +0200, Christian Kurz wrote: Hi, the package john, currently maintained by Javier Fern?ndez-Sanguino Pe?a and myself, is failing to build on sparc. This was reported as bug #220928. Paul Slootman then suggested that the benchmark programs fails when setting the SIGALRM signal handler at line 100 of bench.c He suggested running some malloc debugger, like electric fence. But neither does Javier, nor do I have enough time for this task. So I'ld like to ask you to help debugging this problem and fixing the build, so that it works again. Otherwise we would have to drop sparc from the list of supported architectures. So if anybody wants to help, please contact me in private or send me a copy, as I'm not subscribed to debian-sparc. Christian -- Debian Developer (http://www.debian.org) 1024D/B7CEC7E8 44BD 1F9E A997 3BE2 A44F 96A4 1C98 EEF3 B7CE C7E8 I'm looking at it now, just got the backtrace: (gdb) r 1 Starting program: /tmp/john-1.6/src/bench 1 Benchmarking: Standard DES [24/32 128K]... Program received signal SIGSEGV, Segmentation fault. 0x70048f98 in __errno_location () from /lib/libc.so.6 (gdb) bt #0 0x70048f98 in __errno_location () from /lib/libc.so.6 #1 0x7005ed4c in __libc_sigaction () from /lib/libc.so.6 #2 0x7005ef80 in sigaction () from /lib/libc.so.6 #3 0x7005ec6c in ssignal () from /lib/libc.so.6 #4 0x00026744 in benchmark_format (format=0x3a038, salts=256, results=0xeca0) at bench.c:100 #5 0x00026ec0 in main (argc=2, argv=0xed84) at best.c:53 #6 0x70048dac in __libc_start_main () from /lib/libc.so.6 (gdb) efence Enabled Electric Fence (gdb) r 1 The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /tmp/john-1.6/src/bench 1 Electric Fence 2.1 Copyright (C) 1987-1998 Bruce Perens. [New Thread 16384 (LWP 9948)] Benchmarking: Standard DES [24/32 128K]... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 9948)] 0x70115398 in write () from /lib/libc.so.6 (gdb) bt #0 0x70115398 in write () from /lib/libc.so.6 #1 0x7002e3cc in Page_Size () from /usr/lib/libefence.so.0.0 #2 0x7002e5f0 in EF_Print () from /usr/lib/libefence.so.0.0 #3 0x7002d588 in _init () from /usr/lib/libefence.so.0.0 #4 0x7002e08c in malloc () from /usr/lib/libefence.so.0.0 #5 0x00028300 in mem_alloc (size=4) at memory.c:23 #6 0x000265cc in benchmark_format (format=0x3a038, salts=256, results=0xec70) at bench.c:76 #7 0x00026ec0 in main (argc=2, argv=0xed54) at best.c:53 #8 0x7005cdac in __libc_start_main () from /lib/libc.so.6 underfence is the same -- -Justin
Re: Help needed with failed build (#220928)
On Tue, Apr 06, 2004 at 08:22:24PM +0200, Christian Kurz wrote: Hi, the package john, currently maintained by Javier Fern?ndez-Sanguino Pe?a and myself, is failing to build on sparc. This was reported as bug #220928. Paul Slootman then suggested that the benchmark programs fails when setting the SIGALRM signal handler at line 100 of bench.c He suggested running some malloc debugger, like electric fence. But neither does Javier, nor do I have enough time for this task. So I'ld like to ask you to help debugging this problem and fixing the build, so that it works again. Otherwise we would have to drop sparc from the list of supported architectures. So if anybody wants to help, please contact me in private or send me a copy, as I'm not subscribed to debian-sparc. Christian -- Debian Developer (http://www.debian.org) 1024D/B7CEC7E8 44BD 1F9E A997 3BE2 A44F 96A4 1C98 EEF3 B7CE C7E8 alrighty :-) The problem seems to be in des itself, I haven't figurd out where yet, but I did find this: diff -r -u john-1.6.orig/src/MD5_std.c john-1.6/src/MD5_std.c --- john-1.6.orig/src/MD5_std.c 2000-04-01 05:21:43.0 -0500 +++ john-1.6/src/MD5_std.c 2004-04-06 18:01:19.0 -0400 @@ -416,7 +416,7 @@ { int length; - for (length = 0; salt[length] length 8; length++); + for (length = 0; length 8 salt[length] ; length++); memcpy(patterns.s, salt, patterns.l.s = length); } -- -Justin
Re: pkginfo lookalike for debian?
On Thu, Apr 01, 2004 at 07:39:15PM -0500, Mauricio wrote: My solaris box has a proggie called pkginfo which shows which packages I have currently installed in my machine: http://www.debian.org/doc/manuals/reference/ch-package.en.html#s-debian-package There are a TON of commands for stuff like this. -- -Justin
Re: FTBFS question on sparc
On Tue, 2004-03-16 at 15:53, Paul Telford wrote: One of my packages FTBFS on sparc claiming: checking for X... configure: error: Can't find X libraries. Please check your installation and add the correct paths! All other architectures build OK without complaints. Does X work differently on sparc? I Build-Depend on all the proper libraries (AFAIK). Full build log: http://buildd.debian.org/fetch.php?pkg=digikamver=0.6.0-2arch=sparcstamp=1077559734file=logas=raw Thanks for any advice... Can you get the config.log from that? it might be sparc32/sparc64 related... -- -Justin
Re: Re[2]: PCI USB Cards
On Mon, 2004-03-15 at 19:09, Nathanael Camelot wrote: scsi cards, Yep. Got an Adaptec card (2940 IIRC) working very well. Diamond Fireport 40 Dual (sym53c876), (sg module), can boot from it, but when rebooting, I have to Stop+A and boot scsi. have you tried setting the default boot device to scsi? -- -Justin
Re: v100 ethernet problems
On Sun, 2004-03-14 at 17:41, Marc Horowitz wrote: Problem 3: Full-duplex doesn't work right. At boot, the interface autonegotiates to 100baseTx-HD. If I use mii-tool to force it to full duplex, I see reduced throughput, and a transmit error on every packet is reported (but the packets are sent). Marc My ultra2 did this when it was plugged into my old 10mbit switch(it went to 10 hd) If I forced it to 10 fd, it barely worked. Since I've gotten a new 100mbit switch, I haven't had any problems -- -Justin
Re: SS5 install progressing, but have a question...
On Thu, Mar 11, 2004 at 08:32:35AM -0500, Schaefer, Robert (PS) wrote: Okay, I've managed to get my SS5 to boot and start installing the system. However, when I went to boot the live system after the base is installed, I've hit my next snag. I had to set up the ever popular /boot partition due to the 1gig bug, and Debian didn't correctly configure the system to boot with this. So, since it was still looking for silo.conf in /etc, I'm stuck mv /etc/silo.conf /boot ln -s /boot/silo.conf /etc/ #probably don't need to do this vim /boot/silo.conf # make sure it is pointed at the /boot partition... silo -C /boot/silo.conf worked for me... it's probably a good idea to cd /boot ; ln -s /boot . at a boot prompt. I know I can specify the name of the kernel image and the root partition, but I don't know what the name of the kernel image is. So, please help me with this information! Either that or was there a step I missed in the install that would have allowed me to set it up correctly? the installer should do the above for you.. should probably file a bug on it... ls should work if it has the right partition, othwerwise you have to specify the drive... I'm connecting through a serial console, and I don't think the alt-f keys work, but I'm not sure. I don't mind starting over again at this point, but would like to rescue this system if I can! Thanks for the help! boot the installer again and mount+chroot into your current installation. no reason to start over. -- -Justin
Re: Losing my mind, RAID1 on Sparc completely broken?
I have an ultra 2 doing raid1 just fine (crosses fingers..) Linux ultrasparcy 2.4.25 #1 SMP Wed Feb 18 11:32:17 EST 2004 sparc64 GNU/Linux 20:35:49 up 21 days, 8:19, 2 users, load average: 0.08, 0.03, 0.00 FilesystemSize Used Avail Use% Mounted on /dev/md0 2.0G 958M 938M 51% / ultrasparcy:~# cat /proc/mdstat Personalities : [raid1] read_ahead 1024 sectors md0 : active raid1 sdb1[1] sda1[0] 2076992 blocks [2/2] [UU] unused devices: none ultrasparcy:~# dd if=/dev/md0 of=/dev/null 4153984+0 records in 4153984+0 records out 2126839808 bytes transferred in 251.762802 seconds (8447792 bytes/sec) I used mdadm to create it, have you tried using that instead? though silo is broken... I managed to get it to work by booting with the rescue cd and mounting /dev/sda1 read only and running chroot silo, anything else refuses to work... see #224870 -- -Justin
Bug#231747: libssl0.9.7: doesn't use /usr/lib/v8 on sparc32 when possible
So theres this bug(231747), which makes things like ssh crawl on a ss20... if you run say, (%:/tmp/glibc-2.3.2.ds1)- grep -r HWCAP_SPARC_ . ./build-tree/glibc-2.3.2/elf/elf.h:#define HWCAP_SPARC_FLUSH1 /* The cpu supports flush insn. */ ./build-tree/glibc-2.3.2/elf/elf.h:#define HWCAP_SPARC_STBAR2 ./build-tree/glibc-2.3.2/elf/elf.h:#define HWCAP_SPARC_SWAP 4 ./build-tree/glibc-2.3.2/elf/elf.h:#define HWCAP_SPARC_MULDIV 8 ./build-tree/glibc-2.3.2/elf/elf.h:#define HWCAP_SPARC_V9 16 /* The cpu is v9, so v8plus is ok. */ ./build-tree/glibc-2.3.2/elf/elf.h:#define HWCAP_SPARC_ULTRA3 32 ./build-tree/glibc-2.3.2/sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h:#define HWCAP_IMPORTANT (HWCAP_SPARC_V9|HWCAP_SPARC_ULTRA3) ./build-tree/glibc-2.3.2/sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h:#define HWCAP_IMPORTANT (HWCAP_SPARC_ULTRA3) ./build-tree/glibc-2.3.2/sysdeps/sparc/sparc32/dl-machine.h:#define LD_SO_PRELOAD ((GL(dl_hwcap) HWCAP_SPARC_V9) \ ./build-tree/glibc-2.3.2/sysdeps/sparc/sparc32/dl-machine.h: return GL(dl_hwcap) GL(dl_hwcap_mask) HWCAP_SPARC_V9; ./build-tree/glibc-2.3.2/sysdeps/sparc/sparc32/dl-machine.h: return GL(dl_hwcap) HWCAP_SPARC_V9; ./build-tree/glibc-2.3.2/sysdeps/sparc/sparc32/dl-machine.h: do_flush = GL(dl_hwcap) HWCAP_SPARC_FLUSH; ./build-tree/glibc-2.3.2/sysdeps/sparc/sparc32/dl-machine.h: int do_flush = GL(dl_hwcap) HWCAP_SPARC_FLUSH; ./build-tree/glibc-2.3.2/ChangeLog.7: * elf/elf.h (HWCAP_SPARC_*): New definitions. ./build-tree/glibc-2.3.2/ChangeLog.8: (HWCAP_SPARC_V9): Add. ./build-tree/glibc-2.3.2/ChangeLog.12: * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it. it looks like nothing will ever set HWCAP_SPARC_MULDIV, which I think is v8... does there just need to be a few more lines in dl-machine.h for v8? This also might have something to do with it: (%:/tmp/glibc-2.3.2.ds1)- egrep -r sparcv._LIBDIR . ./debian/sysdeps/sparc.mk:sparcv9_LIBDIR = /v9 though the libs do get put in /usr/lib/v8 just fine... I'd try to fix this myself, but I have a feeling someone knows exactly what needs to be done :-) -- -Justin
Re: Bug#231747: libssl0.9.7: doesn't use /usr/lib/v8 on sparc32 when possible
On Wed, Mar 10, 2004 at 11:54:46PM -0500, Ben Collins wrote: On Wed, Mar 10, 2004 at 08:50:11PM -0500, Justin A wrote: So theres this bug(231747), which makes things like ssh crawl on a ss20... The subdir isn't going to be v8, it should be muldiv. I'm not sure that gets set though. Doesn't work for me atleast. hmm, there is no muldiv dir, at least in 2.3.2.ds1-11. Adding /lib/muldiv to ld.so.conf seems to do the trick though. Yeah, I added /usr/lib/v8 a while ago, works fine. It just took me a few weeks to figure out that was why ssh was pathetically slow, and I think a lot of other people have this problem... -- -Justin
Creator 3D
Hi all, I've got sid running on my Ultra 10, and so far everything seems to be working nicely. However OpenGL applications are running painfully slowly. Is this because the Creator 3D card is not supported fully? Thanks Justin
Debian Install boot disks/cds on headless boxen
This is mainly for sparcs, though I would imagine it applies to all architectures (perhaps embedded arm/x86 systems with one or two serial ports). netra t1s have only two serial ports, absolutely no video device or anything else. The menu-based installation is made useless for anyone who isn't very experienced in debian installation by the constant init messages about the failure to start a process in a 3rd tty. This is with the 2.2r3 cd set (really only the first cd), presumably the same problem exists on the boot floppy images. perhaps wait instead of respawn (presuming that's a solution; I haven't looked at the inittab so I don't know exactly what debian boot-cds do in that 3rd tty, or whether it's critical or not, though it shouldn't be. justin
Fw: ss1+ via serial port or monitor not working
-Original Message- From: Justin Maurer [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Wednesday, February 18, 1998 6:27 PM Subject: ss1+ via serial port or monitor not working I have a ram-less, hard drive-less sparcstation 1+ here, and i'm having trouble getting anywhere. with a monitor: When i first turn on the machine, the keyboard lights blink for a split second as they should, but won't light up after that *split* second, which i haven't seen a sparc ever NOT do. nothing comes up on the monitor - it remains black. without a keyboard/monitor: i've tested it on two boxes with win95 hyperterminal (no jokes, please ;). the terminal program says it is 'connected', but i can't do anything.no output comes out onto the terminal, and i can't send any input to the machine. possible reasons: 1) the cg3 is fried - that wouldn't do anything to me booting over the serial port, would it? 2) the lack of ram and hard drive is causing the sparc not to get anywhere *even anywhere in the boot prom*. i am not a sun guru (expert maybe, guru no ;) thanks in advance, Justin Maurer / [EMAIL PROTECTED] http://slashdot.org/ - http://www.clark.net/pub/mike911/ p.s- slashdot's moving up in the distributed.net des ii competition- we should move into 7th place overall tonight. feel free to join us! -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
sparc libc
Hi My name is Justin Maurer and I am a high school student and Slashdot author (http://slashdot.org/). If everything goes as planned, two Sparcstations (IPC and SS1+ - I wanted an IPX, but that's another story) should be delievered to my door tomorrow (Monday, the 26th). I have relativley little C programming experience, and no SPARC assembly experience, but would like to know how I can help port glibc to Solaris and/or { Linux or OpenBSD }. How can I help out? Is there a mailing list set up for just this purpose? Justin Maurer - [EMAIL PROTECTED] http://slashdot.org/ - http://www.clark.net/pub/mike911/ P.S- I have cc'ed this letter to 3 sparclinux mailing lists -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .