Linux-Hardware Digest #202, Volume #10           Mon, 10 May 99 14:13:38 EDT

Contents:
  Redhat 6.0 and DMA help...the answer lies here (Greg Hookey)
  Dell Laptop Hard Drive (Stephen Thomas)
  New SCSI card (Kari Laine)
  MODEM and IRQ: help a newbie (Denis Kholodar)
  Re: cdrecord 1.61, xcdroast 0.96e and Sony CRX100E CDRW problems (seth)

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

From: Greg Hookey <[EMAIL PROTECTED]>
Subject: Redhat 6.0 and DMA help...the answer lies here
Date: 10 May 1999 10:25:55 -0230

Hi,
    What I hope to accomplish here to provide some assistance to those
of you who have install Redhat 6.0 and have had your speedy UDMA drive
slow down considerably.  First of all su to root and run the command:

hdparm -d /dev/hda

or what ever you drives name is.  This will tell you if DMA is on or
off.  If it is off run the command:

hdparm -d1 /dev/hda

this will turn the DMA back on.  You can verify that it's on by using
the first command I mentioned again.  To permanently fix this problem
you must recompile your kernel with the
option in block devices, "use dm when available", selected.  This will
solve the problem permanently.  The reason this was left out of the
kernel was to protect users against flakey
hardware. The results that I've gained with this method are as
expected.  Before reenabling dma I was getting ~3.3MB/sec from my
Quantum Fireball EX 6.4....not good.
Now I'm getting the usual  ~12.5MB/sec that I've come to enjoy quite a
bit.....

Greg
[EMAIL PROTECTED]



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

From: Stephen Thomas <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Dell Laptop Hard Drive
Date: Mon, 10 May 1999 10:54:46 -0400

Hardware:  Dell Latitude XPi  Pentium 75 8 MB RAM 400 MB HD PCMCIA.

OS:  RedHat Linux 6.0

Problem:  Tried to install RedHat 6.0 via ftp over a PCMCIA ethernet
adapter.  This actually works fine but I run into this error at the
console when it attempts to actually write to disk.

console output:
hda: ST9420AG, ATA DISK drive
hdb: %%%%%%%%%%%%%%%, ATAPI UNKNOWN type 10 drive
ide0 at 0x1f0-0xf7,0x3f6 on irq 14
hda: ST9420AG, 401MB w/120kb Cache, CHS=988/16/52
Partition Check:
hda:hda: status error: status=0x58 { DriveReady SeekComplete DataRequest

}
hda: drive not ready for command
ide0:  unexpected interrupt, status=0xd1, count=1
ide0: ewawr: master:  ECC circuitry error

I ran the system tools for the laptop and everything checks out OK.
Next I formatted the drive with DOS and it ran that OK.  Finally
I booted the RH6.0 rescue disk, fdisked it, and ran mke2fs on /dev/hda1
and everything seemed OK.  It only misbehaves when I try to install the
OS.  Next I pulled down a debian install disk and tried that.  The
machine loads the kernel and then reboots itself.

I thinking maybe there is some weird interaction between the IDE
interface and the motherboard that is sensitive to anything stronger
than DOS.

Comments or suggestions welcome to [EMAIL PROTECTED]


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

From: [EMAIL PROTECTED] (Kari Laine)
Subject: New SCSI card
Date: Mon, 10 May 1999 15:09:14 GMT
Reply-To: [EMAIL PROTECTED]

I need to buy new scsi card.

Does Linux support AHA2940U2WKI adapter? It is LVD type of card.

Best Regards
Kari Laine

LinuxWare Oy       Email: [EMAIL PROTECTED]
Hiidenm�enkuja 15         [EMAIL PROTECTED]
03100 NUMMELA      Tel. +358-(0)19-334618/334659
FINLAND            Fax. +358-(0)19-334627

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

From: Denis Kholodar <[EMAIL PROTECTED]>
Subject: MODEM and IRQ: help a newbie
Date: Sun, 09 May 1999 11:06:59 -0400

After configuring my sound card I found that I screwed up my modem.

Here is how I was configuring my sound card Sound Blaster 64
(following B.Ball's book "Using Linux"): I used the command (that's
all)
        /usr/sbin/sndconfig
it did change my /etc/conf.modules file from a blank one to the
following:
        alias sound sb
        options -k sb io=0x220 irq=5 dma=1,5
