Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create INL BC11SP12 with NIU2

Status
Not open for further replies.

dusyi

Technical User
Mar 10, 2003
30
DE
Sam Tool Box 3.6 SP3 don´t support NIU2 with flash ata.

The commands for SCSI-Disk are:
scfmt 3 LL
mkdev /DEV/SC31 231
mkfs /DEV/SC31 FFE0 1000 400
mount /DEV/SC31 /USR1

I try to translate it for NIU2 with flash ata:

atfmt 0 LL
mkdev /DEV/AT01 4#1
mkfs /DEV/AT01 3C00 1000 300
mount /DEV/AT01 /USR1

But it don´t works very well.

Who has the right commands.

 
atfmt 0
mkdev /DEV/ATA01 401
mkfs /DEV/AT01 F000 1000 400
mount /DEV/AT01 /USR1

that should do it.
the cullprit here is that you use ATA01 with mkdev and not AT01...

also tried this on ATA HDU7 but I have small problems with formatting disk and will be reported to E///.

 
Done some tests.
The devs are already there .
lOOK AT THIS:
niux > mkdev /DEV/ATA01 4
r = 0x0 (0)
niux > mount /DEV/ATA01 /USR1
r = 0xFFFFFFDC (-36)
niux > mount /DEV/AT01 /USR1 ! This is correct !
r = 0x0 (0)
niux >



The mkfs now makes filesystems identical as with FICRI 64MB and 54MB
niux > ls /DEV
inode blocks privileges owner group size date time name
11 1 brwxrwxrwx 0 0 0 890101 000001 AT01
12 1 brwxrwxrwx 0 0 0 890101 000001 AT02
13 1 brwxrwxrwx 0 0 0 890101 000001 AT03
14 1 brwxrwxrwx 0 0 0 890101 000001 AT04
15 1 brwxrwxrwx 0 0 0 890101 000001 AT05
16 1 brwxrwxrwx 0 0 0 890101 000001 AT06
17 1 brwxrwxrwx 0 0 0 890101 000001 AT07
18 1 brwxrwxrwx 0 0 0 890101 000001 AT08
19 1 brwxrwxrwx 0 0 0 890101 000001 AT09
20 1 brwxrwxrwx 0 0 0 890101 000001 AT11
21 1 brwxrwxrwx 0 0 0 890101 000001 AT12
22 1 brwxrwxrwx 0 0 0 890101 000001 AT13
23 1 brwxrwxrwx 0 0 0 890101 000001 AT14
24 1 brwxrwxrwx 0 0 0 890101 000001 AT15
25 1 brwxrwxrwx 0 0 0 890101 000001 AT16
26 1 brwxrwxrwx 0 0 0 890101 000001 AT17
27 1 brwxrwxrwx 0 0 0 890101 000001 AT18
28 1 brwxrwxrwx 0 0 0 890101 000001 AT19

Start with format .
This test is with NIF2 R4A
SANDISK SDCFB-128

niux > atinfo

Device 0 status=50, error=0, bytes/sec = 250880, Model SanDisk SDCFB-128
CYL =980 (3D4), HD =8 (8), SEC =32 (20)
total LBA sectors = 250880 (3D400)
Multiple Word DMA modes supported:
Minimum DMA cycle time: 0 ns
Recommended DMA cycle time: 0 ns
Minimum PIO cycle time(w/o IORDY): 120 ns
Minimum PIO cycle time(w/ IORDY): 120 ns

