Re: HP cd-writer locking up my system hard!
> >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??
-----------------------------
On Thursday 06 March 2003 15:53, Brad wrote:
> 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.
----------------------------------------
I have put all that in modules.conf by way of update-modules.
My computer still locks up HARD whenever I do xcdroast.
This really sucks as I have locked up my machine about 15 times now.
I recompiled my kernel a few times to get everything modularized.
andy# lsmod
Module Size Used by Not tainted
sg 24452 0
sr_mod 12088 0 (unused)
<bunch of stuff snipped>
ide-scsi 7488 0
ide-cd 26336 0
cdrom 28832 0 [sr_mod ide-cd]
scsi_mod 50652 3 [sg sr_mod ide-scsi]
Now if I do a command line cdrecord, I get this error (but at least I don't
lock up my whole machine!)
teelhead:/home/andy# cdrecord -speed=1 dev=0,0,0 -data paperport.iso
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.5'
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'HP '
Identifikation : 'CD-Writer+ 8200 '
Revision : '1.0f'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO
cdrecord: Drive needs to reload the media to return to proper status.
Starting to write CD/DVD at speed 2 in write mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
cdrecord: Input/output error. read track info: scsi sendcmd: no error
CDB: 52 01 00 00 00 FF 00 00 1C 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 12 00 00 00 00 24 00 00 C0
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid) error refers to command part, bit ptr 0 (not
valid) field ptr 0
cmd finished after 0.002s timeout 240s
Any tips, comments......just about anything would be welcome at this point.
Andy
Reply to: