Re: SMP on Sun4m

2006-12-06 Thread Jan-Benedict Glaw
On Wed, 2006-12-06 01:15:48 +0100, Peter Rohrer [EMAIL PROTECTED] wrote:
 Am Dienstag, 5. Dezember 2006 06.06 schrieb Jurij Smakov:
  On Tue, Dec 05, 2006 at 01:43:27AM +0100, Peter Rohrer wrote:
   [EMAIL PROTECTED]:~$ gcc --version
   gcc (GCC) 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)
  
   output from fakeroot make-kpkg --initrd --revision=custom.1.0
   kernel_image
  
 CC  crypto/digest.o
 CC  crypto/compress.o
   crypto/compress.c: In function âcrypto_init_compress_flagsâ:
   crypto/compress.c:42: internal compiler error: Segmentation fault
   Please submit a full bug report,
   with preprocessed source if appropriate.
   See URL:http://gcc.gnu.org/bugs.html for instructions.
   For Debian GNU/Linux specific bug reporting instructions,
   see URL:file:///usr/share/doc/gcc-4.1/README.Bugs.
   The bug is not reproducible, so it is likely a hardware or OS
   problem. make[2]: *** [crypto/compress.o] Error 1
   make[1]: *** [crypto] Error 2
   make[1]: Leaving directory `/usr/src/linux-source-2.6.17'
   make: *** [debian/stamp-build-kernel] Error 2
   [EMAIL PROTECTED]:/usr/src/linux-source-2.6.17$
 
  Ouch. Just to confirm, what kernel was this machine running when this
  compilation was attempted? Is it reproducible? We definitely need to
  sort this out, if it's not a hardware problem.
 
 The machine is running:
 Linux ss10 2.6.17-2-sparc32 #1 Wed Sep 13 09:03:37 PDT 2006 sparc 
 GNU/Linux
 
 I tried to get around the problem by commenting out the modules where it 
 crashed (for example all the Cryptographic options).
 Looks like that did not help, it failed again, this time with:
   LD  vmlinux
   SYSMAP  System.map
   SYSMAP  .tmp_System.map
   HOSTCC  arch/sparc/boot/btfixupprep
   BTFIX   arch/sparc/boot/btfix.S
   AS  arch/sparc/boot/btfix.o
   LD  arch/sparc/boot/image
 kernel/built-in.o: In function `ptrace_attach':
 (.text+0x12c98): undefined reference to `__raw_write_can_lock'
 make[2]: *** [arch/sparc/boot/image] Error 1
 make[1]: *** [image] Error 2
 make[1]: Leaving directory `/usr/src/linux-source-2.6.17'
 make: *** [debian/stamp-build-kernel] Error 2
 
 I can reenable the Cryptographic options and try again if that helps.
 I could also try the same on a Sparcstation 4 with 110 MHz running Etch.

These are totally different things :)  The first error messages are
from a compiler that just crashed. Either due to a bug in the
compiler, or due to some obscure memory management bugs in the kernel.

The second set of error messages are s simple link error. One function
that's used somewhere (__raw_write_can_lock) wasn't found by the
linker.  This is most probably a simple error in your Linux sources.

MfG, JBG

-- 
  Jan-Benedict Glaw  [EMAIL PROTECTED]  +49-172-7608481
Signature of: Eine Freie Meinung in einem Freien Kopf
the second  :   für einen Freien Staat voll Freier Bürger.


signature.asc
Description: Digital signature


Re: Which port is tty A on the back of a sparc 20?

2006-03-20 Thread Jan-Benedict Glaw
On Mon, 2006-03-20 19:29:22 +, Bruce O'Neel [EMAIL PROTECTED] wrote:
 On other operating systems I have used 
 
 cu -l /dev/tty??
 
 to use the ttya port of my sparc20 as a console for another sparc system.
 
 Um, what tty do I use for debian?

ttya maps to /dev/ttyS0 unter Linux, and ttyb is /dev/ttyS1

MfG, JBG

-- 
Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481 _ O _
Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: Porting packages to sparc

2006-03-12 Thread Jan-Benedict Glaw
On Mon, 2006-03-13 11:18:07 +1000, Alexander Zangerl [EMAIL PROTECTED] wrote:
 On Sun, 12 Mar 2006 16:31:55 PST, Jurij Smakov writes:
  the external LCD display. Any sparc which needs it?
 
 as there is lcdproc which provides similar functionality without
 the silly all the world's an intel assumption, i don't see much 
 point in fixing lcd4linux.

