LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-09-2003, 03:18 PM   #1
ilpadrino
Member
 
Registered: Oct 2003
Location: Spain
Distribution: Fedora
Posts: 104

Rep: Reputation: 15
HP CD-Writer USB does not work now


OK, I cannot understand what is happening in my system.

I have a HP CD-WRITER 8210e USB. So I wanted to install on my linux system. So first of all I recompile my kernel with:

SCSI CD-rom support
USB mass storage support
HP CDWRITER 82xx support
SCSI generic support
USB generic support

All these option have been built-in into the kernel, and not as module.

After this, I installed modutils, usbmgr and cdrecord packages. Then I ran usbmgr and some drivers loaded automatically (scsi_mod, sr_mod and usb-storage). Then I hotplugged the writer and executed cdrecord -scanbus with good result. My writer was recognized and I can use any software (like xcdroast without problem)

But after blanking a CD, an error occurred and my system hanged out. So I reboot it and now my writer is not recognized. When I execute cdrecord - scanbus, give the next message:

cdrecord: No such file or directory. Cannot open /dev/pg*. Cannot open scsi driver

My usb-uhci is up (checked by cat /proc/interrupts) and cat /proc/scsi/usb-uhci-0/0 gives the right manufacter writer, but cat /proc/scsi/scsi says that no device is attached.

"dmesg" says that all drivers (usb.c, uhci.c and hub.c) are loaded and SCSI emulation for USB mass storage is running.

Comparing the /var/log/messages with /var/log/messages.2 (lasts days) is that in this one appears:

kernel: Vendor: HP Model: CD-WRITER+ 8200 Rev :1.0f
kernel: Type: CD-ROM ANSI SCSI Revision: 02
kernel: attached scsi cdrom sr0 at scsi0, channel 0, id 0 lun 0
kernel: sr0:scsi3-mmc drive: 24x/24x cd/rw xa/form2 cdda tray

The current message log doesnṫ appear these, so I suppose that scsi driver is not loaded. I cannot understand why it worked perfectly 24 hours ago, and now it is not possible.


How can I fix this?

Thank you in advance

Last edited by ilpadrino; 11-09-2003 at 03:20 PM.
 
Old 11-11-2003, 04:35 PM   #2
ilpadrino
Member
 
Registered: Oct 2003
Location: Spain
Distribution: Fedora
Posts: 104

Original Poster
Rep: Reputation: 15
It´s solved.

I have recompiled my kernel with theb same options I had before and now it works. Uncomprehensible but real.

Thanks
 
Old 05-15-2004, 06:15 PM   #3
hollerith
Member
 
Registered: Jan 2004
Location: Europe
Distribution: gentoo-dev 2004
Posts: 50

Rep: Reputation: 16
I, too,'ve been having problems with a HP8200 USB CD Writer. It doesn't appear to matter whether it is RH9, MDK9 or FC1. Typical errors state that the controller has wrong size for the CDRW page. I kept having to modify /etc/fstab in RH9 after the CDRW locked up on some job to change the /dev/cdrom1 to /dev/scd0. I 'upgraded' to Fedora Core. Seriously unimpressed. It trashed the box, didn't make symbolic links /usr/src/linux, no modules.dep, no USB. I kissed my data goodbye and did a fresh install which was better. But that's not the problem. In RH9, I used to be able to burn intermittently, by tinkering, having to reset the CDRW every ten minutes. Now, all I can manage is part of the MDK10 CD1 iso. I've also got a Gentoo2004 iso just itching to be burned and installed/(built?). So I tried going back to RH9 but my #1 CD now has errors on it! And it hasn't even been near the CDRW. Maybe I need an exorcist not a sysadmin. I then went back to MDK9 (because I had the disks already burnt). I had exactly the same issues. Both distros like to mount whatever filesystem it finds on the CD in the drive. That would explain the 'lack of exclusivity'? Do I remove the entry from fstab and mount manually or not at all? Maybe I just need to tweak the setting? I've started it all over again. Fedora Core 1 installed. Up2dated. New kernel. First, I'll try something simple - erase a CD with cdrecord.

#cdrecord dev=0,0,0 blank=all

It appears to have worked. I took it out put it in the DVD/CDROM, can't see a thing. Put it back in the CDRW - Fedora pops up a Window with burn:/// in it. I dismiss it. Its going to use cdrecord anyway.

Okay now then, how about that Gentoo ISO?

#cdrecord -v speed=4 dev=0,0,0 -data install-x86-universal-2004.0.iso

It worked. Booted Gentoo - nice splash. Not quite as easy to install as RH or MDK, maybe later (but soon my precious, soon).

Okay, I'll try MDK10 CD#1.

#cdrecord -v speed=4 dev=0,0,0 -data Mandrakelinux-10.0-Community-Download-CD1.i586.iso

It hangs. Maybe I should blank=all new CDs too. Its reset CDRW and reboot time.
But first I kill the process and then

#cdrecord dev=0,0,0 -inq

I notice the now familiar message -

Warning: controller returns wrong page 29 for CD capabilities page (2A)

If I run cdrecord dev=0,0,0 -inq again it disappears but I'm not so sure that output is reliable either.

Rebooted. Back to step 1.

#cdrecord dev=0,0,0 blank=all

Hangs. Reboot. Reset. All nothing. Exacty as before except this time somehow different. Is it the CDs? Something has happen in modprobe...

I did a diff and found ide-scsi missing in modprobe -c. What do I do? Where do I append scsi ? What is the grub equivalent of lilo.conf?

(They said add as much detail as possible - but this is too much shirley?)

Thanks,


Logs:
# Generated by modprobe -c (2.4.25)
path[boot]=/lib/modules/boot
path[toplevel]=/lib/modules/2.4.22-1.2188.nptl
path[toplevel]=/lib/modules/2.4
path[updates]=/lib/modules/updates
path[kernel]=/lib/modules/kernel
path[fs]=/lib/modules/fs
path[net]=/lib/modules/net
path[scsi]=/lib/modules/scsi
path[block]=/lib/modules/block
path[cdrom]=/lib/modules/cdrom
path[ipv4]=/lib/modules/ipv4
path[ipv6]=/lib/modules/ipv6
path[sound]=/lib/modules/sound
path[fc4]=/lib/modules/fc4
path[video]=/lib/modules/video
path[misc]=/lib/modules/misc
path[pcmcia]=/lib/modules/pcmcia
path[atm]=/lib/modules/atm
path[usb]=/lib/modules/usb
path[ide]=/lib/modules/ide
path[ieee1394]=/lib/modules/ieee1394
path[mtd]=/lib/modules/mtd
path[unsupported]=/lib/modules/unsupported
# Prune
prune modules.dep
prune modules.description
prune modules.generic_string
prune modules.pcimap
prune modules.isapnpmap
prune modules.usbmap
prune modules.parportmap
prune modules.ieee1394map
prune modules.pnpbiosmap
prune System.map
prune .config
prune Kerntypes
prune build
prune vmlinux
prune vmlinuz
prune bzImage
prune zImage
prune .rhkmvtag
# Above
above hid keybdev mousedev
above usbmouse hid
above wacom evdev
# Below
below ov518_decomp ov511
# Aliases
alias binfmt-0000 off
alias binfmt-204 binfmt_aout
alias binfmt-263 binfmt_aout
alias binfmt-264 binfmt_aout
alias binfmt-267 binfmt_aout
alias binfmt-387 binfmt_aout
alias binfmt-332 iBCS
alias binfmt--310 binfmt_java
alias block-major-1 rd
alias block-major-2 floppy
alias block-major-3 ide-probe-mod
alias block-major-7 loop
alias block-major-8 sd_mod
alias block-major-9 md
alias block-major-11 sr_mod
alias block-major-13 xd
alias block-major-15 cdu31a
alias block-major-16 gscd
alias block-major-17 optcd
alias block-major-18 sjcd
alias block-major-20 mcdx
alias block-major-22 ide-probe-mod
alias block-major-23 mcd
alias block-major-24 sonycd535
alias block-major-25 sbpcd
alias block-major-26 sbpcd
alias block-major-27 sbpcd
alias block-major-29 aztcd
alias block-major-32 cm206
alias block-major-33 ide-probe-mod
alias block-major-34 ide-probe-mod
alias block-major-37 ide-tape
alias block-major-44 ftl
alias block-major-46 pcd
alias block-major-47 pf
alias block-major-56 ide-probe-mod
alias block-major-57 ide-probe-mod
alias block-major-58 lvm-mod
alias block-major-88 ide-probe-mod
alias block-major-89 ide-probe-mod
alias block-major-90 ide-probe-mod
alias block-major-91 ide-probe-mod
alias block-major-93 nftl
alias block-major-97 pg
alias block-major-113 viocd
alias char-major-4 serial
alias char-major-5 serial
alias char-major-6 lp
alias char-major-9 st
alias char-major-10 off
alias char-major-10-0 busmouse
alias char-major-10-1 off
alias char-major-10-2 msbusmouse
alias char-major-10-3 atixlmouse
alias char-major-10-130 wdt
alias char-major-10-131 wdt
alias char-major-10-135 rtc
alias char-major-10-139 openprom
alias char-major-10-144 nvram
alias char-major-10-157 applicom
alias char-major-10-175 agpgart
alias char-major-10-184 microcode
alias char-major-10-200 tun
alias char-major-10-250 hci_vhci
alias char-major-13 input
alias char-major-13-0 joydev
alias char-major-13-32 mousedev
alias char-major-14 soundcore
alias char-major-19 cyclades
alias char-major-20 cyclades
alias char-major-21 sg
alias char-major-22 pcxx
alias char-major-23 pcxx
alias char-major-27 zftape
alias char-major-34 scc
alias char-major-35 tclmidi
alias char-major-36 netlink
alias char-major-37 ide-tape
alias char-major-48 riscom8
alias char-major-49 riscom8
alias char-major-57 esp
alias char-major-58 esp
alias char-major-63 kdebug
alias char-major-90 mtdchar
alias char-major-96 pt
alias char-major-99 ppdev
alias char-major-107 3dfx
alias char-major-108 ppp_generic
alias char-major-109 lvm-mod
alias char-major-161 ircomm-tty
alias char-major-171 raw1394
alias char-major-195 NVdriver
alias char-major-200 vxspec
alias char-major-206 osst
alias char-major-216 rfcomm
alias dos msdos
alias dummy0 dummy
alias dummy1 dummy
alias eth0 CDCEther
alias iso9660 isofs
alias md-personality-1 linear
alias md-personality-2 raid0
alias md-personality-3 raid1
alias md-personality-4 raid5
alias md-personality-7 multipath
alias net-pf-1 unix
alias net-pf-2 ipv4
alias net-pf-3 off
alias net-pf-4 ipx
alias net-pf-5 appletalk
alias net-pf-6 off
alias net-pf-10 off
alias net-pf-15 af_key
alias net-pf-17 af_packet
alias net-pf-19 off
alias net-pf-31 bluez
alias netalias-2 ip_alias
alias irlan0 irlan
alias irda-dongle-0 tekram
alias irda-dongle-1 esi
alias irda-dongle-2 actisys
alias irda-dongle-3 actisys
alias irda-dongle-4 girbil
alias irda-dongle-5 litelink
alias irda-dongle-6 airport
alias irda-dongle-7 old_belkin
alias bt-proto-0 l2cap
alias bt-proto-2 sco
alias bt-proto-3 rfcomm
alias bt-proto-4 bnep
alias plip0 plip
alias plip1 plip
alias tunl0 ipip
alias cipcb0 cipcb
alias cipcb1 cipcb
alias cipcb2 cipcb
alias cipcb3 cipcb
alias ppp0 ppp
alias ppp1 ppp
alias scsi_hostadapter off
alias slip0 slip
alias slip1 slip
alias tty-ldisc-1 slip
alias tty-ldisc-3 ppp_async
alias tty-ldisc-11 irtty
alias tty-ldisc-14 ppp_synctty
alias tty-ldisc-15 hci_uart
alias ppp-compress-18 ppp_mppe
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias parport_lowlevel parport_pc
alias usbdevfs usbcore
alias xfrm-type-2-50 esp4
alias xfrm-type-2-51 ah4
alias xfrm-type-2-108 ipcomp
alias xfrm-type-10-50 esp6
alias xfrm-type-10-51 ah6
alias xfrm-type-10-108 ipcomp6
alias cipher_null crypto_null
alias digest_null crypto_null
alias compress_null crypto_null
alias sha384 sha512
alias sound-slot-0 i810_audio
alias usb-controller usb-uhci
# Options
options dummy0 -o dummy0
options dummy1 -o dummy1
options sb io=0x220 irq=7 dma=1 dma16=5 mpu_io=0x330
# Commands
post-install binfmt_misc /bin/mount -t binfmt_misc none /proc/sys/fs/binfmt_misc > /dev/null 2>&1 || :
pre-remove binfmt_misc /bin/umount /proc/sys/fs/binfmt_misc > /dev/null 2>&1 || :
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
# Miscellaneous file and directory names
generic_stringfile=/lib/modules/2.4.22-1.2188.nptl/modules.generic_string
pcimapfile=/lib/modules/2.4.22-1.2188.nptl/modules.pcimap
isapnpmapfile=/lib/modules/2.4.22-1.2188.nptl/modules.isapnpmap
usbmapfile=/lib/modules/2.4.22-1.2188.nptl/modules.usbmap
parportmapfile=/lib/modules/2.4.22-1.2188.nptl/modules.parportmap
ieee1394mapfile=/lib/modules/2.4.22-1.2188.nptl/modules.ieee1394map
pnpbiosmapfile=/lib/modules/2.4.22-1.2188.nptl/modules.pnpbiosmap
depfile=/lib/modules/2.4.22-1.2188.nptl/modules.dep
persistdir=/var/lib/modules/persist


Module Size Used by Not tainted
ide-scsi 12016 0
i810_audio 27560 1 (autoclean)
ac97_codec 16744 0 (autoclean) [i810_audio]
soundcore 6468 2 (autoclean) [i810_audio]
ide-cd 34432 0 (autoclean)
parport_pc 18756 1 (autoclean)
lp 8580 0 (autoclean)
parport 37056 1 (autoclean) [parport_pc lp]
autofs 12084 0 (autoclean) (unused)
ds 8680 2
yenta_socket 13472 2
pcmcia_core 56256 0 [ds yenta_socket]
ipt_REJECT 4248 1 (autoclean)
ipt_state 1080 6 (autoclean)
ip_conntrack 28552 1 (autoclean) [ipt_state]
iptable_filter 2444 1 (autoclean)
ip_tables 15136 3 [ipt_REJECT ipt_state iptable_filter]
sd_mod 13420 0 (autoclean) (unused)
st 31436 0 (autoclean) (unused)
floppy 57308 0 (autoclean)
sg 35436 0 (autoclean)
microcode 4188 0 (autoclean)
sr_mod 17400 0 (autoclean)
cdrom 34592 0 (autoclean) [ide-cd sr_mod]
usb-storage 70432 0
scsi_mod 110280 6 [ide-scsi sd_mod st sg sr_mod usb-storage]
CDCEther 13628 1
acm 7232 0 (unused)
keybdev 2656 0 (unused)
mousedev 5268 0 (unused)
hid 23908 0 (unused)
input 5888 0 [keybdev mousedev hid]
usb-uhci 26124 0 (unused)
usbcore 78752 1 [usb-storage CDCEther acm hid usb-uhci]
ext3 71620 2
jbd 51276 2 [ext3]