niux > atfmt 0
Formatting sector 0 - 3d400
0% done
0% done
0% done
0% done
0% done
0% done
0% done
0% done
0% done
1% done
1% done
1% done
1% done
1% done
1% done
1% done
1% done
1% done
1% done
2% done
2% done
2% done
2% done
2% done
2% done
2% done
2% done
2% done
2% done
3% done
3% done
3% done
3% done
3% done
3% done
3% done
3% done
3% done
3% done
4% done
4% done
4% done
4% done
4% done
4% done
4% done
4% done
4% done
5% done
5% done
5% done
5% done
5% done
5% done
5% done
5% done
5% done
5% done
6% done
6% done
6% done
6% done
6% done
6% done
6% done
6% done
6% done
6% done
7% done
7% done
7% done
7% done
7% done
7% done
7% done
7% done
7% done
7% done
8% done
8% done
8% done
8% done
8% done
8% done
8% done
8% done
8% done
8% done
9% done
9% done
9% done
9% done
9% done
9% done
9% done
9% done
9% done
10% done
10% done
10% done
10% done
10% done
10% done
10% done
10% done
10% done
10% done
11% done
11% done
11% done
11% done
11% done
11% done
11% done
11% done
11% done
11% done
12% done
12% done
12% done
12% done
12% done
12% done
12% done
12% done
12% done
12% done
13% done
13% done
13% done
13% done
13% done
13% done
13% done
13% done
13% done
13% done
14% done
14% done
14% done
14% done
14% done
14% done
14% done
14% done
14% done
15% done
15% done
15% done
15% done
15% done
15% done
15% done
15% done
15% done
15% done
16% done
16% done
16% done
16% done
16% done
16% done
16% done
16% done
16% done
16% done
17% done
17% done
17% done
17% done
17% done
17% done
17% done
17% done
17% done
17% done
18% done
18% done
18% done
18% done
18% done
18% done
18% done
18% done
18% done
18% done
19% done
19% done
19% done
19% done
19% done
19% done
19% done
19% done
19% done
20% done
20% done
20% done
20% done
20% done
20% done
20% done
20% done
20% done
20% done
21% done
21% done
21% done
21% done
21% done
21% done
21% done
21% done
21% done
21% done
22% done
22% done
22% done
22% done
22% done
22% done
22% done
22% done
22% done
22% done
23% done
23% done
23% done
23% done
23% done
23% done
23% done
23% done
23% done
23% done
24% done
24% done
24% done
24% done
24% done
24% done
24% done
24% done
24% done
25% done
25% done
25% done
25% done
25% done
25% done
25% done
25% done
25% done
25% done
26% done
26% done
26% done
26% done
26% done
26% done
26% done
26% done
26% done
26% done
27% done
27% done
27% done
27% done
27% done
27% done
27% done
27% done
27% done
27% done
28% done
28% done
28% done
28% done
28% done
28% done
28% done
28% done
28% done
28% done
29% done
29% done
29% done
29% done
29% done
29% done
29% done
29% done
29% done
30% done
30% done
30% done
30% done
30% done
30% done
30% done
30% done
30% done
30% done
31% done
31% done
31% done
31% done
31% done
31% done
31% done
31% done
31% done
31% done
32% done
32% done
32% done
32% done
32% done
32% done
32% done
32% done
32% done
32% done
33% done
33% done
33% done
33% done
33% done
33% done
33% done
33% done
33% done
33% done
34% done
34% done
34% done
34% done
34% done
34% done
34% done
34% done
34% done
35% done
35% done
35% done
35% done
35% done
35% done
35% done
35% done
35% done
35% done
36% done
36% done
36% done
36% done
36% done
36% done
36% done
36% done
36% done
36% done
37% done
37% done
37% done
37% done
37% done
37% done
37% done
37% done
37% done
37% done
38% done
38% done
38% done
38% done
38% done
38% done
38% done
38% done
38% done
38% done
39% done
39% done
39% done
39% done
39% done
39% done
39% done
39% done
39% done
40% done
40% done
40% done
40% done
40% done
40% done
40% done
40% done
40% done
40% done
41% done
41% done
41% done
41% done
41% done
41% done
41% done
41% done
41% done
41% done
42% done
42% done
42% done
42% done
42% done
42% done
42% done
42% done
42% done
42% done
43% done
43% done
43% done
43% done
43% done
43% done
43% done
43% done
43% done
43% done
44% done
44% done
44% done
44% done
44% done
44% done
44% done
44% done
44% done
45% done
45% done
45% done
45% done
45% done
45% done
45% done
45% done
45% done
45% done
46% done
46% done
46% done
46% done
46% done
46% done
46% done
46% done
46% done
46% done
47% done
47% done
47% done
47% done
47% done
47% done
47% done
47% done
47% done
47% done
48% done
48% done
48% done
48% done
48% done
48% done
48% done
48% done
48% done
48% done
49% done
49% done
49% done
49% done
49% done
49% done
49% done
49% done
49% done
50% done
50% done
50% done
50% done
50% done
50% done
50% done
50% done
50% done
50% done
51% done
51% done
51% done
51% done
51% done
51% done
51% done
51% done
51% done
51% done
52% done
52% done
52% done
52% done
52% done
52% done
52% done
52% done
52% done
52% done
53% done
53% done
53% done
53% done
53% done
53% done
53% done
53% done
53% done
53% done
54% done
54% done
54% done
54% done
54% done
54% done
54% done
54% done
54% done
55% done
55% done
55% done
55% done
55% done
55% done
55% done
55% done
55% done
55% done
56% done
56% done
56% done
56% done
56% done
56% done
56% done
56% done
56% done
56% done
57% done
57% done
57% done
57% done
57% done
57% done
57% done
57% done
57% done
57% done
58% done
58% done
58% done
58% done
58% done
58% done
58% done
58% done
58% done
58% done
59% done
59% done
59% done
59% done
59% done
59% done
59% done
59% done
59% done
60% done
60% done
60% done
60% done
60% done
60% done
60% done
60% done
60% done
60% done
61% done
61% done
61% done
61% done
61% done
61% done
61% done
61% done
61% done
61% done
62% done
62% done
62% done
62% done
62% done
62% done
62% done
62% done
62% done
62% done
63% done
63% done
63% done
63% done
63% done
63% done
63% done
63% done
63% done
63% done
64% done
64% done
64% done
64% done
64% done
64% done
64% done
64% done
64% done
65% done
65% done
65% done
65% done
65% done
65% done
65% done
65% done
65% done
65% done
66% done
66% done
66% done
66% done
66% done
66% done
66% done
66% done
66% done
66% done
67% done
67% done
67% done
67% done
67% done
67% done
67% done
67% done
67% done
67% done
68% done
68% done
68% done
68% done
68% done
68% done
68% done
68% done
68% done
68% done
69% done
69% done
69% done
69% done
69% done
69% done
69% done
69% done
69% done
70% done
70% done
70% done
70% done
70% done
70% done
70% done
70% done
70% done
70% done
71% done
71% done
71% done
71% done
71% done
71% done
71% done
71% done
71% done
71% done
72% done
72% done
72% done
72% done
72% done
72% done
72% done
72% done
72% done
72% done
73% done
73% done
73% done
73% done
73% done
73% done
73% done
73% done
73% done
73% done
74% done
74% done
74% done
74% done
74% done
74% done
74% done
74% done
74% done
75% done
75% done
75% done
75% done
75% done
75% done
75% done
75% done
75% done
75% done
76% done
76% done
76% done
76% done
76% done
76% done
76% done
76% done
76% done
76% done
77% done
77% done
77% done
77% done
77% done
77% done
77% done
77% done
77% done
77% done
78% done
78% done
78% done
78% done
78% done
78% done
78% done
78% done
78% done
78% done
79% done
79% done
79% done
79% done
79% done
79% done
79% done
79% done
79% done
80% done
80% done
80% done
80% done
80% done
80% done
80% done
80% done
80% done
80% done
81% done
81% done
81% done
81% done
81% done
81% done
81% done
81% done
81% done
81% done
82% done
82% done
82% done
82% done
82% done
82% done
82% done
82% done
82% done
82% done
83% done
83% done
83% done
83% done
83% done
83% done
83% done
83% done
83% done
83% done
84% done
84% done
84% done
84% done
84% done
84% done
84% done
84% done
84% done
85% done
85% done
85% done
85% done
85% done
85% done
85% done
85% done
85% done
85% done
86% done
86% done
86% done
86% done
86% done
86% done
86% done
86% done
86% done
86% done
87% done
87% done
87% done
87% done
87% done
87% done
87% done
87% done
87% done
87% done
88% done
88% done
88% done
88% done
88% done
88% done
88% done
88% done
88% done
88% done
89% done
89% done
89% done
89% done
89% done
89% done
89% done
89% done
89% done
90% done
90% done
90% done
90% done
90% done
90% done
90% done
90% done
90% done
90% done
91% done
91% done
91% done
91% done
91% done
91% done
91% done
91% done
91% done
91% done
92% done
92% done
92% done
92% done
92% done
92% done
92% done
92% done
92% done
92% done
93% done
93% done
93% done
93% done
93% done
93% done
93% done
93% done
93% done
93% done
94% done
94% done
94% done
94% done
94% done
94% done
94% done
94% done
94% done
95% done
95% done
95% done
95% done
95% done
95% done
95% done
95% done
95% done
95% done
96% done
96% done
96% done
96% done
96% done
96% done
96% done
96% done
96% done
96% done
97% done
97% done
97% done
97% done
97% done
97% done
97% done
97% done
97% done
97% done
98% done
98% done
98% done
98% done
98% done
98% done
98% done
98% done
98% done
98% done
99% done
99% done
99% done
99% done
99% done
99% done
99% done
99% done
99% done
100% done

