1 |
On Sat, Jun 12, 2004 at 03:05:21PM -0400, Nathaniel McCallum wrote: |
2 |
> I need as many people as possible to test (for the Gentoo installer |
3 |
> project) the following python script on your system: |
4 |
> http://dev.gentoo.org/~npmccallum/detect_devices.py This is especially |
5 |
> important if you have scsi, hardware raid, or otherwise funky setups. |
6 |
In your latest revision, there is a glitch, line 64: |
7 |
elif os.getuid != 0: |
8 |
should be: |
9 |
elif os.getuid() != 0: |
10 |
|
11 |
It doesn't work right on my machines. |
12 |
|
13 |
Machine #1 (1x 120Gb IDE) |
14 |
|
15 |
curie-int root # ./detect_devices.py ; cat /proc/partitions |
16 |
Your devices are detected by this script as: |
17 |
Fdisk detected your devices as: |
18 |
/dev/ide/host0/bus0/target0/lun0/disc |
19 |
|
20 |
Compare the two lists above with your real system devices (not partitions). |
21 |
Ideally, the two lists should be the same. If the lists are missing any |
22 |
devices or have extra devices, please email me a copy of the output of this |
23 |
and of 'cat /proc/partitions' to my address npmccallum@g.o |
24 |
|
25 |
major minor #blocks name rio rmerge rsect ruse wio wmerge wsect wuse running use aveq |
26 |
|
27 |
3 0 117220824 ide/host0/bus0/target0/lun0/disc 4162161 1603063 46123424 14719997 44459076 47204253 734171120 17568362 -3 23610851 19216800 |
28 |
3 1 128488 ide/host0/bus0/target0/lun0/part1 0 0 0 0 0 0 0 0 0 0 0 |
29 |
3 2 1 ide/host0/bus0/target0/lun0/part2 0 0 0 0 0 0 0 0 0 0 0 |
30 |
3 5 10000431 ide/host0/bus0/target0/lun0/part5 675342 71662 5976024 7695170 9177860 6781764 127692064 42071144 0 23082310 6818111 |
31 |
3 6 30001356 ide/host0/bus0/target0/lun0/part6 1874557 430319 18441260 15972440 11029814 11514489 180649768 22640569 0 14103757 38671149 |
32 |
3 7 30001356 ide/host0/bus0/target0/lun0/part7 817678 491216 10472772 21546120 20131695 23970015 353025384 24031483 0 10235174 3969300 |
33 |
3 8 36089991 ide/host0/bus0/target0/lun0/part8 771100 540449 10492380 11934990 2773927 3309187 48974848 6276944 0 23827540 18228534 |
34 |
3 9 10000431 ide/host0/bus0/target0/lun0/part9 14828 34384 393684 142990 1334437 1569217 23235176 4989707 0 9251680 5136597 |
35 |
3 10 995998 ide/host0/bus0/target0/lun0/part10 8609 34712 346568 377490 11343 59581 593880 3457860 0 231640 3880990 |
36 |
|
37 |
Machine 2 (2x 36Gb SCSI): |
38 |
lark robbat2 # ./detect_devices.py ; cat /proc/partitions |
39 |
Your devices are detected by this script as: |
40 |
Fdisk detected your devices as: |
41 |
/dev/scsi/host0/bus0/target0/lun0/disc |
42 |
/dev/scsi/host0/bus0/target6/lun0/disc |
43 |
|
44 |
Compare the two lists above with your real system devices (not partitions). |
45 |
Ideally, the two lists should be the same. If the lists are missing any |
46 |
devices or have extra devices, please email me a copy of the output of this |
47 |
and of 'cat /proc/partitions' to my address npmccallum@g.o |
48 |
|
49 |
major minor #blocks name rio rmerge rsect ruse wio wmerge wsect wuse running use aveq |
50 |
|
51 |
8 0 35843686 scsi/host0/bus0/target0/lun0/disc 6300515 1927897 65807426 9817097 12757904 31493402 354251790 36333857 0 25378097 3281991 |
52 |
8 1 48163 scsi/host0/bus0/target0/lun0/part1 94 3122 6432 290 2 1 6 20 0 280 310 |
53 |
8 2 996030 scsi/host0/bus0/target0/lun0/part2 333060 655785 7910776 4681920 44551 856501 7212896 3110390 0 5047110 7792170 |
54 |
8 3 34796790 scsi/host0/bus0/target0/lun0/part3 5967350 1268897 57890010 5134817 12713351 30636900 347038888 33223447 0 24682547 38442614 |
55 |
8 16 35843670 scsi/host0/bus0/target6/lun0/disc 6025201 1945880 60980106 251137 900592 2351224 6906926 10960539 0 24753740 11213736 |
56 |
8 17 2939863 scsi/host0/bus0/target6/lun0/part1 5563429 1942893 60050588 38286280 35879 28456 514776 818680 0 22346310 39103040 |
57 |
8 18 4000185 scsi/host0/bus0/target6/lun0/part2 461761 2894 929310 4914460 864713 2322768 6392150 10141859 0 5354850 15059859 |
58 |
|
59 |
Machine 3 (3x 1Tb SCSI, 1x 36Gb SCSI, 1x 40Gb SCSI [3ware RAID1 2x40GB IDE]) |
60 |
|
61 |
Your devices are detected by this script as: |
62 |
/dev/sda |
63 |
|
64 |
/dev/sdb |
65 |
|
66 |
/dev/sdc |
67 |
|
68 |
/dev/sdd |
69 |
|
70 |
/dev/sde |
71 |
|
72 |
Fdisk detected your devices as: |
73 |
/dev/sda |
74 |
/dev/sdb |
75 |
/dev/sdc |
76 |
/dev/sdd |
77 |
/dev/sde |
78 |
|
79 |
Compare the two lists above with your real system devices (not partitions). |
80 |
Ideally, the two lists should be the same. If the lists are missing any |
81 |
devices or have extra devices, please email me a copy of the output of this |
82 |
and of 'cat /proc/partitions' to my address npmccallum@g.o |
83 |
|
84 |
major minor #blocks name |
85 |
|
86 |
8 0 995721216 sda |
87 |
8 1 995716701 sda1 |
88 |
8 16 995721216 sdb |
89 |
8 17 995716701 sdb1 |
90 |
8 32 995721216 sdc |
91 |
8 33 995716701 sdc1 |
92 |
8 48 35916548 sdd |
93 |
8 49 35913276 sdd1 |
94 |
8 64 39120464 sde |
95 |
8 65 64228 sde1 |
96 |
8 66 1 sde2 |
97 |
8 69 995998 sde5 |
98 |
8 70 10000431 sde6 |
99 |
8 71 22000986 sde7 |
100 |
8 72 3028221 sde8 |
101 |
8 73 3028221 sde9 |
102 |
|
103 |
Machine 4 (1x 36Gb SCSI, 2x 40GB IDE [using software RAID1]): |
104 |
|
105 |
yamato root # ./detect_devices.py ; cat /proc/partitions |
106 |
Your devices are detected by this script as: |
107 |
/dev/scsi/host1/bus0/target0/lun0/disc |
108 |
|
109 |
/dev/md/0 |
110 |
|
111 |
/dev/ide/host0/bus1/target0/lun0/disc |
112 |
|
113 |
/dev/ide/host0/bus0/target0/lun0/disc |
114 |
|
115 |
Fdisk detected your devices as: |
116 |
/dev/scsi/host1/bus0/target0/lun0/disc |
117 |
/dev/ide/host0/bus1/target0/lun0/disc |
118 |
/dev/ide/host0/bus0/target0/lun0/disc |
119 |
|
120 |
Compare the two lists above with your real system devices (not partitions). |
121 |
Ideally, the two lists should be the same. If the lists are missing any |
122 |
devices or have extra devices, please email me a copy of the output of this |
123 |
and of 'cat /proc/partitions' to my address npmccallum@g.o |
124 |
|
125 |
major minor #blocks name |
126 |
|
127 |
8 0 35916548 scsi/host1/bus0/target0/lun0/disc |
128 |
8 1 35913276 scsi/host1/bus0/target0/lun0/part1 |
129 |
9 0 64128 md/0 |
130 |
9 1 995904 md/1 |
131 |
9 2 10000320 md/2 |
132 |
9 3 24996992 md/3 |
133 |
22 0 39121488 ide/host0/bus1/target0/lun0/disc |
134 |
22 1 64228 ide/host0/bus1/target0/lun0/part1 |
135 |
22 2 1 ide/host0/bus1/target0/lun0/part2 |
136 |
22 5 995998 ide/host0/bus1/target0/lun0/part5 |
137 |
22 6 10000431 ide/host0/bus1/target0/lun0/part6 |
138 |
22 7 24997108 ide/host0/bus1/target0/lun0/part7 |
139 |
22 8 3060351 ide/host0/bus1/target0/lun0/part8 |
140 |
3 0 39121488 ide/host0/bus0/target0/lun0/disc |
141 |
3 1 64228 ide/host0/bus0/target0/lun0/part1 |
142 |
3 2 1 ide/host0/bus0/target0/lun0/part2 |
143 |
3 5 995998 ide/host0/bus0/target0/lun0/part5 |
144 |
3 6 10000431 ide/host0/bus0/target0/lun0/part6 |
145 |
3 7 24997108 ide/host0/bus0/target0/lun0/part7 |
146 |
3 8 3060351 ide/host0/bus0/target0/lun0/part8 |
147 |
|
148 |
|
149 |
|
150 |
-- |
151 |
Robin Hugh Johnson |
152 |
E-Mail : robbat2@××××××××××××××.net |
153 |
Home Page : http://www.orbis-terrarum.net/?l=people.robbat2 |
154 |
ICQ# : 30269588 or 41961639 |
155 |
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 |