CD RW -- Writing Data to CD
I have LINUX 9 on my Dell Intel Xeon system
I recently purchased CDRW and installed it on my system. The system will read data on a CD but will not recognize a blank CD. When I try to mount the drive, I get the following message: "mount: wrong fs type, bad option, bad superblock on /dev/cdrom, or too many mounted file systems (could this be the IDE device where you in fact use ide-scsi so that sr0 or sda or so is needed?)" Still Learning. Thanks for your help. |
What's Linux 9 ??
Quote:
dmesg if the device name is /dev/sr0 you'll need this in the relevant /etc/fstab entry - also - post your full /etc/fstab file.. |
well, of course you can't 'mount' a blank cd as an fs, there is no fs on a blank cd, you need special software to write to cdrws
look here http://www.linuxberg.com/cd_burners_default.html |
The OS is Red Hat Linux 9.0.
I can read data on a CD (install disk, pre burned CD, etc.). When I pop in a blank CD R and try to write to it, I get errors. I have tried several brands of writeable disks and get the same results. |
Which linux 9? Mandrake, Redhat ...
You can not mount a blank CD. No data, no filesystem. Did linux configure the drive automatically for you? |
We need to know the device name of the drive from your dmesg output - also what current line you are using in /etc/fstab - post both in full.
|
What application are you using to burn the CD?
What are the errors? |
I have X-CD Roast and another CD write tool that came installed with my system. Roast gives me an error (complains about ATAPI device) and the other tool does nothing.
Will have to post exact error, etc. when I return to the system later today. |
Well if you'd post your dmesg output - we could see the device name of your CD RW drive and whether its using scsi emulation - you might need to put the device name of the cd rw drive in the X CD Roast setup tab and modify the relevant /etc/fstab entry also.........
|
The following is my config file from X cdroast and after that is my etc/fstab. Where do i find dmesg?
WRITER_DEVNR = -1 READER_DEVNR = 1024 # WRITERREADER_DEVNR = 1024 WRITERREADER_DEVICESTR = "ATAPI:0,0,0" WRITERREADER_VENDOR = "Lite-On " WRITERREADER_MODEL = "LTN486S 48x Max " WRITERREADER_REV = "YDS6" WRITERREADER_READMAXSPEED = 48 WRITERREADER_CDRMAXSPEED = 0 WRITERREADER_DVDMAXSPEED = 0 WRITERREADER_WRITER_FLAGS = "" WRITERREADER_WRITER_MODES = "" WRITERREADER_IS_CDRWRITER = 0 WRITERREADER_IS_DVDWRITER = 0 WRITERREADER_IS_DVDREADER = 0 WRITERREADER_SECTOR_SIZE = 2048 WRITERREADER_DRVMODE = -1 WRITERREADER_MODE = 0 WRITERREADER_SPEED = 48 WRITERREADER_FIFO = 4096 WRITERREADER_AUDIOREAD_INTERFACE = 0 WRITERREADER_AUDIOREAD_SPEED = 12 WRITERREADER_AUDIOREAD_OVERLAP = 0 WRITERREADER_AUDIOREAD_SECTORBURST = 75 WRITERREADER_AUDIOREAD_USEPARANOIA = 0 WRITERREADER_AUDIOREAD_PARANOIARETRIES = 20 # IMAGE_DIRS = "/dev" DSP_DEVICE = "/dev/dsp" MIX_DEVICE = "/dev/mixer" NOTIFY_VIA = 1 NOTIFY_AT = 0 CDDB_HOST = "freedb.freedb.org" CDDB_PORT = 888 CDDB_PROXY_HOST = "" CDDB_PROXY_PORT = 8080 CDDB_USE_HTTP = 0 CDDB_USE_PROXY = 0 LOGFILE = "~/.xcdroast/xcdr098.log" LOGLEVEL = 2 LANGUAGE = "" OPTION_TOOLTIPS = 1 OPTION_AUTORAISE = 0 OPTION_SAVEPOS = 0 OPTION_PERSONIMAGE = 0 OPTION_OVERWRITEWARN = 1 OPTION_AUTODELETE = 0 OPTION_TITLEPROGRESS = 1 OPTION_DISPLAYCDTEXT = 1 OPTION_SELECTIONMODE = 1 PRODVD_KEY = "" FSTAB follows 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/hda6 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 |
Quote:
$ dmesg |
x-cdroast is a GUI frontend for cdrecord. If cdrecord can burn a CD then you probably have a x-cdroast configuration problem.
http://linuxgazette.net/issue57/stoddard.html |
Here is a portion of my dmesg output
hdc: ATAPI 12X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.12 hdc: DMA disabled IA-32 Microcode Update Driver: v1.11 <tigran@veritas.com> microcode: CPU0 no microcode found! (sig=f29, pflags=2) parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] parport0: irq 7 detected ip_tables: (C) 2000-2002 Netfilter core team ip_conntrack version 2.1 (6139 buckets, 49112 max) - 292 bytes per conntrack i2c-core.o: i2c core module PCI: Found IRQ 11 for device 03:0e.0 PCI: Sharing IRQ 11 with 00:1d.7 i2c-core.o: adapter Smbus i8254x at 03:0e.0 Int registered as adapter 0. i2c-core.o: adapter Smbus i8254x at 03:0e.0 Ext registered as adapter 1. Loading i8254x SMBus driver. Version 3.0.9 i2c-dev.o: i2c /dev entries driver module i2c-core.o: driver i2c-dev dummy driver registered. i2c-dev.o: Registered 'Smbus i8254x at 03:0e.0 Int' as minor 0 i2c-dev.o: Registered 'Smbus i8254x at 03:0e.0 Ext' as minor 1 i2c-proc.o version 2.6.1 (20010825) Adding ASF alerting device watchdog driver.Version 3.0.6 i2c-core.o: driver ASF Alert device watchdog timer registered. asfwdg: Attaching adapter Smbus i8254x at 03:0e.0 Int i2c-core.o: client [ASF alert dev watchdog] registered to adapter [Smbus i8254x at 03:0e.0 Int](pos. 0). asfwdg: Attaching adapter Smbus i8254x at 03:0e.0 Ext i2c-core.o: client [ASF alert dev watchdog] registered to adapter [Smbus i8254x at 03:0e.0 Ext](pos. 0). Intel(R) PRO/1000 Network Driver - version 5.0.43-k1 Copyright (c) 1999-2003 Intel Corporation. PCI: Found IRQ 11 for device 03:0e.0 PCI: Sharing IRQ 11 with 00:1d.7 divert: allocating divert_blk for eth0 eth0: Intel(R) PRO/1000 Network Connection e1000: eth0 NIC Link is Up 100 Mbps Full Duplex Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002) PCI: Found IRQ 11 for device 05:0e.0 divert: allocating divert_blk for eth1 eth1: ADMtek Comet rev 17 at 0xf097e400, 00:0C:41:20:77:78, IRQ 11. parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] parport0: irq 7 detected lp0: using parport0 (polling). lp0: console ready 0: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4363 Sat Apr 19 17:46:46 PDT 2003 Linux agpgart interface v0.99 (c) Jeff Hartmann agpgart: Maximum main memory to use for agp memory: 690M agpgart: Unsupported Intel chipset (device id: 2550), you might want to try agp_try_unsupported=1. agpgart: no supported devices found. 0: NVRM: AGPGART: unable to retrieve symbol table cdrom: This disc doesn't have any tracks I recognize! cdrom: This disc doesn't have any tracks I recognize! cdrom: This disc doesn't have any tracks I recognize! hdc: packet command error: status=0x51 { DriveReady SeekComplete Error } hdc: packet command error: error=0x54 SCSI subsystem driver Revision: 1.00 udf: registering filesystem UDF-fs DEBUG lowlevel.c:65:udf_get_last_session: CDROMMULTISESSION not supported: rc=-5 UDF-fs DEBUG super.c:1421:udf_read_super: Multi-session=0 UDF-fs DEBUG super.c:410:udf_vrs: Starting at sector 16 (2048 byte sectors) UDF-fs DEBUG super.c:753:udf_load_pvoldesc: recording time 1074134572/0, 2004/01/14 21:42 (1ed4) UDF-fs DEBUG super.c:763:udf_load_pvoldesc: volIdent[] = 'Disk1' UDF-fs DEBUG super.c:770:udf_load_pvoldesc: volSetIdent[] = '0x4005B7SONIC ' UDF-fs DEBUG super.c:962:udf_load_logicalvol: Partition (0:0) type 1 on volume 1UDF-fs DEBUG super.c:962:udf_load_logicalvol: Partition (1:0) type 2 on volume 1UDF-fs DEBUG super.c:972:udf_load_logicalvol: FileSet found in LogicalVolDesc at block=0, partition=1 UDF-fs DEBUG super.c:800:udf_load_partdesc: Searching map: (0 == 0) UDF-fs DEBUG super.c:882:udf_load_partdesc: Partition (0:0 type 1511) starts at physical 513, block length 359182 UDF-fs DEBUG super.c:1215:udf_load_partition: Using anchor in block 256 UDF-fs DEBUG super.c:1448:udf_read_super: Lastblock=514 hdc: command error: status=0x51 { DriveReady SeekComplete Error } hdc: command error: error=0x54 end_request: I/O error, dev 16:00 (hdc), sector 527368 UDF-fs DEBUG misc.c:274:udf_read_tagged: block=131842, location=0: read failed UDF-fs: No fileset found hdc: command error: status=0x51 { DriveReady SeekComplete Error } hdc: command error: error=0x54 end_request: I/O error, dev 16:00 (hdc), sector 320 isofs_read_super: bread failed, dev=16:00, iso_blknum=80, block=160 Intel 810 + AC97 Audio, version 0.24, 13:50:35 Dec 18 2003 PCI: Found IRQ 11 for device 00:1f.5 PCI: Sharing IRQ 11 with 00:1f.3 PCI: Setting latency timer of device 00:1f.5 to 64 i810: Intel ICH4 found at IO 0xcc40 and 0xc800, MEM 0xfe700400 and 0xfe700000, IRQ 11 i810: Intel ICH4 mmio at 0xf1c94400 and 0xf1c96000 i810_audio: Primary codec has ID 0 i810_audio: Audio Controller supports 6 channels. i810_audio: Defaulting to base 2 channel mode. i810_audio: Resetting connection 0 i810_audio: Connection 0 with codec id 0 ac97_codec: AC97 Audio codec, id: ADS116 (Unknown) i810_audio: AC'97 codec 0 supports AMAP, total channels = 2 |
UDF errors...
Is there a blank CDR or CDRW in the drive? If it is a CDRW is it DirectCD or InCD formated? Did you try my suggestion to write a CDR using the cdrecord command line? I didn't see enough of the CD writer messages. Look at your /etc/grub.conf file do you have a hdc=ide-scsi in there somewhere? |
I have a CDR disk inserted.
I tried the cdrecord and got an error Should I have hdc=ide-scsi in my grub.conf file? The following is results of cdrecord help. Transport name: sg Transport descr.: Generic transport independent SCSI Transp. layer ind.: Target specifier: bus,target,lun Target example: 1,2,0 SCSI Bus scanning: supported Open via UNIX device: not supported Transport name: pg Transport descr.: SCSI transport for ATAPI over Parallel Port Transp. layer ind.: Target specifier: bus,target,lun Target example: 1,2,0 SCSI Bus scanning: supported Open via UNIX device: not supported Transport name: ATA Transport descr.: ATA Packet specific SCSI transport Transp. layer ind.: ATAPI: Target specifier: bus,target,lun Target example: ATAPI:1,2,0 SCSI Bus scanning: supported Open via UNIX device: not supported Transport name: RSCSI Transport descr.: Remote SCSI Transp. layer ind.: REMOTE: Target specifier: rscsi@host:bus,target,lun Target example: REMOTE:rscsi@host:1,2,0 SCSI Bus scanning: supported Open via UNIX device: not supported |
Like this:
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi So what is the error? |
I added the line to etc/grub.conf
Below is the message I get from cdrecord Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling TOC Type: 1 = CD-ROM scsidev: '0,0,0' scsibus: 0 target: 0 lun: 0 cdrecord: No such device. Cannot open '/dev/pg0'. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you |
You need to reboot the computer for the grub changes to take effect.
Then try the command: cdrecord --scanbus Your CDRW drive should be displayed and hopefully you will be able to burn a CD. |
Quote:
/dev/sr0 /mnt/cdrom auto user,ro,noauto 0 0 |
I used Mike's suggestion and was able to see the device using cdrecord -scanbus. However, I am no longer able to run x cdroast. (There is no error, the program does not load). I also have Gnome toaster but am unable to get it working. Could be operator ignorance problem.
I'm away from the system. Will post dmesg when I return |
you assume that he is using grub with Red Hat 9.0, it is probably lilo, and he needs to edit lilo.conf
image=/boot/vmlinuz-2.4.20-8 label=linux initrd=/boot/initrd-2.4.20-8.img read-only append="root=LABEL=/" "hdd=ide-scsi" |
Quote:
|
I have lilo.conf.anaconda file
Here is my dmesg output (see multiple posts for entire output) entries: 65536 (order: 6, 262144 bytes) Page-cache hash table entries: 262144 (order: 8, 1048576 bytes) CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 512K CPU: Physical Processor ID: 0 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: bfebfbff 00000000 00000000 00000000 CPU: Common caps: bfebfbff 00000000 00000000 00000000 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au) mtrr: detected mtrr type: Intel CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 512K CPU: Physical Processor ID: 0 Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: bfebfbff 00000000 00000000 00000000 CPU: Common caps: bfebfbff 00000000 00000000 00000000 CPU0: Intel(R) Xeon(TM) CPU 2.40GHz stepping 09 per-CPU timeslice cutoff: 1462.89 usecs. task migration cache decay timeout: 10 msecs. enabled ExtINT on CPU#0 ESR value before enabling vector: 00000040 ESR value after enabling vector: 00000000 Error: only one processor found. WARNING: No sibling found for CPU 0. ENABLING IO-APIC IRQs Setting 8 in the phys_id_present_map ...changing IO-APIC physical APIC ID to 8 ... ok. Setting 10 in the phys_id_present_map ...changing IO-APIC physical APIC ID to 10 ... ok. Setting 9 in the phys_id_present_map ...changing IO-APIC physical APIC ID to 9 ... ok. init IO_APIC IRQs IO-APIC (apicid-pin) 8-0, 8-13, 10-9, 10-10, 10-11, 10-12, 10-13, 10-14, 10-15, 10-16, 10-17, 10-18, 10-19, 10-20, 10-21, 10-22, 10-23, 9-4, 9-5, 9-6, 9-7, 9-8, 9-9, 9-10, 9-11, 9-12, 9-13, 9-14, 9-15, 9-16, 9-17, 9-18, 9-19, 9-20, 9-21, 9-22, 9-23 not connected. ..TIMER: vector=0x31 pin1=2 pin2=0 number of MP IRQ sources: 46. number of IO-APIC #8 registers: 24. number of IO-APIC #10 registers: 24. number of IO-APIC #9 registers: 24. testing the IO APIC....................... IO APIC #8...... .... register #00: 08000000 ....... : physical APIC id: 08 .... register #01: 00178020 ....... : max redirection entries: 0017 ....... : PRQ implemented: 1 ....... : IO APIC version: 0020 .... register #02: 00000000 ....... : arbitration: 00 .... IRQ redirection table: NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: 00 000 00 1 0 0 0 0 0 0 00 01 0FF 0F 0 0 0 0 0 1 1 39 02 0FF 0F 0 0 0 0 0 1 1 31 03 0FF 0F 0 0 0 0 0 1 1 41 04 0FF 0F 0 0 0 0 0 1 1 49 05 0FF 0F 0 0 0 0 0 1 1 51 06 0FF 0F 0 0 0 0 0 1 1 59 07 0FF 0F 0 0 0 0 0 1 1 61 08 0FF 0F 0 0 0 0 0 1 1 69 09 0FF 0F 0 0 0 0 0 1 1 71 0a 0FF 0F 0 0 0 0 0 1 1 79 0b 0FF 0F 0 0 0 0 0 1 1 81 0c 0FF 0F 0 0 0 0 0 1 1 89 0d 000 00 1 0 0 0 0 0 0 00 0e 0FF 0F 0 0 0 0 0 1 1 91 0f 0FF 0F 0 0 0 0 0 1 1 99 10 0FF 0F 1 1 0 1 0 1 1 A1 11 0FF 0F 1 1 0 1 0 1 1 A9 12 0FF 0F 1 1 0 1 0 1 1 B1 13 0FF 0F 1 1 0 1 0 1 1 B9 14 0FF 0F 1 1 0 1 0 1 1 C1 15 0FF 0F 1 1 0 1 0 1 1 C9 16 0FF 0F 1 1 0 1 0 1 1 D1 17 0FF 0F 1 1 0 1 0 1 1 D9 |
dmesg post #2
IO APIC #10...... .... register #00: 0A000000 ....... : physical APIC id: 0A .... register #01: 00178020 ....... : max redirection entries: 0017 ....... : PRQ implemented: 1 ....... : IO APIC version: 0020 .... register #02: 0A000000 ....... : arbitration: 0A .... IRQ redirection table: NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: 00 0FF 0F 1 1 0 1 0 1 1 E1 01 0FF 0F 1 1 0 1 0 1 1 E9 02 0FF 0F 1 1 0 1 0 1 1 32 03 0FF 0F 1 1 0 1 0 1 1 3A 04 0FF 0F 1 1 0 1 0 1 1 42 05 0FF 0F 1 1 0 1 0 1 1 4A 06 0FF 0F 1 1 0 1 0 1 1 52 07 0FF 0F 1 1 0 1 0 1 1 5A 08 0FF 0F 1 1 0 1 0 1 1 62 09 000 00 1 0 0 0 0 0 0 00 0a 000 00 1 0 0 0 0 0 0 00 0b 000 00 1 0 0 0 0 0 0 00 0c 000 00 1 0 0 0 0 0 0 00 0d 000 00 1 0 0 0 0 0 0 00 0e 000 00 1 0 0 0 0 0 0 00 0f 000 00 1 0 0 0 0 0 0 00 10 000 00 1 0 0 0 0 0 0 00 11 000 00 1 0 0 0 0 0 0 00 12 000 00 1 0 0 0 0 0 0 00 13 000 00 1 0 0 0 0 0 0 00 14 000 00 1 0 0 0 0 0 0 00 15 000 00 1 0 0 0 0 0 0 00 16 000 00 1 0 0 0 0 0 0 00 17 000 00 1 0 0 0 0 0 0 00 IO APIC #9...... .... register #00: 09000000 ....... : physical APIC id: 09 .... register #01: 00178020 ....... : max redirection entries: 0017 ....... : PRQ implemented: 1 ....... : IO APIC version: 0020 .... register #02: 09000000 ....... : arbitration: 09 .... IRQ redirection table: NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: 00 0FF 0F 1 1 0 1 0 1 1 6A 01 0FF 0F 1 1 0 1 0 1 1 72 02 0FF 0F 1 1 0 1 0 1 1 7A 03 0FF 0F 1 1 0 1 0 1 1 82 04 000 00 1 0 0 0 0 0 0 00 05 000 00 1 0 0 0 0 0 0 00 06 000 00 1 0 0 0 0 0 0 00 07 000 00 1 0 0 0 0 0 0 00 08 000 00 1 0 0 0 0 0 0 00 09 000 00 1 0 0 0 0 0 0 00 0a 000 00 1 0 0 0 0 0 0 00 0b 000 00 1 0 0 0 0 0 0 00 0c 000 00 1 0 0 0 0 0 0 00 0d 000 00 1 0 0 0 0 0 0 00 0e 000 00 1 0 0 0 0 0 0 00 0f 000 00 1 0 0 0 0 0 0 00 10 000 00 1 0 0 0 0 0 0 00 11 000 00 1 0 0 0 0 0 0 00 12 000 00 1 0 0 0 0 0 0 00 13 000 00 1 0 0 0 0 0 0 00 14 000 00 1 0 0 0 0 0 0 00 15 000 00 1 0 0 0 0 0 0 00 16 000 00 1 0 0 0 0 0 0 00 17 000 00 1 0 0 0 0 0 0 00 IRQ to pin mappings: IRQ0 -> 0:2 IRQ1 -> 0:1 IRQ3 -> 0:3 IRQ4 -> 0:4 IRQ5 -> 0:5 IRQ6 -> 0:6 IRQ7 -> 0:7 IRQ8 -> 0:8 IRQ9 -> 0:9 IRQ10 -> 0:10 IRQ11 -> 0:11 IRQ12 -> 0:12 IRQ14 -> 0:14 IRQ15 -> 0:15 IRQ16 -> 0:16 IRQ17 -> 0:17 IRQ18 -> 0:18 IRQ19 -> 0:19 IRQ20 -> 0:20 IRQ21 -> 0:21 IRQ22 -> 0:22 IRQ23 -> 0:23 IRQ24 -> 1:0 IRQ25 -> 1:1 IRQ26 -> 1:2 IRQ27 -> 1:3 IRQ28 -> 1:4 IRQ29 -> 1:5 IRQ30 -> 1:6 IRQ31 -> 1:7 IRQ32 -> 1:8 IRQ48 -> 2:0 IRQ49 -> 2:1 IRQ50 -> 2:2 IRQ51 -> 2:3 .................................... done. |
dmesg post #3
Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 2392.3621 MHz. ..... host bus clock speed is 132.9089 MHz. cpu: 0, clocks: 1329089, slice: 664544 CPU0<T0:1329088,T1:664544,D:0,S:664544,C:1329089> Starting migration thread for cpu 0 smp_num_cpus: 1. PCI: PCI BIOS revision 2.10 entry at 0xfbdd5, last bus=5 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Ignoring BAR0-3 of IDE controller 00:1f.1 Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Bridge PCI: Using IRQ router PIIX [8086/24c0] at 00:1f.0 PCI->APIC IRQ transform: (B0,I29,P0) -> 16 PCI->APIC IRQ transform: (B0,I29,P1) -> 19 PCI->APIC IRQ transform: (B0,I29,P2) -> 18 PCI->APIC IRQ transform: (B0,I29,P3) -> 23 PCI->APIC IRQ transform: (B0,I31,P0) -> 18 PCI->APIC IRQ transform: (B0,I31,P1) -> 17 PCI->APIC IRQ transform: (B0,I31,P1) -> 17 PCI->APIC IRQ transform: (B1,I0,P0) -> 16 PCI->APIC IRQ transform: (B3,I14,P0) -> 24 PCI->APIC IRQ transform: (B5,I12,P0) -> 20 PCI->APIC IRQ transform: (B5,I14,P0) -> 22 isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16) Starting kswapd VFS: Disk quotas vdquot_6.5.1 pty: 2048 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS0 at 0x03f8 (irq = 4) is a 16550A ttyS1 at 0x02f8 (irq = 3) is a 16550A Real Time Clock Driver v1.10e Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 NET4: Frame Diverter 0.46 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 7.00beta3-.2.4 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ICH4: IDE controller at PCI slot 00:1f.1 PCI: Enabling device 00:1f.1 (0005 -> 0007) ICH4: chipset revision 1 ICH4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio hda: IC35L090AVV207-0, ATA DISK drive blk: queue c0459500, I/O limit 4095Mb (mask 0xffffffff) hdc: SONY CD-RW CRX216E, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: attached ide-disk driver. hda: host protected area => 1 hda: 156250000 sectors (80000 MB) w/1821KiB Cache, CHS=9726/255/63, UDMA(100) ide-floppy driver 0.99.newide Partition check: hda: hda1 hda2 hda3 hda4 < hda5 hda6 > ide-floppy driver 0.99.newide md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. pci_hotplug: PCI Hot Plug PCI Core version: 0.5 NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 8192 buckets, 64Kbytes |
dmesg post 4
TCP: Hash tables configured (established 262144 bind 65536) Linux IP multicast router 0.06 plus PIM-SM NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Compressed image found at block 0 Freeing initrd memory: 146k freed VFS: Mounted root (ext2 filesystem). Journalled Block Device driver loaded kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Freeing unused kernel memory: 156k freed usb.c: registered new driver usbdevfs usb.c: registered new driver hub PCI: Setting latency timer of device 00:1d.7 to 64 ehci-hcd 00:1d.7: Intel Corp. 82801DB USB EHCI Controller ehci-hcd 00:1d.7: irq 23, pci mem f084c800 usb.c: new USB bus registered, assigned bus number 1 ehci-hcd 00:1d.7: enabled 64bit PCI DMA PCI: 00:1d.7 PCI cache line size set incorrectly (0 bytes) by BIOS/FW. PCI: 00:1d.7 PCI cache line size corrected to 128. ehci-hcd 00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Jan-22 hub.c: USB hub found hub.c: 6 ports detected usb-uhci.c: $Revision: 1.275 $ time 13:43:11 Dec 18 2003 usb-uhci.c: High bandwidth mode enabled PCI: Setting latency timer of device 00:1d.0 to 64 usb-uhci.c: USB UHCI at I/O 0xff80, IRQ 16 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 2 hub.c: USB hub found hub.c: 2 ports detected PCI: Setting latency timer of device 00:1d.1 to 64 usb-uhci.c: USB UHCI at I/O 0xff60, IRQ 19 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 3 hub.c: USB hub found hub.c: 2 ports detected PCI: Setting latency timer of device 00:1d.2 to 64 usb-uhci.c: USB UHCI at I/O 0xff40, IRQ 18 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 4 hub.c: USB hub found hub.c: 2 ports detected usb-uhci.c: v1.275:USB Universal Host Controller Interface driver usb.c: registered new driver hiddev usb.c: registered new driver hid hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz> hid-core.c: USB HID support drivers mice: PS/2 mouse device common for all mice EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,5), internal journal LVM version 1.0.5+(22/07/2002) module loaded loop: loaded (max 8 devices) Adding Swap: 522072k swap-space (priority -1) kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,3), internal journal EXT3-fs: mounted filesystem with ordered data mode. ohci1394: $Rev: 693 $ Ben Collins <bcollins@debian.org> ohci1394_0: OHCI-1394 1.1 (PCI): IRQ=[20] MMIO=[fe1ff800-fe1fffff] Max Packet=[2048] ieee1394: SelfID completion called outside of bus reset! ieee1394: Host added: Node[00:1023] GUID[84ffffffffffff00] [Linux OHCI-1394] |
dmesg post 5 (last)
SCSI subsystem driver Revision: 1.00 hdc: attached ide-scsi driver. scsi0 : SCSI host adapter emulation for IDE ATAPI devices Vendor: SONY Model: CD-RW CRX216E Rev: PD01 Type: CD-ROM ANSI SCSI revision: 02 hdc: DMA disabled IA-32 Microcode Update Driver: v1.11 <tigran@veritas.com> microcode: CPU0 no microcode found! (sig=f29, pflags=2) parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] parport0: irq 7 detected Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 sr0: scsi3-mmc drive: 12x/12x writer cd/rw xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.12 ip_tables: (C) 2000-2002 Netfilter core team ip_conntrack version 2.1 (6139 buckets, 49112 max) - 292 bytes per conntrack i2c-core.o: i2c core module i2c-core.o: adapter Smbus i8254x at 03:0e.0 Int registered as adapter 0. i2c-core.o: adapter Smbus i8254x at 03:0e.0 Ext registered as adapter 1. Loading i8254x SMBus driver. Version 3.0.9 i2c-dev.o: i2c /dev entries driver module i2c-core.o: driver i2c-dev dummy driver registered. i2c-dev.o: Registered 'Smbus i8254x at 03:0e.0 Int' as minor 0 i2c-dev.o: Registered 'Smbus i8254x at 03:0e.0 Ext' as minor 1 i2c-proc.o version 2.6.1 (20010825) Adding ASF alerting device watchdog driver.Version 3.0.6 i2c-core.o: driver ASF Alert device watchdog timer registered. asfwdg: Attaching adapter Smbus i8254x at 03:0e.0 Int i2c-core.o: client [ASF alert dev watchdog] registered to adapter [Smbus i8254x at 03:0e.0 Int](pos. 0). asfwdg: Attaching adapter Smbus i8254x at 03:0e.0 Ext i2c-core.o: client [ASF alert dev watchdog] registered to adapter [Smbus i8254x at 03:0e.0 Ext](pos. 0). Intel(R) PRO/1000 Network Driver - version 5.0.43-k1 Copyright (c) 1999-2003 Intel Corporation. divert: allocating divert_blk for eth0 eth0: Intel(R) PRO/1000 Network Connection e1000: eth0 NIC Link is Up 100 Mbps Full Duplex Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002) divert: allocating divert_blk for eth1 eth1: ADMtek Comet rev 17 at 0xf09b8400, 00:0C:41:20:77:78, IRQ 22. parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] parport0: irq 7 detected lp0: using parport0 (polling). lp0: console ready 0: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4363 Sat Apr 19 17:46:46 PDT 2003 Linux agpgart interface v0.99 (c) Jeff Hartmann agpgart: Maximum main memory to use for agp memory: 690M agpgart: Unsupported Intel chipset (device id: 2550), you might want to try agp_try_unsupported=1. agpgart: no supported devices found. 0: NVRM: AGPGART: unable to retrieve symbol table cdrom: This disc doesn't have any tracks I recognize! |
This is the output from an attempt to write to data to CD
[root@pcp07744476pcs oracle]# cdrecord -v speed=4 dev=0,0, 0 -data number1.img Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J ?rg Schilling TOC Type: 1 = CD-ROM scsidev: '0,0,0' scsibus: 0 target: 0 lun: 0 Linux sg driver version: 3.1.24 Using libscg version 'schily-0.7' atapi: 1 Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'SONY ' Identifikation : 'CD-RW CRX216E ' Revision : 'PD01' Device seems to be: Generic mmc CD-RW. Using generic SCSI-3/mmc CD-R driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE FORCESPEED Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R Drive buf size : 1895168 = 1850 KB FIFO size : 4194304 = 4096 KB Track 01: data 1016 MB Total size: 1167 MB (115:40.61) = 520546 sectors Lout start: 1167 MB (115:42/46) = 520546 sectors Current Secsize: 2048 ATIP info from disk: Indicated writing power: 5 Is not unrestricted Is not erasable Disk sub type: Medium Type B, low Beta category (B-) (4) ATIP start of lead in: -12369 (97:17/06) ATIP start of lead out: 359849 (79:59/74) Disk type: Short strategy type (Phthalocyanine or simil ar) Manuf. index: 69 Manufacturer: Moser Baer India Limited Manufacturer is guessed because of the orange forum embarg o. The orange forum likes to get money for recent information . The information for this media may not be correct. Blocks total: 359849 Blocks current: 359326 Blocks remaini ng: -161220 cdrecord: WARNING: Data may not fit on current disk. cdrecord: Notice: Most recorders cannot write CD's >= 90 m inutes. cdrecord: Notice: Use -ignsize option to allow >= 90 minut es. cdrecord: Notice: Use -overburn option to write more than the official disk capacity. cdrecord: Notice: Most CD-writers do overburning only on S AO or RAW mode. [root@pcp07744476pcs oracle]# cdrecord -v -ignsize speed=4 dev=0,0,0 -data number1.img Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling TOC Type: 1 = CD-ROM scsidev: '0,0,0' scsibus: 0 target: 0 lun: 0 Linux sg driver version: 3.1.24 Using libscg version 'schily-0.7' atapi: 1 Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'SONY ' Identifikation : 'CD-RW CRX216E ' Revision : 'PD01' Device seems to be: Generic mmc CD-RW. Using generic SCSI-3/mmc CD-R driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE FORCESPEED Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R Drive buf size : 1895168 = 1850 KB FIFO size : 4194304 = 4096 KB Track 01: data 1016 MB Total size: 1167 MB (115:40.61) = 520546 sectors Lout start: 1167 MB (115:42/46) = 520546 sectors Current Secsize: 2048 See next post for more output |
continued
ATIP info from disk: Indicated writing power: 5 Is not unrestricted Is not erasable Disk sub type: Medium Type B, low Beta category (B-) (4) ATIP start of lead in: -12369 (97:17/06) ATIP start of lead out: 359849 (79:59/74) Disk type: Short strategy type (Phthalocyanine or similar) Manuf. index: 69 Manufacturer: Moser Baer India Limited Manufacturer is guessed because of the orange forum embargo. The orange forum likes to get money for recent information. The information for this media may not be correct. Blocks total: 359849 Blocks current: 359326 Blocks remaining: -161220 cdrecord: WARNING: Data may not fit on current disk. cdrecord: Notice: Overburning active. Trying to write more than the official disk capacity. Forcespeed is OFF. Starting to write CD/DVD at speed 4 in real TAO mode for single session. Last chance to quit, starting real write 0 seconds. Operation starts. Waiting for reader process to fill input buffer ... input buffer ready. BURN-Free is ON. Turning BURN-Free off Performing OPC... Starting new track at sector: 523 Track 01: 0 of 1016 MB written.cdrecord: Input/output error. write_g1: scsi sendcmd: no error CDB: 2A 00 00 00 02 0B 00 00 1F 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 64 00 00 00 Sense Key: 0x5 Illegal Request, Segment 0 Sense Code: 0x64 Qual 0x00 (illegal mode for this track) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 0.024s timeout 40s write track data: error after 0 bytes Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00 00 00 Writing time: 28.071s Average write speed 999.0x. Fixating... cdrecord: Input/output error. close track/session: scsi sendcmd: no error CDB: 5B 00 02 00 00 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 72 03 00 00 Sense Key: 0x5 Illegal Request, Segment 0 Sense Code: 0x72 Qual 0x03 (session fixation error - incomplete track in session) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 0.000s timeout 480s cmd finished after 0.000s timeout 480s Fixating time: 0.004s cdrecord: fifo had 64 puts and 1 gets. cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%. |
CD RW Writing data to a CD
RH9 and two RW drives; one HP one Plextor. When I put a blank CDRW in either of my drives a window opens that is titled " burn:/// ". Then I drag and drop files and click on write CD. I think your RH9 should do the same. Did you leave anything out when you did the install?
|
Bought my system from Dell. RH9 was preinstalled.
|
Any more insights to my problem? Seem to be making progress but have yet to place a byte on a CD.
|
try this post http://www.linuxquestions.org/questi...557#post711557
|
Ok, I have read this post and a few others on the subject of enabling scsi emulation, after first reading and following the Tutorial at http://www.tldp.org/HOWTO/CD-Writing-HOWTO.html I have still had no success, here is the output of cdrecord -scanbus ran as root
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jrg Schilling cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root. cdrecord: For possible transport specifiers try 'cdrecord dev=help'. My thoughts are that it is not loading the module in the kernel. an out put of lsmod relative information is as follows. [root@localhost home]# /sbin/lsmod Module Size Used by Not tainted cs4281 48168 1 (autoclean) soundcore 6116 3 (autoclean) [cs4281] agpgart 44544 0 (unused) sg 34572 0 (autoclean) (unused) scsi_mod 102616 1 (autoclean) [sg] parport_pc 17508 1 (autoclean) ...... I think this shows that it has been installed where it says: sg 34572 0 (autoclean) (unused) scsi_mod 102616 1 (autoclean) [sg] I installed RedHat 9.0 over the internet off a boot floppy via ftp and I chose to install lilo as my boot loader. So here are the changes that I have tried with the lilo.conf [root@localhost home]# cat /etc/lilo.conf prompt timeout=50..... -----Cut----------- ... image=/boot/vmlinuz-2.4.20-8 label=linux initrd=/boot/initrd-2.4.20-8.img read-only append="root=LABEL=/" " hdd=ide-scsi" I have also tried the following iterations ---No Quotes---: append=root=root=LABEL=/ hdd=ide-scsi append="root=LABEL=/" hdd=ide-scsi originally it was append="root=LABEL=/" all of these to no avail the output from cdrecord is the same. this led me to believe that the problem was that the device should have been something other than ( hdd ) so I rechecked the output from my start up logs and they are as follows. [root@localhost]# cat /var/log/dmesg interesting info as follows: zone(0): 4096 pages. zone(1): 86000 pages. zone(2): 0 pages. Kernel command line: auto BOOT_IMAGE=linux ro BOOT_FILE=/boot/vmlinuz-2.4.20-8 root=LABEL=/ Initializing CPU#0 Detected 501.146 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 999.42 BogoMIPS Memory: 350336k/360384k available (1221k kernel code, 7488k reserved, 993k data, 116k init, 0k highmem) CPU: AMD-K6(tm) 3D processor stepping 0c ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller at PCI slot 00:07.1 VP_IDE: chipset revision 6 VP_IDE: not 100% native mode: will probe irqs later ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: VIA vt82c586b (rev 41) IDE UDMA33 controller on pci00:07.1 ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:pio, hdd:DMA hda: WDC WD136AA, ATA DISK drive blk: queue c03944a0, I/O limit 4095Mb (mask 0xffffffff) hdd: R/RW 4x4x32, ATAPI CD/DVD-ROM drive ide2: ports already in use, skipping probe ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: host protected area => 1 hda: 26564832 sectors (13601 MB) w/2048KiB Cache, CHS=1653/255/63, UDMA(33) Partition check: hda: hda1 hda2 < hda5 hda6 hda7 hda8 > the line that begins hdd: tells me that it has found my cdrom and that it is a R/W 4x4x32 ATAPI CD/DVD-ROM drive, so I think it should be installed with at least one of the lilo.conf changes that I made. I am a little confused about the syntax of the lilo.conf format regarding the use of quotes in the apend statemant. That is why I tried all of the combinations above. I also modified the following file as follows. [root@localhost]# cat /etc/modules.conf added the following line alias scsi_hostadapter /dev/hdd I am not sure what I could be missing, because I think that it should be working, the only thing I haven't done is edited the grub files in my /boot directory, I installed an rpm for grub to configure some network clients to boot grub when I couldn't get them to work pro perly withe my ethernet card and lilo... still not sure why. Is this going to be the case for my cdwriter, I hope not. It is an older model acer cdwriter 4x4x32, maybe it is the scsi emulation driver that is the problem, is there some other driver that I can use besides ide-scsi, I really want to get this working so that I can burn an .iso image of Knoppix. I hope that someone reading this can see what I am missing or give me some ideas. |
[root@localhost ron]# insmod ide-scsi.o
bash: insmod: command not found [root@localhost ron]# /sbin/insmod ide-scsi.o insmod: ide-scsi.o: No such file or directory [root@localhost ron]# /sbin/insmod /lib/modules/2.4.20-8/kernel/drivers/scsi/ide-scsi.o [root@localhost ron]# cdrecord -scanbus Linux sg driver version: 3.1.24 Using libscg version 'schily-0.7' cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.75-RH '@(#)scsi-linux-sg.c 1.75 02/10/21 Copyright 1997 J. Schilling'). scsibus0: 0,0,0 0) 'IDE-CD ' 'R/RW 4x4x32 ' '1.3B' 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) * [root@localhost ron]# I guess it is not finding the driver file because I can load it manually, How do I fix this do I need to put the full path in my append= statement? I am going to try changing the moduels . conf file It appears to be refering to the wrong file. |
rjwright
Just a BTW but are you runing /sbin/lilo after editing the lilo.conf file? |
no I am not does this make a difference, Iam still having to load the module manually with insmod after reboot.
also after I have loaded the module I get errors when trying to mout a data cd # mount /dev/cdrom mount: /dev/cdrom is not a block device I have /dev/cdrom symlinked /dev/cdrom -> sg0 I think this is correct /etc/fstab line is as follows /dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0 |
Yes, you need to rewrite lilo to the MBR or where ever you load it to anytime you edit lilo.conf for changes to be effective. Then reboot the PC.
Your CDROM device should be /dev/scd0. |
|
Thanks michaelk
i'll rerun /sbin/lilo thanks it is scd0 I have no problems mounting a disk with this device. # mount /dev/scd0 /mnt/cdrom |
All times are GMT -5. The time now is 10:26 PM. |