niux > fsinfo
niux > mkfs /DEV/AT01 4000 3E80 100
r = 0x0 (0)
niux > mkfs /DEV/AT02 3600 34BC 4100
r = 0x0 (0)
niux > atinfo

Device 0 status=50, error=0, bytes/sec = 250880, Model SanDisk SDCFB-128
CYL =980 (3D4), HD =8 (8), SEC =32 (20)
total LBA sectors = 250880 (3D400)
Multiple Word DMA modes supported:
Minimum DMA cycle time: 0 ns
Recommended DMA cycle time: 0 ns
Minimum PIO cycle time(w/o IORDY): 120 ns
Minimum PIO cycle time(w/ IORDY): 120 ns


Device 1 == NOK

niux > fsinfo
AT_pos 0 fs_part 1 fs_start 100 fs_size 4000
AT_pos 0 fs_part 2 fs_start 4100 fs_size 3600
niux > quit

AUTHORITY CLASS 7
(C) COPYRIGHT ERICSSON
BC12-SP1 21NOV03 16:05:52 1-0-60-01 SYSTERMINAL

<IODDP;
I/O DEVICE DATA
NODE IODEV/SUBFS BPOS/EQU I/O-BUS TYPE/USAGE STATUS AUTH
SYSN - 001-0-60 - - IN SERVICE
SYSN SYSTERMINAL 001-0-60-1 - MML - 7
END