what i didn't know (as I found later in the book) was that it also
changed my /etc/isapnp.conf to
the one that I include in the end, and I don't know what was there
before since I did it (configuration of SB) more than once and the
first bakup file that system did for me was replaced.

 
Here how Linux responded to some commands that as I was told would
tell me about my IRQ business etc:
 
[root@localhost /root]# setserial /dev/cua1
/dev/cua1, UART: 16550A, Port: 0x02f8, IRQ: 3

[root@localhost /root]# cat /proc/interrupts 
 0:      16083   timer
 1:        131   keyboard
 2:          0   cascade
 8:          1 + rtc
12:        232   PS/2 Mouse
13:          1   math error
14:       3428 + ide0
15:          0 + ide1

[root@localhost /]# ls -l /dev/modem
lrwxrwxrwx   1 root     root            10 May  10 01:16 /dev/modem
-> /dev/cua1

from /var/log/messages i have:
May  10 01:26:28 localhost pppd[424]: pppd 2.3.3 started by root,
uid 0
May  10 01:26:28 localhost pppd[424]: tcgetattr: Input/output
error(5)
May  10 01:26:29 localhost pppd[424]: Exit.

any ideas about what is wrong with the modem?
Thanks a lot.
Denis

# $Id: pnpdump.c,v 1.10 1997/07/14 22:30:47 fox Exp $
# This is free software, see the sources for details.
# This software has NO WARRANTY, use at your OWN RISK
#
# For details of this file format, see isapnp.conf(5)
#
# For latest information on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
#
# Compiler flags: -DREALTIME -DNEEDSETSCHEDULER
#
# Trying port address 0203
# Board 1 has serial identifier 02 14 12 91 dd e4 00 8c 0e
# Board 2 has serial identifier 91 c3 93 8b a2 70 30 72 56

# (DEBUG)
(READPORT 0x0203)
(ISOLATE)
(IDENTIFY *)

