Linux-Misc Digest #802, Volume #24 Tue, 13 Jun 00 11:13:03 EDT
Contents:
Re: ide-scsi CD-R Problem With Newest Kernels (.14 & .15) - write_g1?!?!?!? (Gyles
Harvey)
Re: Linux Partition: Primary or Logical? ("Wouter Verhelst")
Re: apache configuration screwed? (Christoph Kukulies)
Re: limitation of processes? ("Wouter Verhelst")
Re: JDK on Linux RH 6.2 ("John Jolet")
Re: democracy? ([EMAIL PROTECTED])
Re: democracy? ([EMAIL PROTECTED])
Re: MS word and linux (Grant Edwards)
Re: 64 megs of RAM on a 256????? ("John Lee")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Gyles Harvey)
Crossposted-To: alt.os.linux,comp.os.linux.hardware
Subject: Re: ide-scsi CD-R Problem With Newest Kernels (.14 & .15) - write_g1?!?!?!?
Date: 13 Jun 2000 14:26:04 GMT
In article <[EMAIL PROTECTED]>,
Douglas E. Mitton <[EMAIL PROTECTED]> wrote:
>Well, I just wanted to pass on the news that I've tried the new kernel
>v2.2.16 nad I have the same problem. Also, to ask if anyone has come
>up with any kind of a solution.
>
>I haven't been getting all the responses on my news server BUT I do
>use Deja News to catch up every so often. Just to quickly answer some
>of the other queries:
>
>I am using a Creative RW6425E (EIDE) drive. I have obtained and
>compiled cdrecord V1.8a29, the newest as of a month ago.
>
>I compile my own kernel and I followed the instrictions from the
>newest CD-RW How To, which has changed a bit since I originally
>implemented the CD-R in my machine in kernel V2.2.12.
>
>Also, I'm very certain its not a hardware problem in my drive or
>computer as I can dual boot back into kernel V2.2.13 and all works
>just perfectly. Kernels V2.2.14, 15 or now 16 all exhibit the problem
>outlined below.
>
>I even tried forcing the old 2.2.13 module to load under 2.2.16 kernel
>BUT there have been some significant SCSI interface changes since
>2.2.13 and it just core dumps!
>
>Any and all questions, comments, ideas or solutions would be
>appreciated. I would like to get a newer kernel working in
>preparation to the jump to the V2.4.0 jump.
I guess this fits into the comment category...
>[EMAIL PROTECTED] (Douglas E. Mitton) wrote:
>
>>That was about the third thing I tried but no go! If anything it
>>fails even more often now! I'm pretty sure it is tied to the kernel
>>scsi modules I'm using, more than likely some tuning option that has
>>been addedd BUT that I haven't discovered yet.
>>
>>Thanks for the response!
>>
>>"Brian" <[EMAIL PROTECTED]> wrote:
>>
>>>Hi Douglas:
>>>
>>>Douglas E. Mitton wrote in message <[EMAIL PROTECTED]>...
>>>>I have done several searches for this issue, there seem to be a lot of
>>>>people experiencing it BUT I have not been able to find a solution
>>>>yet.
>>>
>>>>In kernels V2.2.14 and .15 I get random cdrecord failures such as:
>>>>(Sorry, it wraps a little.)
>>>
>>>>Starting new track at sector: 0
>>>>Track 01: 175 of 311 MB written (fifo 100%).cdrecord: Input/output
>>>>error. write_g1: scsi sendcmd: retryable error
>>>>CDB: 2A 00 00 01 5E C0 00 00 10 00
>>>>status: 0x2 (CHECK CONDITION)
>>>>Sense Bytes: F1 00 05 00 01 5E C0 0C 00 00 00 00 10 02 00 00
>>>>Sense Key: 0x5 Illegal Request, deferred error, Segment 0
>>>>Sense Code: 0x10 Qual 0x02 (id crc or ecc error) [No matching
>>>>qualifier] Fru 0x0
>>>>Sense flags: Blk 89792 (valid)
>>>>cmd finished after 3.168s timeout 40s
>>>
>>>>write track data: error after 183894016 bytes
>>>>Sense Bytes: 70 00 00 00 00 00 00 0C 00 00 00 00 00 00 00 00 00 00
>>>>Writing time: 310.268s
>>>>Fixating...
>>>>Fixating time: 76.473s
>>>>cdrecord: fifo had 5740 puts and 5613 gets.
>>>>cdrecord: fifo was 0 times empty and 5206 times full, min fill was
>>>>95%.
>>>
>>>
>>>I run "Slackware 7.0" "Linux kernel 2.2.14" with "cdrecord 1.8" and burn
>>>happily all day on an aging "HP CD-Writer+ 7100 - firmware 2.02 X2" IDE
>>>burner.
>>>
>>>Here is what I recommend;
>>>
>>>Go to the cdrecord site and download the latest from Joerg Schilling (very
>>>wise and able programmer).
>>>
>>>http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/
>>>cdrecord.html
>>>
>>>Download version "cdrecord-1.8.1 final", build and install.
>>>
>>>That should get you going no problem.
>>>
>>>Best regards,
>>>
>>>Brian
I was going to start a new topic, but this is quite close to what I have.
I've been seeing a few problems burning audio CDs on a setup that has always
worked very well before. I have a Plextor Ultraplex 40x, and a Ricoh 6200S,
plus IDE hard drives. My data partitions are FAT32, so as to be visible to
Windows too. Both are "real" SCSI drives.
If I record "on the fly" with cdda2wav piped to cdrdao it works fine. If I
extract to hard disk I get a failure (log below).
The system worked fine in 2.0 series kernels, but failed following update to
RedHat 6.1 (kernel 2.2.12). I've updated to 2.2.15 and cdrecord 1.8.1, but
the problem remains. It seems always to happen after 4 to 6 tracks. Perversely
I had a success the one time I tried a CDRW in place of the CDR.
Can all the magic numbers in the SCSI error be decoded?
Cdrecord 1.8.1 (i586-pc-linux-gnu) Copyright (C) 1995-2000 J�rg Schilling
TOC Type: 0 = CD-DA
scsidev: '4,0'
scsibus: 0 target: 4 lun: 0
Using libscg version 'schily-0.1'
atapi: 0
Device type : Removable CD-ROM
Version : 2
Response Format: 2
Capabilities :
Vendor_info : 'RICOH '
Identifikation : 'MP6200S '
Revision : '2.20'
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 35 MB (03:32.06) no preemp
Track 02: audio 34 MB (03:23.17) no preemp
Track 03: audio 37 MB (03:43.20) no preemp
Track 04: audio 44 MB (04:25.69) no preemp
Track 05: audio 38 MB (03:50.93) no preemp
Track 06: audio 36 MB (03:36.90) no preemp
Track 07: audio 34 MB (03:26.13) no preemp
Track 08: audio 34 MB (03:25.62) no preemp
Track 09: audio 47 MB (04:39.70) no preemp
Track 10: audio 33 MB (03:17.22) no preemp
Track 11: audio 41 MB (04:06.77) no preemp
Track 12: audio 41 MB (04:07.40) no preemp
Track 13: audio 28 MB (02:47.02) no preemp
Track 14: audio 35 MB (03:31.06) no preemp
Track 15: audio 33 MB (03:20.33) no preemp
Track 16: audio 41 MB (04:06.82) no preemp
Track 17: audio 37 MB (03:44.73) no preemp
Track 18: audio 34 MB (03:22.20) no preemp
Track 19: audio 41 MB (04:05.33) no preemp
Track 20: audio 39 MB (03:55.44) no preemp
Track 21: audio 36 MB (03:35.93) no preemp
Total size: 794 MB (78:43.73) = 354280 sectors
Lout start: 795 MB (78:45/55) = 354280 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 6
Is not unrestricted
Is not erasable
ATIP start of lead in: -11231 (97:32/19)
ATIP start of lead out: 359849 (79:59/74)
Disk type: Short strategy type (Phthalocyanine or similar)
Manuf. index: 27
Manufacturer: Prodisc Technology Inc.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 5569
Starting to write CD/DVD at speed 2 in write mode for single session.
Last chance to quit, starting real write in 1 seconds.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Starting new track at sector: 0
Track 01: 35 of 35 MB written (fifo 100%).
Track 01: Total bytes read/written: 37408560/37408560 (15905 sectors).
Starting new track at sector: 16057
Track 02: 34 of 34 MB written (fifo 100%).
Track 02: Total bytes read/written: 35839776/35839776 (15238 sectors).
Starting new track at sector: 31447
Track 03: 37 of 37 MB written (fifo 100%).
Track 03: Total bytes read/written: 39372480/39372480 (16740 sectors).
Starting new track at sector: 48339
Track 04: 44 of 44 MB written (fifo 100%).
Track 04: Total bytes read/written: 46868304/46868304 (19927 sectors).
Starting new track at sector: 68418
Track 05: 38 of 38 MB written (fifo 100%).
Track 05: Total bytes read/written: 40736640/40736640 (17320 sectors).
Starting new track at sector: 85890
Track 06: 1 of 36 MB written (fifo 100%).CDB: 2A 00 00 01 51 49 00 00 0D 00
Sense Bytes: F0 00 03 00 01 4F CA 0A 00 00 00 00 0C 00 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x0C Qual 0x00 (write error) Fru 0x0
Sense flags: Blk 85962 (valid)
write track data: error after 1070160 bytes
Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00 00 00
CDB: 35 00 00 00 00 00 00 00 00 00
Sense Bytes: 70 00 0B 00 00 00 00 0A 00 00 00 00 50 00 00 00
Sense Key: 0xB Aborted Command, Segment 0
Sense Code: 0x50 Qual 0x00 (write append error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 14.439s timeout 120s
Trouble flushing the cache
Writing time: 654.382s
Fixating...
Fixating time: 134.452s
Thanks,
Gyles.
--
[EMAIL PROTECTED]
All opinions expressed are my own, not those of Nortel Networks.
------------------------------
From: "Wouter Verhelst" <[EMAIL PROTECTED]>
Subject: Re: Linux Partition: Primary or Logical?
Date: Tue, 13 Jun 2000 14:37:02 GMT
Leonard Evens <[EMAIL PROTECTED]> schreef in berichtnieuws
[EMAIL PROTECTED]
> Forrest Gehrke wrote:
> >
> > Hello,
> > I want to partition an IBM ata66 20.5 GB hd for Win98, OS/2 and Linux.
> > I know that Win98 requires a primary partition and that OS/2 may be
> > located in a logical partition as extended. But what does Linux
> > require?
> > As OS/2, may it be either primary or logical?
> >
> > BTW does Linux support ATA66? If so, what driver?
The 2.2-kernels dont natively, although there are patches available at
different places.
2.4 will support it, I heard.
> Linux partitions may be logical partitions. The only caveat
> is that the lilo boot loader ordinarily should be in the first
> sector of a primary partition or the first sector of an extended
> partition. At least this used to be the case. I think this
> is more an issue of what the initial booting sequence---before
> one ever gets to lilo---can do. In most cases, it can't load
> from a logical partition.
Sure it can. My / is, and has always been, on a logical partition.
I used to have only one linuxpartition a few years ago, and it was on a
logical partition.
The boot loader needs to be on the MBR of the disk, which has nothing to do
with partitions and the like.
To Linux, logical & primary partitions are all the same -- very large chunks
of structured data on a disk that start at point x and end at point y. It's
just the broken OSses that don't understand that...
--
Greetings,
Wouter
------------------------------
From: Christoph Kukulies <[EMAIL PROTECTED]>
Subject: Re: apache configuration screwed?
Date: 13 Jun 2000 14:38:02 GMT
Christoph Kukulies <[EMAIL PROTECTED]> wrote:
: I had installed apache 1.3.9 recently on a Redhat 6.1 system
: and initially everything worked fine. Then we introduced amd
: and some other NFS mounts. /home went (became an amd mountpoint)
: To keep the apache server uninfluenced from this I changed
: everything in /etc/httpd/conf/httpd.conf from /home/httpd to
: /usr/local/www and I'm getting constantly:
: [Tue Jun 13 11:03:35 2000] [error] [client 137.226.XX.Y] client denied by server
:configuration: /usr/local/www/html/index.html
: (Error 403, that is)
: Any ideas? Can I raise the logging level of apache to obtain
: better diagnosis?
To answer to myself:
I solved the problem by downloading apache 3.1.12 (the most recent)
and recompiled it with the defaults paths built in (/usr/local/apache).
(which I was used from other platforms anyway).
As it seems the apache 1.3.9 rpm for redhat has /home/httpd
as apache root built in.
: --
: Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
------------------------------
From: "Wouter Verhelst" <[EMAIL PROTECTED]>
Subject: Re: limitation of processes?
Date: Tue, 13 Jun 2000 14:59:55 GMT
David .. <[EMAIL PROTECTED]> schreef in berichtnieuws
[EMAIL PROTECTED]
> Nikodemus Karlsson wrote:
> >
> > I played with fork(). Placed in a loop, the new processes started
another processes and so on.
> > The sysetm became inusable, of course, and I had to switch the power
off.
Been there. Did it with bash, though:
(filename 'loop')
while true
do
loop &
done
> > Is there any way to limit the number of processes currently running for
a user?
>
> It can be done in the limits.conf file.
>
> # /etc/security/limits.conf
> #
> #Each line describes a limit for a user in the form:
> #
> #<domain> <type> <item> <value>
> #
> #Where:
> #<domain> can be:
> # - an user name
> # - a group name, with @group syntax
> # - the wildcard *, for default entry
> #
> #<type> can have the two values:
> # - "soft" for enforcing the soft limits
> # - "hard" for enforcing hard limits
> #
> #<item> can be one of the following:
> # - core - limits the core file size (KB)
> # - data - max data size (KB)
> # - fsize - maximum filesize (KB)
> # - memlock - max locked-in-memory address space (KB)
> # - nofile - max number of open files
> # - rss - max resident set size (KB)
> # - stack - max stack size (KB)
> # - cpu - max CPU time (MIN)
> # - nproc - max number of processes
> # - as - address space limit
> # - maxlogins - max number of logins for this user
> # - priority - the priority to run user process with
> #
> #<domain> <type> <item> <value>
> #
>
> #* soft core 0
> #* hard rss 10000
> #@student hard nproc 20
> #@faculty soft nproc 20
> #@faculty hard nproc 50
> #ftp hard nproc 0
> #@student - maxlogins 4
>
> # End of file
Problem is that a process gone mad in loop, fork()ing instances of itself
going as mad as itself, takes away all CPU-time so that it makes it very
hard for the kernel to stop this.
(You get a system load of 100 and more in just a couple of seconds)
ulimit should be able to stop it, but I'm afraid not... unless you set your
limit extremely low (just enough for a shell & some userapps, but not much
of them), which would not be kind to our 'normal' users...
--
Greetings,
Wouter
------------------------------
From: "John Jolet" <[EMAIL PROTECTED]>
Subject: Re: JDK on Linux RH 6.2
Date: Tue, 13 Jun 2000 10:06:09 -0500
blackdown.org is the official porter of the jdk to linux.
<[EMAIL PROTECTED]> wrote in message news:8i2v68$80o$[EMAIL PROTECTED]...
> Hello all,
>
> Is anyone know a good site, newsgroups, aticleq...
> talking about JDK 1.6.x or later installation on Linux
> RedHat 6.2.
>
> Thanks,
>
> Ould
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.advocacy
Subject: Re: democracy?
Date: Tue, 13 Jun 2000 14:45:30 GMT
Francis,
In case you haven't noticed, the USA is NOT a "democracy"! The people
who conduct these invalid polls would love for you to think it is, but
if you'll read the Constitution (RTFM) you'll see we're actually
configured as a "republic".
If you want an example of a democracy, look at a lynch mob. The
majority (the mob) decides that the minority (the lynchee) deserves to
die. In a pure democracy, the minority has no recourse but to submit to
the will of the majority, no matter how perverse that will might be.
Ergo, "democracy" is evil. Anyone who tells you otherwise would like to
get a bunch of friends together to hang you from the nearest oak tree at
midnight.
The purpose of the United States government is to secure (guarantee) "a
republican form of government", which is the only way to preserve the
rights of the minority.
Another purpose of the US government is to protect "us" (citizens) from
harm, whether that harm come from a Soviet bomber or from an
unscrupulous chemical maker who dumps toxic waste into your fishing
hole. It follows that it is the governments place to protect YOU
(whether you are a software developer or a carpenter) from having your
livelihood taken away by an unscrupulous competitor. You think
Microsoft won't take away your livelihood?? Tell it to Gary Killdall or
Stac Electronics or Lotus or Borland or Linus Torvalds or the guy who
ported CP/M to the 8086 (ironically, I don't remember his name)...
And the intelligence level of the celebrated man in the street has no
bearing on the invalidity of his opinion!! The greatest mind in the
world cannot provide an opinion that would have any legal, legitimate
bearing on rulings of Law. Our Nation is one of Laws, not Men. I know
you've heard that before. "Popular opinion" doesn't count either. The
only relevant information in court is, is this behavior allowed or
forbidden by law, and did the plaintiff commit the alleged behavior.
In Microsoft's case, the behavior is forbidden by Law, and M$ knew that
yet they did it anyway. They're criminals. "With malice aforethought".
Now it's time for their punishment. Get used to it.
And no, I don't see where a 2-way split will help matters much. But
it's not my place to decide. All I can do is eschew Micro$oft products
at every opportunity, which I do with all the zeal I can muster.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.advocacy
Subject: Re: democracy?
Date: Tue, 13 Jun 2000 14:52:08 GMT
Go away. The majority of Real Americans do not want you here... in
theory, at least!
You'd like China. Maybe Canada, but try to stay away from the border.
>From the statement you just made, perhaps you'd be better following your
head to Uranus.
Your brand of ignorance is poisoning the minds of our fellow American
citizens, and you're confusing the newbies.
Just leave. Get up, turn off your computer, and go now. Quietly.
In article <[EMAIL PROTECTED]>,
Mark Wilden <[EMAIL PROTECTED]> wrote:
> Salvador Peralta wrote:
> >
> > let's remember that the United States is not now, nor has it ever
been a
> > democracy.
>
> Yes it is. It's a representative democracy. The people do rule,
through
> their elected officials (in theory, at least).
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: MS word and linux
Date: Tue, 13 Jun 2000 15:03:23 GMT
In article <[EMAIL PROTECTED]>, David Steuber wrote:
>' That is true: +-65Mb.
>' But IMHO it's worth it.
>
>Isn't that about half the size of MS Office?
Probably, but that's certainly nothing to be proud of. ;)
--
Grant Edwards grante Yow! My nose feels like a
at bad Ronald Reagan movie...
visi.com
------------------------------
From: "John Lee" <[EMAIL PROTECTED]>
Subject: Re: 64 megs of RAM on a 256?????
Date: Tue, 13 Jun 2000 16:09:07 +0000
In article <[EMAIL PROTECTED]>, "Lonni J. Friedman"
<[EMAIL PROTECTED]> wrote:
>
>
> Robert Heller wrote:
>>
>> Taylor <[EMAIL PROTECTED]>, In a message on Mon, 12 Jun 2000
>> 12:30:06 GMT, wrote :
>>
>> T> I installed Mandrake 7 a while ago and everything is running
>> smoothly, T> internet and all. The only problem I have is, I have a 256
>> meg RAM single T> module, and linux only sees 64 megs of it. This is
>> the most baffling T> problem ive ever run into with linux. can anyone
>> help me out with this? Im T> not a newbie to linux so feel free to be
>> techinal. just keep it T> understandable haha
>>
>> You have a 'brain dead' BIOS (some are). You need to add a line like:
>>
>> append = "mem=256meg"
>
> If he adds that line, it certainly isn't going to help, considering that
> the syntax is wrong. What he should add is: append="mem=256M"
Don't forget to run '/sbin/lilo' after you make the change in your '/etc/lilo.conf'
file. If you
open this file you will most likely find and entry that starts 'append=""' . Just put
'mem=256M' between the quotes and then run lilo. On a reboot linux will see all of you
ram.
regards
jrlee
------------------------------
** 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
******************************