Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   growisofs fails as user, sometimes works as root! (http://www.linux-archive.org/gentoo-user/69916-growisofs-fails-user-sometimes-works-root.html)

Iain Buchanan 04-15-2008 04:36 AM

growisofs fails as user, sometimes works as root!
 
growisofs (and hence k3b, and nautilus-cd-burner) can't burn dvd's for
me anymore! I used to burn them fine, and I've had dvd+rw-tools version
7 since 2006! k3b reports there are no "problems" on startup.

I swapped drives, used different media, limited the speed, and tried all
sorts of options from k3b, but no success. The k3b or command line
error is pretty much the same. It fails when I hear the first "seek"
noises from the drive:

$ growisofs -Z /dev/hdc -speed=1 -R -J -relaxed-filenames
-allow-lowercase -l Media
Executing 'mkisofs -R -J -relaxed-filenames -allow-lowercase -l Media |
builtin_dd of=/dev/hdc obs=32k seek=0'
Warning: creating filesystem that does not conform to ISO-9660.
Setting input-charset to 'UTF-8' from locale.
1.62% done, estimate finish Tue Apr 15 13:05:39 2008
3.23% done, estimate finish Tue Apr 15 13:05:08 2008
4.84% done, estimate finish Tue Apr 15 13:05:19 2008
/dev/hdc: "Current Write Speed" is 2.4x1352KBps.
:-[ WRITE@LBA=0h failed with SK=3h/ASC=73h/ACQ=03h]: Input/output error
:-( write failed: Input/output error

However, when I do the exact same command as root (su, not sudo!) it
worked the first time, but not again:

# growisofs -Z /dev/hdc -speed=1 -R -J -relaxed-filenames
-allow-lowercase -l Media
Executing 'mkisofs -R -J -relaxed-filenames -allow-lowercase -l Media |
builtin_dd of=/dev/hdc obs=32k seek=0'
Warning: creating filesystem that does not conform to ISO-9660.
Setting input-charset to 'ISO-8859-1' from locale.
1.62% done, estimate finish Tue Apr 15 12:01:55 2008
3.23% done, estimate finish Tue Apr 15 12:01:55 2008
4.84% done, estimate finish Tue Apr 15 12:01:55 2008
/dev/hdc: "Current Write Speed" is 2.4x1352KBps.
6.45% done, estimate finish Tue Apr 15 12:05:16 2008
8.06% done, estimate finish Tue Apr 15 12:05:13 2008
======== snip! ========
99.93% done, estimate finish Tue Apr 15 12:05:01 2008
Total translation table size: 0
Total rockridge attributes bytes: 50699
Total directory bytes: 92160
Path table size(bytes): 192
Max brk space used 82000
310213 extents written (605 MB)
builtin_dd: 310224*2KB out @ average 2.3x1352KBps
/dev/hdc: flushing cache
/dev/hdc: closing track
/dev/hdc: closing session

and then:
# growisofs -Z /dev/hdc -speed=1 -R -J -relaxed-filenames
-allow-lowercase -l Media
Executing 'mkisofs -R -J -relaxed-filenames -allow-lowercase -l Media |
builtin_dd of=/dev/hdc obs=32k seek=0'
Warning: creating filesystem that does not conform to ISO-9660.
Setting input-charset to 'ISO-8859-1' from locale.
1.62% done, estimate finish Tue Apr 15 13:10:29 2008
3.23% done, estimate finish Tue Apr 15 13:10:29 2008
4.84% done, estimate finish Tue Apr 15 13:10:29 2008
/dev/hdc: "Current Write Speed" is 2.4x1352KBps.
:-[ WRITE@LBA=0h failed with SK=3h/ASC=73h/ACQ=03h]: Input/output error
:-( write failed: Input/output error

The failed dvd's are not coasters - I burnt one again as root, so not a
thing is getting written to them on failure.

>From google I found various suggestions - changing dma, kernels, etc.
but I don't think these apply as it works as root on the same machine.
I tried what I could anyway - no luck.

I also chmod'd growisofs to suid root just in case, but this didn't help
at all.

I would appreciate any help! Thanks,
--
Iain Buchanan <iaindb at netspace dot net dot au>

Most burning issues generate far more heat than light.

--
gentoo-user@lists.gentoo.org mailing list


All times are GMT. The time now is 05:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.