Bug 144861 - cdrdao causes SCSI bus reset
Summary: cdrdao causes SCSI bus reset
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Other (show other bugs)
Version: Beta 1
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Vladimir Nadvornik
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-23 17:01 UTC by Ludwig Nussel
Modified: 2006-01-31 08:56 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
hwinfo --scsi (1.43 KB, text/plain)
2006-01-23 17:04 UTC, Ludwig Nussel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ludwig Nussel 2006-01-23 17:01:58 UTC
every time I run cdrdao scanbus it hangs for a while and I get this in /var/log/messages:

Jan 23 17:43:28 g241 klogd: (scsi0:A:6:0): No or incomplete CDB sent to device.
Jan 23 17:43:28 g241 klogd: scsi0: Issued Channel A Bus Reset. 1 SCBs aborted

As root it prints

# cdrdao scanbus
Cdrdao version 1.2.0 - (C) Andreas Mueller <andreas@daneb.de>
  SCSI interface library - (C) Joerg Schilling
  Paranoia DAE library - (C) Monty

Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.

Using libscg version 'schily-0.8'

0,6,0 : PIONEER , DVD-ROM DVD-303 , 1.10
#

As user it doesn't. The reset message happens as user also. I suppose cdrdao does something nasty to the device.
Comment 1 Ludwig Nussel 2006-01-23 17:04:47 UTC
Created attachment 64570 [details]
hwinfo --scsi
Comment 2 Ludwig Nussel 2006-01-23 17:05:19 UTC
Linux g241 2.6.15-git12-6-default #1 Tue Jan 17 14:22:14 UTC 2006 i686 i686 i386 GNU/Linux
Comment 3 Vladimir Nadvornik 2006-01-25 15:04:31 UTC
The message is specific to the aic7xxx driver.

Does it happen with cdrecord -scanbus ? The scanbus code in cdrecord is quite similar.
Can you please attach output  of cdrecord -scanbus -V ?
Or better, can I get access to this machine?
Comment 4 Ludwig Nussel 2006-01-25 15:13:37 UTC
it's g241, no NIS, std root pw. hald polling also causes problems (#145147), therefore it's not running atm. The machine is not running all the time because it's quite loud, please tell me if you're done so I can switch it off again :-)
Comment 5 Vladimir Nadvornik 2006-01-25 16:39:26 UTC
I could not reproduce the messages, they were probably caused by hald too.

The hang is caused by ATA devices detection. If it finds none, it falls back
to obsolete interface which causes the delay. It could be eventually disabled.

As user, resmgr does not report the scsi device, so it is not scanned. ATA devices
are scanned anyway.
Comment 6 Ludwig Nussel 2006-01-25 16:43:59 UTC
Ok, thanks. I'll have to have a look at the resmgr scsi thing in cdrdao then. resmgr doesn't report scsi devices on purpose anymore as the sg device can now get an acl as well.
Comment 7 Vladimir Nadvornik 2006-01-31 08:56:27 UTC
Scanning the old ATAPI interface is now disabled. The delay should no longer appear.