This is a long standing problem in 2.2.xx. I have HP CD-Writer Plus 7500 IDE
configured as slave on ide0. /dev/hda3 is my root FS.
I am using append="hdb=ide-scsi" in lilo.conf
Then I do "modprobe ide-scsi". I get:
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 2 hosts.
Vendor: HP Model: CD-Writer+ 7500 Rev: 1.0a
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr1 at scsi1, channel 0, id 0, lun 0
scsi1 : channel 0 target 0 lun 1 request sense failed, performing reset.
SCSI bus is being reset for host 1 channel 0.
sr1: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
The problem: when burning CDs using
cdrecord -speed=2 -dev=1,0,0 -v -data my.img
any disk access during "fixating" locks the access to the hda disk. Ps shows
processes accumulating in D state, waiting on:
c0206954 T __down_failed
20695c bash, and others - most common
c0206960 T __down_failed_interruptible
c0128b2c T __wait_on_buffer
128c00 sendmail, and others
c0128c60 t sync_buffers
c019e8ac t __get_request_wait
19ea3d kupdate
c019eaac T is_read_only
c011f120 T __wait_on_page
11f1ec getty
c011f244 t do_generic_file_read
This gets cleaned after fixating is done, but fixating usually takes a few
minutes.
Also "cdrecord -speed=2 -dev=1,0,0 -blank=all" hags hda access - system runs
only because lots of things are loaded from memory cache. Killing cdrecord
with kill -9 does not help. cderecord gets killed, but disk access is stille
blocked (CD writer still is blanking CD), lsmod shows that ide-scsi is not
used.
The writing phase of burn process does not cause complete lock, but the
system runs much slower.
I have also
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.28/3.2.4
<Adaptec AIC-7880 Ultra SCSI host adapter>
controller with one CD and 2 disks but I am not using them much.
This is a dual P200 GA-586DX m-board 128 MB RAM.
PIIX3: IDE controller on PCI bus 00 dev 39
PIIX3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
hda: Maxtor 90845D4, ATA DISK drive
hdb: Hewlett-Packard CD-Writer Plus 7500, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: Maxtor 90845D4, 8063MB
I would be happy to test any patches. This is 100% reproducible.
-- Tomasz Motylewski- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:28 EST