Linux-Misc Digest #824, Volume #24 Thu, 15 Jun 00 14:13:02 EDT
Contents:
Re: ansiTime library: mktime() inconsistencies across platforms? (Larry Jones)
Re: Mandrake 7.1 ISO too big! ("Eric Potter")
Re: cdrecord bug? (or is it my computer!) (sysop)
Re: Lucent Winmodem works for BeOS why not Linux? ("Charlie Root")
X won;t start --Anyone!! ([EMAIL PROTECTED])
installing debian onto reiserfs ? (Joeri Sebrechts)
Re: Alpha vs Intel (Mark Rafn)
Re: spontaneous read-only mailbox folders (Matthew Lake)
Re: Read Linux partition from Win95 ? (John Hasler)
Re: Alpha vs Intel ([EMAIL PROTECTED])
CDR linux software? (Jeff Lacki)
Re: Fdisk and dos
Re: RedHat vs Slackware (Johan Kullstam)
Re: How Return to prompt login? ([EMAIL PROTECTED])
minimal installation + seg fault at halt (Greg B)
Re: CDR linux software? (Dances With Crows)
Re: Logging to syslog from a router ("Steve Wolfe")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Larry Jones)
Crossposted-To: comp.lang.c,comp.os.linux.development.system,comp.os.linux.portable
Subject: Re: ansiTime library: mktime() inconsistencies across platforms?
Date: 15 Jun 2000 15:52:59 GMT
Reply-To: [EMAIL PROTECTED]
Mark Law ([EMAIL PROTECTED]) wrote:
>
> There are other test result diffs that follow the same pattern, where
> the pattern is for times given on the boundary of transitioning from
> daylight savings to standard time, SunOS treats tm_isdst = -1 as if its
> a "1" and the resulting time is a daylight savings time and Win NT
> treats tm_isdst = -1 as if its a "0" and the resulting time is NOT a
> daylight savings time.
>
> Which behavior is correct?
Both. Times in the overlap period occur twice -- once in Daylight
Saving Time and once in Standard Time -- so mktime() has no way to know
which one you mean; it is allowed to return either one, or to return an
error. The same is true for times in the gap period that don't occur at
all.
-Larry Jones
In short, open revolt and exile is the only hope for change? -- Calvin
------------------------------
From: "Eric Potter" <[EMAIL PROTECTED]>
Subject: Re: Mandrake 7.1 ISO too big!
Date: Thu, 15 Jun 2000 17:05:07 GMT
In article <MPG.13b21e54fecb0a0b98968c@news-server>, Broccoli Puffs
<[EMAIL PROTECTED]> wrote:
> Hi,
>
>> Broccoli Puffs <[EMAIL PROTECTED]> wrote:
>> <snip>
>> > Tell me, why can't Mandrake keep the size of their iso down to the
>> > "regular" limit of about 650M?
>
>>
>> Would you rather have more applications or more CDs to burn? ;->
>> Anyway, as Mandrake says on its website, you can setup a complete
>> system using the first ISO image alone (which takes up all of 650MB).
>> The second ISO image is just additional apps.
>>
>> -----
>> Kichi
>
> Oh, I like the additional apps just fine. What I'm complaining about is
> too much stuff jammed into the installation iso which is actually 667M
> and definitely too large for Nero 5 to write to a single garden-variety
> CDR.
>
> There are bigger CDRs, I'll have to look for a few and see if my burner
> will work with that. Might not!
>
> I think all the install CDs will be going to two per install soon
> enough, anyway. So why not do so now, and spread the megabytes out a
> little more evenly..
>
> James [EMAIL PROTECTED]
cdrecord was able to write it to a 650M cdr.
------------------------------
From: sysop <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,de.comp.periph.cdrom
Subject: Re: cdrecord bug? (or is it my computer!)
Date: Thu, 15 Jun 2000 17:06:20 GMT
"Douglas E. Mitton" wrote:
> Please post any information you find. Thanks in advance.
maybe my information could be usefull too, so does a solution...
I'm using slackware 7 with the 2.2.16 kernel and cdrecord 1.8.1.
The hp cd-writter 7200i used to work great in my old system but since I
updated my linux not anymore.
// the usual stuff
// cdrecord -version
Cdrecord 1.8.1 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J�rg Schilling
Using libscg version 'schily-0.1'
scsibus0:
0,0,0 0) 'HP ' 'CD-Writer+ 7200 ' '3.01' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
// the burning process and the error I get
// cdrecord -v dev=0,0 -audio -dao -speed=2 *.cdr
Cdrecord 1.8.1 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J�rg Schilling
TOC Type: 0 = CD-DA
scsidev: '0,0'
scsibus: 0 target: 0 lun: 0
Using libscg version 'schily-0.1'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'HP '
Identifikation : 'CD-Writer+ 7200 '
Revision : '3.01'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO
Drive buf size : 786432 = 768 KB
FIFO size : 4194304 = 4096 KB
Track 01: audio 49 MB (04:53.20) no preemp swab
Track 02: audio 62 MB (06:08.93) no preemp swab
Track 03: audio 51 MB (05:06.62) no preemp swab
Track 04: audio 57 MB (05:41.78) no preemp swab
Track 05: audio 75 MB (07:28.26) no preemp swab
Track 06: audio 17 MB (01:46.29) no preemp swab
Track 07: audio 63 MB (06:17.02) no preemp swab
Track 08: audio 6 MB (00:38.77) no preemp swab
Track 09: audio 88 MB (08:46.97) no preemp swab
Track 10: audio 236 MB (23:28.56) no preemp swab
Total size: 709 MB (70:16.44) = 316233 sectors
Lout start: 709 MB (70:18/33) = 316233 sectors
Current Secsize: 2048
ATIP start of lead in: -11319 (97:31/06)
ATIP start of lead out: 336225 (74:45/00)
Disk type: Short strategy type (Phthalocyanine or similar)
Manuf. index: 22
Manufacturer: Ritek Co.
Blocks total: 336225 Blocks current: 316233 Blocks remaining: 0
Starting to write CD/DVD at speed 2 in write mode for single session.
Last chance to quit, starting real write in 9 seconds.8
seconds.7 seconds.6 seconds.5
seconds.4 seconds.3 seconds.2
seconds.1 seconds.
Waiting for reader process to fill input buffer ... cdrecord: Input/output
error. mode select g1: scsi sendcmd: retryable error
status: 0x2 (CHECK CONDITION)
input buffer ready.
CDB: 55 10 00 00 00 00 00 00 3C 00
Sense Bytes: F0 00 05 00 00 00 00 19 00 00 50 98 26 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x26 Qual 0x00 (invalid field in parameter list) Fru 0x0
Sense flags: Blk 0 (valid)
cmd finished after 0.022s timeout 200s
cdrecord: Warning: using default CD write parameter data.
cdrecord: Cannot open new session.
cdrecord: fifo had 128 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
Mode Select Data 00 12 00 00 05 32 02 00 00 00 00 00 00 00 00 00 00 00 00 96
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00
Could someone please help me with this problem or if there already is a
solution for it, please say so...
thanks in advance,
wolter kamphuis
------------------------------
From: "Charlie Root" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,alt.os.dial-up,comp.os.linux.hardware
Subject: Re: Lucent Winmodem works for BeOS why not Linux?
Date: Thu, 15 Jun 2000 17:08:35 GMT
Yeap I'm aware of the site but not very easy to do. Why not Linux vendors
put something in their package?
Virgo P�rna wrote in message <[EMAIL PROTECTED]>...
Goofy root wrote:
>
> my big surprise it worked. Since BeOS supports POSIX utilities, how
> come Linux vendors can't come up with using Winmodem?
Check out www.linmodems.org - if I remember correctly, then
there are drivers for Lucent winmodem for Linux.
--
Virgo P�rna
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: X won;t start --Anyone!!
Date: Thu, 15 Jun 2000 17:01:10 GMT
Hi all,
I'm running RH6.1. My X was working fine but ever since I rebooted my
machine I cannot get into X.
I'm getting this error message when I try to start X.
-fontTransSocketUnixConnect: Can't connect: errno=111
failed to set default path 'unix/:-1'
fatal server error
could not open default font 'fixed'
mach64ProgramMac64CT: Warning: Q<10.66667
X Connection to 0:0. broken (explicit kill or server shtdown)
It's very frusrateing!!!
sm
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Joeri Sebrechts <[EMAIL PROTECTED]>
Subject: installing debian onto reiserfs ?
Date: Thu, 15 Jun 2000 17:10:04 GMT
As the title says, I want to install debian onto a series of reiserfs
partitions.
That includes / and /boot.
I want everything reiserfs, because of the journaling.
Does anyone know of a way to do this ?
If it involves an extra linux system, that's no problem.
Thanks,
Joeri Sebrechts
------------------------------
From: [EMAIL PROTECTED] (Mark Rafn)
Crossposted-To:
comp.unix.admin,comp.os.linux.advocacy,comp.infosystems.www.servers.unix,linux.redhat,comp.os.linux,comp.os.linux.networking,comp.os.linux.help
Subject: Re: Alpha vs Intel
Date: 15 Jun 2000 17:13:01 GMT
Ben Chausse <[EMAIL PROTECTED]> wrote:
>I build a Intranet WebServer on Linux with Apache 1.3.12, mod_perl 1.49
>and PHP4 and I would like to know what will the best between a server
>with 2x667 MHZ Alpha Processer and a 4x700 MHZ Xeon Processer ??
Lordie! What are you doing on your intranet that you need such power?
Unless you've got a pretty specific task that's very processor-intensive,
you'll bottleneck on I/O long before CPU on either of these platforms.
In general, for webserving, you'd rather have multiple
load-balanced/redundant machines over one monster machine.
--
Mark Rafn [EMAIL PROTECTED] <http://www.dagon.net/>
------------------------------
From: Matthew Lake <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.networking
Subject: Re: spontaneous read-only mailbox folders
Date: Thu, 15 Jun 2000 12:07:45 -0500
I would use qmail...
users mail is stored in their home dirs and you don't need to worry about world
readable/writable space on your system to make the mail deamon happy.
it takes about 2 hours to migrate a production server from sendmail to qmail (or
about 30 minutes for non-production where you dont have to worry about downtime or
lost outgoing mail spools)
adam jay wrote:
> This morning I was informed that one of my users' inboxes had become read only
> and she could not delete any of the mail in her box. I subsequently found
> that all of the users had the same problem, even root. I looked at the
> permissions of /var/log/spool/mail, and they all look right, though I'm not
> sure what the higher-up folders permissions should be. Any insight would be
> appreciated. I run RH 5.0 on a P166.
>
> Thanks a bunch,
>
> Adam
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup,linux.redhat.misc
Subject: Re: Read Linux partition from Win95 ?
Date: Thu, 15 Jun 2000 16:05:40 GMT
Andrew E. Schulman writes:
> But who needs to bother with that, when you can boot Windows,...
First you'll have to install it.
> ...insert a floppy with explore2fs or a similar utility, and modify
> /etc/shadow at will?
No unencrypted file system is safe from such an attack, regardless of the
OS.
> Linux file permissions and ownership are a joke!
Linux file permissions and ownership have nothing to do with it.
--
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To:
comp.unix.admin,comp.os.linux.advocacy,comp.infosystems.www.servers.unix,linux.redhat,comp.os.linux,comp.os.linux.networking,comp.os.linux.help
Subject: Re: Alpha vs Intel
Date: 15 Jun 2000 10:21:52 -0700
Ben Chausse <[EMAIL PROTECTED]> writes:
> Hi,
>
> I build a Intranet WebServer on Linux with Apache 1.3.12, mod_perl 1.49
> and PHP4 and I would like to know what will the best between a server
> with 2x667 MHZ Alpha Processer and a 4x700 MHZ Xeon Processer ??
>
> Also, except the 64-bits, what's the big difference between Alpha and
> Intel CPU ?
>
> Thanks ...
>
> Ben0iT
There was a thread in comp.os.linux.misc that seems to have just wound
down called "Sun Sparc faster then intel pentium: (What about the
compiler?)" that talked about the relative merits of Sparc vs x386 and
pentium style processors. You might want to back up through your
newsreader and follow that. (I "cough cough" started that thread as a
branch off from the thread "Sun Sparc faster then intel pentium: is
this true????" which carried on in parallel). In my post I brought up
the Alpha because there was a URL with some benchmarks:
http://www.aceshardware.com/Spades/read.php?article_id=145
The big architectural difference between Alpha and Intel CPU besides
the 64 vs 32 bits is that Alpha is a RISC and the Intel a CISC design.
A simple web search will provide ample discussion of the meaning of these
acronyms and their relative merits.
----Remove "UhUh" and "Spam" to get my real email address----
------------------------------
From: Jeff Lacki <[EMAIL PROTECTED]>
Subject: CDR linux software?
Date: 15 Jun 2000 17:21:52 GMT
Is there a linux CD writing software package avaiable
out there someplace as freeware? shareware? buy-ware? :)
Freeware would be best of course.
Thanks
Jeff
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Re: Fdisk and dos
Date: Thu, 15 Jun 2000 13:34:23 -0400
DeAnn Iwan <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> You can use Linux fdisk, but you must follow DOS rules. Dos can only
> see one primary partition and one extended partition with logical
> partitions inside it. DOS is not IDE compliant (can't do 4 primary
> partitions or 3 primary plus one extended).
Linux's fdisk gives you plenty of warnings when you even consider dos ( can
it read minds ? :) )
But what do you mean by "DOS is not IDE compliant". I thought IDE was an
electronics standard, and had nothing at all to do with partitions, which
appear to be a software-land concept. As far as IDE is concerned, it reads
the blocks it's told to and that's it. It is up to the OS to handle
partition tables, and blocks etc, and make sense out of the bits read from
the drive .
AFAIK, dos's fdisk will not *make* a second primary bootable partition. but
having them does not cause any problems .
I once had :
hda1 primary ( visible )
hda2 pri bootable
hda3 pir boot hidden ( NTFS )
hda4 (dos Extended )
hda5 ext f32
here's what happened after win98 finally booted:
C : hda2
D: hda5
E: hda1
F: CDROM
Would appreciate some enlightenment.
------------------------------
From: Johan Kullstam <[EMAIL PROTECTED]>
Subject: Re: RedHat vs Slackware
Date: 15 Jun 2000 13:27:22 -0400
d4588 <[EMAIL PROTECTED]> writes:
> On Thu, 15 Jun 2000 03:54:05 GMT, Simon Lemieux
> <[EMAIL PROTECTED]> wrote:
>
> >Hi,
> > I'm currently using RedHat 6.1 and thinks it's fine, but I've heard many
> >rumours that Slackware would be more Linux sided and would be overall better.
> >
> >Could someone compare them to me and point me to a download location for the
> >best one?
> >
> >My uses are essentially C++ programmation and OpenGL programmation.
> >
> >Thanks,
> > Simon
> I started out about 4 years ago using Slackware 1.2.13 and tend to
> like the flexibility it gives me.I prefer *.tar files over rpm
> files.
last i checked, redhat ships tar, make and gcc. you don't *have* to
use rpm.
> Also I like being able to recompile my own kernel without having
> to upgrade countless packages to satisfy Redhat.
i download kernel tarballs, install patches, compile &c. redhat
doesn't care. all the upgrading i need to do goes to satisfy the
*kernel* requirements. any linux system will need to obey that.
> Dont get me wrong
> Redhat is ok and it has its pluses....
and minuses, but you seem willfully ignorant of both.
> But my goal for starting to use
> Linux was to learn Unix for career purposes.
> I also have Solaris 7 and to me the structure of Slackware resembles
> a commercial Unix more than Redhat.I have used the version 5 and 6.2
> series of Redhat and for about six months but went back to using
> Slackware becuase of the amount of control is gives me and actually
> having to learn a little about the system instead of having the
> system try to hold my hand.
didn't redhat ship a working vi for you? mine seems to have it.
--
johan kullstam l72t00052
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: How Return to prompt login?
Date: Thu, 15 Jun 2000 17:42:04 GMT
> Try going to single user mode as you boot up. Hit the CapLock
> or whatever key you normally use just as the "LILO" prompt comes
> up, and it should halt and wait for your input. Type a TAB to
> get a list of available kernels. Assuming you have done the usual,
> and the default is called "linux", enter "linux single" and hit
> the return key.
That is my problem now.
Since this machine is a server and I dont know
why it was configured, CapLoc, TAB lef down keys, all simply
being appear " boot
linux
boot
"
then go directly to
"boot
linux loading ........".
All this happened without allowing me to tape "linux single"
or "linux 3".
This is my problem now.
Otherwise I would to thank you for you detailled
explaination. I understand a lot of things due
to you friendly helps.
>
> The result should be that you boot into single user mode. From
> that you can repair whatever damage you have done to cause your
> problem.
>
> It appears that you have somehow instructed it to default to a
> runlevel for which you do not have a getty process running for
> the console. Initially, use "more" to inspect your /etc/inittab
> file. If you find the problem, only then should you edit it. I
> would also advise that you first make a copy of what you have
> now, so that you don't get deeper into the muck!
>
> Anyway, for whatever runlevel you are expecting to be in, to
> get a login prompt you need to see an entry something like this
> in your /etc/inittab
>
> c1:12345:respawn:/sbin/agetty 38400 tty1 linux
>
> Generally you will see maybe six lines just like that,
> except the "c1" identifier will be "c2", "c3" etc. and the
> "tty1" will also change. Note the list of numbers directly
> after the "c1". That is a list of run levels at which this
> is effective. And the "respawn" means it will be run again
> if the process dies.
>
> Another entry you want to look at is one that looks like
> this,
>
> id:5:initdefault:
>
> That specifies runlevel 5 as the default at boot time.
>
> Just be *very* sure of what you are doing with the inittab file!
> I would advise that you find another linux box and make a bootable
> rescue disk. The fact is that even experts make mistakes messing
> with the inittab file and end up having to edit it from a rescue
> disk. The same is true of editing other parts of the boot process,
> such as files in /etc/rc.d which can be just as fatal.
>
> Floyd
>
> >In article <[EMAIL PROTECTED]>,
> > Rene <[EMAIL PROTECTED]> wrote:
> >> [EMAIL PROTECTED] wrote:
> >> > Hello,
> >> >=20
> >> > I have an urgent problem.
> >> > How I can return to prompt login
> >> > after changing init to 4 in slackware
> >> > and rebooting?
> >> > Now may machine plante at booting since xdm does
> >> > not exist. CLT+F1 or F2 does not work.
> >> >=20
> >> > Please it's urgent.
> >> >=20
> >> > Thanks,
> >> >=20
> >> >=20
> >> >=20
> >> > Sent via Deja.com http://www.deja.com/
> >> > Before you buy.
> >> Try under su - init 3 or,
> >> change in your inittab run level at 3 and reboot
> >>
> >
> >
> >Sent via Deja.com http://www.deja.com/
> >Before you buy.
>
> --
> Floyd L. Davidson [EMAIL PROTECTED]
> Ukpeagvik (Barrow, Alaska)
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Greg B <[EMAIL PROTECTED]>
Subject: minimal installation + seg fault at halt
Date: Thu, 15 Jun 2000 17:44:59 GMT
1. Does anybody know how to have full control of installation process?
Lately, I had to install basic system+X (no KDE, no GNOME or programs related
to them). This was impossible for SuSE 6.x, Mandrake 6.1 and Caldera 1.3.
Even if I "unchecked" KDE installation KDE was installed by default and
didn't have a time or atitude to uninstall unwanted packages by hand. On the
other side, Redhat's (6.1) installer is more structured, but after basic X
installation I found ... gnome libs and a few modules that requires it. Then
I tried Debian 2.1. In this case I can choose anything, but packages
although quite stable are a little bit outdated (for example gtk is in
version 1.1) and I would have to download quite a large number of megabytes
over slow modem line to upgrade a few libs and programs to do what I want.
Maybe some distributions have a "secret key" to allow more flexible
installation? Or any other way to do that?
2. I have a Tyan system board and AMD K6-2/450. Except Debian(wow!) EVERY
other distribuiton causes segmentation fault after halt command. And one more
thing: I like vi-like keymaps in command line. I put "set -o vi" to the
/etc/profile. Debian is OK. I am not able to make it work on Redhat (I didn't
try this in other distros). Anyone can help?
Thanks for help, Greg
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: CDR linux software?
Date: 15 Jun 2000 14:00:22 EDT
Reply-To: [EMAIL PROTECTED]
On 15 Jun 2000 17:21:52 GMT, Jeff Lacki
<<8ib3bg$suc$[EMAIL PROTECTED]>> shouted forth into the ether:
>Is there a linux CD writing software package avaiable
>out there someplace as freeware? shareware? buy-ware? :)
>Freeware would be best of course.
Didn't look very hard, did you? Go to http://freshmeat.net/ and search
for "cdrecord", "xcdroast", "cdrtoaster", "gnome-toaster", and just about
anything having to do with "CD recording". cdrecord and mkisofs are the
engines driving the whole process; all the others are more or less
GUI-fied eye candy. Make sure to read the CD-Writing HOWTO at
http://linuxdoc.org/HOWTO/CD-Writing-HOWTO.html
if you haven't done so already.
--
Matt G / Dances With Crows /\ "Man could not stare too long at the face
\----[this space for rent]-----/ \ of the Computer or her children and still
\There is no Darkness in Eternity \ remain as Man." --David Zindell "So did
But only Light too dim for us to see\ they become Gods, or Usenetters?" --/me
------------------------------
From: "Steve Wolfe" <[EMAIL PROTECTED]>
Subject: Re: Logging to syslog from a router
Date: Thu, 15 Jun 2000 12:03:06 -0600
> I'm trying to set up RH6.2 machine as a syslog host for several Cisco
> routers. All is working fine
> except that I don't remember what parameter to use with the syslog daemon
at
> startup, so that it
> pick's up syslog messages received from other hosts.
>
> Anyone got a clue ?
After you use the -r command, it might behoove you to block syslog traffic
from outside your network... otherwise, someone can simply fill up your disk
by sending syslog messages. Not the most common DOS, but it pays to cover
your tail.
steve
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************