IIRC they tried the iopl()/inb()/outb() tricks to access the parport.
Is that already gone and converted to the ppdev API or do they still
do that?

MfG, JBG

-- 
Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481 _ O _
Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: sparc ss20/debian

2006-01-12 Thread Jan-Benedict Glaw
On Thu, 2006-01-12 22:25:21 +0100, samuel desseaux [EMAIL PROTECTED] wrote:
 Does somebody could tell me the meaning of the following message that i
 have at the beginning
 Timeout waiting for ARP/RARP packets
 Lost carrier (transceiver cable problem?)
 Cable -problem or twisted pair hub link-test disabled
 ?
 
 what could i do?

The box is probably trying to boot off the network server. So it'll
need an IP address and a TFTP server. It tried to find its own address
using RARP (Reverse ARP: the machine sends a packet with its MAC
address asking a RARP server to reply with the desired IP address).
Additional info is that there's also on carrier on the twisted pair
(RJ45 ethernet interface), which is probably because there's no cable
in it.

So it really depends on what you want to do.

Do you want to boot from disk?
You should enter the OpenBoot Prompt (OBP) and boot disk
instead of boot net or just boot. Note that you can define
a default device to boot off (though I don't remember the
exact syntax, use the help to find out.)

Do you want to boot off the network, eg. for installing the machine?
Properly insert the network cable into the twisted pair / RJ45
ethernet port and use a network sniffer on the other side to
explore on which way this box wants to boot.

...or do you want to do something else?

MfG, JBG

-- 
Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481 _ O _
Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: how to get in openboot ???

2005-12-17 Thread Jan-Benedict Glaw
On Sat, 2005-12-17 18:26:49 +0100, Marc Coevoet [EMAIL PROTECTED] wrote:
 Q: How do I access
 OpenBoot?
 
 Pressing the keys L1 and A at the same time will bring you to the 
 OpenBoot system. You will see the display
 
 
 where is the L1 key ??
 
 I see F1 ...

It's usually written as Stop on the keyboard.

MfG, JBG

-- 
Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481 _ O _
Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: how to get in openboot ???

2005-12-17 Thread Jan-Benedict Glaw
On Sat, 2005-12-17 19:42:57 +0100, Hartwig Atrops [EMAIL PROTECTED] wrote:
 On Saturday 17 December 2005 19:25, Marc Coevoet wrote:
  Ok I put a linux cdrom and try to
  boot cdrom
 
  it says:
 
  boot device;:/iommu/sbus/[EMAIL PROTECTED], 40/[EMAIL PROTECTED], 
  80/[EMAIL PROTECTED],0:d
 
  can't open disk label
  can't open disk label package ..
 
  Can the boot see the cdrom ??
  is the cdrom faulty ???
 
 Might be useful if you provide some more information. Which type of Sun 
 workstation? Where did you get the CDROM? Which debian version?
 
 As I can see by the boot device message you try to install on an old SBUS 
 based sun. My old Sun (Toshiba) SCSI CD drives dont read RW media. You might 
 need a RO CD. Might that be your problem?

Additionally, many old workstations expect CD-ROM drives to initially
work with 512 Bytes per sector (while most newer drives come up with
2048 Bytes per sector). Either use an older drive then (some more
expensive drives do have jumpers on their back to switch between 512
and 2048 bytes...), or use a dual-hosted SCSI bus and write a small
tool to eg. use Linux' SCSI-generic driver to set the drive to 512
Bytes once it powered up.

6,0 seems to be the SCSI ID. Is this correct? Is the SCSI chain
properly terminated?

MfG, JBG

-- 
Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481 _ O _
Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: Type5 keyboard with kernel version 2.6.x

2005-11-01 Thread Jan-Benedict Glaw
On Mon, 2005-10-31 15:50:24 -0600, Marc Mandel [EMAIL PROTECTED] wrote:
 OK. I upgraded from 2.4.x to 2.6.12 and now my keyboard is dorked both
 inside of and outside of X.org

You're probably loading a new key mapping during bootup. Don't do
that, or load the one for PC105 keyboards.

MfG, JBG

-- 
Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481 _ O _
Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: Printing on Ultra1. The never ending story.

2005-08-08 Thread Jan-Benedict Glaw
On Mon, 2005-08-08 13:03:10 +0200, F. Kappen [EMAIL PROTECTED] wrote:
 F. Kappen wrote:
  Does this mean, that I can not use CUPS for my intended purpose? Or is
  there a workaround for this problem?
 
 Thanks to Dieter Jurzitza.
 
 I followed his advice:
 
 mv /dev/lp0 /dev/lp0_org
 ln -s /dev/ttyS1 /dev/lp0
 
 and it works. Great!

*cough* You don't seriously use this solution, do you? Who will
correctly set-up the serial port? Serial settings are by principle
volatile. You cannot rely on them being the same after an open/close
cycle...

CUPS actually *can* use serial ports and fully allows to configure
those. I've done that for a Point of Sale printer for some time. (I
wrote a gs driver and a PPD for it to allow Postscript printout on this
dumb thingie...)

A little call to Google (cups serial printer) brought up:

http://lists.debian.org/debian-printing/2005/07/msg00124.html
http://lists.debian.org/debian-printing/2005/07/msg00125.html

which you may find interesting to read.

MfG, JBG

-- 
Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481 _ O _
Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg  _ _ O
 fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: Ultra1, printing via serial port?

2005-07-29 Thread Jan-Benedict Glaw
On Fri, 2005-07-29 08:52:03 +0200, F. Kappen [EMAIL PROTECTED] wrote:
 I have am Ultra1 with sarge installed (kernel 2.4.27-2-sparc64). I want
 to use it as a headless printserver. Although I compiled a custom kernel
 with CONFIG_PARPORT_SUNBPP=m enabled  the parallel port doesn't work.
 Doing a  cat ~/.bashrc  /dev/lp0 results in an error message on the
 printer's display.

Indeed, there are statements around that the sunbpp driver is broken,
and was so for quite some time.

 Next I tried to print via the serial port, but without success. I guess
 that the serial port is not setup correctly. So can someone tell me
 please where I can find  information about configuring the serial port
 of an Ultra1.

How did you actually try to print? The serial port is probably the
interface with the highest number of user-defined settings, so you
should outline what you actually did to print data with it.

MfG, JBG

-- 
Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481 _ O _
Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg  _ _ O
 fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: Ultra1, printing via serial port?

2005-07-29 Thread Jan-Benedict Glaw
On Fri, 2005-07-29 15:13:45 +0200, F. Kappen [EMAIL PROTECTED] wrote:
 The serial port of my Ultra1 is configured like this:
 
 myUltra1: # eeprom ttyb-mode
 ttyb-mode=9600,8,n,1,-

That's how the OBP will use the serial port. This is totally different
to the options that may be set by the Linux kernel. You can query (and
set) these with the stty program:

$ stty -F /dev/ttyS0 -a
speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = undef;
eol2 = undef; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke

If your printer uses 9k6 8N1, you can try this (disables handshake):

$ stty -F /dev/ttyS1 raw speed 9600 -crtscts cs8 -parenb -cstopb

However, I admit that stty isn't easy to use if you don't know a lot
about how serial transmissions work...

 --
 The tty-section of my /etc/inittab looks like this:
 
 #1:2345:respawn:/sbin/getty 38400 tty1
 #2:23:respawn:/sbin/getty 38400 tty2
 #3:23:respawn:/sbin/getty 38400 tty3
 #4:23:respawn:/sbin/getty 38400 tty4
 #5:23:respawn:/sbin/getty 38400 tty5
 #6:23:respawn:/sbin/getty 38400 tty6

Irrelevant, as long as there's not a console configured to the same port
(and for sure, you won't directly connect your console to a printer, do
you?)

 myUltra1: # cat ~/.bashrc  /dev/ttyS1

First of all, you need to correctly configure the serial port with stty.
For the next step, are you sure your printer accepts plain text for
printing? (Actually, you never ever told us about your exact printer
model.)

MfG, JBG

-- 
Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481 _ O _
Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg  _ _ O
 fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: Headless Ultra1, SSH and X11-forwarding

2005-07-19 Thread Jan-Benedict Glaw
On Tue, 2005-07-19 08:31:52 +0200, F. Kappen [EMAIL PROTECTED] wrote:
 I installed Sarge (kernel 2.4.27) on my Ultra1-headless. The machine
 has no console attached. I communicate with it via the serial port and
 over the net via SSH. From my desktop  computer Ultra1-desktop-
 another Ultra1 running Solaris9 - I can connect to the headless machine
 and establish a X11-connection by manually setting the DISPLAY
 environment on  the Ultra1-headless and allowing access with +xhost
 on my Ultra1-desktop. But when I try to establish a secure

Better do it via ssh...

 X-connection via SSH
 
 desktop  ssh  -X -v  Ultra1-headless
 
 I always get the error message Can't open Display.

First of all, 'set | grep DISPLAY' to see if the DISPLAY variable
has been set. If not, most probably you forgot to allow X11 forwarding
(look at /etc/ssh/sshd_config) or the xauth program isn't installed.
It's in the xbase-clients package.

If both is given, look at the output of 'ssh -v -v -v -X
Ultra1-headless' for failures.

Another problem that just comes to mind is that sshd usually knots
network connections to machine names. So if your local name resover is
configured wrongly, the name may point to incorrect addresses...

 My question is, am I doing something wrong or is it impossible to
 establish a X-connection via SSH to a headless machine?  I would like to
 hear from you.

No, your ssh -X call is quite correct. Most probably, something of the
stuff around isn't configured properly. Starting X11 clients on a
headless machine is perfectly fine.

MfG, JBG

-- 
Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481 _ O _
Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg  _ _ O
 fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: Sarge: Sparc5 Parallel Port - no such Device

2005-05-19 Thread Jan-Benedict Glaw
On Thu, 2005-05-19 16:50:30 +0200, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 ***lsmod***
 Module  Size  Used byNot tainted
 lp  7412   0  (autoclean)
 parport26396   0  (autoclean) [lp]
 sunlance9896   1
 crc32   3248   0  [sunlance]
 sr_mod 16088   0  (unused)
 cdrom  28028   0  [sr_mod]
 ext3   85292   2  (autoclean)
 jbd45860   2  (autoclean) [ext3]
 sd_mod 11868   6  (autoclean)
 esp29232   3  (autoclean)
 scsi_mod   61292   3  (autoclean) [sr_mod sd_mod esp]

You're missing parport_sunbpp here.

 lp: driver loaded but no devices found

Correct.

 I have absolutely no more ideas what else to check.
 
 Maybe you ?

# modprobe parport_sunbpp

Well, it works like this: There's a generic parport mid-layer to which
physical parport drivers can attach (and register physical ports). These
are parport_pc, parport_sunbpp, parport_atari, parport_amiga, you name
it.

On the other side, where are users of (physical) parports, 'lp' being
the one mostly used. It implements the low-level (handshake) protocol
used by computers to shift data into parport-based printers. (And there
are other useful clients, like ppdev).

So you've got the mid-layer as well as a high-level protocol driver, but
you're missing parport_sunbpp as a physical driver. Once you've loaded
that, your printer should work just fine.

MfG, JBG

-- 
Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481 _ O _
Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg  _ _ O
 fuer einen Freien Staat voll Freier Brger | im Internet! |   im Irak!   O O 
O
ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: sparc machines at debcamp

2005-04-18 Thread Jan-Benedict Glaw
On Mon, 2005-04-18 02:08:36 +0200, Peter 'p2' De Schrijver [EMAIL PROTECTED]
wrote in message [EMAIL PROTECTED]:
 We are looking to get some sparc machines sponsored for the debcamp for 
 various
 development tasks. In order to have an idea which architectures people want
 to work on, we look for some projects or things people would be working on
 involving sparc. If you have a request for a certain subarch or have some
 idea involving sparc, please mail me. I will coordinate with Andreas as to 
 what
 we can actually get hold of.

I haven't switched on my sparc32 machines for quite some time, but I
remember there were some TODOs:

- Redo SILOs memory management to be able to load larger kernel
  binaries
- Check if current testing/unstable works w/o h/w mul/div
- Get 2.6.x to run SMP

MfG, JBG

-- 
Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481 _ O _
Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg  _ _ O
 fuer einen Freien Staat voll Freier Brger | im Internet! |   im Irak!   O O 
O
ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: Trouble with upgrade to unstable on SS20 SMP

2004-07-17 Thread Jan-Benedict Glaw
On Fri, 2004-07-16 11:07:56 +0100, Gary Parker [EMAIL PROTECTED]
wrote in message [EMAIL PROTECTED]:
  Okay, so I apt-get install kernel-image-2.4-sparc32-smp, and 
  get unmet 
  dependency warnings on libc6 (2.2.5-11.5).
  
  I am stuck - can't upgrade the kernel w/o libc, can't upgrade 
  libc w/o 
  the kernel.  Something appears to be broken in the 
 
 You're entering a whole World Of Pain that I was in a couple of weeks ago
 here. 

It got even worse for sparc32: a developer who did actually really work
on it stopped any further work on that platform. He's got too much other
tasks to finish.

So if you've got enough sparc32 knowledge, *please* step forward:)

MfG, JBG

-- 
   Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481
   Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: What is best kernel/disto combination for SS20 SMP?

2004-07-05 Thread Jan-Benedict Glaw
On Mon, 2004-07-05 12:15:27 -0400, JLB [EMAIL PROTECTED]
wrote in message [EMAIL PROTECTED]:
 Why wouldn't they? Don't all CPUs labeled as SPARC have to meet the
 SPARC specifications?

It's not all *that* easy. There are optional parts which some CPU
implement, others don't. IIRC there's an emulator for some instructions
missing from some CPUs in the kernel, so that shouldn't be a problem for
userland IFF the kernel was correctly build for the right type of CPU.

Then, I'm not sure if the Ross CPUs are properly supported these days.
Maybe ask on sparclinux@vger.kernel.org ...

MfG, JBG

-- 
   Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481
   Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: Must I have the file sys/io.h ???

2004-04-29 Thread Jan-Benedict Glaw
On Wed, 2004-04-28 12:39:19 +0200, Guido Guenther [EMAIL PROTECTED]
wrote in message [EMAIL PROTECTED]:
 On Tue, Apr 27, 2004 at 04:27:37PM -0400, Ben Collins wrote:

 What would be the correct way to access I/O space from userspace? Some
 programs like to access the PC-style parports via inb/outb, can you
 point me how to a direction on how to do this on sparcs that have
 similar hardware (i.e. US5)?

Esp. for all those parports, there's the ppdev driver. It gives you
access to data and control registers of the 8255, which is all you need,
I thing:)

MfG, JBG

-- 
   Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481
   Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: Fix for bridge-utils for Sparc64

2004-04-08 Thread Jan-Benedict Glaw
On Thu, 2004-04-08 09:48:19 -0400, Small, Jim [EMAIL PROTECTED]
wrote in message [EMAIL PROTECTED]:
 Here is a diff too:
 # diff -Nru bridge-utils/libbridge/libbridge_devif.c
 bridge-utils/libbridge/libbridge_devif.c.orig 
 --- bridge-utils/libbridge/libbridge_devif.c2004-04-01
 21:10:55.0 -0500
 +++ bridge-utils/libbridge/libbridge_devif.c.orig   2002-01-16
 07:04:45.0 -0500

You reversed the diff and your email client mangled it, too...

 @@ -56,7 +56,7 @@
 memcpy(ifr.ifr_name, br-ifname, IFNAMSIZ);
 ((unsigned long long *)(ifr.ifr_data))[0] = (unsigned long
 long)(unsigned long)args;
  
 -   return ioctl(br_socket_fd, SIOCDEVPRIVATE, ifr);
 +   return ioctl(br_socket_fd, SIOCDEVPRIVATE + 3, ifr);
  }
  #endif
 

Just adding or removing some magic constants isn't good. If there's
something missing on the kernel side, just fix it there.

MfG, JBG

-- 
   Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481
   Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: ss20 freeze

2004-04-01 Thread Jan-Benedict Glaw
On Thu, 2004-04-01 08:52:13 +0200, Attila Szabo [EMAIL PROTECTED]
wrote in message [EMAIL PROTECTED]:
 Hi,
 
 When I do a stress test on my ss20, I always get:
 
 Unable to handle kernel paging request at 
 bug in highmem.c
 ..
 
 2x75 Supersparc-II.
 Debian woody/sarge 2.4.24, 2.4.25, 2.4.26-rc1 SMP kernels.
 Is there something around highmem or what ?

The information you offer doesn't tell anything. You need to capture the
whole message (hopefully your box continues to live, else you can use
serial console or a pencil and a piece of paper) and run it through
ksymoops.

MfG, JBG

-- 
   Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481
   Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: Status of 2.4 kernel with sparc 4m SMP

