linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Phil Kaslo <phil@cs.arizona.edu>
To: linux-kernel@vger.kernel.org
Cc: linux-ide@vger.kernel.org
Subject: Asus P5B-VM motherboard:  cd drive malfunctions if internal nic in use.
Date: Mon, 12 Mar 2007 15:12:36 -0700	[thread overview]
Message-ID: <200703122212.l2CMCaxm032601@osprey.cs.arizona.edu> (raw)


Hello,

I have a new machine, Asus motherboard, in which the cd drive malfunctions 
if the internal nic on the mb (RealTek RTL8168b/8111b) is actively in use.   
The cd drive, on ide2, is, as per dmesg, a Sony:
 ide2: BM-DMA at 0xa400-0xa407, BIOS settings: hde:pio, hdf:pio
 hde: SONY DVD RW AW-Q170A, ATAPI CD/DVD-ROM drive
 hde: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(66)

I've seen this on 3 of these new machines so far.  One has a LITE-ON cdrom: 
 hde: LITE-ON DVDRW LH-20A1H, ATAPI CD/DVD-ROM drive
so this is not unique to the Sony.

Motherboard:  Asus P5B-VM  G965 775  BIOS Revision : 613
CPU: Intel Core 2 CPU 6300 1.86GHz

Fedora Core 6, x86_64, Linux version 2.6.19-1.2911.6.4.fc6.
Also, with Linux kernel version 2.6.20.1, from source.
With nic kernel module r1000.ko, version 1.05, from RealTek.
Also with kernel module r8169.ko, from kernel version 2.6.20.1.

>From /proc/interrupts:  ide2/hde/cdrom and eth0 are both on irq 17:
 17:      10602      44763   IO-APIC-fasteoi   ide2, uhci_hcd:usb2, eth0

When i first brought the system up, i got continual messages saying the 
cdrom seemed confused.  Turning off haldaemon quieted those.

Reproduce by bringing up a Fedora 6 or kernel version 2.6.20.1 system 
as above, using the internal nic. Start up an scp of 1 gb file from another 
machine to this machine.  In another window, attempt to mount a data cd, 
or play a music cd.  See it not work, and see error output from dmesg.  
Sample output:

 hde: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to 
 recover by ending request.
 hde: status error: status=0x58 { DriveReady SeekComplete DataRequest }
 ide: failed opcode was: unknown
 hde: drive not ready for command
 ...
 hde: status timeout: status=0xd8 { Busy }
 hde: DMA disabled
 hde: drive not ready for command
 hde: ATAPI reset complete
 end_request: I/O error, dev hde, sector 64
 isofs_fill_super: bread failed, dev=hde, iso_blknum=16, block=16

Workaround - disable the internal nic in the bios.  Use a pci nic card, 
such as an Intel Pro 1000 (kernel module e1000).  Try the above test, and 
see the cd drive work.  Get no error output from dmesg.

>From /proc/interrupts with pci nic: eth1, e1000, is on irq 16 and ide2 is on 17:
 16:      11907    2833837   IO-APIC-fasteoi   uhci_hcd:usb1, eth1, nvidia
 17:         48      84696   IO-APIC-fasteoi   ide2, uhci_hcd:usb2

I do not know if this is a bios problem on this motherboard,
a problem in the r1000 and r8169 drivers for the Realtek nic,
or a problem in the ide drivers that drive the cdrom.

Thanks for any help or clues.

Phil Kaslo
Dept. of Computer Science  520-621/2760
University of Arizona      phil@cs.arizona.edu
Tucson, Ariz. 85721

             reply	other threads:[~2007-03-12 22:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-12 22:12 Phil Kaslo [this message]
2007-03-12 22:35 ` Asus P5B-VM motherboard: cd drive malfunctions if internal nic in use Mark Lord
2007-03-13  0:04   ` Alan Cox
2007-03-13 15:32   ` Lennart Sorensen
2007-03-13 16:23     ` Mark Lord
2007-03-13 18:54       ` Lennart Sorensen
2007-03-12 23:48 Phil Kaslo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200703122212.l2CMCaxm032601@osprey.cs.arizona.edu \
    --to=phil@cs.arizona.edu \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).