Re: Help needed to make Lazarus compile on Sparc64

2023-05-28 Thread Abou Al Montacir
Hi Adrien,

On Sun, 2023-05-28 at 12:43 +0200, John Paul Adrian Glaubitz wrote:
> Hi Abou!
> 
> On Sun, 2023-05-28 at 10:27 +0200, John Paul Adrian Glaubitz wrote:
> > I will try again later today.
> 
> it fails with a different error now which indicates that the Lazarus
> build system doesn't know about sparc64 as an architecture [1]:
> 
> (9009) Assembling lazbuild
> (9022) Compiling resource ../units/sparc64-linux/nogui/lazbuild.or
> Error: Unknown architecture 'sparc64'
> Error: (9029) Error while compiling resources
> Fatal: (10026) There were 1 errors compiling module, stopping
> Fatal: (1018) Compilation aborted
> 
> Adrian
> 
> > [1]
> > https://people.debian.org/~glaubitz/lazarus_2.2.6+dfsg2-2_sparc64.build.experimental
This is great, at least it means that the compiler was fixed.

I'll try to fix Lazarus now.

Thank you for your help.
-- 
Cheers,
Abou Al Montacir


signature.asc
Description: This is a digitally signed message part


Re: Help needed to make Lazarus compile on Sparc64

2023-05-28 Thread John Paul Adrian Glaubitz
Hi Abou!

On Sun, 2023-05-28 at 10:27 +0200, John Paul Adrian Glaubitz wrote:
> I will try again later today.

it fails with a different error now which indicates that the Lazarus
build system doesn't know about sparc64 as an architecture [1]:

(9009) Assembling lazbuild
(9022) Compiling resource ../units/sparc64-linux/nogui/lazbuild.or
Error: Unknown architecture 'sparc64'
Error: (9029) Error while compiling resources
Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted

Adrian

> [1] 
> https://people.debian.org/~glaubitz/lazarus_2.2.6+dfsg2-2_sparc64.build.experimental

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Help needed to make Lazarus compile on Sparc64

2023-05-28 Thread John Paul Adrian Glaubitz


> On May 28, 2023, at 10:13 AM, Abou Al Montacir  wrote:
> 
> 
> Hi Adrian,
> 
>> On Sun, 2023-05-28 at 02:10 +0200, John Paul Adrian Glaubitz wrote:
>> On Sun, 2023-05-28 at 01:25 +0200, John Paul Adrian Glaubitz wrote:
 Can anyone please, try to rebuild Lazarus on Sparc64 with FPC from
 experimental and let me know if that is OK?
>>> 
>>> I'll give it a try.
>> 
>> Still fails, unfortunately.
>> 
>> See: https://people.debian.org/~glaubitz/lazarus_2.2.6+dfsg2-2_sparc64.build
> This fails because the build process pulled FPC 3.2.2+dfsg-20 from unstable 
> instead of 3.2.2+dfsg-21~rc1 from experimental.
> One way would be to force FPC version either in the Lazarus control file or 
> on the machine itself.

Odd, I actually preinstalled fpc from experimental in the chroot. But it was 
late yesterday and I probably mixed up the chroots.

I will try again later today.

Adrian

Re: Help needed to make Lazarus compile on Sparc64

2023-05-28 Thread Abou Al Montacir
Hi Adrian,

On Sun, 2023-05-28 at 02:10 +0200, John Paul Adrian Glaubitz wrote:
> On Sun, 2023-05-28 at 01:25 +0200, John Paul Adrian Glaubitz wrote:
> > > Can anyone please, try to rebuild Lazarus on Sparc64 with FPC from
> > > experimental and let me know if that is OK?
> > 
> > I'll give it a try.
> 
> Still fails, unfortunately.
> 
> See: https://people.debian.org/~glaubitz/lazarus_2.2.6+dfsg2-2_sparc64.build
This fails because the build process pulled FPC 3.2.2+dfsg-20 from unstable
instead of 3.2.2+dfsg-21~rc1 from experimental.
One way would be to force FPC version either in the Lazarus control file or on
the machine itself.

Will that be OK, or should I prepare an upload of Lazarus to experimental with
strict dependency?
-- 
Cheers,
Abou Al Montacir


signature.asc
Description: This is a digitally signed message part


Re: Help needed to make Lazarus compile on Sparc64

2023-05-27 Thread John Paul Adrian Glaubitz
Hi!

On Sun, 2023-05-28 at 01:25 +0200, John Paul Adrian Glaubitz wrote:
> > Can anyone please, try to rebuild Lazarus on Sparc64 with FPC from
> > experimental and let me know if that is OK?
> 
> I'll give it a try.

Still fails, unfortunately.

See: https://people.debian.org/~glaubitz/lazarus_2.2.6+dfsg2-2_sparc64.build

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Help needed to make Lazarus compile on Sparc64

2023-05-27 Thread John Paul Adrian Glaubitz
Hello Abou!

On Sat, 2023-05-27 at 20:44 +0200, Abou Al Montacir wrote:
> I was trying to make Lazarus compile on Sparc64 for long time.
> There was a bug in Free Pascal Compiler that prevented that: 
> https://gitlab.com/freepascal.org/fpc/source/-/issues/40252
> I manged to make upstream generate a patch for that and uploaded it to 
> experimental: 
> https://tracker.debian.org/news/1432268/accepted-fpc-322dfsg-21rc1-source-into-experimental/

Thanks for fixing this bug!

> I tried to connect to kyoto.debian.net to test it, but I got timout on SSH 
> connection.

kyoto is unfortunately offline because I lost the place for hosting it and
I haven't found a new home for this server yet. At the moment, the machine
is sitting in my shelf at home in storage.

There is some hope we will have a SPARC-T4 available soon that is currently
being set up for the GCC compile farm and that we can get some LDOMs on
(SPARC virtual machines).

> I've spent the day trying to update my QEMU VM or to install a new one, but
> it seems that QEMU version shipped with Bookworm is buggy on Sparc64.
> So that to say I completely lost he day without any success.

You can use qemu-user which is easier to use:

> https://wiki.debian.org/M68k/sbuildQEMU
> https://wiki.debian.org/SH4/sbuildQEMU

> Can anyone please, try to rebuild Lazarus on Sparc64 with FPC from
> experimental and let me know if that is OK?