2004-03-27 Thread Jan-Benedict Glaw
On Thu, 2004-03-25 14:46:07 -0700, Dave Lee [EMAIL PROTECTED]
wrote in message [EMAIL PROTECTED]:
 Dear 4m / SMP users, (and maybe Ben Collins)
 
 Can anybody update me WRT the status of 2.4.x running on 4m/SMP hardware ?

Should work. Don't expect 2.6.x to yet work SMP on sun4m

Please also keep an eye on sparclinux@vger.kernel.org

MfG, JBG

-- 
   Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481
   Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: 2.6.2 on SS20

2004-03-06 Thread Jan-Benedict Glaw
On Sat, 2004-03-06 17:09:08 +1300, James Whatever [EMAIL PROTECTED]
wrote in message [EMAIL PROTECTED]:
 I'm just about to compile up 2.6 for the first time on my SS20, which 
 has a dual 125MHz ross hypersparc card in it.  I've done heaps of 2.6 
 upgrades on x86 and powerpc, but I thought I had better check for 
 gotyas that other people might have run into - like the fact that 
 CONFIG_PREEMPT=y makes a powerpc machine randomly segfault processes :)

2.6.x SMP won't yet run on sparc32. Keith Wesolowski is working on it
(as time permits), so wait, do tests or just try to help woing work.
Please also join the sparclinux@vger.kernel.org mailing list.

MfG, JBG

-- 
   Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481
   Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: debian/sparc serial console

2003-10-01 Thread Jan-Benedict Glaw
On Wed, 2003-10-01 09:37:01 +0100, Martin [EMAIL PROTECTED]
wrote in message [EMAIL PROTECTED]:
  I've transitioned my Ultra 10 from my primary Desktop machine to  
  network server (having acquired a powerbook for my primary needs  -  
  still trying to get Evolution compiled on that.)  I would like to  
  access this Ultra 10 only through a serial cable  ethernet, without  
  monitor or keyboard.  I should be able to do this through some settings  
  in Open Firmware right?
 OpenBoot should do it automatically - hook up the serial cable and
 unplug the monitor and keyboard.  You can set it to always use serial
 but I would have thought leaving it on auto switching was best.

Um, with my SS10, ROM 2.25, this doesn't happen. I have to explicitely
set serial I/O if I want that. Simply unplugging keyboard (which works
nicely on another SS10 with an older ROM version) doesn't help here...

MfG, JBG

-- 
   Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481
   Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


pgpmrfo1bBocj.pgp
Description: PGP signature


Re: SIGILL on SPARCstation 10

2003-09-26 Thread Jan-Benedict Glaw
On Wed, 2003-09-24 19:24:00 -0700, Markus Mayer [EMAIL PROTECTED]
wrote in message [EMAIL PROTECTED]:
 Hi,
 
 I'm using Debian 'testing' on a SPARCstation 10 and getting really
 desperate since I'm experiencing a SIGILL problem with libc.
 
 The last update installed the newest libc (2.3.2-7), but now each program
 that uses sscanf (and maybe other functions, too) produces an illegal
 instruction (SIGILL).
 
 E.g. this program will fail now:
 
 int main()
 {
 
   float f; 
   sscanf(123.45, %f, f);
   return(0);
 }

Happy birthday. Debian/unstable started to use hardware multiplication
and division, which (in it's full size) isn't supported on all Sparc
CPUs. Obviously, your CPU suffers from that. There are some ways out:

- Get a CPU supporting hwmath or
- Get a newer kernel and bet it's emulator for these cases works.

MfG, JBG

-- 
   Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481
   Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


pgpI6dBCM2q7L.pgp
Description: PGP signature


Re: SIGILL on SPARCstation 10

2003-09-26 Thread Jan-Benedict Glaw
On Fri, 2003-09-26 10:41:19 -0700, Markus Mayer [EMAIL PROTECTED]
wrote in message [EMAIL PROTECTED]:
 On Thu, Sep 25, 2003 at 09:29:33AM -0700, Markus Mayer wrote:
 
  I also tried to find an older version of libc (like 2.3.1-something).
  Google still finds them, but they've all been pulled. Not a chance to
  download one anywhere. And using libc 2.2 is not possible as it would
  break *everything*.
 
 Upgrading to 2.3.2-8 doesn't help either. Still getting SIGILL. So that's my
 4th non-solution.

Newer CPU or newer kernel will help. Maybe, you'd even recompile your
libc _forcing_ not to use hwmath. That'd work, too (as it did, until
some weeks ago...).

