What is the status of ide-scsi these days ? (Can't shutdown)

Kim Lux lux at diesel-research.com
Fri Nov 12 23:16:50 UTC 2004


Here is your info, Peter.  I shortened it because it got rejected by the
server the first time.

On Fri, 2004-11-12 at 14:30 -0700, Kim Lux wrote:
> On Fri, 2004-11-12 at 14:21 -0500, Peter Jones wrote:
> > On Fri, 2004-11-12 at 07:48 -0700, Kim Lux wrote:
> > > My CDROM isn't broken.  It worked perfect under FCs and it still works
> > > perfect under Windows.  There is a bug in FC3 final.  There is nothing
> > > wrong with my cdrom drive. 
> > 
> > That is yet to be determined.  Could you answer the questions I asked?
> > -- 
> >         Peter
> 
> 
> >Well, it'd be cdparanoia and/or kernel.  What kind of drive did you say
> >this was? 
> 
> It is the 4x DVD+rw CDRW that comes with an HPzd7000 laptop.
> 
> >From syslogs:
> 
> Nov 11 19:50:12 localhost kernel:  hda: hda1 hda2 hda3 hda4 < hda5 >
> Nov 11 19:50:12 localhost kernel: hdc: ATAPI 24X DVD-ROM CD-R/RW drive,
> 2048kB Cache, DMA
> Nov 11 19:50:12 localhost kernel: Uniform CD-ROM driver Revision: 3.20
> 
> 
> >From kernel logs:
> ide0: BM-DMA at 0x2040-0x2047, BIOS settings: hda:DMA, hdb:pio
>     ide1: BM-DMA at 0x2048-0x204f, BIOS settings: hdc:DMA, hdd:pio
> Probing IDE interface ide0...
> hda: HTS548080M9AT00, ATA DISK drive
> Using cfq io scheduler
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> Probing IDE interface ide1...
> hdc: HL-DT-ST DVD+RW GCA-4040N, ATAPI CD/DVD-ROM drive
> ide1 at 0x170-0x177,0x376 on irq 15
> Probing IDE interface ide2...
> ide2: Wait for ready failed before probe !
> Probing IDE interface ide3...
> ide3: Wait for ready failed before probe !
> Probing IDE interface ide4...
> ide4: Wait for ready failed before probe !
> Probing IDE interface ide5...
> ide5: Wait for ready failed before probe !
> hda: max request size: 1024KiB
> hda: 156301488 sectors (80026 MB) w/7877KiB Cache, CHS=16383/255/63,
> UDMA(100)
> hda: cache flushes supported
>  hda: hda1 hda2 hda3 hda4 < hda5 >
> hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, DMA
> Uniform CD-ROM driver Revision: 3.20
> 
> 
> And which kernel and cdparanoia versions?
> 
> $ uname -a
> Linux localhost.localdomain 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004
> i686 i686 i386 GNU/Linux
> 
> $ rpm -q cdparanoia
> cdparanoia-alpha9.8-24
> 
> > Just to be sure I'm correct above, open a shell and do this:
> > mkdir scratch
> > cd scratch
> > cdparanoia -B
> > That should rip the CD.  If it's something in either the grip code to
> > get the table of contents and discid info, or something along those
> > lines, it could be grip's fault.  If it happens with this, that's not
> > the necessarily the case.
> 
> 
> First of all, I had to reboot to get the CDROM to open.  After reboot, I
> proceeded as follows.  Note that I am NOT using ide-scsi.
> 
> 
> $ cdparanoia -vB 9-
> cdparanoia III release 9.8 (March 23, 2001)
> (C) 2001 Monty <monty at xiph.org> and Xiphophorus
> 
> Report bugs to paranoia at xiph.org
> http://www.xiph.org/paranoia/
> 
> Checking /dev/cdrom for cdrom...
>         DMA scatter/gather table entries: 1
>         table entry size: 131072 bytes
>         maximum theoretical transfer: 55 sectors
>         Setting default read size to 24 sectors (56448 bytes).
> 
> 
> CDROM model sensed sensed: HL-DT-ST DVD+RW GCA-4040N 1.17
> 
> 
> Checking for SCSI emulation...
>         Drive is ATAPI (using SCSI host adaptor emulation)
> 
> Checking for MMC style command set...
>         Drive is MMC style
> Verifying CDDA command set...
>         Expected command set reads OK.
> 
> Table of contents (audio tracks only):
> track        length               begin        copy pre ch
> ===========================================================
>   1.    14715 [03:16.15]        0 [00:00.00]    no   no  2
>   2.    18225 [04:03.00]    14715 [03:16.15]    no   no  2
>   3.    11472 [02:32.72]    32940 [07:19.15]    no   no  2
>   4.    24265 [05:23.40]    44412 [09:52.12]    no   no  2
>   5.    11640 [02:35.15]    68677 [15:15.52]    no   no  2
>   6.    15755 [03:30.05]    80317 [17:50.67]    no   no  2
>   7.    15493 [03:26.43]    96072 [21:20.72]    no   no  2
>   8.    14462 [03:12.62]   111565 [24:47.40]    no   no  2
>   9.    11663 [02:35.38]   126027 [28:00.27]    no   no  2
>  10.    14002 [03:06.52]   137690 [30:35.65]    no   no  2
>  11.    13533 [03:00.33]   151692 [33:42.42]    no   no  2
>  12.    11040 [02:27.15]   165225 [36:43.00]    no   no  2
> TOTAL  176265 [39:10.15]    (audio only)
> 
> Ripping from sector  126027 (track  9 [0:00.00])
>           to sector  176264 (track 12 [2:27.14])
> 
> outputting to track09.cdda.wav
> 
>  (== PROGRESS == [           >                  O| 130538 00 ] == :-P O
> ==)
> 
> I killed it with a ctrl C here because my computer was hanging.
> 
> Meanwhile, in the sys log, I am getting the following:
> 
> Nov 12 14:05:18 localhost kernel: hdc: DMA timeout retry
> Nov 12 14:05:18 localhost kernel: hdc: timeout waiting for DMA
> Nov 12 14:05:23 localhost kernel: hdc: irq timeout: status=0xd0 { Busy }
> Nov 12 14:05:23 localhost kernel: hdc: irq timeout:
> error=0xd0LastFailedSense 0x0d 
> Nov 12 14:05:23 localhost kernel: hdc: ATAPI reset complete
> Nov 12 14:05:31 localhost kernel: hdc: DMA timeout retry
> Nov 12 14:05:31 localhost kernel: hdc: timeout waiting for DMA
> Nov 12 14:05:36 localhost kernel: hdc: irq timeout: status=0xd0 { Busy }
> Nov 12 14:05:36 localhost kernel: hdc: irq timeout:
> error=0xd0LastFailedSense 0x0d 
> Nov 12 14:05:36 localhost kernel: hdc: ATAPI reset complete
> Nov 12 14:05:43 localhost kernel: hdc: DMA timeout retry
> Nov 12 14:05:43 localhost kernel: hdc: timeout waiting for DMA
> Nov 12 14:05:48 localhost kernel: hdc: irq timeout: status=0xd0 { Busy }
> Nov 12 14:05:48 localhost kernel: hdc: irq timeout:
> error=0xd0LastFailedSense 0x0d 

<snip about 100 of these messages out>


> I was, however, able to eject:
> 
> eject -v /dev/hdc
> eject: device name is `/dev/hdc'
> eject: expanded name is `/dev/hdc'
> eject: `/dev/hdc' is not mounted
> eject: `/dev/hdc' is not a mount point
> eject: `/dev/hdc' is a multipartition device
> eject: trying to eject `/dev/hdc' using CD-ROM eject command
> eject: CD-ROM eject command succeeded
> 
> If I re insert the CDROM and right double click the CDROM icon on the
> desktop, I get the following in and error message window:
> 
> Error - kio_devices_mounthelper.
> 
> /dev/hdc: Input/output error
> mount: /dev/hdc already mounted or /media/cdrecorder busy
> Please check that the disk is entered correctly.
> 
> Eject still works properly after that. 
> 
> 
> Here is what syslog says:
> 
> 
> Nov 12 14:22:37 localhost kernel: hdc: command error: status=0x51
> { DriveReady SeekComplete Error }
> Nov 12 14:22:37 localhost kernel: hdc: command error: error=0x50
> Nov 12 14:22:37 localhost kernel: ide: failed opcode was 100
> Nov 12 14:22:37 localhost kernel: end_request: I/O error, dev hdc,
> sector 0
> Nov 12 14:22:37 localhost kernel: Buffer I/O error on device hdc,
> logical block 0
> Nov 12 14:22:37 localhost kernel: hdc: command error: status=0x51
> { DriveReady SeekComplete Error }
> Nov 12 14:22:37 localhost kernel: hdc: command error: error=0x50
> Nov 12 14:22:37 localhost kernel: ide: failed opcode was 100
> Nov 12 14:22:37 localhost kernel: end_request: I/O error, dev hdc,
> sector 4

<snipped about 100 of these out>

> sector 68
> Nov 12 14:24:22 localhost kernel: Buffer I/O error on device hdc,
> logical block 17
> Nov 12 14:24:22 localhost kernel: hdc: command error: status=0x51
> { DriveReady SeekComplete Error }
> Nov 12 14:24:22 localhost kernel: hdc: command error: error=0x50
> Nov 12 14:24:22 localhost kernel: ide: failed opcode was 100
> Nov 12 14:24:22 localhost kernel: end_request: I/O error, dev hdc,
> sector 0
> 
> 
> top - 14:29:28 up 18:40,  4 users,  load average: 0.03, 0.10, 0.18
> Tasks: 104 total,   1 running, 103 sleeping,   0 stopped,   0 zombie
> Cpu(s):  2.0% us,  0.3% sy,  0.0% ni, 97.3% id,  0.3% wa,  0.0% hi,
> 0.0% si
> Mem:   1034664k total,  1019128k used,    15536k free,   215208k buffers
> Swap:  1020116k total,        0k used,  1020116k free,   437024k cached
> 
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>  3326 root      15   0  184m  35m 150m S  1.7  3.6  25:17.98 X
>  9894 krlux     15   0 31152  15m  26m S  0.3  1.5   0:00.44 kdeinit
>  9914 krlux     17   0  3128  960 1664 R  0.3  0.1   0:00.03 top
>     1 root      16   0  3572  564 1408 S  0.0  0.1   0:00.71 init
>     2 root      34  19     0    0    0 S  0.0  0.0   0:00.04 ksoftirqd/0
>     3 root       5 -10     0    0    0 S  0.0  0.0   0:20.43 events/0
>     4 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 khelper
>     5 root       5 -10     0    0    0 S  0.0  0.0   0:02.21 kacpid
>    27 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 kblockd/0
>    37 root      20   0     0    0    0 S  0.0  0.0   0:00.00 pdflush
>    38 root      15   0     0    0    0 S  0.0  0.0   0:00.15 pdflush
>    40 root      14 -10     0    0    0 S  0.0  0.0   0:00.00 aio/0
>    28 root      15   0     0    0    0 S  0.0  0.0   0:00.17 khubd
>    39 root      15   0     0    0    0 S  0.0  0.0   0:00.49 kswapd0
>   113 root      25   0     0    0    0 S  0.0  0.0   0:00.00 kseriod
>   190 root      15   0     0    0    0 S  0.0  0.0   0:00.60 kjournald
>  1063 root       6 -10  3196  512 1340 S  0.0  0.0   0:00.10 udevd
> 
> ps -aux
> 
> krlux     7334  0.0  0.7 65352 7880 ?        Sl   07:41
> 0:01 /usr/libexec/evol
> krlux     7336  0.0  0.4  8720 4408 ?        S    07:41
> 0:00 /usr/libexec/gcon
> krlux     7341  0.0  0.2  7632 2648 ?        Ss   07:41
> 0:00 /usr/libexec/bono
> krlux     7342  0.0  1.4 29632 14964 ?       S    07:41   0:00 kdeinit:
> kmix -se
> krlux     7344  0.0  0.7 28820 7548 ?        S    07:41   0:00 kalarmd
> --login
> krlux     7347  0.0  0.5 78752 5412 ?        Sl   07:41
> 0:00 /usr/libexec/evol
> krlux     7841  0.0  1.4 29888 14788 ?       S    08:22   0:00 kdeinit:
> kio_uise
> krlux     9507  0.1  2.8 43956 29256 ?       S    12:42   0:07 kdeinit:
> konquero
> krlux     9609  0.4  4.6 150408 48624 ?      Sl   13:03   0:23 evolution
> krlux     9678  0.0  2.9 46044 30576 ?       S    13:17   0:02 kdeinit:
> konquero
> krlux     9680  0.0  1.0 27736 10704 ?       S    13:17   0:00 kdeinit:
> kio_file
> root      9742  0.0  0.2  6856 2088 ?        S    13:53
> 0:00 /usr/libexec/gcon
> krlux     9771  0.0  1.5 31552 16104 ?       S    13:59   0:00 kdeinit:
> konsole
> krlux     9772  0.0  0.1  4952 1448 pts/2    Ss+  13:59   0:00 /bin/bash
> krlux     9826  0.0  0.6 14484 7052 ?        S    14:05
> 0:00 /usr/bin/system-l
> root      9827  0.0  0.1  6024 1304 ?        S    14:05
> 0:00 /usr/sbin/userhel
> root      9830  3.4  5.7 65888 59648 ?       S    14:05   0:50
> python /usr/share
> krlux     9843  0.1  2.1 38604 22296 ?       S    14:22   0:00 kdeinit:
> konquero
> krlux     9889  0.0  0.6 14932 7040 ?        S    14:24
> 0:00 /usr/bin/system-l
> root      9890  0.0  0.1  5272 1308 ?        S    14:24
> 0:00 /usr/sbin/userhel
> root      9893  3.5  2.2 28356 23028 ?       S    14:25   0:11
> python /usr/share
> krlux     9894  0.8  1.5 31152 15640 ?       S    14:29   0:00 kdeinit:
> konsole
> krlux     9895  0.0  0.1  4716 1448 pts/3    Ss   14:29   0:00 /bin/bash
> krlux     9915  0.0  0.0  4304  780 pts/3    R+   14:30   0:00 ps -aux
> 
> 
> Let me know if you want more. 
> 
> -- 



-- 
Kim Lux (Mr.)  Diesel Research Inc




More information about the fedora-test-list mailing list