X server error output (Re: X11 problems)

1996-08-05 Thread Ed Donovan
[EMAIL PROTECTED] (Jens Decker) writes:

> 
> The monitor gets black and after CTRL-ALT-F4 I get:
> 
> TRANS(SocketUNIXConnect) () can't connect: errno = 111
> giving up.
> xinit:  Connection refused (errno 111):  unable to connect to X server
> xinit:  No such process (errno 3):  Server error.
> 

Re: this output -

It'd help to see more of the stderr output from X. This is the tail end
of what scrolled by.  The X server probably found no valid modes,
according to its assessment of the hardware, in your XF86Config.  If
this was run by startx, try 'startx 2> X_Startup &', just sending that
output to a file.

You'll see a lot of stuff in there; lines beginning (**) report info
specified in your XF86Config, those beginning (--) show what the server
is determining on its own.  These will include the lines where it
excludes possible configurations found in that file, like these:

(--) SVGA: Mode "640x480" needs vert refresh rate of 69.98 Hz. Deleted.
(--) SVGA: Mode "800x600" needs vert refresh rate of 60.32 Hz. Deleted.
(--) SVGA: Mode "800x600" needs vert refresh rate of 72.19 Hz. Deleted.

and later these:

(--) SVGA: There is no defined dot-clock matching mode "800x600"
(--) SVGA: Removing mode "800x600" from list of valid modes.

