All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ken Moffat <zarniwhoop@ntlworld.com>
To: linux-kernel@vger.kernel.org
Subject: CD oddities with VIA PATA
Date: Fri, 1 Dec 2006 22:01:34 +0000	[thread overview]
Message-ID: <20061201220134.GA22909@deepthought.linux.bogus> (raw)

 I'm testing 2.6.19 on this box, and I thought I might as well try
out the Parallel ATA driver for the CD/DVD writer (VIA) since the
disk is already handled by libata.

 So far, I've found two oddities - 

(i.) cdparanoia (9.8) works for root, but for a user it complains
that the ioctl isn't cooked and refuses to run.  For test purposes,
it runs ok for a user as suid root, but I imagine that increases
the likelihood of unspeakable things happening.  (Fortunately, I
don't have a dachshund)

(ii.) As a user, I burned a small (28MB) CD using dvdrecord from
dvdrtools-0.3.1, and on a different box I can mount it (using
ide-cd) and it seems fine.  On this box I can't mount it -

ken@ac30 ~ $mount /media/cdrom/
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

 The syslog shows

Dec  1 21:17:41 ac30 kernel: attempt to access beyond end of device
Dec  1 21:17:41 ac30 kernel: sr0: rw=0, want=68, limit=4
Dec  1 21:17:41 ac30 kernel: isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16

 The iso is the gparted-livecd-0.3.1-1.iso.

 The problem might be specific to small CDs, I can mount others (41M
of data and more) without difficulty and all of the likely NLS options
are selected as =y in my config.

Ken
-- 
das eine Mal als Tragödie, das andere Mal als Farce

             reply	other threads:[~2006-12-01 22:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-01 22:01 Ken Moffat [this message]
2006-12-01 22:42 ` CD oddities with VIA PATA Ken Moffat
2006-12-04  5:03   ` Joshua Kwan
2006-12-04 13:46     ` Ken Moffat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061201220134.GA22909@deepthought.linux.bogus \
    --to=zarniwhoop@ntlworld.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.