[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ide-scsi kernel crashes



I fixed it, all I needed to do is to call 'hdparm -d0 /dev/hdd', this turned off the cd-r DMA.
Matt

Matt Fair wrote:

Yes I have ide-cd built into the kernel and ide-scsi a module installed. My lsmod:
Module Size Used by
sr_mod 13112 0 (autoclean)
sg 27716 0
ide-scsi 7424 0
scsi_mod 88920 3 [sr_mod sg ide-scsi]
parport_pc 11976 0 (unused)
parport 15008 0 [parport_pc]

My computer reconizes my two cd drives as scsi drives but my first drive (hdc -> scd0) only works When I try to access my second drive(hdd ->scd1) my kernel crashes.
My log output is:
kernel: Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
kernel: Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
kernel: sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
kernel: Uniform CD-ROM driver Revision: 3.12
kernel: sr1: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
kernel: VFS: Disk change detected on device sr(11,1)
kernel: scsi : aborting command due to timeout : pid 17, scsi0, channel 0, id 1, lun 0 Read (10) 00 00 00 00 10 00 00 01 00
kernel: hdd: timeout waiting for DMA
kernel: ide_dmaproc: chipset supported ide_dma_timeout func only: 14
kernel: hdd: status error: status=0x58 { DriveReady SeekComplete DataRequest }
kernel: hdd: drive not ready for command
kernel: hdd: status timeout: status=0xd0 { Busy }
kernel: ide-scsi: Strange, packet command initiated yet DRQ isn't asserted
kernel: hdd: ATAPI reset complete
kernel: hdd: irq timeout: status=0x80 { Busy }

I have had this working before, but I just recently cleared off my machine and now I don't remember what I did. When I do a cdrecord -scanbus I get :
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 J?rg Schilling
Linux sg driver version: 3.1.2.


Using libscg version 'schily-0.5'
scsibus0:
cdrecord: Warning: controller returns wrong size for CD capabilities page.
0,0,0 0) 'Lite-On ' 'LTN486 48x Max ' 'YD01' Removable CD-ROM
0,1,0 1) 'HP ' 'CD-Writer+ 8100 ' '1.0g' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
I can access by first drive (hdc -> scd0) but when I try accessing my second drive (hdd -> scd1) everything freezes up and my kernel crashes.
By boot up goes like this:
..
kernel: ide_setup: hdc=ide-scsi
kernel: ide_setup: hdd=ide-scsi
...
hdc: Lite-On LTN486 48x Max, ATAPI CD/DVD-ROM drive
hdd: Hewlett-Packard CD-Writer Plus 8100, ATAPI CD/DVD-ROM drive
...
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: Lite-On Model: LTN486 48x Max Rev: YD01
Type: CD-ROM ANSI SCSI revision: 02
Vendor: HP Model: CD-Writer+ 8100 Rev: 1.0g
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
sr1: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
...
If anyone has any ideas this I would greatly apreciate your help.
Thanks in advance,
Matt

Marc Wilson wrote:

Do you have both ide-cd and ide-scsi built into the kernel?

On Mon, Nov 05, 2001 at 04:42:01PM -0600, Matt Fair wrote:

I have an ide cdwriter that I want to use. I had this working under woody but downgraded to 2.2r4 Potato (just installed it via network yesterday). I had ide-scsii a module but I rebuilt it as part of the kernel. I have modules sg and sr_mod installed.
In my /etc/fstab I have:
/dev/scd0       /cdrom  iso9660  user,noexec,nodev,nosuid,ro,noauto 0 0
/dev/scd1       /hpcd   iso9660  user,noexec,nodev,nosuid,rw,noauto 0 0
They both get the same error when I do mount /cdrom or mount /hpcd.
What is wrong here, I know they work because I have gotten it to work when I had woody installed.
Any sugestions?
Thanks,
Matt


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listm

aster@lists.debian.org












Reply to: