Linux-Setup Digest #469, Volume #20              Sun, 21 Jan 01 22:13:07 EST

Contents:
  Re: Unusually slow g77 code on Katmai ("Peter T. Breuer")
  Protect yourself!  I got hacked by the Ramen worm (E J)
  Re: Can't find make
  Re: Compiling 2.4 problems and cable modem ("SilverDragon")
  Re: Configuring Mail (David)
  NTP Setup ("mpierce")
  Re: No IRQs for /proc/pci
  Re: Questions regarding device security (David)
  Partition confusion ("NG_lurker")
  Re: Need help: sound with slackware7.1 (Denis Sevee)
  Re: Stupid directory permission question (Ian Pilcher)
  Setting up news reader for Secure Password Authentication ("GranpaK")
  booting from bootdisk takes 10 mins. ("Clint Davis")
  Newbie: Linux boots by itself ("L-X-Q")
  Re: RedHat installition kills WinME on Compaq Presario 1700T (Andrei Pushkarev)
  Re: RedHat installition kills WinME on Compaq Presario 1700T (Andrei Pushkarev)
  Lilo problems...assistance needed.... ("Clint Davis")
  RH ppp dialer (Jeff Moore)
  Re: No IRQs for /proc/pci ([EMAIL PROTECTED])
  High Speed Modem (Gordon Berta)
  cdrecord and LG 8081B CDRW-- problems with track at once writing (Bill Unruh)

----------------------------------------------------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: gnu.gcc.help,linux.redhat.misc
Subject: Re: Unusually slow g77 code on Katmai
Date: Mon, 22 Jan 2001 02:08:07 +0100

In comp.os.linux.setup Massimo Boninsegni <[EMAIL PROTECTED]> wrote:
> I cannot figure out why *any* fortran code that I generate using g77 is
> unusually (ridiculously) slow on a Pentium III.
> I am talking 5-6 times *slower* on a 550 Mhz Pentium III (Katmai) than
> on a 400 Mhz Pentium II (Deschutes). I noticed this problem with g++ as
> well, but by tinkering with the optimizations I managed to get most (not
> all) of the expected performance out of the Pentium III.

> -Os -ffast-math -malign-double -march=pentium

march=pentium is wrong for a start! It's not a 586. It's a 686 or
better.  Are there 786's? Anyway, you want to treat it like a 386.
Optimizing for 586 will be disastrous on a 686.

aligning everything on 16byte boundaries may help a little, but -O3
would do that anyway. Why are you running -Os?

Peter

------------------------------

From: E J <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,linux.redhat.misc,comp.os.linux.misc,alt.os.linux
Subject: Protect yourself!  I got hacked by the Ramen worm
Date: Mon, 22 Jan 2001 01:28:59 GMT

Install the nfs, wu for RH6.2 and LPR for RH7.0 Now.

                       Commands to update and effectively close these
vulnerabilities on Redhat Linux 6.2 server:
                       rpm -Uvh
ftp://updates.redhat.com/6.2/i386/nfs-utils-0.1.9.1-1.i386.rpm
                       rpm -Uvh
ftp://updates.redhat.com/6.2/i386/wu-ftpd-2.6.0-14.6x.i386.rpm

                       Commands to update and effectively close these
vulnerabilities on Redhat Linux 7.0 server:
                       rpm -Uvh
ftp://updates.redhat.com/7.0/i386/LPRng-3.6.24-2.i386.rpm

I did not do any installation of updates on RH7.0 because it was freshly
installed.
I got hacked this morning.  I was wondering why my hard disk was
whirling.
I ran 'top' and found 'find' was running.
I turn netscape to 'http://localhost' and sure enough I was hacked by
the Ramen worm.
My printer does not print anymore because they exploited lpr.
I check my security logs and found the offending computer who launched
the attack.
When I turned my netscape to "http://xxx.yyy.zzz.www" and looked at
their website, it
came with the Ramen worm webpage.
I sent an email to CERT notifying about the hack on my computer.
To repair the damage, I went to
http://www.whitehats.com/library/worms/ramen/ and followed their
instruction.
It wiped out all of my index.html with the Ramen worm webpage.
I had to do an upgrade of all the RH7.0 packages I installed.  (2 hours
of work)
I had to get all personal index.html from my quite recent backup.
I wrote to www.digitaldesk.com because they said it was a beneficial
worm in their news story.
What a shitty story!!!
The Ramen work causes too much damage to my computer.



------------------------------

From: [EMAIL PROTECTED] ()
Subject: Re: Can't find make
Date: Mon, 22 Jan 2001 01:33:15 +0000 (UTC)

On Sun, 21 Jan 2001 04:51:46 GMT, David 
<[EMAIL PROTECTED]> wrote:
>SilverDragon wrote:

>> When trying to run make, i get a 
command not found 
>> ... I installed Mandrake 7.0 lnx4win
>> ... downloaded the
>> GNU make and once untarred, I have 
to run ./configure.
>> I get an error .... 


>Is it installed?
>
> rpm -q make

Maybe it would be easier just to install
make from your original CDROM. Mandrake is
pretty good about doing all the work for
you, it does rpms by itself and most of
the stuff on the CDROM seems to be set
up properly so you won't run in to trouble.


If it tells you make is already installed,
at least you know. If it goes ahead and 
installs it, it'll probably work right away
and you won't need to go through all this
diagnostic stuff and downloading so early
in your linux adventure.

MP


------------------------------

From: "SilverDragon" <[EMAIL PROTECTED]>
Subject: Re: Compiling 2.4 problems and cable modem
Date: Mon, 22 Jan 2001 01:36:58 GMT

Thanks a ton(ne) :)

--
Max
SilverDragon and Lt_Paris
--
http://www.dragon-sword.com  -- A freeware RPG in need of contributors


"olgnuby" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> SilverDragon wrote:
> >
>
> > Mandrake 7.0.. is my depmod too old or is it something else?
> >
> > And I'm trying to get my cable modem to work..
>
> In answer to the first question, since that is the indication I've
> always received on the later kernels when I've neglected to upgrade
> modutils, I'd say yes.
>
> ftp://ftp.kernel.org/pub/linux/utils/kernel/modutils/v2.4/
>
> Second question. I'd be lost as a ball in the weeds. ;-)
>
> Charlie
>



------------------------------

From: David <[EMAIL PROTECTED]>
Subject: Re: Configuring Mail
Date: Mon, 22 Jan 2001 01:38:59 GMT

Bentley wrote:
> 
> Newbie question !!!!
> 
> I am trying to configure mail such that I can execute a command like:
> 
> ifconfig | mail [EMAIL PROTECTED]
> 
> I am setting my my linux machine as an FTP server and would like to have the
> the current IP address when ever I re-boot.  I dont have a static IP
> address.  I configured the GUI mail client in KDE and it sends and recives
> mail with no problems.  When I use the command line version of mail (see
> line above), nothing happens.  The command retruns, but no mail is ever
> sent.  I am guess thing there is an config file or something where I must
> record my ISP mail servers address.
> 
> OS: Read Hat 7.0
> 
> Thanks


I miss read you post so this will work in a script.

#!/bin/sh
/sbin/ifconfig | /bin/grep P-t-P | /usr/bin/cut -c 21-35 | /bin/cat|
mail -s "IP address" xyz.hotmail.com

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 99.005% of seti users. +/- 0.01%

------------------------------

From: "mpierce" <[EMAIL PROTECTED]>
Subject: NTP Setup
Date: Mon, 22 Jan 2001 01:48:33 GMT

Can someone tell me how to setup ntp on my Mandrake7.2 system?
I've looked at the manuals and cannot figure this one out.
Marvin

------------------------------

From: [EMAIL PROTECTED] ()
Subject: Re: No IRQs for /proc/pci
Date: Mon, 22 Jan 2001 01:49:46 +0000 (UTC)

On Sun, 21 Jan 2001 06:40:37 GMT, 
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>I've got an older pentium abit motherboard and I
>got the bios flashed recently.  

>Whenever I install RedHat 6.2, 7.0 or Linux
>Mandrake 7.1 or 7.2 I get the following errors:
>SIOCSIFFLAGS: Resource Temporarily unavailable
>SIOCADDRT: Network is down

>... there are no irq's assigned...

Maybe when you flashed the BIOS it lost all its
old settings. Look at /proc/interrupts (and
even at /proc/ioports if you continue to have
trouble).

(I have an older BIOS and I always
disable plug n play, I don't know if that's
relevant with yours or not.) 

Have you tried assigning the irqs by hand? Look
at man setserial, which I know is present on 
both RH 6.2 and Mdk 7.2 for sure. 

If this works you will have to put the
commands you used into some startup file --
in RH 6.2 I have used /etc/rc.d/rc.local for this
purpose, and in Mdk 7.2 I used /etc/rc.d/rc.setserial.


HTH
MP 


------------------------------

From: David <[EMAIL PROTECTED]>
Subject: Re: Questions regarding device security
Date: Mon, 22 Jan 2001 01:51:07 GMT

Hung Ngoc Lai wrote:
> 
> Hi Everyone,
> I scan a range of network devices on my company network and the scan
> result comes across several devices with the following message:
> 
> Vulnerability found on port general/tcp
> The TCP sequence numbers of the remote host are
> always incremented by 64000, so they can be
> guessed rather easily. A cracker may use
>       this flaw to spoof TCP connections easily.
> 
> My question is:  how serious is this security flaw?  How easy is it for someone
> to hijack or spoof TCP connecsions (or sessions) from this  device?  The
> reason I am concerned is because this device is directed to the Internet and
> it could put the entire corporation at risk.  Thanks.
> 
> David


You may have already done this but just in case you haven't. Add this to
your firewall script just before the flush rules. It may not stop
spoofing but it will help as well as log it.

# Enable IP spoofing protection
# turn on Source Address Verification
    for f in /proc/sys/net/ipv4/conf/*/rp_filter; do
        echo 1 > $f
    done

# Log Spoofed Packets, Source Routed Packets, Redirect Packets
    for f in /proc/sys/net/ipv4/conf/*/log_martians; do
        echo 1 > $f
    done

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 99.005% of seti users. +/- 0.01%

------------------------------

From: "NG_lurker" <[EMAIL PROTECTED]>
Subject: Partition confusion
Date: Mon, 22 Jan 2001 04:56:16 +0300

Hi! Im a bit confused about partitioning in Linux. I have a 20 gig HD
partitioned to 4(c/d/e/f). Win98 is in c. I intend to install Win2000 in d
for dual booting. I reserve free space of 5 gigs for RH7. Fips is saying of
with making new primary partition while Partition Magic and other disk
readme's tell you only 1 primary partition can be active at any time and
having 2 primary partitions visible can cause data loss. Im stuck in this
partition explanation and need help. Shall i use fips or disk druid to
partition my free space?
TIA



------------------------------

From: Denis Sevee <[EMAIL PROTECTED]>
Subject: Re: Need help: sound with slackware7.1
Date: Sun, 21 Jan 2001 21:21:22 -0500

On Sun, 21 Jan 2001 [EMAIL PROTECTED] wrote:

> Greetings,
> 
>    Not trying to be funny. But if sound files played from the harddisk
> worked and if you are playing the song directly from the CD using the
> player, I think you did not connect the audio wire from your CDROM drive
> to your sound card. Check that, the wire will help!!!
> 
>   Good luck.
> Simon

Hi,
  Thanks for your reply but that doesn't seem to be the solution. The
CD plays back when I boot into Windows.

Denis Sevee


------------------------------

From: Ian Pilcher <[EMAIL PROTECTED]>
Subject: Re: Stupid directory permission question
Date: 22 Jan 2001 02:40:50 GMT

H.Bruijn wrote:
> 
> Have you restarted those daemons (or the machine) since adding them to
> those groups, because the groups file is only read once, not
> continiously checked for updates.

That appears to have done the trick.  If used Windows more often, I
probably would have thought of that myself.

Thanks!

-- 
========================================================================
Ian Pilcher                                       [EMAIL PROTECTED]
========================================================================

------------------------------

From: "GranpaK" <[EMAIL PROTECTED]>
Subject: Setting up news reader for Secure Password Authentication
Date: Sun, 21 Jan 2001 19:47:09 -0500

Hi,

Would anyone know how to set up a news reader (or server) to obtain news
from a news server requiring "Secure Password Authentication"?  I can get to
the server using Microsoft Outlook Express (with a check on "Log in using
Secure Password Authentication") but I have not been able to figure out how
to set up anything using Linux.  Any ideas?  It doesn't seem that INN or
Leafnode are capable of getting in - or is there something else I need to
add to the mix?  I have RH 6.2 loaded along with inn, leafnode,
openssl/openssh, pine, netscape, and all that.

GranpaK
[EMAIL PROTECTED]
(remove NOSPAM to email)




------------------------------

From: "Clint Davis" <[EMAIL PROTECTED]>
Subject: booting from bootdisk takes 10 mins.
Date: Sun, 21 Jan 2001 18:54:37 -0800

When I boot from disk, each period after "Loading linux"
takes about a minute.  I recreated boot disk and get same problem.
Also, different diskettes.

This is a $20,000 HP Netserver, fresh outta the box.

Clint



------------------------------

From: "L-X-Q" <[EMAIL PROTECTED]>
Subject: Newbie: Linux boots by itself
Date: Mon, 22 Jan 2001 11:50:00 +0900

Hi,

I've used Linux for 6 months. I am using RH 7.0. At first it runs fine. And
then since last week, sometimes it reboots by itself without any reason
(about 1 time per 3 hours). It reboots without shutting the services. It is
just like someone press the reset button suddenly. What is the problem? I
use AMD-K6 500 MHz, with 256 MB of RAM. Is it hardware of software problem?
Please help me. Thank you very much.

-LXQ-


------------------------------

From: Andrei Pushkarev <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.portable
Subject: Re: RedHat installition kills WinME on Compaq Presario 1700T
Date: Mon, 22 Jan 2001 02:50:59 GMT

Hi Simon,

Thanks for your reply. It sounds very reasonable.

Still, cannot explain one thing: WinME works (!) after I did
disk repartitioning, but before loading Linux. It gets screwed
up after Linux install. If the problem was in shifted data
inside the partition, why it worked before loading linux?

By the way, do you have 1700T? Did you resolve the problem
via additional HD?

I regret buying Compaq. Customer support is useless. In fact,
they told me that Presario line is not Linux-oriented AT ALL.
Product is propriatory to the Macintosh extent. Suck.


        Andrei


[EMAIL PROTECTED] wrote:
> 
> Greeting,
> 
>   I don't really have enough information on your problem. BUT I think
> this is what happen because it happened to me once.
> 
>   1. Right after the fresh reinstallation from the restore disk
>      provided, you get two partition that fillup the entire disk right!
> 
>   2. So you have to defragment and move the extended partition to make
>      room in between the original primary (c drive) and original
>      extended partition to make a little from for your linux partition
>      right.
> 
>   3. During the move, the tool you use probably move the partition up by
>      copying the data to the other end of the partition so that you can
>      resize the partition from the top. As illustrated. xxxx is the data
>      partition marked P is the primary and partition marked E is the
>      extended.
> 
>        |------ |                | --------- |
>        |   E   |                |  xxxxxxx  |
>        |       |                |  xxxxxxx  |
>        | xxxxx |                |  xxxxxxx  |
>        | xxxxx |                |           |
>        | xxxxx |                |      E    |
>        |-------|                | --------- |
>        |   P   |                |   P       |
>        |------ |                |---------- |
> 
>   4. Then if you resize the extended partition, you will get
> 
>                       | --------- |
>                       |xxxxxxxxxxx|
>                       |xxxxxxxxxxx|
>                       |xxxxxxxxxxx|
>                       |           |
>                       |           |
>                       |     E     |
>                       | --------- |
>                       |           |
>                       |  EMPTY    |
>                       |           |
>                       | --------- |
>                       |   P       |
>                       |---------- |
> 
>   5. and you created the hda2 in the empty partition right!!
> 
>   The thing is that, for the file system in WINME, there is a huge
> difference between the location of the data. The data located at the
> begining of the partition is different from the data located at the end
> of the partition as illustrated above. Everything in the extended
> partition will be gone!!!!! It happened to me earlier, and for me, some
> of the program in my WINME worked and some don't since part of the
> program is located in C drive which was not touched.Those in the
> relocated extended partition are gone!!!!!!You are lucky if it even boot
> up since all the shortcut in the desktop are invalid and the OS will
> attempt a infinited loop procedure to try to locate it!!!!
> 
>   I didn't try this, but you can try to move the data back to the
> begining after the resizing!!!! MAYBE that will help.
> 
>   BUT my best guest will be to get another smaller hard disk ( about 100
> MB) and put that in the IDE0 secondary and install the boot partition
> there. Then, resize the d in extended partition ( not moving it from the
> extended partition to a primary partition, just defragment and resize)
> and create a linux partition within the extended partition and put your
> RH there.
> 
>   This is why I hate the restore CD so much!!!!
> 
>   GOOD luck... and you are welcome to ask me directly [EMAIL PROTECTED] if
> you think I may be of assistance.
> 
> Simon
> 
> Sent via Deja.com
> http://www.deja.com/

------------------------------

From: Andrei Pushkarev <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.portable
Subject: Re: RedHat installition kills WinME on Compaq Presario 1700T
Date: Mon, 22 Jan 2001 02:51:20 GMT

Hi Simon,

Thanks for your reply. It sounds very reasonable.

Still, cannot explain one thing: WinME works (!) after I did
disk repartitioning, but before loading Linux. It gets screwed
up after Linux install. If the problem was in shifted data
inside the partition, why it worked before loading linux?

By the way, do you have 1700T? Did you resolve the problem
via additional HD?

I regret buying Compaq. Customer support is useless. In fact,
they told me that Presario line is not Linux-oriented AT ALL.
Product is propriatory to the Macintosh extent. Suck.


        Andrei


[EMAIL PROTECTED] wrote:
> 
> Greeting,
> 
>   I don't really have enough information on your problem. BUT I think
> this is what happen because it happened to me once.
> 
>   1. Right after the fresh reinstallation from the restore disk
>      provided, you get two partition that fillup the entire disk right!
> 
>   2. So you have to defragment and move the extended partition to make
>      room in between the original primary (c drive) and original
>      extended partition to make a little from for your linux partition
>      right.
> 
>   3. During the move, the tool you use probably move the partition up by
>      copying the data to the other end of the partition so that you can
>      resize the partition from the top. As illustrated. xxxx is the data
>      partition marked P is the primary and partition marked E is the
>      extended.
> 
>        |------ |                | --------- |
>        |   E   |                |  xxxxxxx  |
>        |       |                |  xxxxxxx  |
>        | xxxxx |                |  xxxxxxx  |
>        | xxxxx |                |           |
>        | xxxxx |                |      E    |
>        |-------|                | --------- |
>        |   P   |                |   P       |
>        |------ |                |---------- |
> 
>   4. Then if you resize the extended partition, you will get
> 
>                       | --------- |
>                       |xxxxxxxxxxx|
>                       |xxxxxxxxxxx|
>                       |xxxxxxxxxxx|
>                       |           |
>                       |           |
>                       |     E     |
>                       | --------- |
>                       |           |
>                       |  EMPTY    |
>                       |           |
>                       | --------- |
>                       |   P       |
>                       |---------- |
> 
>   5. and you created the hda2 in the empty partition right!!
> 
>   The thing is that, for the file system in WINME, there is a huge
> difference between the location of the data. The data located at the
> begining of the partition is different from the data located at the end
> of the partition as illustrated above. Everything in the extended
> partition will be gone!!!!! It happened to me earlier, and for me, some
> of the program in my WINME worked and some don't since part of the
> program is located in C drive which was not touched.Those in the
> relocated extended partition are gone!!!!!!You are lucky if it even boot
> up since all the shortcut in the desktop are invalid and the OS will
> attempt a infinited loop procedure to try to locate it!!!!
> 
>   I didn't try this, but you can try to move the data back to the
> begining after the resizing!!!! MAYBE that will help.
> 
>   BUT my best guest will be to get another smaller hard disk ( about 100
> MB) and put that in the IDE0 secondary and install the boot partition
> there. Then, resize the d in extended partition ( not moving it from the
> extended partition to a primary partition, just defragment and resize)
> and create a linux partition within the extended partition and put your
> RH there.
> 
>   This is why I hate the restore CD so much!!!!
> 
>   GOOD luck... and you are welcome to ask me directly [EMAIL PROTECTED] if
> you think I may be of assistance.
> 
> Simon
> 
> Sent via Deja.com
> http://www.deja.com/

------------------------------

From: "Clint Davis" <[EMAIL PROTECTED]>
Subject: Lilo problems...assistance needed....
Date: Sun, 21 Jan 2001 18:59:02 -0800

I have installed many linux systems ( so Im no nebbie at
this).  But someone who has been thru this can enlighten
me on fixing it.

New HP server , Symbios SCSI card ( using ncrX859
driver).  I notice Symbios has drivers, maybe I should
use them?

On LILO boot, I get the infamous "L" only.  I know this is
a geometry issue but where do I go from there?  If I
use boot disk, the sd? filesystems are there.

Thanks
Clint



------------------------------

From: Jeff Moore <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,redhat.general
Subject: RH ppp dialer
Date: Sun, 21 Jan 2001 20:58:44 +0000
Reply-To: [EMAIL PROTECTED]

I am trying to use the RH ppp dialer, on RH7.

I set everything up and it seemed ok.

Then I changed the advanced settings so that it is activated at boot
time.

Now when it boots up, it hangs on bringing up ppp0.

I am trying the interactive setup now to get X to come up, but no luck
so far.

Any suggestions, short of a reinstall.

Jeff Moore


------------------------------

From: [EMAIL PROTECTED]
Subject: Re: No IRQs for /proc/pci
Date: Mon, 22 Jan 2001 02:46:19 GMT

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] () wrote:
> On Sun, 21 Jan 2001 06:40:37 GMT,
> [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >I've got an older pentium abit motherboard and I
> >got the bios flashed recently.
>
> >Whenever I install RedHat 6.2, 7.0 or Linux
> >Mandrake 7.1 or 7.2 I get the following errors:
> >SIOCSIFFLAGS: Resource Temporarily unavailable
> >SIOCADDRT: Network is down
>
> >... there are no irq's assigned...
>
> Maybe when you flashed the BIOS it lost all its
> old settings. Look at /proc/interrupts (and
> even at /proc/ioports if you continue to have
> trouble).
>
> (I have an older BIOS and I always
> disable plug n play, I don't know if that's
> relevant with yours or not.)
>
> Have you tried assigning the irqs by hand? Look
> at man setserial, which I know is present on
> both RH 6.2 and Mdk 7.2 for sure.
>
> If this works you will have to put the
> commands you used into some startup file --
> in RH 6.2 I have used /etc/rc.d/rc.local for this
> purpose, and in Mdk 7.2 I used /etc/rc.d/rc.setserial.
>
> HTH
> MP
>
>
I recently d/l a copy of the owner's manual.  I've been going through
that as well and half of the settings like disable pnp aren't there
with the "new and improved" bios upgrade.

As far as the commands in RH 6.2 that were used in /etc/rc.d/rc.local
and the ones you used in Mdk 7.2 /etc/rc.d/rc.setserial, could you
actully e-mail the scripts if you still have them?  I really haven't
used setserial before.

I will be calling the company that I purchased the $90.00 upgrade
through (yes I could have almost a purchased a new motherboard) and see
what their take is on this.

I've -NEVER- seen this before.

Thanks,
Trent


Sent via Deja.com
http://www.deja.com/

------------------------------

From: Gordon Berta <[EMAIL PROTECTED]>
Subject: High Speed Modem
Date: Mon, 22 Jan 2001 03:01:02 GMT

Does anyone know how to install Bell Sympatico access manager on redhat
7?
Gord
[EMAIL PROTECTED]


------------------------------

From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: comp.os.linux.misc
Subject: cdrecord and LG 8081B CDRW-- problems with track at once writing
Date: 22 Jan 2001 03:02:00 GMT

I bought a LG (Lucky Goldstar) 8081B CDRW drive. The specs for this are
the same as for the 8080B drive, which is one of the supported drives
under cdrecord. 

The drive seems to work fine for Disk at Once recording, except for one
warning
cdrecord: WARNING: Drive returns wrong startsec (0) using -150
Writing pregap for track 1 at -150


However if I try the default track at once mode I get fatal scsi errors

Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 7
  Is not unrestricted
  Is not erasable
  ATIP start of lead in:  -11538 (97:28/12)
  ATIP start of lead out: 359849 (79:59/74)
Disk type:    Long strategy type (Cyanine, AZO or similar)
Manuf. index: 7
Manufacturer: GIGASTORAGE CORPORATION
cdrecord: Input/output error. read disk info: scsi sendcmd: retryable
error
CDB:  51 00 00 00 00 00 00 00 02 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 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 0 (not valid) 


Sometimes it will get through this problem, and then die when it starts
trying towrite the first track  with scsi illegal request errors. 
Here is the complete output of cdrecord -v from such a session

wormhole[unruh]>cdrecord -v -dummy speed=8 dev=0,0,0 -audio -pad `cat order`
Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jorg Schilling
TOC Type: 0 = CD-DA
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 2.1.39
Using libscg version 'schily-0.1'
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'LG      '
Identifikation : 'CD-RW CED-8081B '
Revision       : '1.00'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO
Drive buf size : 1024000 = 1000 KB
FIFO size      : 4194304 = 4096 KB
Track 01: audio  34 MB (03:26.52) no preemp pad
Track 02: audio  24 MB (02:23.66) no preemp pad
Track 03: audio  39 MB (03:57.34) no preemp pad
Track 04: audio   9 MB (00:59.38) no preemp pad
Track 05: audio  28 MB (02:51.89) no preemp
Track 06: audio  13 MB (01:22.98) no preemp pad
Track 07: audio  40 MB (03:59.21) no preemp pad
Track 08: audio  16 MB (01:36.69) no preemp pad
Track 09: audio  57 MB (05:39.76) no preemp
Track 10: audio  60 MB (06:00.74) no preemp pad
Track 11: audio  23 MB (02:17.16) no preemp pad
Track 12: audio  33 MB (03:18.83) no preemp pad
Total size:     386 MB (38:16.29) = 172222 sectors
Lout start:     386 MB (38:18/22) = 172222 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 7
  Is not unrestricted
  Is not erasable
  ATIP start of lead in:  -11538 (97:28/12)
  ATIP start of lead out: 359849 (79:59/74)
Disk type:    Long strategy type (Cyanine, AZO or similar)
Manuf. index: 7
Manufacturer: GIGASTORAGE CORPORATION
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 187627
Starting to write CD/DVD at speed 8 in dummy mode for single session.
Last chance to quit, starting dummy write in 1 seconds.
Waiting for reader process to fill input buffer ... input buffer ready.
Starting new track at sector: 0
Track 01:   0 of  34 MB written.cdrecord: Input/output error. write_g1:
scsi sendcmd: retryable error
CDB:  2A 00 00 00 00 00 00 00 1B 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 25 00 00 00 00 0A 00 00 00 00 64 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x64 Qual 0x00 (illegal mode for this track) Fru 0x0
Sense flags: Blk 0 (not valid) illegal block length

write track data: error after 0 bytes
Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00 00 00
Writing  time:    5.031s
Fixating...
WARNING: Some drives don't like fixation in dummy mode.
Fixating time:    0.003s
cdrecord: Input/output error. mode select g1: scsi sendcmd: retryable
error
CDB:  55 10 00 00 00 00 00 00 10 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.001s timeout 40s
cdrecord: fifo had 64 puts and 1 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.


------------------------------


** 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 by posting to comp.os.linux.setup.

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-Setup Digest
******************************

Reply via email to