Panic in scsi.c

Richard Waltham (dormouse@farsrobt.demon.co.uk)
Wed, 19 Aug 1998 01:52:03 +0100 (BST)


Hi,

I can generate the following panic in scsi.c at will using a CD media
changer - Nakamichi MBR-7.

Happens with kernel versions 2.0.35 and 2.0.36-pre6. I haven't checked any
others.

Attempt to allocate device channel 0, target 6, lun x
Kernel Panic: No Device found in allocate_device().

If I start the following two commands running in different vc's

dd if=/dev/scdX of=/dev/null (X = 1, 2 ...)

dd if=/dev/scdY of=/dev/null (Y = 0, 1 ...)

and the second one started has Y < X I get the panic.

eg

dd if=/dev/sdc1 of=/dev/null - starting this first

dd if=/dev/scd0 of=/dev/null - then starting this

generates the panic. Starting scd0 first and then scd1 is OK - but very
sloooooow as its spending most of the time changing CDs;)

I guess the panic is caused by the call to allocate_device from
do_sr_request in sr.c but don't know why.

Anyone figure it out?

Richard

-- 
 Richard Waltham   |              Work: richard@digitalinterface.demon.co.uk
   At home in      |              Home:        dormouse@farsrobt.demon.co.uk
 Southampton UK    |                              100421.1276@compuserve.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html