(not that I'm having trouble getting my Cirrus 5420 to do 800x600 ;-)

This could give you some start into what's not working in your
XF86Config settings.  I don't know your hardware & am not enough of a
general expert, so I should let others take it from there.  They'll want
(parts of) your XF86Config, and perhaps the results from running
Superprobe.  Right now, either the settings don't match the hardware, or
you have to specify more to force the server to realize that they do.

HTH a little,

-- 

Ed Donovan  [EMAIL PROTECTED]



X font packages in very limited disk space

1996-08-05 Thread Ed Donovan
Hi - 

Seeking yr advice for a fairly slim X installation.  Right now I have
only the xfntbase fonts installed, and I get plenty of "can't get font
courier-..." or "adobe" or "helvetica" messages when starting apps.  The
Contents file tells me several such fonts are hanging around in xfnt75
and xfnt100, and some in xfntscl.

Which of those package(s) would be most useful under 800x600 on the SVGA
server?  What situation calls for 75dpi, 100dpi, or scalable fonts?  The
common apps I run right now include rxvt, emacs, & xmosaic.  It'd be
great to just add one of those font packages.  I can certainly try
installing them in turn and see what lights up my life, but maybe I can
get a little more background than I have from docs or FAQs on the roles
of those different fonts.  

Many thanks as always,

-- 

Ed Donovan  [EMAIL PROTECTED]



aic7xxx corrupts superblock?

1996-08-05 Thread Danny Heap
-
1.  Summary
- 

My 2.0.0 kernel using the aic7xxx driver corrupts the superblock of my
root filesystem (panics at boot, thinking it is an MS-DOS fs).  My
1.2.13 kernel, using aha274x doesn't corrupt it.  I'd like to know
whether this corresponds to a problem fixed in 2.0.n (for n>0), or
what I should do now.

-
Contents of this post:

1.  Summary (above)
2.  Hardware/software setup
3.  Fuller description of the problem.
4.  Extracts from /var/adm/messages
-

-
2.  Hardware/software setup
-

486DX-2/66, ASUS VLB
Adaptec 2842 scsi controller
Conner CFP1080S scsi disk
Toshiba scsi CDROM model: XM-3501TA
HP scsi tape: Model: HP35470A
Teac 1.44 floppy
Two kernels:
1.2.13, built using aha274x (aha274x.h v1.11, aha274x.c v1.29)
custom-built from debian 0.93R6
2.0.0, built using aic7xxx (aic7xxx.h v3.1, aic7xxx.c v3.2)
custom-built from debian 1.1

The kernel is configured for scsi, scsi disk, scsi tape, and scsi
cdrom support, as well as the appropriate driver.  ISO9660 fs support
is loaded as a module.

-
3.  Fuller description of problem
-

I upgraded my system from debian 0.93R6 to debian 1.1 (except for the
distribution kernel, which wouldn't boot).  I then built a custom
kernel for my machine, including support for my controller (aic7xxx).
I ran this several times over about four days, and then began to make
installation disks (for another machine), using "dd" to write files
from my cdrom to the floppies.  While "dd" was writing the fourth
disk, I had a kernel panic, which I wrote down (figuring it wouldn't
necessarily get written to /var/adm/messages):

aic7xxx (aic7xxx_isr) BRKADRINT error (0xff):
Illegal Host Access
Illegal Sequencer Address referenced
Illegal Opcode in sequencer program
Sequencer RAM parity error
Kernel panic aic7xxx: (aic7xxx_isr)

Sure enough, it wasn't written to /var/adm/messages, although there is
a message (also echoed to the terminal) each time the cdrom is
mounted (didn't happen under the old kernel):

ISO9660 Extensions: RRIP_1991A

At this point, I had to do a hard reboot and let fsck fix any damage.
I poked around for clues, and then wrote the remaining installations
disks.  I then got another message:

ISO9660 Extensions: RRIP_1991A
scsi0: MEDIUM ERROR on channel 0, id 0, lun 0, CDB: 0x08 01 37
3a 08 0
Current error sr0b:00: sns = f0  3
ASC=15 ASCQ= 0
Raw sense data:0xf0 0x00 0x03 0x17 0x46 0x01 0x00 0x0a 0x00
0x00 0x00 0x00 0x15 0x00 0x00 0x00 
CD-ROM I/O error: dev 0b:00, sector 318696

At this point, I rebooted with "shutdown ..." and found that my root
filesystem could not be mounted.  I used my emergency disks to run
fsck, and found that the superblock was corrupted.  I used an
alternate superblock, and the problem (bad free block count) was
fixed.

At this point I found I could boot repeatedly with my old (1.2.13,
aha274x) kernel, with no apparent ill effects.  However, if I booted
with my new (2.0.0, aic7xxx) kernel, I would boot successfully, but
the *next* boot would stop at the partition check, finding the root
filesystem unmountable (and a message suggesting that it is an MS-DOS
fs --- I have no MS-DOS fs!).  The message begins:

[MS-DOS FS Rel.12, ...

I tried passing "aic7xxx=extended,no_reset" at boot time.  Although
this skipped the scsi bus reset, it didn't seem to solve the problem.

-
4.  Extracts from /var/adm/messages
-

Here's what the aic7xxx kernel boot sequence looks like.  The "cannot
find map" message seems to be because the custom kernel System.map is
not in /boot (I just noticed that it *is* in the
/usr/src/kernel... directory).


Aug  3 13:54:06 riel syslogd 1.3-0#6: restart.
Aug  3 13:54:07 riel kernel: klogd 1.3-0, log source = /proc/kmsg started.
Aug  3 13:54:07 riel syslogd 1.3-0#6: restart.
Aug  3 13:54:07 riel kernel: Cannot find map file.
Aug  3 13:54:07 riel kernel: Console: 16 point font, 400 scans
Aug  3 13:54:07 riel kernel: Console: colour VGA+ 80x25, 1 virtual console (max 
63)
Aug  3 13:54:07 riel kernel: Calibrating delay loop.. ok - 33.18 BogoMIPS
Aug  3 13:54:07 riel kernel: Memory: 14876k/16384k available (656k kernel code, 
384k reserved, 468k data)
Aug  3

Re: color ls

1996-08-05 Thread branderh
> hmm ok well i have checked 5 sites now and fileutils-3.12-4.deb IS the
> newer version. if i am wrong about this please tell where there is a newer
> version.

Check unstable for 3.13-3, if not found try a few days later.

Erick



Re: color ls

1996-08-05 Thread branderh
> Shouldn't it both conflict and replace color-ls, so that color-ls gets
> completely overwritten when the new fileutils it replaced? Otherwise stuff
> like /usr/doc/copyright/color-ls (for instance) won't get removed... And
> dpkg -l will still show a color-ls package.

done in 3.13-3

Erick



UCBmpeg

1996-08-05 Thread Philippe Troin

Who's in charge of ucbmpeg and ucbmpeg_play ? These packages are 
still a.out.

I've tried to rebuild them, but there's little doc (read no doc), and 
it needs Tcl and Tk. Which versions ? I had problems with both Tcl 
7.4 Tk 4.0 and Tcl 7.5 Tk 4.1. I had to link with Tcl 7.4 and 7.5 
plus Tk 4.1. Duh !

Phil.




Smail

1996-08-05 Thread Andrew Stephen
Hi,

Is there any way off getting smail to log in the same format as sendmail
did. Currenlty its being logged to /var/adm/smail/logfile.

ie

Jul 14 09:30:01 intrepid sendmail[15405]: JAA15405: from=root, size=332, 
class=0, pri=30332, nrcpts=1, msgid=<[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Jul 14 09:30:01 intrepid sendmail[15405]: JAA15405: to=root, ctladdr=root 
(0/0), delay=00:00:00, mailer=local, stat=Sent
Jul 14 09:41:16 intrepid sendmail[15499]: JAA15499: from=root, size=41, 
class=0, pri=30041, nrcpts=1, msgid=<[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Jul 14 09:41:19 intrepid sendmail[15501]: JAA15499: [EMAIL PROTECTED], 
ctladdr=root (0/0), delay=00:00:05, mailer=smtp, relay=hades [0], stat=Host 
unknown (Name server: hades: host not found)
Jul 14 09:41:19 intrepid sendmail[15501]: JAA15499: JAA15501: return to sender: 
Host unknown (Name server: hades: host not found)
Jul 14 09:41:19 intrepid sendmail[15501]: JAA15501: from=MAILER-DAEMON, 
size=141, class=0, pri=30141, nrcpts=1, msgid=<[EMAIL PROTECTED]>, 
proto=internal, relay=[RESPONSE]
Jul 14 09:41:19 intrepid sendmail[15503]: JAA15501: to=root, delay=00:00:00, 
mailer=local, stat=Sent

Regards,
Andrew.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
andrew stephenPost Office Box 299
E-Mail : [EMAIL PROTECTED]Gosnells,  6110
Web: http://byteline.com.au   Western Australia
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




Re: gpm and X mouse conflicts

1996-08-05 Thread Mark Phillips
>> When I try to run startx, it dies complaining that:
>> 
>> Fatal server error:
>> Cannot open mouse (Device or resource busy)
>> 
>> I then kill gpm and startx works fine.  How can I get both to work
>> together?  I could do this under slackware.
>> 
>Read the man page for gpm. I think you want the -R option and some setup
>in X to use /dev/gpmdata.

I read man, and it seems that the -R option is designed primarily for
bus-mice and I quote:
  "-R Causes  gpm  to  act  as a repeater: any mouse data
  received while in graphic mode will be produced  on
  the  fifo  /dev/gpmdata  in  mouse-system protocol.
  This means that you can configure the X  server  to
  use  that  fifo  as  a mouse device. This option is
  useful for bus-mouse owners to override the single-
  open  limitation. ..."

But my mouse is a normal, MouseSystems compatible, serial mouse.
Surely I shouldn't have to use the -R option?  I didn't have to under
slackware.

Thanks,

Mark Phillips.  ([EMAIL PROTECTED])



Re: syslogd stopped working

1996-08-05 Thread Richard G. Roberto
On Sat, 3 Aug 1996, Dermot Bradley wrote:

> I'm running Debian 1.1 on a machine here and as of a few days ago syslogd 
> has stopped working. If I run the daemon manually it runs for about 30 
> seconds and then stops. I've tried removing the sysklogd package (using 
> the --force option) and re-installing it again to no avail.
> 
> -- 
> Dermot BradleyEmail: [EMAIL PROTECTED]
> Communications Director   Tel: 01232 560552
> Genesis Project Ltd   Fax: 01232 560553
> Belfast & Derry, Northern Ireland WWW: http://www.gpl.net/
> 

I had the same problem and mis-diagnosed it too!  I wound up
upgrading the sysklogd package and thought it was the
answer, but it turns out it wasn't.  Here's basically what
happened on my system:

I went through the install and configured my system to be
called "debian" as the install does if you don't have a nic
card to configure.  I then restored my home directories (I
came over from Slackware) and configs and connected to the
net using ppp.  My ppp connect script updates my /etc/hosts
file with hte new dynamic IP address and changes my hostname
to dummypc.  This was intended to be a temporary setup, but
it worked so I never changed it :).  I was using a template
file to change the hosts file using sed.  The template file
didn't have an entry for "debian" as a valid host.  syslogd
wouldn't run, I'm assuming because it couldn't resolve the
hostname returned by "uname -n" to an IP address.

I changed my script to echo a series of commands to ed and
edit the existing hosts file (with a valid debian entry) and
all seems to work fine.  I don't know for sure if my
diagnosis is right here, but I haven't had any problems
since.  Please check this on your system and let me know if
something similar has happened.  I'm curious to see if that
was really it or not.  What ever name is returned by
"hostname" or "uname -n" (should be the same?) should have a
valid entry in /etc/hosts.

Thanks

Richard G. Roberto
[EMAIL PROTECTED]
201-739-2886 - whippany, nj


--
***
Bear Stearns is not responsible for any recommendation, solicitation, offer or
agreement or any information about any transaction, customer account or account
activity contained in this communication.
***



Re: LILO and W95

1996-08-05 Thread Richard G. Roberto
On Sat, 3 Aug 1996, James D. Freels wrote:

> >"More sense on a PC" ? Duh ! Maybe for a "Win95" user.
> >Anyhow, the problems with "I've installed Micro$oft Windoze 95 on my 
> >computer and can't boot Linux anymore" is just due to the fact that 
> >M$ just assumes that anyone use their piece of crap and just baldly 
> >recreates the MBR.
> 
> I know all about the MBR thing.  Don;t try to give me that dumb-*^&%
> stuff.  Been there, done that...
> 
> I don't think you understand what I'm trying to say.  Get off your
> high horse just a minute and think about what you are saying.
> 

Cool!

> 
> P.S.  BTW, M$ Windoze-95 is not a piece of crap.  I think we all agree
> in this group that it is wowfully behind the capabilities of Linux.
> But, one cannot deny the numbers.  If it were that bad, why are there
> so many people using it?  We can't isolate ourselves.  The thing to do
> is figure out how to work with it.
> 

I love these threads, but maybe we should take it off of
debian-user?

I think Win95 really is a piece of crap!  In fact, I'd go as
far to say that its a piece of sh*t!  The reason its got so
many installations is because of the way Micr$oft
strong armed its corporate user base with support issues
into switching.  Although I must say, Win95 is not enjoying
anything like the success of Win3.x.  If you think about it,
Windows really is responsible for the PC explosion, so I'm
not really much of a Bill basher.  But I also know that
market share is what pushed Win95 onto people's desktops.
Here at Bear we use WinNT exclusively for a Windows platform
(more or less) and have no plans to mess with Win95.

Win95 has forced people into a stronger committment to
Micro$oft, securing future marketshare, etc.  It really
doesn't offer much else (other than instalbility and a
learning curve for Win3.x users).  The new NT4.0 workstation
will have the same interface and then everyone can upgrade
again.  This time, there will be less throw away code, and
an already familiar user interface for Win95 users.

As far as comparing it to Linux/Unix, Window$ is perceived
as being "easier" to install and maintain.  Any of us who
have ever had to trouble shoot a Window$ system knows
better, but that's not important.  Becuase Window$ is the
platform of choice for most of the computing world, that's
where all major application development efforts are focused.
People don't use really great OS's for the most part.  They
use applications they think they need.  Everybody wants drag
-n- drop, plug -n- play, point -n- shoot, WYSIWYG, net
aware, multi-media aware/capable, etc.  I can do my job on a
vt100 and be basically just as effective, but much of the
world can't read their e-mail without hearing their favorite
jingle and watching an animated icon do a soft shoe across
the screen.

I think I had a point when I started this but I'm sure I've
lost it, so I'll shut up now.

Thanks

Richard G. Roberto
[EMAIL PROTECTED]
201-739-2886 - whippany, nj


--
***
Bear Stearns is not responsible for any recommendation, solicitation, offer or
agreement or any information about any transaction, customer account or account
activity contained in this communication.
***



RE: Its A Boy!!!

1996-08-05 Thread Richard G. Roberto
Thank you to all who responded with congratulations, etc.

There were so many responses that its just easier to send
thanks to the list.

P.S.:  My wife and son are both doing very well, although we
feel like we haven't slept since the 80's.

Richard G. Roberto
[EMAIL PROTECTED]
201-739-2886 - whippany, nj


--
***
Bear Stearns is not responsible for any recommendation, solicitation, offer or
agreement or any information about any transaction, customer account or account
activity contained in this communication.
***



rename a machine

1996-08-05 Thread David_Oswald
 Can anyone tell me how to _Permanently_ change the hostname on my 
 machine ???
 
 If I issue the hostname command: hostname newname
 
 the node name is set to newname - HOWEVER after a reboot the original 
 name returns.
 
 
 Where is this info written ?
 
 Thanx in advance...



Re: aic7xxx corrupts superblock?

1996-08-05 Thread Allen K. Smith

I had this same problem. I ended up going back to the 1.99.7 kernel, which
does not have this problem. I haven't yet tested the newer kernels.


At 09:44 PM 8/4/96 PDT, Danny Heap wrote:
>-
>1. Summary
>- 
>
>My 2.0.0 kernel using the aic7xxx driver corrupts the superblock of my
>root filesystem (panics at boot, thinking it is an MS-DOS fs).  My
>1.2.13 kernel, using aha274x doesn't corrupt it.  I'd like to know
>whether this corresponds to a problem fixed in 2.0.n (for n>0), or
>what I should do now.
>
>-
>Contents of this post:
>
>1. Summary (above)
>2. Hardware/software setup
>3. Fuller description of the problem.
>4. Extracts from /var/adm/messages
>-
>
>-
>2. Hardware/software setup
>-
>
>486DX-2/66, ASUS VLB
>Adaptec 2842 scsi controller
>Conner CFP1080S scsi disk
>Toshiba scsi CDROM model: XM-3501TA
>HP scsi tape: Model: HP35470A
>Teac 1.44 floppy
>Two kernels:
>1.2.13, built using aha274x (aha274x.h v1.11, aha274x.c v1.29)
>   custom-built from debian 0.93R6
>2.0.0, built using aic7xxx (aic7xxx.h v3.1, aic7xxx.c v3.2)
>   custom-built from debian 1.1
>
>The kernel is configured for scsi, scsi disk, scsi tape, and scsi
>cdrom support, as well as the appropriate driver.  ISO9660 fs support
>is loaded as a module.
>
>-
>3. Fuller description of problem
>-
>
>I upgraded my system from debian 0.93R6 to debian 1.1 (except for the
>distribution kernel, which wouldn't boot).  I then built a custom
>kernel for my machine, including support for my controller (aic7xxx).
>I ran this several times over about four days, and then began to make
>installation disks (for another machine), using "dd" to write files
>from my cdrom to the floppies.  While "dd" was writing the fourth
>disk, I had a kernel panic, which I wrote down (figuring it wouldn't
>necessarily get written to /var/adm/messages):
>
>   aic7xxx (aic7xxx_isr) BRKADRINT error (0xff):
>   Illegal Host Access
>   Illegal Sequencer Address referenced
>   Illegal Opcode in sequencer program
>   Sequencer RAM parity error
>   Kernel panic aic7xxx: (aic7xxx_isr)
>
>Sure enough, it wasn't written to /var/adm/messages, although there is
>a message (also echoed to the terminal) each time the cdrom is
>mounted (didn't happen under the old kernel):
>
>   ISO9660 Extensions: RRIP_1991A
>
>At this point, I had to do a hard reboot and let fsck fix any damage.
>I poked around for clues, and then wrote the remaining installations
>disks.  I then got another message:
>
>   ISO9660 Extensions: RRIP_1991A
>   scsi0: MEDIUM ERROR on channel 0, id 0, lun 0, CDB: 0x08 01 37
>   3a 08 0
>   Current error sr0b:00: sns = f0  3
>   ASC=15 ASCQ= 0
>   Raw sense data:0xf0 0x00 0x03 0x17 0x46 0x01 0x00 0x0a 0x00
>   0x00 0x00 0x00 0x15 0x00 0x00 0x00 
>   CD-ROM I/O error: dev 0b:00, sector 318696
>
>At this point, I rebooted with "shutdown ..." and found that my root
>filesystem could not be mounted.  I used my emergency disks to run
>fsck, and found that the superblock was corrupted.  I used an
>alternate superblock, and the problem (bad free block count) was
>fixed.
>
>At this point I found I could boot repeatedly with my old (1.2.13,
>aha274x) kernel, with no apparent ill effects.  However, if I booted
>with my new (2.0.0, aic7xxx) kernel, I would boot successfully, but
>the *next* boot would stop at the partition check, finding the root
>filesystem unmountable (and a message suggesting that it is an MS-DOS
>fs --- I have no MS-DOS fs!).  The message begins:
>
>   [MS-DOS FS Rel.12, ...
>
>I tried passing "aic7xxx=extended,no_reset" at boot time.  Although
>this skipped the scsi bus reset, it didn't seem to solve the problem.
>
>-
>4. Extracts from /var/adm/messages
>-
>
>Here's what the aic7xxx kernel boot sequence looks like.  The "cannot
>find map" message seems to be because the custom kernel System.map is
>not in /boot (I just noticed that it *is* in the
>/usr/src/kernel... directory).
>
>
>Aug  3 13:54:06 riel syslogd 1.3-0#6: restart.
>Aug  3 13:54:07 riel kernel: klogd 1.3-0, log source = /proc/kmsg started.
>Aug  3 13:54:07 riel syslogd 1.3-0#6: restart.
>Aug  3 13:54:07 riel kernel: Cannot find map file.
>Aug  3 13:54:07 riel kernel: Console: 16 point font, 400 scans

Re: color ls

1996-08-05 Thread Shaya Potter


On Wed, 31 Jul 1996, Mark Phillips wrote:

> Hi,
> 
> Something has happened to stop ls giving color output.  I used to be
> able to just run:
> 
> eval `dircolors`
> 
> and ls would work in color - even without specifying the "--color"
> option.  (And no, ls was not aliased)
> 
> Now it seems I need to type "ls --color" to get color?
> 
> What is the problem?  I've changed a number of things of late - moved
> from tcsh to bash (but same thing happens in both shells), and
> upgraded a number of packages.  So I don't know what has caused the
> change.  Any ideas anyone?
> 
> Mark Phillips.  ([EMAIL PROTECTED])
> 
I had the same problem, seemed to fix itself after I downloaded the 
newest version of color-ls.

Hope this helps

Shaya Potter
[EMAIL PROTECTED] 



problem using DC fonts in latex

1996-08-05 Thread Eric Delaunay

Hello all,

  I have upgraded my Debian system using latex_2e-7 and mflib_1.0-8 as
described in an earlier message I read from this mailing list.
However, when I tried to use T1 font encoding, I got a lot of errors
regarding font availability.

Running latex on a document that requires DC fonts (\usepackage[T1]{fontenc})
generates errors when it looks for fonts to be included in the document.

I don't have exact logs to put in my mail (I test new packages at my home, not
at my office, sorry :-( ) but I can try to explain what latex do:

when loading fontenc, latex selects T1 encoding by then load the upright font
at the desired size (10, 11 or 12pt, I tried all of them).
Name of font (for 10pt, for instance) is dcr1000.mf.
However, this font isn't available in my system, then latex run MakeTeXTFM to
build it and store a new description in /var/spool/texmf/fonts/source.

In the followind step, latex (or maybe MakeTeXTFM ?) run MakeTeXMF on that
source to generate a bitmap font. However it doesn't find the font.
Apparently, /var/spool/texmf/fonts/source isn't in the default MFINPUTS path :-(
Therefore I added it and reran latex (by setenv MFINPUTS :).

Latex then generate all the fonts I needed in my document but all are ugly
under xdvi (characters strokes are very, very thin).

Apparently, this new distribution uses DC fonts v1.2 but the old one
(latex_2e-4) uses a previous version.
I heard that I should also upgrade fonts. Should it fix my problem ?
I also heard that mf program should be designed to run with DC-1.2 fonts :-\
BTW, I didn't find a newer package than mfbasfnt_1.0-3 and textfm_1.0-3 that
I already have installed.
Does a new font package will be planned ?

Thank in advance for all replies I could receive.

-- 
 Eric Delaunay | "La guerre justifie l'existence des militaires.
 [EMAIL PROTECTED] | En les supprimant." Henri Jeanson (1900-1970)



how to avoid some upgrades from a distrib

1996-08-05 Thread Eric Delaunay

Hello,

  I would avoid upgrade of few packages when I upgrade my system from a
new distribution.
Packages I should not upgrade are "base", "netscape" and few others. "base"
because I changed some rights on devices (under /dev) and I don't want to
reset them (and "base" is not required to upgrade (see package description)).
"netscape" because I don't want to upgrade it synchronously with system
upgrade (mostly because it's only an installer that require netscape tar to
be present in /tmp :( ).

Is there a way to tell dselect/dpkg to skip some installed packages during an
upgrade without removing them from distribution ? (if provided on a cdrom, it
hard to erase them ;) )
(dpkg is called from dselect passing -iGROEB options that recursively parse
distribution directories and upgrade *all* packages previously installed).

Thanks in advance.

-- 
 Eric Delaunay | "La guerre justifie l'existence des militaires.
 [EMAIL PROTECTED] | En les supprimant." Henri Jeanson (1900-1970)



Installation-problem

1996-08-05 Thread OlliR
Hello

I'm a new user of the Linux-system especially Debian-Linux. I recieved a CD
from you from July.
I've got a problem if a want to install other programs on my system:
I already installed the base-system and that's all. Now I want to install
X11, but if I start 'dselect` and say, that I want to install from CD the
program doesn't find a path on CD. The program want to know the top level of
the Debian system. If I enter a path (for example: /contrib), the program
says that the directory `/contrib/stable/binary-i386' doesn't exists. So I
look on the CD and there's no directory called `.../stable/...'. What have I
done wrong or what's  wrong with the program/CD?
Is there another way to install other programs (like the (Win-)DOS-emulator
or editors...)


Oliver Resch



Re: rename a machine

1996-08-05 Thread Tim 'The Unslept' Sailer
In your email to me, [EMAIL PROTECTED], you wrote:
> 
>  Can anyone tell me how to _Permanently_ change the hostname on my 
>  machine ???
>  
>  If I issue the hostname command: hostname newname
>  
>  the node name is set to newname - HOWEVER after a reboot the original 
>  name returns.
>  
>  
>  Where is this info written ?

edit /etc/hostname

Tim

-- 
   [EMAIL PROTECTED]
 "Great successes are built on taking your negatives and turning them around."
-- Sumner Redstone
** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.**



Re: rename a machine

1996-08-05 Thread Will Waites
>
> Can anyone tell me how to _Permanently_ change the hostname on my 
> machine ???
> 

edit /etc/hostname so that it contains the hostname that you want.
put hostname `cat /etc/hostname` in one of your rc.* scripts if it
isn't there already.

Will




Re: rename a machine

1996-08-05 Thread Rob Browning
[EMAIL PROTECTED] writes:

>  Where is this info written ?

/etc/hostname at the minimum.

--
Rob



Re: rename a machine

1996-08-05 Thread Joshua Stockwell
Look in /etc/hostname file

-Josh Stockwell



Help on DNS

1996-08-05 Thread osman

Firstly let me introduce myself as a B. Tech Computer Science and
Engineering student at University of Mauritius. For my final year, I have
to do a project namely:

'Design and Implementation of a Dynamic Domain Name Server for host
configuration on a LAN.' If, for e. g., a new server joins the LAN, the
Domain Name Server automatically updates a lookup table automatically.

Can any of you please help me in this project. Also what are others features 
that might be 
considered.

The DNS will be implemted using RPC under linux.

In Mauritius we have very few specialised and thus your help will be valuable.

Thank you for your attention

Osman

N. B. Please reply on [EMAIL PROTECTED]

-
E-mail: [EMAIL PROTECTED]
Date: 08/05/96
Time: 21:57:28
-




a memory + SCSI error??

1996-08-05 Thread Susan G. Kleinmann
My system has become increasingly flaky in the last 36 hours, and I
need whatever advice anyone might have to offer quickly!

I wouldn't bring this to the list, except that I believe that whatever 
problem I'm having may well affect others.

History:
On Saturday I got carried away with housecleaning:  I started with the
study, but then decided to clean the computers, and then I decided to
clean the _insides_ of the computers.  That now looks like a big mistake.

(The system has an Intel Plato motherboard with an NCR SCSI controller,
2 1 GByte SCSI disks, 1 SCSI CD-ROM, and (externally) a Micropolis 
9 GByte disk drive and an Exabyte tape drive.  This particular Micropolis
has been well behaved, but I had another Micropolis 9 Gbyte which died
quickly, so now I think of them as delicate disk drives.  The system 
has 48 MBytes of RAM, though it is rare that I ever see more than 
2 MBytes of RAM free when I run vmstat -- an issue I'd been meaning to 
investigate for months.  This seems odd to me since I am almost
always the only user.)

It's been a while since I've backed up the system.

After I cleaned it, the system seemed to boot up normally.
But the next morning, I saw a message:
   KERNEL PANIC, and something about a SCSI I/O error.  
I tried to logout so I could reboot normally,
but couldn't do that.  So I shutdown the system, and when I tried to
reboot, I was of course greeted by a message that said I'd have to run
fsck manually.  When I did that, I was asked to agree to a bunch of
actions which I didn't understand, but agreed to anyway.  Then the report
came up that a file system (/dev/sdc1) had been changed.

I was unable to boot after the fsck process.  Using emergency boot disks
(made with Bruce's boot-floppies package), I was able to boot enough
to remove /dev/sdc1 from /etc/fstab, and then mke2fs on /dev/sdc1, which
allowed me to boot normally again.

Having come this close to a crisis, I decided to back up the system. (!)
This has resulted in more and worse failures.
1.  I used tob, with the command,
   bash /sbin/tob -rc /etc/tob/tob.rc.afioz -full all 

I left the room, came back after a couple of hours, and saw that the
process seemed to have made some progress, but then just stopped.
The afio process was marked 'D' in the ps -ax output.

Again, I tried to shutdown, couldn't, had to turn off the machine,
went through another fsck exercise, and finally rebooted.

2.  I tried tob again with the command:
   bash /sbin/tob -rc /etc/tob/tob.rc.afioz.TEST -full all 

The process seemed to start up normally, so I let it go for a few hours.

Same result.  I took notes this time:
  PID TTY STAT  TIME COMMAND
  375  p1 S0:00 -bash 
  484  p1 S0:00 bash /sbin/tob -rc /etc/tob/tob.rc.afioz.TEST -full all 
  515  p1 D2:50 afio -Zvo /tmp/tob.out 

I also noted that the root file system (on which /tmp was mounted)
was full.  So I removed some files that I thought might alleviate
the problem, but I was never able to reawaken tob.

3.  In desperation, I tried plain old tar, but now that seems to have 
done exactly the same thing:  i.e., it started out well, the disks
and taper whirred a lot, but now the process seems to have hung.
Here's the ps -ax output:

  PID TTY STAT  TIME COMMAND
22671  p2 D0:24 tar -cvf /dev/st0 /home 


Now one of my xterms seems to have some very weird settings -- the
characters have all changed from a-z to some graphics set, and 
'stty sane' doesn't help.  

 The root file system is not full, vmstat reports about 1.8 MBytes
 free (which is maddening, but typical).

 I do not believe that I can reboot the system now without serious
 loss of data.

I'm sorry it's taken so long to relay my story.  I'd very much appreciate 
any advice on how to get rid of all the sick processes now on this 
system (see process table below), and how I might safely back up some
files and reboot.  Meantime, as I mentioned above, I think this is all 
a sign of some peculiar memory problems.  I suspect tob is not the
source of the problem.

Regards,
Susan Kleinmann



Re: rename a machine

1996-08-05 Thread David C Winters
On Mon, 5 Aug 1996 [EMAIL PROTECTED] wrote:

>  Can anyone tell me how to _Permanently_ change the hostname on my 
>  machine ???
>  Where is this info written ?

Edit the single-line file /etc/hostname so it holds your 
machine's desired (new) hostname.


David [EMAIL PROTECTED]



Re: rename a machine

1996-08-05 Thread Warwick HARVEY
>  Can anyone tell me how to _Permanently_ change the hostname on my 
>  machine ???
>  
>  If I issue the hostname command: hostname newname
>  
>  the node name is set to newname - HOWEVER after a reboot the original 
>  name returns.

The host name of a machine is stored in /etc/hostname.  This file is read by
/etc/init.d/boot at boot time.  Change it here and it's "permanent".

>  Where is this info written ?

I don't know that it is.  Whenever I'm wondering about this kind of thing
(and how I found the information I needed to answer your question), I
usually start by cd'ing to /etc and using fgrep on the contents of it and
its subdirectories...  This has the added benefit of throwing up instances
of what you want to change that you might not have thought about.  For
instance, on the Debian machine I tried this on, the host name also appears
in the following files:

/etc/hosts
/etc/mailname
/etc/smail/config

Your mileage may vary...

Warwick


Warwick Harveyemail: [EMAIL PROTECTED]
Department of Computer Sciencephone: +61-3-9287-9171
University of Melbourne fax: +61-3-9348-1184
Parkville, Victoria, AUSTRALIA 3052 web: http://www.cs.mu.OZ.AU/~warwick



Re: rename a machine

1996-08-05 Thread Randall Jones
On Mon, 5 Aug 1996 [EMAIL PROTECTED] wrote:

>  Can anyone tell me how to _Permanently_ change the hostname on my 
>  machine ???
> ...
>  Where is this info written ?
> 

file: "/etc/hostname"
edit this file to change your hostname.

You might also want to add an entry in /etc/hosts for your new hostname.

Fun,

++Randy
[EMAIL PROTECTED]
NRAO AOC - Interference Protection



help with debian perl installation

1996-08-05 Thread James D. Freels
I get the following error messages every time perl starts up
on my debian-linux machines (perl and return with do it!)
This is the current perl-5.003 release.  Any idea how I can
rid my system of this problem?  (The perl scripts all run 
fine, I am not that familiar with perl).

warning: setlocale(LC_CTYPE, "") failed.
warning: LC_ALL = "(null)", LC_CTYPE = "(null)", LANG = "de",
warning: falling back to the "C" locale.

-- 
/--\
| James D. Freels, P.E._i, Ph.D.  | Phone:  (423)576-8645  |   | L |
| Oak Ridge National Laboratory   | FAX:(423)574-9172  | H | I |
| Research Reactors Division  | Internet: [EMAIL PROTECTED] | F | N |
| P. O. Box 2008  | Reactor Technology | I | U |
| Oak Ridge, Tennessee 37831-6392 | world's best neutrons! | R | X |
|--|
| out the 10Base-T, through the router, down the T1, over the  |
| leased line, off the bridge, past the firewall...nothing but Net |
\--/



Ftp method in dselect

1996-08-05 Thread Rich Deighton
The other day I removed the package dpkg-ftpd (the perl script) as
dselect reported it as an 'Obselete/Local package'; this seemed sensible
at the time, however I now can't utilise ftp as an install method. As I
understand it there is an alternative way of doing this... but I
couldn't find any packages on a debian mirror, and I'm not sure how to
integrate the dftp-1.5 script I found in the tools directory.

Pointers to documentation regarding this or even a solution would be
much appreciated.

Rich
-- 

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Rich Deighton <[EMAIL PROTECTED]>79 Radcliffe Road, West
Bridgford|
| (0115) 9455059 Nottingham, England.
NG2 5HE.|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+



Re: Installation-problem

1996-08-05 Thread Will Waites
>program doesn't find a path on CD. The program want to know the top level of
>the Debian system. If I enter a path (for example: /contrib), the program
>says that the directory `/contrib/stable/binary-i386' doesn't exists. So I
>look on the CD and there's no directory called `.../stable/...'. What have I
>done wrong or what's  wrong with the program/CD?
>Is there another way to install other programs (like the (Win-)DOS-emulator
>or editors...)
>
dselect, which I don't like at all, uses the program dpkg to install,
remove, etc., packages. You must first mount the cdrom with a command
like

mount -t iso9660 /dev/cdrom /mnt 

and then find the package that you want in on the cdrom (in the /mnt
tree)
and then do 

dpkg -i package_to_install.deb


Will




How to upgrade a running Slack 3.0 Server to Debian 1.1 (Instructions here)

1996-08-05 Thread Christoph Lameter
Updated Instructions!!!

Howto Upgrade a Running Slackware 3.0 System to Debian 1.1
--
I have the problem that our main server has to be up almost 24hrs a day but
yet I need to switch to Debian since Slackware is becomming badly outdated.

Here is how to do it. Note that Debian is not yet running since I am
still stuck at step 9 trying to get as much as I can of my old configuration
over to the new system before rebooting.

1. Prepare an empty partition and mount it on /new

2. untar buzz-fixed/disks-i386/*14/base1_1.tgz on it

3. Setup  /new/etc/fstab  /new/etc/localtime, /new/etc/hostname etc.

4. make a directory /new/ftp and mount your NFS Server with
the Debian distribution

5. Activate Debian 1.1 in a chroot environment

chroot /new bash

6. Mount the proc filesystem lest cron and at will not install:

mount /proc

7. Install debian packages

Run dselect and dpkg to install aditional packages from the /ftp directory.
Its amazing how much you can do with two distributions on one
machine this way. You should even be able to compile programs.

Be careful what daemons are started in the chroot environment. Kill them off 
ASAP
otherwise they might mess up something in your Slackware setup.

8. Fix some stuff

The process of moving the configuration files from the old root to the new
root is probably now to be done and the most painful in the process.

9. Reconfigure lilo to boot with the new partition
You better have alternate boot possibilities now if something
goes wrong.

10. Reboot
Fix more things that broke with the change ! Or reboot with the old system.



dpkg freezes system

1996-08-05 Thread Michael A. Miller
Dear Debian Users,

I've recently installed debian linux on my portable and have run
into a problem with dpkg.  

First, some background.  I don't have access to an up and running
linux machine, except for one with minimal disk space.  I used
that to make floppies for a base installation.  Then I put my zip
drive on a mac with an ethernet card and ftp-ed the most of the
debian installation from my our mirror (most means Packages.gz
and the directories admin, base, comm, devel, doc, editors, mail,
math, misc, net, news, shells, sound, tex, text, and x11) I
ftp-ed these to a dos formatted zip disks.  

Next, I reformatted my hard drive with three partitions: one for
linux, one for linux swap and one a 200 Mb dos partition.  Then,
I booted DOS from a floppy that included drivers for my adaptec
pcmcia scsi card, and I copied everything from the zip disks to
the dos partition on the hard drive.  

After that, I rebooted with the linux boot floppy and went
through the installation procedure.  Up to this point all was
great.  I had a working base installation and I could boot linux
from my hard drive.  When running dselect, all seemed to be ok,
but I couldn't seem to install anything, even when dselect told
me it had installed things.  So, I looked at the debian .deb
files on the msdos partition.  Because they were copied from a
mac to a dos formatted disk, they all had names like
`!acct_62.-0d'.  To simplify dealing with them from bash, I wrote
a script that removed the `!' from the filenames.  Still, dselect
didn't seem to be able to find them, so I started using dpkg by
itself.  This worked great, until I started trying to install
xlib and emacs.  Now dselect tells me that they are both half
installed and need to be reconfigured.  When I run dpkg to
reinstall them, dpkg freezes my machine.

Any ideas?

Regards, Mike



VC buffer

1996-08-05 Thread Stephen Masterman
Hi,

Is there a way to access the Virtual Console's scrollback buffer, for example
to save the screen to a text file? Perhaps something in /proc?

Thanks.



Re: Questions

1996-08-05 Thread Gerry Jensen

On Fri, 2 Aug 1996 [EMAIL PROTECTED] wrote:

>   I am installing debian linux from CDROM.
> My CDROM is panasonic CR-562 CDROM. I select
> the "sbpcd" module. Is that correct? When the system
> boots, the busy light in CDROM flashes. But when I use
> "dselect", it ask me the block device name. How do I answer it?
> And when I use "mount" command, it doesn't show CDROM is mounted.
> What's happened?

Read the CDROM-HOWTO.  It has the answers to all your questions.

Gerry



Problems booting with new kernel...

1996-08-05 Thread Rob Nielsen
I've built a kernel with the sources from 2.0.6, but I'm having problems
when I try to run it.  I get the error:

VFS: Cannot open root device 03:02
Kernel panic: VFS: Unable to mount root fs on 03:02

This is what I have in my .config file:

#
# Filesystems
#
# CONFIG_QUOTA is not set
# CONFIG_LOCK_MANDATORY is not set
CONFIG_MINIX_FS=y
# CONFIG_EXT_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_XIA_FS is not set
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=m
CONFIG_UMSDOS_FS=m
CONFIG_PROC_FS=y
CONFIG_NFS_FS=y
# CONFIG_ROOT_NFS is not set
# CONFIG_SMB_FS is not set
# CONFIG_ISO9660_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

Any Ideas?

Thanks,

Rob
---
Rob Nielsen   [EMAIL PROTECTED]
ADC Telecommunications, Inc.  http://www.cs.ndsu.nodak.edu/alumni/rob_nielsen 
4900 West 78th Street, MS34   (612) 896-2706
Minneapolis, MN  55345(612) 896-2959 - fax