public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH: NEW SUBARCHITECTURE FOR 2.5.21] support for NCR voyager  (3/4/5xxx series)
@ 2002-06-09 17:54 James Bottomley
  2002-06-13  8:20 ` Andrey Panin
  0 siblings, 1 reply; 17+ messages in thread
From: James Bottomley @ 2002-06-09 17:54 UTC (permalink / raw)
  To: linux-kernel; +Cc: James.Bottomley

This patch adds SMP (and UP) support for voyager which is an (up to 32 way) 
SMP microchannel non-PC architecture.

There's basically nothing different from the 2.5.15 one except for updates and 
changes to the arch-split and a few #include file additions.

The patch is in two parts:  The i386 sub-architecture split is separated from 
the addition of the voyager components

http://www.hansenpartnership.com/voyager/files/arch-split-2.5.21.diff (165k)
http://www.hansenpartnership.com/voyager/files/voyager-2.5.21.diff (148k)

(The split diff is pretty huge because it's actually moving files about).  You 
must apply the split diff before applying the voyager one.

These two patches are also available as separate bitkeeper trees (the voyager 
tree is a superset of the arch-split one):

http://linux-voyager.bkbits.net/voyager-2.5
http://linux-voyager.bkbits.net/arch-split-2.5

James Bottomley



^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: SCSI host/channel/lun/part to /dev/sd* or maj/minor mapping
@ 2002-06-14  4:16 Douglas Gilbert
  0 siblings, 0 replies; 17+ messages in thread
From: Douglas Gilbert @ 2002-06-14  4:16 UTC (permalink / raw)
  To: Mark Atwood; +Cc: linux-kernel, linux-scsi, kurt

Mark Atwood write:
> Is there a mapping between the Host,Channel,Id,Lun of a SCSI device as
> reported in /proc/scsi/scsi, and the the /dev/sd* names and/or the
> major/minor device numbers?
> 
> I've done some experamentation, and the more obvious ways of doing
> the mapping dont seem to be 100%.

Mark,
There are several utilities discussed at this url:
http://www.torque.net/sg/u_index.html
including scsidev and sg_map. Devfs shows you this mapping
via its hierarchy:
$ ls -l
total 0
brw-------    1 root     root       8,   0 Dec 31  1969 disc
crw-r-----    1 root     root      21,   0 Dec 31  1969 generic
brw-------    1 root     root       8,   1 Dec 31  1969 part1
$ pwd
/dev/scsi/host1/bus0/target0/lun0/


None of these approaches is completely satisfactory. Kurt Garloff
is working on a patch that seems to address this problem quite
cleanly:

$ cat /proc/scsi/map
# C,B,T,U	Type	onl	sg_nm	sg_dev	nm	dev
0,0,00,00	05	1	sg0	c:15:00	sr0	b:0b:00
1,0,01,00	05	1	sg1	c:15:01	sr1	b:0b:01
1,0,03,00	05	1	sg3	c:15:03	sr2	b:0b:02
1,0,05,00	00	1	sg4	c:15:04	sda	b:08:00
1,0,09,00	00	1	sg5	c:15:05	sdb	b:08:10
1,0,02,00	01	1	sg2	c:15:02	osst0	c:ce:00
2,0,01,00	05	1	sg6	c:15:06	sr3	b:0b:03
2,0,02,00	01	1	sg7	c:15:07	osst1	c:ce:01
2,0,03,00	05	1	sg8	c:15:08	sr4	b:0b:04
2,0,09,00	00	1	sg10	c:15:0a	sdd	b:08:30
3,0,10,00	00	1	sg11	c:15:0b	sde	b:08:40
3,0,12,00	00	1	sg12	c:15:0c	sdf	b:08:50


Doug Gilbert

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2002-06-17 14:03 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-09 17:54 [PATCH: NEW SUBARCHITECTURE FOR 2.5.21] support for NCR voyager (3/4/5xxx series) James Bottomley
2002-06-13  8:20 ` Andrey Panin
2002-06-13 15:48   ` James Bottomley
2002-06-13 23:17     ` Dave Jones
2002-06-14  0:13       ` James Bottomley
2002-06-14  0:45         ` Dave Jones
2002-06-14  2:19           ` Matthew D. Pitts
2002-06-14  2:52             ` SCSI host/channel/lun/part to /dev/sd* or maj/minor mapping Mark Atwood
2002-06-14 13:41           ` [PATCH: NEW SUBARCHITECTURE FOR 2.5.21] support for NCR voyager (3/4/5xxx series) Andrey Panin
2002-06-14 13:49             ` Dave Jones
2002-06-14 13:52               ` Andrey Panin
2002-06-14 14:14                 ` James Bottomley
2002-06-14 14:16                 ` Dave Jones
2002-06-17 13:36                   ` Andrey Panin
2002-06-17 14:03                     ` Dave Jones
2002-06-16  0:00             ` James Bottomley
  -- strict thread matches above, loose matches on Subject: below --
2002-06-14  4:16 SCSI host/channel/lun/part to /dev/sd* or maj/minor mapping Douglas Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox