There seems to be an odd bug with the aha152x driver and/or
the SCSI CDROM audio CD controls. I've found this to be
100% reproducible.
I have a SB16-SCSI2, w/ a aha152x controller on board.
Connected to it is a NEC 3Xi CDROM (NEC-500). All SCSI
drivers are compiled as modules.
What's happening is: starting with the system in a state
where the SCSI modules are unloaded -- I start a CD audio
player program, start playing a track, quit the program,
do "rmmod -a" twice. The second rmmod hangs, ps reports:
root 112 0.1 2.1 1036 312 tty1 D 05:59 0:00 rmmod -a
and lsmod reports:
root@darkstar:~# lsmod
Module Size Used by
aha152x 0 0 (deleted)
scsi_mod 88600 1 (autoclean) [aha152x]
At this point, after the aha152x driver gets "stuck" this way, there
are no detrimental effects. I can still use the audio player to play
tracks, and I can still mount and unmount -- everything works, I've
just got an impossible to remove module, and an impossible to kill
rmmod. :(
Assuming I dont do the above:
- I can mount and unmount data CDROMs fine (including
mixed data/audio disks). The drivers unload properly
afterwards (double-rmmod).
- While a CDROM (w/ audio tracks) is mounted as a filesystem,
I can use a CD audio player, then stop using it - unmount,
and everything unloads properly after rmmoding.
(I first noticed this problem with 2.3.99-pre3, pre4 #5 still
has it. I'm fairly sure -pre2 does not.)
...not complaining, just reporting :)
Mark Orr
markorr@intersurf.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.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:12 EST