Bug 113748

Summary: Lots of debug messages from SATA DVD Burner
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Andreas Jaeger <aj>
Component: KernelAssignee: Jens Axboe <axboe>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: hare
Version: Beta 3   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Jaeger 2005-08-29 07:26:44 UTC
garbarek fills the syslog with:
Aug 29 09:24:58 linux kernel: ATA: abnormal status 0x58 on port 0xE407
Aug 29 09:24:58 linux kernel: ATA: abnormal status 0x58 on port 0xE407
Aug 29 09:24:58 linux kernel: ATA: abnormal status 0x58 on port 0xE407
Aug 29 09:24:58 linux kernel: ATA: abnormal status 0x58 on port 0xE407
Aug 29 09:24:58 linux kernel: ATA: abnormal status 0x58 on port 0xE407
Aug 29 09:24:58 linux kernel: ATA: abnormal status 0x58 on port 0xE407
Aug 29 09:24:58 linux kernel: ATA: abnormal status 0x58 on port 0xE407
Aug 29 09:24:58 linux kernel: ATA: abnormal status 0x58 on port 0xE407
Aug 29 09:24:58 linux kernel: ATA: abnormal status 0x58 on port 0xE407
Aug 29 09:24:58 linux kernel: ATA: abnormal status 0x58 on port 0xE407

this is with:
Linux garbarek 2.6.13-rc7-4-smp #1 SMP Wed Aug 24 22:00:05 UTC 2005 x86_64
x86_64 x86_64 GNU/Linux

The machine has a SATA DVD Burner
Comment 1 Jens Axboe 2005-08-29 07:46:41 UTC
What are you doing with the drive? SATA ATAPI still isn't 100% complete, as you
know.
Comment 2 Andreas Jaeger 2005-08-29 08:11:44 UTC
I'm not doing anything at all with it :-(.

Btw. with the current kotd I get a kernel oops in ATA, I'll give the machine
to Andreas G for looking into it.
Comment 3 Jens Axboe 2005-08-29 08:16:40 UTC
Are you sure? Perhaps things like hald is polling the device. Can you shut it
down, perhaps check with lsof if anyone has the device open.
Comment 4 Andreas Jaeger 2005-08-31 10:43:34 UTC
Andreas G. has the machine now.  Do you still need something from him?
Comment 5 Jens Axboe 2005-08-31 10:50:49 UTC
I still need a response to my last question, comment #3.
Comment 6 Andreas Gruenbacher 2005-08-31 11:05:33 UTC
Shutting down hal did stop the messages. They continue when I do something 
like ``mount /dev/sr0 /mnt'' though (and mount then takes ages until it 
aborts).  
Comment 7 Jens Axboe 2005-08-31 11:10:49 UTC
Hmm perhaps that ATAPI drive still does the irq completion on receiving the cdb.
I'll see if I can buy a SATA ATAPI drive locally for testing purposes, I
probably cannot do much without the hardware at hand.
Comment 8 Jens Axboe 2005-08-31 11:15:41 UTC
I have found one that can be here by tomorrow morning, I just need approval to
buy it now...
Comment 9 Andreas Gruenbacher 2005-08-31 14:00:46 UTC
Happy hacking with the new drive! 
Comment 10 Jens Axboe 2005-09-01 10:28:33 UTC
The drive hasn't shown up yet, they screwed up the shipment. After yelling on
the phone, someone will personally deliver it to me within an hour. So I hope it
works out...
Comment 11 Jens Axboe 2005-09-01 12:15:37 UTC
Drive just showed up, it refuses to work on a promise and via controller though.
Great. I will try a piix/ahci controller next.
Comment 12 Jens Axboe 2005-09-06 09:58:42 UTC
I've committed a lot of atapi pio libata fixes now, it should definitely improve
things over what we have. Hannes will test on garbarek.
Comment 13 Jens Axboe 2005-09-06 13:01:25 UTC
Looking at garbarek now, it seems to work as expected. No debug messages and
mounting (and reading) the CD in the drive works as well. aj/hannes, can you
confirm?
Comment 14 Jens Axboe 2005-09-06 13:07:11 UTC
Hannes/aj has confirmed it works.
Comment 15 Andreas Jaeger 2005-09-06 13:42:23 UTC
garbarek contains a custom build kernel.  The fixes need to be reviewed and 
submitted to our kernel!  Please remember to do so.
Comment 16 Jens Axboe 2005-09-06 14:03:06 UTC
Andreas, the patches in question are already committed to HEAD. They are in
mainline 2.6.13-git as well.