#File Systems
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0

Cdrecord-Clone 2.01a19 (i686-redhat-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
Using libscg version 'schily-0.7'
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) *
Cdrecord-Clone 2.01a19 (i686-redhat-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
Using libscg version 'schily-0.7'
Device type : Removable CD-ROM
Version : 2
Response Format: 1
Vendor_info : 'HP '
Identifikation : 'CD-Writer+ 8200 '
Revision : '1.0f'
Device seems to be: Generic mmc CD-RW.
Cdrecord-Clone 2.01a19 (i686-redhat-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
Using libscg version 'schily-0.7'
Device type : unknown device type 0x18
Version : 2
Response Format: 0
Vendor_info : 'cd cdrom'
Identifikation : ''
Revision : '.cmd'
Device seems to be: unknown.

Diffs - ide-scsi missing from modprobe -c?

235,236d234
<
<
238c236,237
< ide-scsi 12016 0
---
> nls_iso8859-1 3516 0 (autoclean)
> udf 94112 0 (autoclean)
256a256
> microcode 4188 0 (autoclean)
259d258
< microcode 4188 0 (autoclean)
263c262
< scsi_mod 110280 6 [ide-scsi sd_mod st sg sr_mod usb-storage]
---
> scsi_mod 110280 5 [sd_mod st sg sr_mod usb-storage]
274,276d272
<
<
< #File Systems
287,298d282
<
< Cdrecord-Clone 2.01a19 (i686-redhat-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
< Using libscg version 'schily-0.7'
< 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) *

Is it automount? What is grabbing my CDRW?


-voodoo chile
 
Old 03-02-2005, 01:36 PM   #4
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
got it working?

Excuse me but did you get that cd-writer working? I am testing one right now and i am havbing problems when i try to burn cdcrw media(it complains that i am using high speed media in a low speed device) and it just cant burn any cd-r from ISO files...

my dmesg is:
usb 1-1: new full speed USB device using address 3
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: HP Model: CD-Writer+ 8200f Rev: 1.0A
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 5
USB Mass Storage device found at 3
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
st: Version 20040318, fixed bufsize 32768, s/g segs 256
osst :I: Tape driver with OnStream support version 0.99.1
osst :I: $Id: osst.c,v 1.70 2003/12/23 14:22:12 wriede Exp $

How can i know where it was mounted?

I just burned an ISO but i cant eject it. There were a few errors while burning... I am lost.

I appreciate any help,
 
Old 03-30-2006, 06:37 PM   #5
hollerith
Member
 
Registered: Jan 2004
Location: Europe
Distribution: gentoo-dev 2004
Posts: 50

Rep: Reputation: 16
Better late than never

Hey I did get it working only for cdrecord scsi support to go missing in 2.6 kernel. Its okay under 2.4 and you have to set the speed pretty slow
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sshd doesn`t work TiCkO Linux - Networking 12 02-11-2006 05:00 PM
Wi-Fi doesn;t work on Suse 9.3 hackerarchangel Linux - Hardware 2 10-18-2005 12:59 PM
python doesn´t work little_ball Linux - Newbie 4 12-04-2004 09:09 AM
kopete doesn´t work maZ Linux - Software 1 07-31-2003 03:51 PM
USB writer (Acer 4406) & Mandrake 9.1 = wasted time? livpet Linux - Hardware 0 07-22-2003 05:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration