Problems reading CDRW after writing

2006-01-03 Thread Marc Evans

Hello -

I am running FreeBSD 6.0-STABLE as of Dec-15-2005 on a P4 system. I have a CDRW 
drive attached, which identifies as follows:


acd0: CDRW CD-RW 52X24/K.NC at ata1-slave UDMA33

I wish to use this device to produce CDRW backup disks periodically. I use the 
following commands to produce the backup:


burncd erase
sleep 2 # needed to avoid READY error
tar czf - ... | burncd data - fixate

This appears to work fine, from the perspective of the output of the commands, 
e.g. I see output like:


blanking CD - 100 % done
next writeable LBA 0
writing from stdin
written this track 633420 KB total 633420 KB
fixating CD, please wait..

My problem is that attempts to read the data back, always fail:

# tar tzf /dev/acd0
tar: Error opening archive: Error reading '/dev/acd0': Input/output error
# ls -l /dev/*cd*
crw-r-  1 root  operator0,  93 Jan  3 10:33 /dev/acd0
crw-r-  1 root  operator0, 127 Dec 30 14:26 /dev/acd0t01

No errors are shown in /var/log/messages.

I have also tried writing an ISO9660 image and mounting it, with similar 
problems at mount time.


The above said, I am able to create CD-R data disks and mount them or otherwise 
use them. I have tried several different CD-RW media, and played with -s (the 
media is rated as 12x), but have observed no changes.


Can anyone suggest solutions?

Thanks in advance - Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems reading CDRW after writing

2006-01-03 Thread Marc Evans

Hello -

I am running FreeBSD 6.0-STABLE as of Dec-15-2005 on a P4 system. I have a CDRW 
drive attached, which identifies as follows:


acd0: CDRW CD-RW 52X24/K.NC at ata1-slave UDMA33

I wish to use this device to produce CDRW backup disks periodically. I use the 
following commands to produce the backup:


burncd erase
sleep 2 # needed to avoid READY error
tar czf - ... | burncd data - fixate

This appears to work fine, from the perspective of the output of the commands, 
e.g. I see output like:


blanking CD - 100 % done
next writeable LBA 0
writing from stdin
written this track 633420 KB total 633420 KB
fixating CD, please wait..

My problem is that attempts to read the data back, always fail:

# tar tzf /dev/acd0
tar: Error opening archive: Error reading '/dev/acd0': Input/output error
# ls -l /dev/*cd*
crw-r-  1 root  operator0,  93 Jan  3 10:33 /dev/acd0
crw-r-  1 root  operator0, 127 Dec 30 14:26 /dev/acd0t01

No errors are shown in /var/log/messages.

I have also tried writing an ISO9660 image and mounting it, with similar 
problems at mount time.


The above said, I am able to create CD-R data disks and mount them or otherwise 
use them. I have tried several different CD-RW media, and played with -s (the 
media is rated as 12x), but have observed no changes.


Can anyone suggest solutions?

Thanks in advance - Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD-5.1 on Thinkpad 600 - cbb0 problems

2003-11-17 Thread Marc Evans
Hi -

I have an IBM Thinkpad 600 (no letter after the 600) which I have recently
installed FreeBSD-5.1 onto via CD-ROM. When booting the system, there are
several lines logged to /var/log/messages which are troubling. I believe
that these messages are at the root of why none of my PCMCIA cards
function. Ideally, I'd like to get my NIC (3CCFE575CT-D) working. The
messages observed are:

pci0: PCI bus on pcib0
cbb0: TI1250 PCI-CardBus Bridge mem 0x2130100-0x21301fff at device 2.0 on pci0
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCARD bus on cbb0
cbb: Unable to map IRQ...
device_probe_and_attach: cbb0: attach returned 12

A similar set of lines is output for cardbus1. Somewhat later in the log I
also see these lines:

unknown: PNP0303 can't assign resources (port)
unknown: IBM3780 can't assign resources (irq)
unknown: PNP0700 can't assign resources (port)
unknown: PNP0c02 can't assign resources (port)
unknown: PNP0400 can't assign resources (port)
unknown: PNP0071 can't assign resources (port)
unknown: PNP0e03 can't assign resources (port)
unknown: PNP0680 can't assign resources (port)
unknown: PNP0680 can't assign resources (port)

I have not placed anything into /etc/pccard.conf nor have I build a
custom kernel. I have used this same set of hardware with a few different
Linux variations, including Knoppix and Mandrake.

I have tried running pccardd -d by hand, found that nothing is output to
the screen and it quickly terminates with a status 1. I also observe that
/dev/card* don't exist.

My questions are:

1) Does anyone else have an IBM Thinkpad 600 working with any
   pccards, and if so what magic did you find necessary?

2) Can anyone provide suggestions/pointers given the log
   information shown?

3) What other information should I provide for people to be
   able to better help me?

Thanks in advance - Marc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD-5.1 on Thinkpad 600 - cbb0 problems

2003-11-17 Thread Marc Evans
Hi -

I have made some progress on my own with this, but not complete progress.
What I have done is:

1) build a customer kernel with make buildkernel KERNCONF=OLDCONF

2) create /etc/pccard.conf with one line irqTAB9

3) swap the 3CCFE575CT-D for a 3C589C card.

Now then, what are my remaining problems?

A) If I remove and insert the card after it has been configured,
   the system hangs forever.

B) If I kill and start the pccardd process, it is unable to assign
   an IRQ.

So, with this further information, does anyone have further suggestions?
It would be nice to have the 10/100 (3c575) card work, and I have a
feeling that I should be worried about using IRQ 9.

Thanks in advance - Marc

On Mon, 17 Nov 2003, Marc Evans wrote:

 Hi -

 I have an IBM Thinkpad 600 (no letter after the 600) which I have recently
 installed FreeBSD-5.1 onto via CD-ROM. When booting the system, there are
 several lines logged to /var/log/messages which are troubling. I believe
 that these messages are at the root of why none of my PCMCIA cards
 function. Ideally, I'd like to get my NIC (3CCFE575CT-D) working. The
 messages observed are:

 pci0: PCI bus on pcib0
 cbb0: TI1250 PCI-CardBus Bridge mem 0x2130100-0x21301fff at device 2.0 on pci0
 cardbus0: CardBus bus on cbb0
 pccard0: 16-bit PCCARD bus on cbb0
 cbb: Unable to map IRQ...
 device_probe_and_attach: cbb0: attach returned 12

 A similar set of lines is output for cardbus1. Somewhat later in the log I
 also see these lines:

 unknown: PNP0303 can't assign resources (port)
 unknown: IBM3780 can't assign resources (irq)
 unknown: PNP0700 can't assign resources (port)
 unknown: PNP0c02 can't assign resources (port)
 unknown: PNP0400 can't assign resources (port)
 unknown: PNP0071 can't assign resources (port)
 unknown: PNP0e03 can't assign resources (port)
 unknown: PNP0680 can't assign resources (port)
 unknown: PNP0680 can't assign resources (port)

 I have not placed anything into /etc/pccard.conf nor have I build a
 custom kernel. I have used this same set of hardware with a few different
 Linux variations, including Knoppix and Mandrake.

 I have tried running pccardd -d by hand, found that nothing is output to
 the screen and it quickly terminates with a status 1. I also observe that
 /dev/card* don't exist.

 My questions are:

   1) Does anyone else have an IBM Thinkpad 600 working with any
  pccards, and if so what magic did you find necessary?

   2) Can anyone provide suggestions/pointers given the log
  information shown?

   3) What other information should I provide for people to be
  able to better help me?

 Thanks in advance - Marc
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]