From: Albert Cahalan <acahalan@gmail.com>
To: Joerg Schilling <schilling@fokus.fraunhofer.de>
Cc: matthias.andree@gmx.de, jengelh@linux01.gwdg.de,
mrmacman_g4@mac.com, linux-kernel@vger.kernel.org,
bzolnier@gmail.com
Subject: Re: CD writing in future Linux try #2 [ was: Re: CD writing in future Linux (stirring up a hornets' nest) ]
Date: Sun, 29 Jan 2006 16:28:53 -0500 [thread overview]
Message-ID: <787b0d920601291328k52191977h3778a7c833d640f2@mail.gmail.com> (raw)
In-Reply-To: <43DD2A8A.nailGVQ115GOP@burner>
On 1/29/06, Joerg Schilling <schilling@fokus.fraunhofer.de> wrote:
> Jan Engelhardt <jengelh@linux01.gwdg.de> wrote:
>
> > >That's what I believe to be cdrecord/libscg bugs:
> > >
> > >1) libscg or cdrecord does not automatically probe all available
> > > transports, but only SCSI:
> >
> > This one is IMO just "a missing feature", as I can get the ATA/PI list using
> > cdrecord -dev=ATA: -scanbus
>
> It cannot be fixed unless the two first bugs from my Linux kernel
> bug report have been fixed.
Which, from an earlier email, were:
> ide-scsi does not do DMA if the DMAsize is not a
> multiple of 512 A person who knows internal Linux
> structures shoule be able to fix this (and allow
> any multiple of 4) in less than one hour.
and
> /dev/hd* artificially prevents the ioctls
> SCSI_IOCTL_GET_IDLUN SCSI_IOCTL_GET_BUS_NUMBER from
> returning useful values. As long as this bug is present,
> there is no way to see SG_IO via /dev/hd* as integral
> part of the Linux SCSI transport concept.
Let's address the second bug first. Linux provides full
bus number and LUN info for all block devices. You get it
like this:
struct stat sbuf;
stat("/dev/hdc", &sbuf);
int bus = sbuf.st_mode>>12;
int target = major(sbuf.st_rdev);
int lun = minor(sbuf.st_rdev);
That makes as much sense as anything, and it lets you quickly
find back the device by scanning /dev.
As for ide-scsi, your right, it's horribly broken. We should
just get rid of it. If there is anything that the normal driver
is unable to do well, I'm sure you'll let us know.
next prev parent reply other threads:[~2006-01-29 21:28 UTC|newest]
Thread overview: 89+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-27 16:37 Bartlomiej Zolnierkiewicz
2006-01-29 11:01 ` Joerg Schilling
2006-01-29 11:15 ` Jan Engelhardt
2006-01-29 11:28 ` Matthias Andree
2006-01-30 15:24 ` Joerg Schilling
2006-02-05 12:03 ` Jan Engelhardt
2006-02-06 16:29 ` Joerg Schilling
2006-02-06 17:17 ` René Rebe
2006-02-06 18:02 ` Matthias Andree
2006-01-29 11:26 ` Matthias Andree
2006-01-29 20:41 ` Jan Engelhardt
2006-01-29 20:50 ` Joerg Schilling
2006-01-29 21:28 ` Albert Cahalan [this message]
2006-01-30 16:11 ` Joerg Schilling
2006-01-30 16:31 ` Albert Cahalan
2006-01-30 16:35 ` Joerg Schilling
2006-01-30 17:08 ` Matthias Andree
2006-01-30 17:14 ` Joerg Schilling
2006-01-30 17:30 ` Matthias Andree
2006-01-30 17:37 ` Joerg Schilling
2006-01-30 17:49 ` Matthias Andree
2006-01-30 20:22 ` James Courtier-Dutton
2006-01-31 10:17 ` Andreas Jellinghaus
2006-01-30 20:24 ` Phillip Susi
2006-01-31 10:47 ` Joerg Schilling
2006-01-31 11:22 ` Matthias Andree
2006-02-01 0:15 ` Bill Davidsen
2006-02-01 7:45 ` Tejun Heo
2006-02-01 16:41 ` Joerg Schilling
2006-01-31 23:55 ` Bill Davidsen
2006-02-01 15:06 ` Joerg Schilling
2006-01-30 15:25 ` Joerg Schilling
2006-01-30 17:09 ` Matthias Andree
2006-01-30 17:15 ` Joerg Schilling
2006-01-30 23:26 ` Pavel Machek
2006-02-01 15:51 ` Jan Engelhardt
2006-01-31 1:43 ` Patrick McFarland
2006-01-31 1:47 ` CD writing in future Linux try #2 David S. Miller
2006-01-31 11:13 ` Gerhard Mack
2006-01-31 11:18 ` David S. Miller
2006-02-01 0:28 ` Bill Davidsen
2006-02-01 15:12 ` Joerg Schilling
2006-02-01 15:25 ` Matthias Andree
2006-02-01 16:32 ` Joerg Schilling
2006-02-02 16:24 ` Jan Engelhardt
2006-02-02 16:29 ` Jan Engelhardt
2006-02-02 18:37 ` Bill Davidsen
2006-02-03 12:58 ` Joerg Schilling
2006-02-03 13:15 ` Matthias Andree
2006-02-03 16:43 ` Joerg Schilling
2006-02-03 13:30 ` linux-os (Dick Johnson)
2006-02-03 19:27 ` Bill Davidsen
2006-02-01 4:49 ` Albert Cahalan
2006-02-01 7:56 ` jerome lacoste
2006-02-01 16:42 ` Joerg Schilling
2006-02-02 0:30 ` Kurt Wall
2006-02-01 11:33 ` Rene Herman
2006-02-01 16:21 ` Jon Agirre
2006-02-02 16:35 ` Jan Engelhardt
2006-02-06 23:15 ` Peter Chubb
2006-02-07 5:00 ` Albert Cahalan
2006-02-01 16:36 ` Joerg Schilling
2006-02-01 17:01 ` Matthias Andree
2006-02-02 19:17 ` Bill Davidsen
2006-01-31 16:46 ` Lennart Sorensen
2006-01-31 14:15 ` linux-os (Dick Johnson)
[not found] ` <515e525f0601302205h4a845f36u12b946515759239a@mail.gmail.com>
2006-01-31 6:46 ` CD writing in future Linux try #2 [ was: Re: CD writing in future Linux (stirring up a hornets' nest) ] Kyle Moffett
2006-01-31 8:55 ` Pekka Enberg
2006-02-01 0:25 ` Jesper Juhl
2006-02-02 16:45 ` Jan Engelhardt
2006-02-10 17:58 ` CD-blanking leads to machine freeze with current -git [was: Re: CD writing in future Linux try #2 [ was: Re: CD writing in future Linux (stirring up a hornets' nest) ]] Marc Koschewski
2006-02-10 19:19 ` Phillip Susi
2006-02-10 19:39 ` Gene Heskett
2006-02-10 20:12 ` Kyle Moffett
2006-02-10 21:00 ` Gene Heskett
2006-02-10 21:00 ` Marc Koschewski
2006-02-10 21:26 ` Phillip Susi
2006-02-10 21:35 ` Lennart Sorensen
2006-02-11 15:16 ` CD-blanking leads to machine freeze with current -git Jan Engelhardt
2006-02-11 15:25 ` Marc Koschewski
2006-02-11 15:35 ` Doug McNaught
2006-02-11 15:44 ` Marc Koschewski
2006-02-10 23:23 ` CD-blanking leads to machine freeze with current -git [was: Re: CD writing in future Linux try #2 [ was: Re: CD writing in future Linux (stirring up a hornets' nest) ]] Alan Cox
2006-02-10 23:41 ` Marc Koschewski
2006-02-10 23:50 ` CD-blanking leads to machine freeze with current -git Doug McNaught
2006-02-10 23:56 ` CD-blanking leads to machine freeze with current -git [was: Re: CD writing in future Linux try #2 [ was: Re: CD writing in future Linux (stirring up a hornets' nest) ]] Alan Cox
2006-02-11 1:03 ` hackmiester (Hunter Fuller)
2006-02-11 1:08 ` Marc Koschewski
[not found] <5zENZ-72l-47@gated-at.bofh.it>
[not found] ` <5AiBB-5AH-17@gated-at.bofh.it>
[not found] ` <5AiV2-62l-7@gated-at.bofh.it>
[not found] ` <5AJ9s-2go-23@gated-at.bofh.it>
[not found] ` <5AKHI-4IV-5@gated-at.bofh.it>
[not found] ` <5AKRr-4V5-19@gated-at.bofh.it>
2006-01-31 1:01 ` CD writing in future Linux try #2 [ was: Re: CD writing in future Linux (stirring up a hornets' nest) ] Robert Hancock
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=787b0d920601291328k52191977h3778a7c833d640f2@mail.gmail.com \
--to=acahalan@gmail.com \
--cc=bzolnier@gmail.com \
--cc=jengelh@linux01.gwdg.de \
--cc=linux-kernel@vger.kernel.org \
--cc=matthias.andree@gmx.de \
--cc=mrmacman_g4@mac.com \
--cc=schilling@fokus.fraunhofer.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®