[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HP cd-writer locking up my system hard!



Andy,

First of all, I don't think the 2.4.18-bf2.4 kernel has all the modules you need for scsi-emulation. Find out for sure, and update ur kernel if necissary (apt-get) (or u can compile ur own with the below modules). Once you have done that, try the following (along with what you already have done) to get it working.

This worked for me:

1) Add the following to the end of /etc/modules.conf

options ide-cd ignore=hdc # tell the ide-cd module to ignore hdb
alias scd0 sr_mod                      # load sr_mod upon access of scd0
pre-install sg     modprobe ide-scsi   # load ide-scsi before sg
pre-install sr_mod modprobe ide-scsi   # load ide-scsi before sr_mod
pre-install ide-scsi modprobe ide-cd   # load ide-cd   before ide-scsi

2) Add the following the following to /etc/modules

ide-scsi #You should have this already, if the 'modules' file you quoted was correct
sg

note: 'scsi_mod' and 'ide-cd' should be loaded too.


Good luck!.

brad..

-----------------------------------
Brad Eisan
brad@gimick.net
MS: "Hey! It compiles! Ship it!"
-----------------------------------


Andy wrote:

I can't kill X and can't even ssh into my box from another box.
Using Debian 3.0 kernel-2.4.18-bf2.4 I have read that burners need to be the master device.
So the HP burner is master on IDE2.  I don't know what the deal is.
Whenever I start xcdroast and/or mount the burner to look at a cd,
I freeze up HARD.  I have installed cdrecord and xcdroast.
Here is all the relevant information I can think of:

andy# cdrecord -scanbus
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.5'
scsibus0:
       0,0,0     0) 'HP      ' 'CD-Writer+ 8200 ' '1.0f' Removable CD-ROM
       0,1,0     1) *
       0,2,0     2) *
       0,3,0     3) *
       0,4,0     4) *
       0,5,0     5) *
       0,6,0     6) *
       0,7,0     7) *

Here is relevant info from dmesg:
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ServerWorks CSB5: IDE controller on PCI bus 00 dev 79
ServerWorks CSB5: chipset revision 146
ServerWorks CSB5: not 100% native mode: will probe irqs later
   ide0: BM-DMA at 0x08b0-0x08b7, BIOS settings: hda:DMA, hdb:pio
   ide1: BM-DMA at 0x08b8-0x08bf, BIOS settings: hdc:DMA, hdd:pio
hda: WDC WD200BB-18DEA0, ATA DISK drive
hdb: MAXTOR 6L080L4, ATA DISK drive
hdc: Hewlett-Packard CD-Writer Plus 8200, ATAPI CD/DVD-ROM drive
hdd: GCR-8481B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 39062500 sectors (20000 MB) w/2048KiB Cache, CHS=2431/255/63, UDMA(100)
hdb: 156355584 sectors (80054 MB) w/1819KiB Cache, CHS=155114/16/63, UDMA(100)
hdd: ATAPI 48X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
<snip>
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
 Vendor: HP        Model: CD-Writer+ 8200   Rev: 1.0f
 Type:   CD-ROM                             ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 8x/24x writer cd/rw xa/form2 cdda tray

andy# ls -al /dev/cd*
lrwxrwxrwx    1 root     root            3 Mar  6 13:07 /dev/cdrom -> hdd
lrwxrwxrwx    1 root     root            4 Mar  6 11:29 /dev/cdrw -> scd0
brw-rw----    1 root     cdrom     24,   0 Mar 14  2002 /dev/cdu535

andy# cat /etc/modules
ide-scsi
eepro100
radeon
usb-ohci
input
usbkbd
keybdev
emu10k1

This was added to lilo.conf:
append="hdc=ide-scsi"

andy# cat /etc/default/cdrecord
CDR_DEVICE=hp
CDR_SPEED=4
CDR_FIFOSIZE=4m
teac=           1,3,0   -1      -1      ""
panasonic=      1,4,0   -1      -1      ""
plextor=        1,4,0   12      -1      ""
sanyo=          1,4,0   12      -1      burnproof
yamaha=         1,5,0   -1      -1      ""
cdrom=          0,6,0   2       1m      ""

This is in /etc/fstab:
/dev/cdrom      /cdrom          iso9660 ro,user,noauto          0       0
/dev/cdrw       /cdrw           iso9660 ro,user,noauto          0       0

That is all I can think of for details. There is no info in messages or syslog on my lockups.
Am I missing a module??






Reply to: