2002-12-06 20:16:34

by Tobias Rittweiler

[permalink] [raw]
Subject: [2.5.50] IDE error messages appearing after upgrade

Hello List,

Upgrading from 2.4.19 to 2.5.50 results in getting IDE error log-messages on startup:

Dec 6 21:00:23 brood kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
Dec 6 21:00:23 brood kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Dec 6 21:00:23 brood kernel: hda: JTS CORPORATION CHAMPION MODEL C2100-2A, ATA DISK drive
Dec 6 21:00:23 brood kernel: hdb: ST31720A, ATA DISK drive
Dec 6 21:00:23 brood kernel: hdc: ATAPI 12X DVDROM, ATAPI CD/DVD-ROM drive
Dec 6 21:00:23 brood kernel: hdd: CRD-8240B, ATAPI CD/DVD-ROM drive
Dec 6 21:00:23 brood kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Dec 6 21:00:23 brood kernel: ide1 at 0x170-0x177,0x376 on irq 15
Dec 6 21:00:23 brood kernel: hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
Dec 6 21:00:23 brood kernel: hda: task_no_data_intr: error=0x04 { DriveStatusError }
Dec 6 21:00:23 brood kernel: hda: 4128768 sectors (2114 MB) w/256KiB Cache, CHS=1024/64/63
Dec 6 21:00:23 brood kernel: /dev/ide/host0/bus0/target0/lun0: p1 p2
Dec 6 21:00:23 brood kernel: hdb: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
Dec 6 21:00:23 brood kernel: hdb: task_no_data_intr: error=0x04 { DriveStatusError }
Dec 6 21:00:23 brood kernel: hdb: 3329424 sectors (1705 MB), CHS=825/64/63
Dec 6 21:00:23 brood /usr/sbin/cron[111]: (CRON) INFO (Running @reboot jobs)
Dec 6 21:00:23 brood kernel: /dev/ide/host0/bus0/target1/lun0: p1 p2 p3 p4
Dec 6 21:00:23 brood /usr/sbin/gpm[119]: info: [/rock-linux/src/gpm-1.20.0/src/gpn.c(363)]:
Dec 6 21:00:24 brood /usr/sbin/gpm[119]: Started gpm successfully. Entered daemon mode.
Dec 6 21:00:24 brood kernel: end_request: I/O error, dev hdc, sector 0
Dec 6 21:00:24 brood kernel: hdc: ATAPI 40X DVD-ROM drive, 512kB Cache
Dec 6 21:00:24 brood kernel: Uniform CD-ROM driver Revision: 3.12
Dec 6 21:00:24 brood kernel: end_request: I/O error, dev hdc, sector 0
Dec 6 21:00:24 brood kernel: end_request: I/O error, dev hdd, sector 0
Dec 6 21:00:24 brood kernel: end_request: I/O error, dev hdd, sector 0
Dec 6 21:00:24 brood kernel: hdd: ATAPI 24X CD-ROM drive, 128kB Cache

/proc/ide/hda/model: JTS CORPORATION CHAMPION MODEL C2100-2A
/proc/ide/hdb/model: ST31720A
/proc/ide/hdc/model: ATAPI 12x DVDROM
/proc/ide/hdd/model: CRD-8240B

Please come up with instructions what information (out of /proc/ide)
you need additionally.

--
cheers,
Tobias


2002-12-06 20:50:39

by John Bradford

[permalink] [raw]
Subject: Re: [2.5.50] IDE error messages appearing after upgrade

> Upgrading from 2.4.19 to 2.5.50 results in getting IDE error
> log-messages on startup:
>
> Dec 6 21:00:23 brood kernel: hda: task_no_data_intr: status=0x51 {
> DriveReady SeekComplete Error }
> Dec 6 21:00:23 brood kernel: hda: task_no_data_intr: error=0x04 {
> DriveStatusError }
> Dec 6 21:00:23 brood kernel: hda: 4128768 sectors (2114 MB)
> w/256KiB Cache, CHS=1024/64/63
> Dec 6 21:00:23 brood kernel: /dev/ide/host0/bus0/target0/lun0: p1 p2
> Dec 6 21:00:23 brood kernel: hdb: task_no_data_intr: status=0x51 {
> DriveReady SeekComplete Error }
> Dec 6 21:00:23 brood kernel: hdb: task_no_data_intr: error=0x04 {
> DriveStatusError }

Ignore these 'errors', they are really warnings - your drive doesn't
recognise some commands being sent to it.

2.4.20 will also show these messages.

> Dec 6 21:00:24 brood kernel: end_request: I/O error, dev hdc, sector 0
> Dec 6 21:00:24 brood kernel: hdc: ATAPI 40X DVD-ROM drive, 512kB Cache
> Dec 6 21:00:24 brood kernel: Uniform CD-ROM driver Revision: 3.12
> Dec 6 21:00:24 brood kernel: end_request: I/O error, dev hdc, sector 0
> Dec 6 21:00:24 brood kernel: end_request: I/O error, dev hdd, sector 0
> Dec 6 21:00:24 brood kernel: end_request: I/O error, dev hdd, sector 0

Not sure about these, though. I suspect that commands that only
relate to disk devices are being sent to your CD-ROM drives, but
somebody else will probably confirm/deny that.

John.

2002-12-06 22:34:54

by Alan

[permalink] [raw]
Subject: Re: [2.5.50] IDE error messages appearing after upgrade

On Fri, 2002-12-06 at 20:22, Tobias Rittweiler wrote:
> Dec 6 21:00:23 brood kernel: ide1 at 0x170-0x177,0x376 on irq 15
> Dec 6 21:00:23 brood kernel: hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
> Dec 6 21:00:23 brood kernel: hda: task_no_data_intr: error=0x04 { DriveStatusError }

These are ok - its trying to set options the drive doesnt support and we
dont yet do that quietly.


2002-12-06 22:43:01

by Andrew Morton

[permalink] [raw]
Subject: Re: [2.5.50] IDE error messages appearing after upgrade

John Bradford wrote:
>
> ...
> > Dec 6 21:00:24 brood kernel: end_request: I/O error, dev hdc, sector 0
> > Dec 6 21:00:24 brood kernel: hdc: ATAPI 40X DVD-ROM drive, 512kB Cache
> > Dec 6 21:00:24 brood kernel: Uniform CD-ROM driver Revision: 3.12
> > Dec 6 21:00:24 brood kernel: end_request: I/O error, dev hdc, sector 0
> > Dec 6 21:00:24 brood kernel: end_request: I/O error, dev hdd, sector 0
> > Dec 6 21:00:24 brood kernel: end_request: I/O error, dev hdd, sector 0
>
> Not sure about these, though. I suspect that commands that only
> relate to disk devices are being sent to your CD-ROM drives, but
> somebody else will probably confirm/deny that.

It is a new message which was added. They come out when anyone
tries to read from a CDROM drive which is empty.

Recent KDE setups have some gizmo which polls the CDROM once
per second for insertions. With recent 2.5 kernels, this
results in the above message being sent to logs a couple of
hundred times a minute.

The new printk needs to be removed - I have raised this with
Jens and he agreed.