I'll give it a try.

> Or at least provide access to a Sparc64 machine where I can do it myself?
> 
> PS: I'm not subscribed to this list, so please keep me in copy.

Noted.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Help needed to make Lazarus compile on Sparc64

2023-05-27 Thread Abou Al Montacir
Hi Sparc Porters Team,

I was trying to make Lazarus compile on Sparc64 for long time.
There was a bug in Free Pascal Compiler that prevented
that: https://gitlab.com/freepascal.org/fpc/source/-/issues/40252
I manged to make upstream generate a patch for that and uploaded it to
experimental: 
https://tracker.debian.org/news/1432268/accepted-fpc-322dfsg-21rc1-source-into-experimental/

I tried to connect to kyoto.debian.net to test it, but I got timout on SSH
connection.

I've spent the day trying to update my QEMU VM or to install a new one, but it
seems that QEMU version shipped with Bookworm is buggy on Sparc64.
So that to say I completely lost he day without any success.

Can anyone please, try to rebuild Lazarus on Sparc64 with FPC from experimental
and let me know if that is OK?
Or at least provide access to a Sparc64 machine where I can do it myself?

PS: I'm not subscribed to this list, so please keep me in copy.
-- 
Cheers,
Abou Al Montacir


signature.asc
Description: This is a digitally signed message part


Re: sparc32 etch kernel compile help needed

2007-02-26 Thread Robert Reif

Jurij Smakov wrote:


On Sun, Feb 25, 2007 at 10:45:37PM -0500, Robert Reif wrote:
 

I'm trying to compile a kernel on etch without success.  I first tried a 
2.6.21-rc1 and it failed to boot because the image was too large.  I 
next tried the debian source in /usr/src/linux-source-2.6.18.tar with 
the same results.  Both were configured with the config from /boot.
   



For sparc32 you need to strip the kernel of non-essential parts in 
order for it to fit into the space reserved for it. It goes 
approximately like this:


cp /boot/vmlinuz-2.6.18-4-sparc32 vmlinux.gz
gzip -d vmlinux.gz
strip -R .comment -R .note -K sun4u_init -K _end -K _start vmlinux
gzip -9 vmlinux
mv vmlinux.gz /boot/vmlinuz-2.6.18-4-sparc32

Best regards,
 

Thanks, I'll give it a try tonight.  Shouldn't make-kpkg or dpkg 
--install .deb do this for me?



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



sparc32 etch kernel compile help needed

2007-02-25 Thread Robert Reif
I'm trying to compile a kernel on etch without success.  I first tried a 
2.6.21-rc1 and it failed to boot because the image was too large.  I 
next tried the debian source in /usr/src/linux-source-2.6.18.tar with 
the same results.  Both were configured with the config from /boot.


Is the source from debian vanilla or does it have the debian patches 
already installed?  If there something I need to do besides *|make-kpkg 
--initrd kernel_image and |**|dpkg -i .deb?

|*


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: sparc32 etch kernel compile help needed

2007-02-25 Thread Jurij Smakov
On Sun, Feb 25, 2007 at 10:45:37PM -0500, Robert Reif wrote:
 I'm trying to compile a kernel on etch without success.  I first tried a 
 2.6.21-rc1 and it failed to boot because the image was too large.  I 
 next tried the debian source in /usr/src/linux-source-2.6.18.tar with 
 the same results.  Both were configured with the config from /boot.

For sparc32 you need to strip the kernel of non-essential parts in 
order for it to fit into the space reserved for it. It goes 
approximately like this:

cp /boot/vmlinuz-2.6.18-4-sparc32 vmlinux.gz
gzip -d vmlinux.gz
strip -R .comment -R .note -K sun4u_init -K _end -K _start vmlinux
gzip -9 vmlinux
mv vmlinux.gz /boot/vmlinuz-2.6.18-4-sparc32

Best regards,
-- 
Jurij Smakov   [EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/  KeyID: C99E03CC


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



help needed with X on Ultra II

2005-09-20 Thread mag
Hi!

I am struggling with configuring X11 on a ultra enterprise II.

prtconf -F says: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],0
the monitor is model GDM-17E10

I am trying it with the suncg6 X driver.

With a stock debian kernel-image-2.6.8-2-sparc64 , X does start, but
there is a blank screen, and I cannot ctrl-alt-f1 or ctrl-alt-backspace.
Using the serial console, I can run xclock on it, and xlsclient confirms
that xclock does run. I can also chvt1 and chvt 7.

With a 2.6.13.1 kernel, I cannot even get X to find the device:
(II) SUNCG6: driver for CGsix (GX and Turbo GX)
(EE) No devices detected. 

Maybe the following additional information tells you something (note
that FB_SBUS option is not present in the 2.6.13.1 config, and as far
as I could figure out from the suncg6 source, it depends on frame buffer
support.):
[EMAIL PROTECTED]:/boot# grep SBUS config-2.6.*
config-2.6.13.1:CONFIG_SBUS=y
config-2.6.13.1:CONFIG_SBUSCHAR=y
config-2.6.13.1:# CONFIG_MYRI_SBUS is not set
config-2.6.8-2-sparc64:CONFIG_SBUS=y
config-2.6.8-2-sparc64:CONFIG_SBUSCHAR=y
config-2.6.8-2-sparc64:CONFIG_FB_SBUS=y
config-2.6.8-2-sparc64:CONFIG_MYRI_SBUS=m


Using stock debian kernel-image-2.4.27-2-sparc64, X works just fine,
when I change the mouse definition to the one which is commented out
in the config below.

Please tell me what is going on, and how to use X and latest kernels.

Thank you in advance.

Here is my XF86Config-4, looking at commented out things you can figure
what I was trying to change.

section ServerLayout
Identifier XFree86 Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
Option Xinerama yes
Option Pixmap 24
EndSection

Section Files
RgbPath  /usr/X11R6/lib/X11/rgb
ModulePath   /usr/X11R6/lib/modules
FontPath /usr/X11R6/lib/X11/fonts/misc/
#   FontPath /usr/X11R6/lib/X11/fonts/Speedo/
#   FontPath /usr/X11R6/lib/X11/fonts/Type1/
#   FontPath /usr/X11R6/lib/X11/fonts/CID/
#   FontPath /usr/X11R6/lib/X11/fonts/100dpi/
   FontPath /usr/X11R6/lib/X11/fonts/75dpi/
EndSection

Section Module
Load  dbe
Load  dri
Load  extmod
Load  glx
Load  pex5
Load  record
Load  xie
Load  type1
Load  freetype
Load  bitmap
Load  speedo
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  keyboard
Option  XkbRules sun
Option  XkbModel type5
Option  XkbLayout us
EndSection

Section
InputDevice   
Identifier  Mouse0  
Driver
mouse 
Option
CorePointer   
Option  Device
/dev/psaux
Option  Protocol
PS/2  
Option  Emulate3Buttons
true  
Option  ZAxisMapping  4
5   
EndSection   

#Section InputDevice
#Identifier  Mouse0
#Driver  mouse
#Option  Protocol auto
#Option  Protocol mousesystems
#Option  Device   /dev/sunmouse
#EndSection

Section Monitor
Identifier   Monitor0
VendorName   Sun
ModelNameGDM-17E10
#HorizSync30-82
#VertRefresh  50-150
HorizSync30-50
VertRefresh  50-70
#Option   DPMS
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option SWcursor  # [bool]
#Option HWcursor  # [bool]
#Option NoAccel   # [bool]
Identifier  Card0
Driver  suncg6
#   BusID   SBUS:/[EMAIL PROTECTED],0/[EMAIL PROTECTED],0
#BusID   SBUS:/[EMAIL PROTECTED],1000/[EMAIL 
PROTECTED],10001000/[EMAIL PROTECTED],0
Option  HWcursor yes
Option  Accel yes
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth  8
DefaultFbBpp 24 
#SubSection Display
#Depth 1
#Modes 1280x1024
#EndSubSection
#SubSection Display
#Depth 4
#Modes 1280x1024
#EndSubSection
SubSection Display
Depth 8
Modes 1024x768
EndSubSection
#SubSection Display
#Depth 8
#Modes 1280x1024
#EndSubSection

Help needed for XF86 configuration for 'Elite 3D' in an Ultra 10

2005-07-21 Thread H.Wengatz
Hi there,

I have some problems with bringing my Ultra 10 to life with XFree86 4.1.0.1.

I try with the latest (only a couple of weeks (2-4) old) Ultra-Sparc Debian 
distro, downloaded from my nearest mirror.

The system comes up and boots fine, I even receive a Tux during boot (seems 
atyfb works), but I can't manage to start X with any visible screen.

I selected ati for the X server (which should be fine AFAIK), because it's an 
ATI 3D RAGE (GT) chipset.

I have an original Sun 20 Monitor, and the standard mouse, but I'm not sure 
which resolution would be best to select (Card has 2 MB SGRAM). I know, Sun's 
default resolution is 1152x960, but I'd like to either have a somewhat higher 
resolution, or maybe some 3D (as a tradeoff). :-) - I also have no trouble with 
defining two configurations, one for high resolution and another for 3D.

Back to my problem:

When I try to start X, I only get a beep and a black screen. - I can kill it 
with CTRL-ALT-Backspace, but that's almost all. - I've had not too much time 
this morning before I had to go to work, but as far as I could see in my haste, 
I could see no real 'Error' in the output (no EE in the messages) .

I've even tried different colordepths (24,16,8) which made me able to chose 
from a wider variety of resolutions (according to the debug output), but still 
a black screen.

Is there anybody who can give me a hint what is going wrong? - What did I miss?

BTW: Which is the correct mouse to choose? - I have an original Sun Type 5 
keyboard and a 3 key sun mouse with ball (not optical). - /dev/psaux seems to 
be wrong to me... - Maybe better /dev/mouse or /dev/sunmouse ?

Best regards,

Herbert



Open kernel-image-2.6.8 bugs on sparc - help needed

2005-04-23 Thread Jurij Smakov
Hi,
I have started going through the 2.6.8 kernel bugs in an attempt to clean 
it up. However, in a few cases I don't have hardware to test it or don't 
know whether the bug is a real one and just configuration problem. If you 
have any input on problems described below, please share :-).

* #275037: writing to a parallel port causes kernel oops.
  I was able to reproduce it, however it only happens if parport_pc module
  is loaded. It appears that there are two modules - parport and
  parport_pc. parport_pc seems to be appropriate for the PC-style
  parallel port chips and I have no idea whether it should work for
  sparc as well. With just parport module loaded oops is not happening.
  Please comment if you have a setup with working printing via parallel
  port.
* #286267: loading snd-sun-cs4231 module fails to create /dev/dsp via udev
  As a first step I tried making sound work :-) (it appears to work fine
  for the submitter). With a 2.6.8-2 kernel on Ultra5 with cs4231 card I
  get the sound using snd-sun-cs4231 module, but it is choppy and
  corrupted (tried using 'play' from sox package to play wavs and mpg321
  to play mp3s). Ironically, alsaplayer fails miserably. I have also tried
  using the latest ALSA development release (1.0.9rc2) from [0], with
  identical results. Hence the question, how does one get working sound,
  if it is possible at all? Comments on the original bug are welcome too,
  there is a seemingly relevant thread on debian-user [1], but no solution
  has been posted there.
* #305691: cg6 framebuffer seems to be screwed with 2.6.8 kernel. On
  Ultra1 with cg6 the colors are wrong on console (yellow instead of
  white in debconf screens for example). Starting X just brings up
  a blank screen and hangs, no visible errors in the log. I remember
  that some fixes for cg6 were mentioned on sparclinux mailing list a
  while ago, but they seems to be relevant for sparc32. Is anyone
  successfully running X with 2.6.8 and cg6? A working XF86Config-4
  file for that setup would be greatly appreciated. With 2.6.10 it just
  blanks the screen immediately after boot even though booting proceeds
  normally.
[0] http://www.alsa-project.org
[1] http://lists.debian.org/debian-user/2005/01/msg03044.html
Thanks and best regards,
Jurij Smakov[EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/   KeyID: C99E03CC
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: help needed

2004-06-06 Thread Martin
 I want to setup windows running on my diskless nodes via windows terminal 
 services.
You will need rdesktop.  By default Windows will not talk anything
useful to a Linux client.

 I configure LTSP server and also created a boot floppy; while booting i get 
 the error mesage that no responce from file, that means the kernel was not 
 found at that perticular location.
 I assign all the things correctly as per my knowledge and according to the 
 documentation given in ltsp.org so pl help me out from this situation. Also i 
 heard about that there is no need of linux server for this kind of 
 configuration only the things are to be done was create a floppy or bootrom 
 and in windows server create /tftpboot for locating kernel and add hexip file 
 for assigning the ip addresses for the nodes with respective mac address.
Ummm... as far as I can see this doesn't have anything to do with Debian
or Sparc hardware, thus this is probably the wrong list - try asking the
LTSP mailing list.  You may well need to give them a lot more details of
the setup you are using before anyone can help.

Sweet Dreams,
 - Martin

-- 
Martin
[EMAIL PROTECTED]
Seasons change, things come to pass



help needed

2004-06-05 Thread Vertex System




Dear Friends,

I want to setup windows running on my diskless 
nodes via windows terminal services.

I configure LTSP server and also created a boot 
floppy; while booting i get the error mesage that no responce from file, that 
means the kernel was not found at that perticular location.
I assign all the things correctly as per my 
knowledge and according to the documentation given in ltsp.org so pl help me out 
from this situation. Also i heard about that there is no need of linux server 
for this kind of configuration only the things are to be done was create a 
floppy or bootrom and in windows server create /tftpboot for locating kernel and 
add hexip file for assigning the ip addresses for the nodes with respective mac 
address.

Waiting for reply
Tushar 
Rahane


Re: Help needed with failed build (#220928)

2004-04-20 Thread Christian Kurz
Hi Justin,

On [06/04/04 18:06], Justin A wrote:
 On Tue, Apr 06, 2004 at 08:22:24PM +0200, Christian Kurz wrote:
  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
[...]

 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);
  }

Thank you very much for debugging the problem and providing a patch to
fix it. Which .orig are you exactly talking about here? I just extracted
the .orig.tar.gz on my hd and it only contains line marked with a '-'.
The md5sum for my .orig.tar.gz is:

9cf20a5bd0999f9683cf47c5bd8aaed3  john_1.6.orig.tar.g