<IOSII:NODE=SYSN,IODEV=SYSDISK1,SUBFS=SYSSUBFS11&SYSSUBFS21,BTYPE=ATA;
EXECUTED

<FIMOI:SUBFS=SYSSUBFS11;
EXECUTED

<FIMOI:SUBFS=SYSSUBFS21;
EXECUTED

<FISCP:IODEV=SYSDISK1;
FILE SYSTEM CAPACITY DATA
TOTAL DISK SPACE: 122 MBYTES
SUBFS: SYSSUBFS11
KBYTES FILES
TOTAL AVAIL TOTAL MOUNTED
65536 65004 16000 /SYSN/USR1
SUBFS: SYSSUBFS21
KBYTES FILES
TOTAL AVAIL TOTAL MOUNTED
55296 54848 13472 /SYSN/USR2
END

<
 
Update .
NIU2 and flashcard are not stable with
different size on fs1 and fs2 .
Best mkfs is:
2 * 60MB with 15000 files

niux > mkfs /DEV/AT01 3C00 3B00 100
r = 0x0 (0)
niux > mkfs /DEV/AT02 3C00 3B00 3D00
r = 0x0 (0)
niux > fsck /DEV/AT02
starting fsck
STARTING FSCK_DSF
CHECKING INODE LINKS
CHECKING INODE BIT MAP
CHECKING BLOCK BIT MAP
FSCK returned OK
number of files = 1
number of allocated blocks = 7A
number of free blocks = 3B86
r = 0x0 (0)
niux > fsck /DEV/AT01
starting fsck
STARTING FSCK_DSF
CHECKING INODE LINKS
CHECKING INODE BIT MAP
CHECKING BLOCK BIT MAP
FSCK returned OK
number of files = 1
number of allocated blocks = 7A
number of free blocks = 3B86
r = 0xB (11)
niux > fsinfo
AT_pos 0 fs_part 1 fs_start 100 fs_size 3C00
AT_pos 0 fs_part 2 fs_start 3D00 fs_size 3C00
niux > quiÿ
AUTHORITY CLASS 7
(C) COPYRIGHT ERICSSON
BC12-SP1 21NOV03 18:13:20 1-0-60-01 SYSTERMINAL

<IOSII:NODE=SYSN,IODEV=SYSDISK1,SUBFS=SYSSUBFS11&SYSSUBFS21,BTYPE=ATA;
EXECUTED

<FIMOI:SUBFS=SYSSUBFS11;
EXECUTED

<FIMOI:SUBFS=SYSSUBFS21;
EXECUTED

<BLEQE:EQU=1-0-60-0;
EXECUTED
<FISCP:IODEV=SYSDISK1;
FILE SYSTEM CAPACITY DATA
TOTAL DISK SPACE: 122 MBYTES
SUBFS: SYSSUBFS11
KBYTES FILES
TOTAL AVAIL TOTAL MOUNTED
61440 60936 15104 /SYSN/USR1
SUBFS: SYSSUBFS21
KBYTES FILES
TOTAL AVAIL TOTAL MOUNTED
61440 60940 15104 /SYSN/USR2
END


SYAR
 
atfmt,mkdev,mkfs,mount now works fine.
But when I create INL with MDDT, copying from files break off at program unit pep.d with network error &quot;12031&quot;.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top