sr_mod in 2.1.89-pre5

Russell Coker - mailing lists account (
Fri, 06 Mar 98 12:21:14 +1000

I've been having some problems with my SCSI CD-ROM writer. The drive is a
Plextor (one of the FAQs or man pages I read before buying the drive said that
it works - but I can't find that man page or FAQ now - but that's another
story). When I try to write a CD in dummy mode the process stops at the stage
where it's about to start writing the data (the CD-R has all lights off and
doesn't seem to be doing anything). I tried removing the sg and sr_mod
modules and then did a modprobe of sr_mod. The modprobe process got stuck in
"R" state (according to ps), but I can't kill it. The load average is 1.00.
Here's the lsmod output:

Module Size Used by
sr_mod 18188 1 (uninitialized)
cdrom 9916 0 [sr_mod]
aha152x 25896 0
scsi_mod 47436 1 [sr_mod aha152x]
af_packet 6572 0 (unused)
sb 23820 0 (unused)
uart401 5804 0 [sb]
sound 66056 0 [sb uart401]
softdog 1064 1
misc 720 1 [softdog]
tulip 19668 1
isofs 17812 0 (unused)

Here's the tail of the dmesg output:

aha152x: BIOS test: passed, detected 1 controller(s)
aha152x0: vital data: PORTBASE=0x340, IRQ=11, SCSI ID=7, reconnect=enabled,
pari ty=enabled, synchronous=disabled, delay=100, extended
translation=disabled aha152x: trying software interrupt, ok.
scsi0 : Adaptec 152x SCSI driver; $Revision: 1.7 $
scsi : 1 host.
Vendor: PLEXTOR Model: CD-R PX-R412C Rev: 1.02
Type: CD-ROM ANSI SCSI revision: 02 Uniform
CD-ROM driver Revision: 2.12
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0
sr0: scsi3-mmc drive: 12x/12x writer cd/rw xa/form2 cdda caddy
eth0: No 21041 10baseT link beat, Media switched to 10base2.
registered device ppp0
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0

Any suggestions for how to track this problem down? Sure the CD-R doesn't
seem to be operating the way I'd like, but the kernel should be able to handle
this better than just getting a stuck modprobe process...

Russell Coker

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to