[mythtv-users] Re: Weird problem with MythMusic

Michael T. Dean mtdean at thirdcontact.com
Fri Jul 30 22:02:25 EDT 2004


Brad wrote:

> Yep. That sounds like it. My system is behaving exactly as you 
> describe and the files generated by MythMusic archive are too small to 
> be real. I'm not sure about the "generic SCSI" driver you mention, 
> because I'm using an IDE CD-ROM. Does that driver emulate SCSI 
> commands or something?

In Linux 2.4.x it was common to use IDE SCSI emulation to make your IDE 
drive appear to userland applications as if it were a SCSI drive.  (With 
2.6, there's a war brewing, but that's another story.)  That's what 
you're using.

> So, how do I fix this? I'm running Fedora Core 1, if that makes a 
> difference.

FC1 uses Linux 2.4, so this should apply.  Short term test:

modprobe sg

Output of lsmod should include all of the following:
sg                     27516   0  (autoclean)
sr_mod                 15576   1
ide-scsi               10128   0
ide-cd                 32032   0
cdrom                  28320   0  [sr_mod ide-cd]
scsi_mod               87396   3  [sg sr_mod ide-scsi]

Then go into MythMusic and rip a CD.

If that works, you'll need to fix your /etc/modules.conf.  Mine has the 
following.  (Make sure you specify the correct drive if yours isn't hdd.)

# SCSI CD Support
# Tell the ide-cd module to ignore hdd
options ide-cd ignore='hdd'
# Load sr_mod upon access of scd0
alias scd0 sr_mod
# Load ide-scsi before sg
below sg ide-scsi
# Load ide-scsi before sr_mod
below sr_mod ide-scsi
# Load ide-cd before ide-scsi
below ide-scsi ide-cd

Mike

P.S.  Keeping enough of the previous posts in your reply to help those 
of us with imperfect short term memories is much appreciated...  I 
almost didn't recognize that I was the one who described the problem 
with your system.  :)


More information about the mythtv-users mailing list