# Card 1: (serial identifier 02 14 12 91 dd e4 00 8c 0e)
# CTL00e4 Serial No 336761309 [checksum 02]
# Version 1.0, Vendor version 1.0
# ANSI string -->Creative SB AWE64  PnP<--
# Vendor defined tag:  73 02 45 20
#
# Logical device id CTL0045
#
# Edit the entries below to uncomment out the configuration
required.
# Note that only the first value of any range is given, this may be
changed if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE CTL00e4/336761309 (LD 0
#     ANSI string -->Audio<--

# Multiple choice time, choose one only !

#     Start dependent functions: priority preferred
#       IRQ 5.
#             High true, edge sensitive interrupt (by default)
(INT 0 (IRQ  2 (MODE +E)))
#       First DMA channel 1.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed in compatible mode
(DMA 0 (CHANNEL  0))
#       Next DMA channel 5.
#             16 bit DMA only
#             Logical device is not a bus master
#             DMA may not execute in count by byte mode
#             DMA may execute in count by word mode
#             DMA channel speed in compatible mode
(DMA 1 (CHANNEL  5))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0220
#             IO base alignment 1 bytes
#             Number of IO addresses required: 16
(IO 0 (BASE 0x280))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0330
#             Maximum IO base address 0x0330
#             IO base alignment 1 bytes
#             Number of IO addresses required: 2
# (IO 1 (BASE 0x0330))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0388
#             Maximum IO base address 0x0388
#             IO base alignment 1 bytes
#             Number of IO addresses required: 4
# (IO 2 (BASE 0x0388))

#       Start dependent functions: priority acceptable
#       IRQ 5, 7, 9 or 10.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 0, 1 or 3.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 0))
#       Next DMA channel 5, 6 or 7.
#             16 bit DMA only
#             Logical device is not a bus master
#             DMA may not execute in count by byte mode
#             DMA may execute in count by word mode
#             DMA channel speed in compatible mode
# (DMA 1 (CHANNEL 5))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0280
#             IO base alignment 32 bytes
#             Number of IO addresses required: 16
# (IO 0 (BASE 0x0220))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0300
#             Maximum IO base address 0x0330
#             IO base alignment 48 bytes
#             Number of IO addresses required: 2
# (IO 1 (BASE 0x0300))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0388
#             Maximum IO base address 0x0388
#             IO base alignment 1 bytes
#             Number of IO addresses required: 4
# (IO 2 (BASE 0x0388))

#       Start dependent functions: priority acceptable
#       IRQ 5, 7, 9 or 10.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 0, 1 or 3.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 0))
#       Next DMA channel 5, 6 or 7.
#             16 bit DMA only
#             Logical device is not a bus master
#             DMA may not execute in count by byte mode
#             DMA may execute in count by word mode
#             DMA channel speed in compatible mode
# (DMA 1 (CHANNEL 5))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0280
#             IO base alignment 32 bytes
#             Number of IO addresses required: 16
# (IO 0 (BASE 0x0220))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0300
#             Maximum IO base address 0x0330
#             IO base alignment 48 bytes
#             Number of IO addresses required: 2
# (IO 1 (BASE 0x0300))

#       Start dependent functions: priority acceptable
#       IRQ 5, 7, 9 or 10.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 0, 1 or 3.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 0))
#       Next DMA channel 5, 6 or 7.
#             16 bit DMA only
#             Logical device is not a bus master
#             DMA may not execute in count by byte mode
#             DMA may execute in count by word mode
#             DMA channel speed in compatible mode
# (DMA 1 (CHANNEL 5))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0280
#             IO base alignment 32 bytes
#             Number of IO addresses required: 16
# (IO 0 (BASE 0x0220))

#       Start dependent functions: priority acceptable
#       IRQ 5, 7, 9 or 10.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 0, 1 or 3.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 0))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0280
#             IO base alignment 32 bytes
#             Number of IO addresses required: 16
# (IO 0 (BASE 0x0220))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0300
#             Maximum IO base address 0x0330
#             IO base alignment 48 bytes
#             Number of IO addresses required: 2
# (IO 1 (BASE 0x0300))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0388
#             Maximum IO base address 0x0388
#             IO base alignment 1 bytes
#             Number of IO addresses required: 4
# (IO 2 (BASE 0x0388))

#       Start dependent functions: priority acceptable
#       IRQ 5, 7, 9 or 10.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 0, 1 or 3.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 0))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0280
#             IO base alignment 32 bytes
#             Number of IO addresses required: 16
# (IO 0 (BASE 0x0220))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0300
#             Maximum IO base address 0x0330
#             IO base alignment 48 bytes
#             Number of IO addresses required: 2
# (IO 1 (BASE 0x0300))

#       Start dependent functions: priority acceptable
#       IRQ 5, 7, 9 or 10.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 0, 1 or 3.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 0))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0280
#             IO base alignment 32 bytes
#             Number of IO addresses required: 16
# (IO 0 (BASE 0x0220))

#       Start dependent functions: priority functional
#       IRQ 5, 7, 9 or 10.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 0, 1 or 3.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 0))
#       Next DMA channel 5, 6 or 7.
#             16 bit DMA only
#             Logical device is not a bus master
#             DMA may not execute in count by byte mode
#             DMA may execute in count by word mode
#             DMA channel speed in compatible mode
# (DMA 1 (CHANNEL 5))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0280
#             IO base alignment 32 bytes
#             Number of IO addresses required: 16
# (IO 0 (BASE 0x0220))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0300
#             Maximum IO base address 0x0330
#             IO base alignment 16 bytes
#             Number of IO addresses required: 2
# (IO 1 (BASE 0x0300))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0388
#             Maximum IO base address 0x0394
#             IO base alignment 4 bytes
#             Number of IO addresses required: 4
# (IO 2 (BASE 0x0388))

#     End dependent functions
 (ACT Y)
))
#
# Logical device id CTL7002
#
# Edit the entries below to uncomment out the configuration
required.
# Note that only the first value of any range is given, this may be
changed if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE CTL00e4/336761309 (LD 1
#     Compatible device id PNPb02f
#     ANSI string -->Game<--

# Multiple choice time, choose one only !

#     Start dependent functions: priority preferred
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0200
#             Maximum IO base address 0x0200
#             IO base alignment 1 bytes
#             Number of IO addresses required: 8
# (IO 0 (BASE 0x0200))

#       Start dependent functions: priority acceptable
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0200
#             Maximum IO base address 0x0208
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
# (IO 0 (BASE 0x0200))

#     End dependent functions
# (ACT Y)
))
#
# Logical device id CTL0022
#
# Edit the entries below to uncomment out the configuration
required.
# Note that only the first value of any range is given, this may be
changed if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE CTL00e4/336761309 (LD 2
#     ANSI string -->WaveTable<--

# Multiple choice time, choose one only !

#     Start dependent functions: priority preferred
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0620
#             Maximum IO base address 0x0620
#             IO base alignment 1 bytes
#             Number of IO addresses required: 4
# (IO 0 (BASE 0x0620))

#       Start dependent functions: priority acceptable
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0620
#             Maximum IO base address 0x0680
#             IO base alignment 32 bytes
#             Number of IO addresses required: 4
# (IO 0 (BASE 0x0620))

#     End dependent functions
#     Vendor defined tag:  75 01 69 46 35 55
# (ACT Y)
))
# End tag... Checksum 0x00 (OK)