Christian
-- 
   Debian Developer (http://www.debian.org)
1024D/B7CEC7E8 44BD 1F9E A997 3BE2 A44F  96A4 1C98 EEF3 B7CE C7E8


pgphMnkc0NsF5.pgp
Description: PGP signature


Help needed with failed build (#220928)

2004-04-06 Thread Christian Kurz
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


pgpAA1aKHRHPq.pgp
Description: PGP signature


Re: Help needed with failed build (#220928)

2004-04-06 Thread Justin A
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)

2004-04-06 Thread Justin A
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: Help needed with Sparcstation 20

2003-12-27 Thread Mauricio

At 00:27 + 12/27/03, David Johnson wrote:
[...]


There are two possible ways to get around this: -

1. Boot into your system using a rescue disk, edit your silo.conf so that the
bootloader is installed onto sdb, then run silo to install the bootloader.

2. Change the device that the machine tries to boot. From the OK prompt, you
can type: -

setenv boot-device / iommu/sbus/[EMAIL PROTECTED],40/[EMAIL 
PROTECTED],80/[EMAIL PROTECTED],0

The easiest solution is the second one, but the first is the proper way to
do it. Hopefully, if I have guessed the problem correctly, doing either of
the above will solve the problem.


	How about just open the machine and put the boot disk on the 
top (SCSI 1) and the other one on the bottom (SCSI 3)?




Help needed with Sparcstation 20

2003-12-26 Thread mark acierno
Hello all, I just acquired a Sparcstation 20 Dual Ross 100 mhz 384MB. The 
unit came with a 4.5 and 2.1M drive as well as a copy of red hat linux 
(5.2) on CDrom. I partitioned the drives as follows:
dev/sda
device Flag start   end Id  system
sda11   200 83  linux
sda2u   201 299 83  linux native
sda30   10075whole disk
sda4300 546 83  linux

sdb
sdb10   986 83  Linux
sbd2U   986 101582  swap
Sdb30   10165   whole disk

when I install red hat all goes well until it is time to boot the system 
then I get an error the the
boot device: / iommu/sbus/[EMAIL PROTECTED],40/[EMAIL 
PROTECTED],80/[EMAIL PROTECTED],0 File and args:
The file just loaded does not appear to be executable.

So I downloaded the debian images off the net (went quite quickly on dec 24) 
and the install process goes flawlessly - until its time to boot then I get 
the same message. I must be doing something wrong that is obvious, I am not 
sure about the third partition being whole disk but I think I have read 
that this is necessary and fdisk seems to give this automatically.



Anyone have a thought??


mark acierno



Re: Help needed with Sparcstation 20

2003-12-26 Thread David Johnson
On Friday 26 Dec 2003 10:03 pm, mark acierno wrote:
 Hello all, I just acquired a Sparcstation 20 Dual Ross 100 mhz 384MB. The
 unit came with a 4.5 and 2.1M drive as well as a copy of red hat linux
 (5.2) on CDrom. I partitioned the drives as follows:

 when I install red hat all goes well until it is time to boot the system
 then I get an error the the
 boot device: / iommu/sbus/[EMAIL PROTECTED],40/[EMAIL 
 PROTECTED],80/[EMAIL PROTECTED],0 File and
 args: The file just loaded does not appear to be executable.


I can guess at what the problem could be. It looks like you are possibly 
trying to boot from the wrong disk, but this isn't your fault.

When a Sun machine has two hard disks, the first is given SCSI ID 3 and the 
second is given ID 1. So the machine by default tries to boot from the first 
disk on ID 3. You can see that this is what the machine is trying to do from 
the output you provided.

Now, Linux does something which would normally be sensible, but on Sun 
hardware is just confusing. It names the drives according to their ID. So the 
drive on ID 1, which is the machine's second drive, becomes sda and Linux's 
first drive. The disk on ID 3, which is the machine's first drive, becomes 
sdb and Linux's second drive.

The installer will only try to install the boot loader on Linux's first drive, 
which is not the one the machine normally boots from. This has driven me mad 
in the past.

There are two possible ways to get around this: -

1. Boot into your system using a rescue disk, edit your silo.conf so that the 
bootloader is installed onto sdb, then run silo to install the bootloader.

2. Change the device that the machine tries to boot. From the OK prompt, you 
can type: -

setenv boot-device / iommu/sbus/[EMAIL PROTECTED],40/[EMAIL 
PROTECTED],80/[EMAIL PROTECTED],0

The easiest solution is the second one, but the first is the proper way to 
do it. Hopefully, if I have guessed the problem correctly, doing either of 
the above will solve the problem.

And just to add further confusion: You don't actually need any whole disk 
partitions if you only intend to run Linux on the machine (which you do) and 
not a dual-boot combination of Linux and Solaris.

I hope some of this helps :-)

Regards,
David.



help needed with Davicom NICs

2002-05-30 Thread Terjék Béla




I'm trying to compile a Davicom 9102 driver on 
Debian 2.4.18 on SPARC and having some problems...

During the make, it complains for a 
/usr/include/asm-generic/pgtable.h, that is not there.
There is however a /usr/include/asm directory with 
that file.

If I link the .../asm to .../asm-generic, it makes 
it, but with some warning messages:

/usr/include/asm/vac-ops.h:5: warning: garbage at 
end of `#ifndef' argument/usr/include/asm/vac-ops.h:6: warning: missing 
white space after `#define __SPARCSTUB__VAC'
The file looks okay, maybe some invisible chars at 
the end.

...but at least it creates the module.
I copied the dm9xs.o to 
/lib/modules/2.4.18/kernel/drivers/net/ ... (no make install 
option)

If I say modprobe dm9xs.o it returns:
modprobe: Can't locate module dm9xs.o

However, If I say modprobe -l dm9xs.o , it 
returns:
/lib/modules/2.4.18/kernel/drivers/net/dm9xs.o
...which is correct.

insmod dm9xs returns:
Using 
/lib/modules/2.4.18/kernel/drivers/net/dm9xs.o/lib/modules/2.4.18/kernel/drivers/net/dm9xs.o: 
ELF file /lib/modules/2.4.18/kernel/drivers/net/dm9xs.o not for this 
architecture

Please help!

Also, did anybodycompile these on 
sparc?
I'm having a SunFireV100, with two NICs on 
board.

thanks,
-bela


help needed with bug #107591

2002-01-06 Thread Philip Blundell
The gist of this report seems to be that booting the installer over the network
doesn't work at all on sun4u (or perhaps just on Ultra10 machines).  Is 
anybody
from the sparc camp able to confirm or refute this bug?

p.



Re: help needed with bug #107591

2002-01-06 Thread Stephen Zander
 Philip == Philip Blundell [EMAIL PROTECTED] writes:
Philip The gist of this report seems to be that booting the
Philip installer over the network doesn't work at all on sun4u
Philip (or perhaps just on Ultra10 machines).  Is anybody from
Philip the sparc camp able to confirm or refute this bug?

Correct.  Neither the 3.0.16-2001-10-27,not BenC's newer bootdisks at
URL:http://people.debian.org/~benc/, which I now cand find, will
boot a sun4u system.

-- 
Stephen

A duck!



Re: help needed booting Ultra-5

2001-10-29 Thread Thomas Duffy
On Thu, 2001-10-25 at 20:13, [EMAIL PROTECTED] wrote:
 Hi Paul:
 
 The CD's in Ultra-5's cannot read CD-RW media. However, they
 can read CD-R's just fine, as I found out after some gnashing
 of teeth.
 
 So, burn a CD-R, and you should be in good shape -- it worked
 for me.

The other option if you cannot get the CD to boot is to use the
tftpboot.img and do a net boot.  The UltraSparc FAQ does a good job of
explaining how this works.  You will just need another linux box (sparc,
ia32, whatever) attached to the same subnet (maybe same switch?) as the
Ultra 5 you are installing onto...

-tduffy



help needed booting Ultra-5

2001-10-25 Thread paul cannon
I've got an Ultra 5 Sparc machines here on which I am going
to install Debian. Unfortunately, I can't seem to make it boot
to any installation media. The installation notes for Sparc
imply that sun4u's don't support booting to the floppy, so that
would explain my failures there, but I downloaded and burned an
official 2.2_rev3 iso for sparc, and that won't boot either.
After I do 'boot cdrom' at the ok prompt, the process begins,
but the messages say:


Rebooting with command: boot cdrom
Boot device: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0:f  File and args:
Can't read disk label.
Can't open disk label package
Evaluating: boot cdrom

Can't open boot device


This is quite like the message displayed when I try to boot to a
sparc rescue floppy. The cd burn seems to have been successful-
I can mount it on other machines.

Is this a known problem, and I simply can't find any
documentation about it? Might something be wrong with the
hardware here, or is it likely I'm doing something stupid?

The CD in question is a CD-RW. Are Ultra-5's old enough that
they can't read those? I don't have any account on the machine
at the moment, so I've no way of trying to mount the CD under
Solaris.

(Please CC me on replies, I'm not subscribed to the list yet)

-- 
paul cannon [EMAIL PROTECTED]
space software labhttp://ssl.usu.edu/paul/
utah state university   OpenNIC: http://paul.geek/
sparcing debian  info: finger [EMAIL PROTECTED]



Re: help needed booting Ultra-5

2001-10-25 Thread keith
Hi Paul:

The CD's in Ultra-5's cannot read CD-RW media. However, they
can read CD-R's just fine, as I found out after some gnashing
of teeth.

So, burn a CD-R, and you should be in good shape -- it worked
for me.

Cheers,

Keith


On Thu, Oct 25, 2001 at 07:31:43PM -0600, paul cannon wrote:
 I've got an Ultra 5 Sparc machines here on which I am going
 to install Debian. Unfortunately, I can't seem to make it boot
 to any installation media. The installation notes for Sparc
 imply that sun4u's don't support booting to the floppy, so that
 would explain my failures there, but I downloaded and burned an
 official 2.2_rev3 iso for sparc, and that won't boot either.
 After I do 'boot cdrom' at the ok prompt, the process begins,
 but the messages say:
 
 
 Rebooting with command: boot cdrom
 Boot device: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL 
 PROTECTED]/[EMAIL PROTECTED],0:f  File and args:
 Can't read disk label.
 Can't open disk label package
 Evaluating: boot cdrom
 
 Can't open boot device
 
 
 This is quite like the message displayed when I try to boot to a
 sparc rescue floppy. The cd burn seems to have been successful-
 I can mount it on other machines.
 
 Is this a known problem, and I simply can't find any
 documentation about it? Might something be wrong with the
 hardware here, or is it likely I'm doing something stupid?
 
 The CD in question is a CD-RW. Are Ultra-5's old enough that
 they can't read those? I don't have any account on the machine
 at the moment, so I've no way of trying to mount the CD under
 Solaris.
 
 (Please CC me on replies, I'm not subscribed to the list yet)
 
 -- 
 paul cannon [EMAIL PROTECTED]
 space software labhttp://ssl.usu.edu/paul/
 utah state university   OpenNIC: http://paul.geek/
 sparcing debian  info: finger [EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 



Re: Help needed [Was: Re: Bug#98913: lxdoom: SIGBUS on sparc...]

2001-05-31 Thread Ari Heitner
On Mon, 28 May 2001, Erik Mouw wrote:

 On Sun, May 27, 2001 at 05:05:50PM -0400, Joe Drew wrote:
  On Sun, May 27, 2001 at 09:34:13AM -0400, Ben Collins wrote:
   So there is some sort of alignment issue.
  
 Yup, lxdoom thinks that all the world is a PC and therefore contains
 quite some misaligned accesses. The same problem also shows on ARM

hum.

i don't know which codebase it was from, but i quite definitely ran doom on my
SPARCbook 3 (basically an ss5) under Sol 2.5.1.


ari




Re: Help needed [Was: Re: Bug#98913: lxdoom: SIGBUS on sparc...]

2001-05-27 Thread Erik Mouw
On Sun, May 27, 2001 at 05:05:50PM -0400, Joe Drew wrote:
 On Sun, May 27, 2001 at 09:34:13AM -0400, Ben Collins wrote:
  Well, it looks like lxdoom is supposed to work on sparc, but when I ran
  it, It got to R_LoadTrigTables and said Endianess...corrected, and
  then went to:
  
  R_InitData: Textures Bus error
  
  So there is some sort of alignment issue.
 
 Unfortunately my first reaction to this is just not to build for sparc,
 and to refer you to prboom, which is actively maintained and has had
 some fixes for sparc recently. However, I would like to get lxdoom up
 and running properly, so I ask for help: it looks like lxdoom has alignment
 problems. If someone could refer me to documents about typical alignment
 issues and how to resolve them (particularly wrt sparc), or would look over
 lxdoom itself (it generates several alignment warnings on sparc when built),
 I'd be greatly indebted.

Yup, lxdoom thinks that all the world is a PC and therefore contains
quite some misaligned accesses. The same problem also shows on ARM
systems, when people wanted to run Doom on their Compaq iPaq.
Fortunately somebody fixed it, though I can't remember who (I think it
was Russ Nelson). Have a look at http://www.handhelds.org/ , IIRC the
solution is in the Wiki.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: [EMAIL PROTECTED]
WWW: http://www-ict.its.tudelft.nl/~erik/



Re: DANGEROUS ?? help needed

2001-03-02 Thread Gabor Zoltan Csejtey
Hi,

I haven't discovered yet what happend to the symlink. I may have a bad
disk or the file utilities are corrupted.

I tried to compile a new kernel 2.4.1 and 2.4.2 but when I try to
install the modules some of the directories made as files!!

make modules
make modules_install
make -C  kernel modules_install
make[1]: Entering directory `/export/src/kernel-source-2.4.1/kernel'
make[1]: Nothing to be done for `modules_install'.
make[1]: Leaving directory `/export/src/kernel-source-2.4.1/kernel'
make -C  drivers modules_install
make[1]: Entering directory `/export/src/kernel-source-2.4.1/drivers'
make -C block modules_install
make[2]: Entering directory `/export/src/kernel-source-2.4.1/drivers/block'
mkdir -p /lib/modules/2.4.1/kernel/drivers/block/
mkdir: `/lib/modules/2.4.1/kernel' exists but is not a directory
make[2]: *** [_modinst__] Error 1
make[2]: Leaving directory `/export/src/kernel-source-2.4.1/drivers/block'
make[1]: *** [_modinst_block] Error 2
make[1]: Leaving directory `/export/src/kernel-source-2.4.1/drivers'
make: *** [_modinst_drivers] Error 2

and

file /lib/modules/2.4.1/kernel

/lib/modules/2.4.1/kernel: file: read failed (Is a directory).

e2fsck -n -v doesn't report anything unusual.

I may need to reinstall the system afterall.

I chechked what packages I have isnatlled and found some glibc
packages. Do they exist or just made for convenient upgrading?

dpkg -l '*glibc*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  glibc-doc  2.1.3-15   GNU C Library: Documentation
un  glibc-pic  none (no description available)
un  glibcdoc   none (no description available)
rn  libg++2.8.1.3- none (no description available)
un  libg++2.8.2-gl none (no description available)
rn  libstdc++2.10- none (no description available)
un  libstdc++2.9-g none (no description available)

Gabor
PS.
I have/had a working version of 2.4.1 and saved the files/modules.



Re: DANGEROUS ?? help needed

2001-03-01 Thread Q89029292
HI,

replace your files by looking up the dpkg database, for the installed
packages then expand the debs using tar? to expand only the /usr
directory.

Then back up.

Best Regards,

Peter Firmstone.

On Mon, 26 Feb 2001, Gabor Zoltan Csejtey wrote:

 I'm trying to compile perl-5.6.0 under potato.
 There're some errors relating to the lib/ndbm and lib/anydbm.
 I tried to comment out these. Finally I changed the 
 debian/rules and
 debian/config.debian 
 
 and added to the Configure:
 -Ui_ndbm
 
 in the perl-5.6.0 source directory. STRANGE thing happend!!!
 My whole /usr/bin directory was wiped out only two directories
 remained there:
 
 libc5-compat
 mh
 
 I was running dpkg-buildpackage -uc -b  as root from the perl source
 directory which is located in a different location than /usr. 
 Could the dpkg-buildpackage erase the contents of /usr/bin ? Or
 something else happend?
 The other libraries weren't effected I think. 
 
 Anyway I downloaded the base2_2.tgz with netscape which is installed
 under /usr/local and put the /usr/bin/* files from the archive into
 /usr/bin.
 
 Is there a way to rebuild the other parts of the system? I mean to get
 the missing binaries under /usr/bin?
 
 Gabor
 
 
 --  
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: DANGEROUS ?? help needed

2001-03-01 Thread Jean-Paul Blaquiere
 On Mar 01, Q89029292 scratched in indelible ink :

 replace your files by looking up the dpkg database, for the installed
 packages then expand the debs using tar? to expand only the /usr
 directory.
 
when I hosed my alpha by screwing up the partition table and lost *all* of
/usr :(  I grepped the installed packages out of /var/lib/dpkg/status into a
text file,
grep ^Package /var/lib/dpkg/status |cut -f 2 -d ' '|sort installed_packages

then did an:
apt-get install --reinstall `cat installed_packages`

sure it probably copied over other stuff as well, but it was quick and
painless.

/Jp... system admin^wrecoverer
-- 
Jean-Paul Blaquière ||   Avatar of Computational 
   [EMAIL PROTECTED]   ||   Thaumaturgy
http://japester.ucc.asn.au   ||
 The only thing keeping me from being a serial killer is my distast for
 manual labour  - dilbert



Re: DANGEROUS ?? help needed

2001-03-01 Thread Gabor Zoltan Csejtey
Thanks for the help.

I did it a hard way. I did a 
dpkg -S '/usr/bin/'  packages 
then produced a location/package with help of awk from the 
/var/state/apt/lists/*_dists_*stable*Packages
Afterwards I used dpkg -i location/package where I used the Debian
Sparc iso images. 
Then dselect / upgrade. So I have the binaries back in the /usr/bin.

Of course I needed to download some packages separately. For example
wget to download the iso images from kernel.org.

Another problem related to location of var. I moved it from the /
(root) to different partition and made a symlink. This link happens to
disapper when I reboot the machine then it hangs when it's looking for
/var/run and other directories in /var. 
I need to check what's going on.

Gabor
PS.
Your methods seems easier.


Date: Thu, 1 Mar 2001 16:14:35 +0800
From: Jean-Paul Blaquiere [EMAIL PROTECTED]
Resent-From: debian-sparc@lists.debian.org

 On Mar 01, Q89029292 scratched in indelible ink :

 replace your files by looking up the dpkg database, for the installed
 packages then expand the debs using tar? to expand only the /usr
 directory.
 
when I hosed my alpha by screwing up the partition table and lost *all* 
of
/usr :(  I grepped the installed packages out of /var/lib/dpkg/status 
into a
text file,
grep ^Package /var/lib/dpkg/status |cut -f 2 -d ' '|sort 
installed_packages

then did an:
apt-get install --reinstall `cat installed_packages`

sure it probably copied over other stuff as well, but it was quick and
painless.

/Jp... system admin^wrecoverer
-- 
Jean-Paul Blaquière ||   Avatar of Computational 
[EMAIL PROTECTED]   ||   Thaumaturgy
http://japester.ucc.asn.au   ||
  The only thing keeping me from being a serial killer is my 
distast for
  manual labour  - dilbert



Re: DANGEROUS ?? help needed

2001-03-01 Thread Jean-Paul Blaquiere
 On Mar 01, Gabor Zoltan Csejtey scratched in indelible ink :

 Another problem related to location of var. I moved it from the /
 (root) to different partition and made a symlink. This link happens to
 disapper when I reboot the machine then it hangs when it's looking for
 /var/run and other directories in /var. 
 I need to check what's going on.
 
At what stage of the boot process is it hanging?
Also, is that new partition mounted at the stage it is hanging?
Would it be easier to create a new partition for /var ?

I have successfully moved /var off a / partition (and /usr as well) and had no
problems ...

/Jp...
-- 
Jean-Paul Blaquière ||   Avatar of Computational 
   [EMAIL PROTECTED]   ||   Thaumaturgy
http://japester.ucc.asn.au   ||
 The only thing keeping me from being a serial killer is my distast for
 manual labour  - dilbert



DANGEROUS ?? help needed

2001-02-26 Thread Gabor Zoltan Csejtey
I'm trying to compile perl-5.6.0 under potato.
There're some errors relating to the lib/ndbm and lib/anydbm.
I tried to comment out these. Finally I changed the 
debian/rules and
debian/config.debian 

and added to the Configure:
-Ui_ndbm

in the perl-5.6.0 source directory. STRANGE thing happend!!!
My whole /usr/bin directory was wiped out only two directories
remained there:

libc5-compat
mh

I was running dpkg-buildpackage -uc -b  as root from the perl source
directory which is located in a different location than /usr. 
Could the dpkg-buildpackage erase the contents of /usr/bin ? Or
something else happend?
The other libraries weren't effected I think. 

Anyway I downloaded the base2_2.tgz with netscape which is installed
under /usr/local and put the /usr/bin/* files from the archive into
/usr/bin.

Is there a way to rebuild the other parts of the system? I mean to get
the missing binaries under /usr/bin?

Gabor



NIS+ Client Support Available / libpam_unix help needed

2000-03-23 Thread Rainer Dorsch

Over the past few months (shortly after my ITP), Debian-NIS+ Client support 
was developed by a small group of non-Debian maintainers. I post on 
debian-devel, to make the effort known among the Debian developers and the 
SPARC users, who might work in a SUN NIS+ environment AND to ask for 
libpam_unix help (see below).

To get access to  the NIS+ client package (i386) for Debian (potato) include

deb http://www.realbodo.de/ debian/
deb-src http://www.realbodo.de/ debian/

in your /etc/apt/sources.list

To install your Debian system as a NIS+ client do 

apt-get install nisplus libpam-unix2

Then read the doc in /usr/share/doc/nisplus.

The package is based on SUSE's libpam_unix2 package, because the nisplus 
provided from Thorsten Kukuk from SUSE) package does not work with Debian's 
libpam_unix.  With Debian's libpam_unix the client machine must be in the 
admin group on the nis+ server. With libpam_unix2 there's no need for that 
security hole. Ben Collins is looking on the problem, but due to his many 
other functions in the Debian project, he is short of time.

The integration of the Debian NIS+ package in the Debian distribution would 
proceed faster, if somebody else would be looking in the PAM problem. I think 
some experience with the libpam_unix implementation is required. Certainly, 
nis+ access would be an advantage.

The packaging work was done by Michael Feger (University of Karlsruhe), 
testing and documentation was done by Sebastien Chaumat and Pascal 
Degiovanni(Ecole Normale Superieure de Lyon). Both can be reached via the 
debian-nis+ mailalias [EMAIL PROTECTED] If you 
want to be added to the alias, please send a short email to me.

Thanks.

Rainer.
-- 
Rainer Dorsch
Abt. Rechnerarchitektur  e-mail:[EMAIL PROTECTED]
Uni StuttgartTel.: 0711-7816-215



Re: NIS+ Client Support Available / libpam_unix help needed

2000-03-23 Thread Ben Collins
 
 The integration of the Debian NIS+ package in the Debian distribution would 
 proceed faster, if somebody else would be looking in the PAM problem. I think 
 some experience with the libpam_unix implementation is required. Certainly, 
 nis+ access would be an advantage.
 

Just to clarify what needs to be done. I did not want to include a module
called pam_unix2.so for fear of confusion with users. What I would like to
see is the NIS+ functionality from pam_unix2.so to be merged into and work
seemlessly with the current pam_unix.so. Atleast this way, the changes can
be merged upstream, and integration is easier (e.g. just add nisplus to
the modules options in the pam config files to enable the functionality).

The folks the did all the work for this need a big thank you for the
work they have been doing.

Ben

-- 
 ---===-=-==-=---==-=--
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
` [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED] '
 `---=--===-=-=-=-===-==---=--=---'


Bootable sparc potato ??? help needed.

2000-03-13 Thread Jim Westveer
Hurmph,

In my zeal to update the debian-cd scripts for sparc, I first
made changes to the debian-cd script tools/boot/potato/boot-sparc,
so that it would write an  El Torito bootable CD .

Well duhh, that was stupid on my part!

After recovering a bit (and taking a handfull of smart pills)
I realized that if one wanted to make a bootable sparc
CD image on an intel host, perhaps I should read up a bit on
silo and intelsilo.  

Not being a 'sparc' guy, I'll admit that I am now only partially
confuzed about how to do it. Therefore, I have put the file back 
to an original state, as I continue to mull over how to doit.

So..i am looking for help
If you could take a look at the file in the current CVS boot-disks
that gets installed as:

/usr/share/debian-cd/tools/boot/potato/boot-sparc

Perhaps someone might have an idea on how to get it working with
intelsilo.  I think it is close.

 
Thanx,


-- 
Jim Westveer [EMAIL PROTECTED]

Bother, said Pooh as he struggled with sendmail.cf.
It never does quite what I want.
I wish Christopher Robin were here.. 

E-Mail: Jim Westveer [EMAIL PROTECTED]
phone   425-591-3002
fax 425-557-0660  Date: 13-Mar-2000
URL lcs.issaquah.wa.usTime: 09:58:35
Random number = DC 49 E8 7E 76 DD 30 2D 8D F1 B4 D8 A3 60 4C 04



Re: Bootable sparc potato ??? help needed.

2000-03-13 Thread Ben Collins
On Mon, Mar 13, 2000 at 10:23:22AM -0800, Jim Westveer wrote:
 Hurmph,
 
 In my zeal to update the debian-cd scripts for sparc, I first
 made changes to the debian-cd script tools/boot/potato/boot-sparc,
 so that it would write an  El Torito bootable CD .
 
 Well duhh, that was stupid on my part!
 
 After recovering a bit (and taking a handfull of smart pills)
 I realized that if one wanted to make a bootable sparc
 CD image on an intel host, perhaps I should read up a bit on
 silo and intelsilo.  
 
 Not being a 'sparc' guy, I'll admit that I am now only partially
 confuzed about how to do it. Therefore, I have put the file back 
 to an original state, as I continue to mull over how to doit.
 
 So..i am looking for help
 If you could take a look at the file in the current CVS boot-disks
 that gets installed as:
 
 /usr/share/debian-cd/tools/boot/potato/boot-sparc
 
 Perhaps someone might have an idea on how to get it working with
 intelsilo.  I think it is close.

I already have this working in my local tree. I'll commit soon. Basically
it is going to depend on a patch to mkhybrid that will be uploaded soon by
the maintainer. I don't think it works with intelsilo.

Basically you pass -B boot/second to mkhybrid (while having
boot/{cd,second}.b on the iso partition. You can check it out when I
commit.

-- 
 ---===-=-==-=---==-=--
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
` [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED] '
 `---=--===-=-=-=-===-==---=--=---'


Re: Bootable sparc potato ??? help needed.

2000-03-13 Thread Steve Dunham
Jim Westveer wrote:
 
 Hurmph,
 
 In my zeal to update the debian-cd scripts for sparc, I first
 made changes to the debian-cd script tools/boot/potato/boot-sparc,
 so that it would write an  El Torito bootable CD .

 Well duhh, that was stupid on my part!

 After recovering a bit (and taking a handfull of smart pills)
 I realized that if one wanted to make a bootable sparc
 CD image on an intel host, perhaps I should read up a bit on
 silo and intelsilo.

 Not being a 'sparc' guy, I'll admit that I am now only partially
 confuzed about how to do it. Therefore, I have put the file back
 to an original state, as I continue to mull over how to doit.

 So..i am looking for help
 If you could take a look at the file in the current CVS boot-disks
 that gets installed as:
 
 /usr/share/debian-cd/tools/boot/potato/boot-sparc
 
 Perhaps someone might have an idea on how to get it working with
 intelsilo.  I think it is close.

Actually, IIRC, intelsilo should work identically to silo (except
that it refuses to do anything except CD's - won't do HD boot
blocks).

One thing to watch out for - the kernel and/or root.bin cannot be
the last file on the disk.  The prom can't read the last blocks
from the disk.


Steve
[EMAIL PROTECTED]


SPARC2 install help needed

1999-06-16 Thread David Lew
I just bought a Sparc 2 and I'm wondering if it's possible to boot off a
Toshiba CD-ROM. boot cdrom won't work. I've tried booting off the floppies
but it has some kernel paging errors during the root disk read. I have Debian 
2.1 on 2 CDs along
with floppies I made from the disk images. Thanks. 


David Lew   
Linux Addicthttp://www.LinuxAddict.com
Ultra Vitamins  http://www.UltraVitamins.com
Personal Site   http://www.jps.net/dlew