MfG, JBG

-- 
   Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481
   Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


pgpY2ihkpvYVc.pgp
Description: PGP signature


Re: SPARC 5 Dual NIC Problems

2003-09-24 Thread Jan-Benedict Glaw
On Tue, 2003-09-23 17:51:42 -0700, David Demland [EMAIL PROTECTED]
wrote in message [EMAIL PROTECTED]:
 I have a SPARC 5 with Dual NICs. One is built-in the other is an added SBUS
 card. One NIC is set to a 10.0.0.2 address and the other is set 192.168.1.8.
 I have placed this computer into my network which has both networks. I can
 ping out the 10.0.0.2 interface and it works. I can not ping out the
 192.168.1.8 interface. I have changed the MAC Address to the one NIC so that
 both NICs have a different MAC address. Could anyone help me to understand
 why I can not ping the 192.168.1.1 computer?

tcpdump this situation with a 3rd computer and show us it's output.

MfG, JBG

-- 
   Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481
   Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


pgpFWHozme3Xg.pgp
Description: PGP signature


Re: Bug#203324: unreproducible?

2003-08-06 Thread Jan-Benedict Glaw
On Wed, 2003-08-06 12:43:45 -0400, Kurt Mosiejczuk [EMAIL PROTECTED]
wrote in message [EMAIL PROTECTED]:
 On Wed, 6 Aug 2003, Ben Collins wrote:
 Will sarge ever support at least the sun4m-softmul people, or will
 they be stuck with woody from now on?

i386 seems to be just dieing, so why shouldn't we let other archs go to
dust, too? This bug, too, smells like it's some gcc doing more
optimization (read: using opcodes which are not in all CPUs of a given
class) like the LOCKed XADD on i386...

PLEASE don't start breaking archs by doing some optimization here and
there. Thanks.

MfG, JBG

-- 
   Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481
   Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!
  ret = do_actions((curr | FREE_SPEECH)  ~(IRAQ_WAR_2 | DRM | TCPA));


pgp7e9UqdYPU2.pgp
Description: PGP signature


Re: ss2 tftpimage size limitation?

2003-08-03 Thread Jan-Benedict Glaw
On Sun, 2003-08-03 17:49:39 +0200, Emanuel Schmid [EMAIL PROTECTED]
wrote in message [EMAIL PROTECTED]:
 hello
 
 is it possible that sun4c (here a sparcstation 2) has a problem with too
 big tftp-images? as one can find with google, there is no way to boot the
 tftpboot.img's from debian on sun4c. so i tried to build some myself what
 resulted in a working tftpboot.img as long as it was smaller than about
 310bytes. the one i use now is 3096258bytes, the image from woody is
 3161568bytes...

I've not (yet) installed my SS2, but it's quite possible. After all,
there are quite some low-memory machines for which the default ~10MB
initrd (of which only some singel MBs are used!) is simply too large.
Think of Amigas:)

MfG, JBG

-- 
   Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481
   Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!
  ret = do_actions((curr | FREE_SPEECH)  ~(IRAQ_WAR_2 | DRM | TCPA));


pgpptNDeGNXLt.pgp
Description: PGP signature


Re: Curious problem with a Sparc 20

2003-07-15 Thread Jan-Benedict Glaw
On Mon, 2003-07-14 09:59:25 +0200, Steffan Baron [EMAIL PROTECTED]
wrote in message [EMAIL PROTECTED]:
 
 Level 15 Interrupt
 Type help for more information
 #0 ok
 
 What does this mean, and how can I fix it?
 
 Usually, this signals that you have bad memory.

I'm not currently playing with my Sparcs, but I had the very same and it
was, for sure, kernel version dependand.

I'm not 100% sure there, but IIRC, this was introduces with the patch
between 2.4.0-test11 and 2.4.0-test12, there were changes to
linux-2.4.0-test12/arch/sparc/mm/init.c,
linux-2.4.0-test12/arch/sparc/mm/srmmu.c and
linux-2.4.0-test12/include/asm-sparc/atops.h .

I'm missing time to really check this, but if anybody had some, there's
the hint:)

MfG, JBG

-- 
   Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481
   Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!
  ret = do_actions((curr | FREE_SPEECH)  ~(IRAQ_WAR_2 | DRM | TCPA));


pgprUZqYBsKUX.pgp
Description: PGP signature