# Card 2: (serial identifier 91 c3 93 8b a2 70 30 72 56)
# USR3070 Serial No -1013740638 [checksum 91]
# Version 1.0, Vendor version 0.0
# ANSI string -->U.S. Robotics 56K Voice INT<--
#
# Logical device id USR3070
#
# Edit the entries below to uncomment out the configuration
required.
# Note that only the first value of any range is given, this may be
changed if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE USR3070/-1013740638 (LD 0

# Multiple choice time, choose one only !

#     Start dependent functions: priority preferred
#       Fixed IO base address 0x02f8
#             Number of IO addresses required: 8
# (IO 0 (BASE 0x02f8))
#       IRQ 3.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 3 (MODE +E)))

#       Start dependent functions: priority acceptable
#       Fixed IO base address 0x03f8
#             Number of IO addresses required: 8
# (IO 0 (BASE 0x03f8))
#       IRQ 4.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 4 (MODE +E)))

#       Start dependent functions: priority acceptable
#       Fixed IO base address 0x03e8
#             Number of IO addresses required: 8
# (IO 0 (BASE 0x03e8))
#       IRQ 3, 4, 5 or 7.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 3 (MODE +E)))

#       Start dependent functions: priority acceptable
#       Fixed IO base address 0x02e8
#             Number of IO addresses required: 8
# (IO 0 (BASE 0x02e8))
#       IRQ 3, 4, 5 or 7.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 3 (MODE +E)))

#     End dependent functions
# (ACT Y)
))
# End tag... Checksum 0x00 (OK)

# Returns all cards to the "Wait for Key" state
(WAITFORKEY)

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

From: seth <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.misc
Subject: Re: cdrecord 1.61, xcdroast 0.96e and Sony CRX100E CDRW problems
Date: 10 May 1999 17:32:36 GMT


Tim wrote:
> 
> [EMAIL PROTECTED] wrote in message
> <7ek93p$teu$[EMAIL PROTECTED]>...
> >Hi.  I just got a Sony CRX-100E, 4X/24X/2X CDRW ATAPI/EIDE drive and
> >I'm having problems getting it to work.
> >
> >I have xcdroast 0.96e (and hence cdrecord 1.61).
> >
> >Config:  RedHat 5.2, 2.0.36, 64M RAM, Sony CRX100E is secondary slave
> (hdd).
> >
> >xcdroast displays the drive and cdrecord -scanbus shows the drive, but
when
> I
> >go to write, it works for a couple of seconds and then ejects the CDR.
I've
> >included the log message that I'm getting.
> [details snipped]
>     Have you tried moving the drive to hdc? My Mitsumi cdr won't write
> reliably jumpered as a slave. It also gives comparable SCSI errors
(whether
> master or slave) if I open the draw of my other cdrom which is on the
same
> channel. I've had very little joy when trying to write cds using xcdroast
> (because I haven't taken the time to set it up properly), but using
cdrecord
> directly from the command line I've only minced one cd.
>     I'm using cdrecord 1.8.x with kernel 2.2.5 and having no problems
that
> aren't due to me doing silly things like starting kernel compiles whilst
> writing cds ;)
>     what does
>             cdrecord -v -dummy -speed=4 dev=[whatever] -audio [file]
>     give? Do dummy writes fail? Does altering speed= make a difference?
> 
> 
>                 Tim.
> 
> 
I am burning cd's with a sony cdu940 / adaptec 2940uw (xcdroast .96) data
cd's work fine, but I get the same error when attempting to burn an audio
cd.  I have also tried dummy writes, same problem.  I have not attempted a
speed difference yet.  Good idea though.

        tgow


==================  Posted via SearchLinux  ==================
                  http://www.searchlinux.com

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


** 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.hardware) 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-Hardware Digest
******************************

Reply via email to